Skip to content
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

Feature Request: Validate ephemeral containers too #41

Open
viccuad opened this issue May 26, 2023 · 0 comments
Open

Feature Request: Validate ephemeral containers too #41

viccuad opened this issue May 26, 2023 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@viccuad
Copy link
Member

viccuad commented May 26, 2023

Ephemeral containers also have a spec.securityContext, hence we can set capabilities for them (and an attacker can use it for privilege escalation). This policy predates their inclusion in Kubernetes, and this policy mirrors the analogous capabilities PSP, which also predates their inclusion in Kubernetes. The PSP was never updated because as it was deprecated instead.
This doesn't mean we shouldn't check ephemeral containers too.

Acceptance criteria

Validate ephemeral containers too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant