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

document intricacies of validating "applied" k8s resource yamls #83

Closed
xopham opened this issue Feb 12, 2024 · 2 comments
Closed

document intricacies of validating "applied" k8s resource yamls #83

xopham opened this issue Feb 12, 2024 · 2 comments

Comments

@xopham
Copy link
Contributor

xopham commented Feb 12, 2024

"applied" k8s resource yamls do not have the exact minimal form as the original resource, but contain additional fields or make certain non-configurations explicit. tests/data contains examples whereby for example the absence of any pod security context is translated to explicit securityContext: {} which in turn makes rule yaml.kubernetes.security.run-as-non-root.run-as-non-root not trigger anymore: https://semgrep.dev/playground/s/DbKL2

@xopham
Copy link
Contributor Author

xopham commented Mar 22, 2024

Event resource is dropped in app

@xopham
Copy link
Contributor Author

xopham commented May 16, 2024

fixed in #176

@xopham xopham closed this as completed May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant