Open avnes opened 2 months ago
There are four pod defintions that is configured with containerSecurityContext.privileged: true.
containerSecurityContext.privileged: true
Why is this needed? This is clearly a red flag.
https://cheatsheetseries.owasp.org/cheatsheets/Kubernetes_Security_Cheat_Sheet.html#continuously-assess-the-privileges-used-by-containers
containerSecurityContext: privileged: true
These are the definitions: https://github.com/datainfrahq/druid-operator/blob/master/e2e/configs/druid-cr.yaml https://github.com/datainfrahq/druid-operator/blob/master/e2e/configs/druid-mmless.yaml https://github.com/datainfrahq/druid-operator/blob/master/tutorials/druid-on-kind/druid-mmless.yaml https://github.com/datainfrahq/druid-operator/blob/master/examples/tiny-cluster-mmless.yaml
Go ahead and submit a PR ! Thanks for bring this up.
There are four pod defintions that is configured with
containerSecurityContext.privileged: true
.Why is this needed? This is clearly a red flag.
https://cheatsheetseries.owasp.org/cheatsheets/Kubernetes_Security_Cheat_Sheet.html#continuously-assess-the-privileges-used-by-containers
These are the definitions: https://github.com/datainfrahq/druid-operator/blob/master/e2e/configs/druid-cr.yaml https://github.com/datainfrahq/druid-operator/blob/master/e2e/configs/druid-mmless.yaml https://github.com/datainfrahq/druid-operator/blob/master/tutorials/druid-on-kind/druid-mmless.yaml https://github.com/datainfrahq/druid-operator/blob/master/examples/tiny-cluster-mmless.yaml