-
Notifications
You must be signed in to change notification settings - Fork 48
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
add missing paths #528
add missing paths #528
Conversation
Signed-off-by: YiscahLevySilas1 <yiscahls@armosec.io>
PR Analysis
PR Feedback
How to use
|
Summary:
|
Signed-off-by: YiscahLevySilas1 <yiscahls@armosec.io>
Signed-off-by: YiscahLevySilas1 <yiscahls@armosec.io>
Summary:
|
Summary:
|
PR Type:
Enhancement
PR Description:
This pull request enhances the existing checks for image pull policies in Kubernetes configurations. Specifically, it adds missing 'reviewPaths' to the alert messages generated when a container has the 'latest' tag on its image but the imagePullPolicy is not set to 'Always'. This addition will provide more context and clarity for users reviewing these alerts.
PR Main Files Walkthrough:
files:
rules/image-pull-policy-is-not-set-to-always/raw.rego
: The 'reviewPaths' field has been added to the alert messages in three checks: for pods, workloads, and cronjobs. This field contains the paths to the relevant container's image and imagePullPolicy in the Kubernetes configuration.User Description:
Overview