Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Fail task only if certain severity is present in the result #50

Open
MCBBosch opened this issue Oct 10, 2023 · 3 comments

Comments

@MCBBosch
Copy link

I'd like to have a more fine-grained way to configure if the pipeline task should fail. Currently, it's only possible let the task fail if at least one finding is present (with the exitCode parameter).

I'd like to have the task fail upon CRITICAL and HIGH issues while issues with lower priorities shall be reported as well but not fail the whole task. Setting the existing "severities" property to values < HIGH doesn't help, as the high ones won't be reported then.

@maikfr
Copy link

maikfr commented Dec 13, 2023

Same here. Such a function would be highly appreciated, and would be very helpful.

@PascalTurbo
Copy link

Same here. Currently, complex workarounds are needed to achieve reporting and breaking the pipeline.

@MCBBosch
Copy link
Author

I'd like to add the condition if a fix is available or not, e.g. fail the pipeline for CRITICAL and HIGH if a fix is available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants