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

Add validation for simple security checks #38

Closed
robscott opened this issue Mar 29, 2019 · 1 comment
Closed

Add validation for simple security checks #38

robscott opened this issue Mar 29, 2019 · 1 comment
Assignees
Labels
good first issue Good for newcomers

Comments

@robscott
Copy link
Contributor

This involves 4 bits of configuration:

  • security.runAsPriviliged: This container check should fail if container.securityContext.privileged is true
  • security.runAsRootAllowed: This pod and container check should fail if pod.securityContext.runAsNonRoot or container.securityContext.runAsNonRoot is not true
  • security.notReadOnlyRootFileSystem: This container check should fail if container.securityContext.readOnlyRootFileSystem is not true
  • security.privilegeEscalationAllowed: This container check should fail if container.securityContext.allowPrivilegeEscalation is true

If I don't get to it first, this will also involve some changes to the existing config package Security struct.

@robscott robscott added the good first issue Good for newcomers label Mar 29, 2019
@robscott robscott self-assigned this Apr 3, 2019
@robscott
Copy link
Contributor Author

Closed by #48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant