-
Notifications
You must be signed in to change notification settings - Fork 7
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: run against higher order k8s kinds #39
Conversation
fd7bd55
to
85a9f94
Compare
85a9f94
to
5377ee6
Compare
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 (some linter errors, also missing commiting artifacthub-pkg.yml to history)
Yet, is there a specific reason why we don't validate ephemeral containers? I cannot recall one, they have a securityContext, hence we can set capabilities for them (and an attacker can use it for privilege escalation). I suppose it's because the policy predates their inclusion and the analogous PSP didn't do it either for the same reason.
I would take that line from the readme (or add the reason if there's any), and open an issue to check for caps on ephemeral containers.
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.
Approving, I'm ok merging as it is. Still needs linters fixes, please fix those.
Opened #41 to also check ephemeral containers.
@KhaledEmaraDev, please, do it. |
5377ee6
to
9f66fe8
Compare
9f66fe8
to
9bd740c
Compare
Signed-off-by: Khaled Emara <[email protected]>
9bd740c
to
623fc37
Compare
Description
Fix #27
Test
To test this pull request, you can run the following commands:
Additional Information
Tradeoff
Potential improvement