Skip to content

feat(misconf): add ephemeral container checks to KSV106#535

Open
adityaupasani2 wants to merge 2 commits intoaquasecurity:mainfrom
adityaupasani2:fix/ksv106-ephemeral-containers
Open

feat(misconf): add ephemeral container checks to KSV106#535
adityaupasani2 wants to merge 2 commits intoaquasecurity:mainfrom
adityaupasani2:fix/ksv106-ephemeral-containers

Conversation

@adityaupasani2
Copy link

Summary

KSV106 currently checks only containers and initContainers for
capability restrictions, but Pod Security Standards also require
ephemeralContainers to be checked.

Changes

  • Extended containersWithoutDropAll and containersWithDropAll
    in KSV106 to include ephemeralContainers and initContainers
  • Updated recommended_action metadata to reflect the change
  • Added test cases for initContainers and ephemeralContainers

Related Issue

Closes #9936

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

Successfully merging this pull request may close these issues.

1 participant