dependency-check / dependency-check/azuredevops
Add Output Variables
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible to add Output Variables to the task? For example, the following could be useful:
- Score
- Maximum detected violation score
- Failed
- Whether the max score was exceeded, _even if warnings were enabled_
This would make it easier to add conditional pipeline steps following the task.
Particularly I'm trying to integrate a custom PR Policy and I'd like to know if the check passed/failed based on the _score_, while considering the task/job itself successful as long as an actual error wasn't thrown.
While I can technically try and leverage `succeededOrFailed()` and/or `Agent.JobStatus=SucceededWithIssues`, these statuses could be the result of some _previous_ step and not necessarily the dependency-check step. I'd then have to litter that (or some other) condition on all subsequent steps.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.