-
Notifications
You must be signed in to change notification settings - Fork 240
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
Prevent CVE-2023-2878 #1008
base: main
Are you sure you want to change the base?
Prevent CVE-2023-2878 #1008
Conversation
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Note that the test for the CSI secret store are superfluous, unless you actually install a proper CSI driver, the test is kinda meaningless Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Note that the test for the CSI secret store are superfluous, unless you actually install a proper CSI driver, the test is kinda meaningless |
...-driver-loglevel-cve-2023-2878/restrict-secrets-store-csi-driver-loglevel-cve-2023-2878.yaml
Outdated
Show resolved
Hide resolved
...-driver-loglevel-cve-2023-2878/restrict-secrets-store-csi-driver-loglevel-cve-2023-2878.yaml
Show resolved
Hide resolved
...-driver-loglevel-cve-2023-2878/restrict-secrets-store-csi-driver-loglevel-cve-2023-2878.yaml
Outdated
Show resolved
Hide resolved
...ecrets-store-driver-cve-2023-2878/check-if-using-csi-secrets-store-driver-cve-2023-2878.yaml
Outdated
Show resolved
Hide resolved
...ecrets-store-driver-cve-2023-2878/check-if-using-csi-secrets-store-driver-cve-2023-2878.yaml
Show resolved
Hide resolved
...ecrets-store-driver-cve-2023-2878/check-if-using-csi-secrets-store-driver-cve-2023-2878.yaml
Outdated
Show resolved
Hide resolved
...ecrets-store-driver-cve-2023-2878/check-if-using-csi-secrets-store-driver-cve-2023-2878.yaml
Outdated
Show resolved
Hide resolved
match: | ||
resources: | ||
kinds: | ||
- csidriver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure this kind isn't correct. They are case sensitive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k get csidrivers.storage.k8s.io
i am missing the s
though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A kubectl get
operates differently from matching kinds. Singular vs. plural also matters. Have you actually tested this yourself with this resource?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have tested in the playground, where it does pass?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to test this in a real cluster. Playground doesn't behave the same way when it comes to kind matching.
…eck-if-using-csi-secrets-store-driver-cve-2023-2878.yaml Co-authored-by: Chip Zoller <[email protected]> Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
…restrict-secrets-store-csi-driver-loglevel-cve-2023-2878.yaml Co-authored-by: Chip Zoller <[email protected]> Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't see any test cases for these two policies, just some test resources.
Description
Prevent CVE-2023-2878
Checklist