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] Explicit check for securityContext.allowPrivilegeEscalation=false on containers #668

Open
AlanMasciangelo opened this issue Nov 30, 2023 · 0 comments
Labels

Comments

@AlanMasciangelo
Copy link

AlanMasciangelo commented Nov 30, 2023

Description of the problem/feature request
Add a check or option to check if containers explicitly set allowPrivilegeEscalation to false. Explicitly setting this to false is generally regarded as good security practice.

Description of the existing behavior vs. expected behavior

The existing privilege-escalation-container doesn't trigger on this condition, I imagine intentionally since allowPrivilegeEscalation is determined by a variety of factors and can be restricted in other ways.

@janisz janisz added good first issue Good for newcomers new-check labels Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants