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

Check non-zero runAsUser in M-113 #38

Merged
merged 4 commits into from
Mar 13, 2024
Merged

Check non-zero runAsUser in M-113 #38

merged 4 commits into from
Mar 13, 2024

Conversation

matheusfm
Copy link
Contributor

Description

This PR updates the rule of M-113 Container could be running as root user to check non-zero runAsUser and increase the severity of M-114 to Medium.

How has this been tested?

  • Running unit tests: make test
  • Scanning a cluster: go run main.go scan

Checklist

  • I have labeled this PR with the relevant Type labels
  • I have documented my code (if applicable)
  • My changes are covered by tests

@matheusfm matheusfm added the enhancement New feature or request label Mar 13, 2024
@matheusfm matheusfm requested a review from knrc March 13, 2024 15:33
@matheusfm matheusfm self-assigned this Mar 13, 2024
@matheusfm matheusfm merged commit c46c1b4 into main Mar 13, 2024
4 checks passed
@matheusfm matheusfm deleted the UD-1272 branch March 13, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants