-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(misconf): Add --misconfig-scanners
option
#5670
Conversation
This reverts commit 69f6b52.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -73,6 +75,12 @@ var ( | |||
Default: fmt.Sprintf("%s:%d", policy.BundleRepository, policy.BundleVersion), | |||
Usage: "OCI registry URL to retrieve policy bundle from", | |||
} | |||
MisconfigScannersFlag = Flag{ | |||
Name: "misconfig-scanners", | |||
ConfigName: "misconfiguration.scanners", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small note: the documentation specifies the misconfiguration.type
field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, fixed
Description
Adds the
--misconfig-scanners
option to enable a subset of misconfiguration scanners.Related issues
Checklist