Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 579 Bytes

File metadata and controls

30 lines (17 loc) · 579 Bytes

YAML Static Analyser - Kubesec

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/.
Step 1:
  • Navigate to the Kube-Sec directory
cd /root/container_training/Kubernetes/Kube-Sec
Step 2:
  • To analyze a Kubernetes YAML spec file, run
./kubesec insecure_vulflask_deployment.yaml
Step 3:
  • To save results to a file, run the following command
./kubesec insecure_vulflask_deployment.yaml >> kubesec_result.json