-
Notifications
You must be signed in to change notification settings - Fork 0
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
🌱 Allow multiple rules per validator #61
Labels
enhancement
Enhancement to an existing feature
Comments
Hi, @mattwelke. I'm Dosu, and I'm helping the validator-plugin-kubescape team manage their backlog. I'm marking this issue as stale. Issue Summary:
Next Steps:
Thank you for your understanding and contribution! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Plugins should support defining more than one rule of the same rule type per validator. For example, in the AWS plugin:
The Kubescape plugin should be changed to allow this too. Right now, its spec only allows one rule of each type per validator:
For example,
SeverityLimitRule
can be changed to[]SeverityLimitRule
to accomplish this.After the spec is changed, the controller logic should be changed to iterate through each rule, processing them one at a time.
The text was updated successfully, but these errors were encountered: