k8s-springboot-data-rest icon indicating copy to clipboard operation
k8s-springboot-data-rest copied to clipboard

Security Misconfiguration: Hard-coded Secret

Open akondasif opened this issue 3 years ago • 0 comments
trafficstars

Dear Colleague,

We are looking to find ways to help developers find security misconfigurations, i.e., Kubernetes manifest configurations that violate security best practices for Kubernetes manifests.

We have noticed hard-coded secrets, which are security misconfigurations, and violation of security best practices for Kubernetes manifests (reff: https://arxiv.org/pdf/2006.15275.pdf).

Location:

https://github.com/ganrad/k8s-springboot-data-rest/blob/92d297e99328b2f9c8ef4fa5ac76cf1ffb8c7852/extensions/k8s-dash-deploy/k8s-scripts/mysql-secret.yaml#L10

Please fix this misconfiguration by storing secrets in tools, such as Vault (https://www.vaultproject.io/). We would like to hear if you agree to fix this misconfiguration or have fixed the misconfiguration.

akondasif avatar May 10 '22 02:05 akondasif