Kubesec helps quantify risk for K8s resources based on the suggested best-practices. Lists of test run can be found at https://kubesec.io/basics/.
- Navigate to the
Kube-Sec
directory
cd /root/container_training/Kubernetes/Kube-Sec
- To analyze a Kubernetes YAML spec file, run
./kubesec insecure_vulflask_deployment.yaml
- To save results to a file, run the following command
./kubesec insecure_vulflask_deployment.yaml >> kubesec_result.json