Add option to filter audit results by severity level (#969)

This commit is contained in:
John Slivka
2023-06-28 08:38:47 -05:00
committed by GitHub
parent 5595de4ef9
commit b0d86cdcd2
3 changed files with 81 additions and 2 deletions
+3
View File
@@ -52,6 +52,9 @@ webhook
--resource string Audit a specific resource, in the format namespace/kind/version/name, e.g. nginx-ingress/Deployment.apps/v1/default-backend.
--set-exit-code-below-score int Set an exit code of 4 when the score is below this threshold (1-100).
--set-exit-code-on-danger Set an exit code of 3 when the audit contains danger-level issues.
--severity string Severity level used to filter results. Behaves like log levels. 'danger' is the least verbose (warning, danger)
--skip-ssl-validation Skip https certificate verification
--upload-insights Upload scan results to Fairwinds Insights
# webhook flags
--disable-webhook-config-installer disable the installer in the webhook server, so it won't install webhook configuration resources during bootstrapping.