You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently PSRule only breaks if rules fail or error or other errors occur. When chaining to reporting tools within the pipeline such as SARIF reports we may want to not break.
Add an option to disable breaking the pipeline such as:
execution:
break: false
Update 2023-04-27
However since there is multiple severity levels for rules maybe this should be configurable based on level for example:
Don't break the pipeline
execution:
break: 'Continue'
Default, break the pipeline on rules that fail with severity set to Error
execution:
break: 'OnError'
execution: { }
Break the pipeline on rules that fail with severity set to Warning or higher
execution:
break: 'OnWarning'
The text was updated successfully, but these errors were encountered:
Currently PSRule only breaks if rules fail or error or other errors occur. When chaining to reporting tools within the pipeline such as SARIF reports we may want to not break.
Add an option to disable breaking the pipeline such as:
Update 2023-04-27
However since there is multiple severity levels for rules maybe this should be configurable based on level for example:
Don't break the pipeline
Default, break the pipeline on rules that fail with severity set to Error
Break the pipeline on rules that fail with severity set to Warning or higher
The text was updated successfully, but these errors were encountered: