Skip to content

Latest commit

 

History

History
executable file
·
19 lines (9 loc) · 692 Bytes

07-Use-static-analysis-of-user-workloads.md

File metadata and controls

executable file
·
19 lines (9 loc) · 692 Bytes

Use static analysis of user workloads

In this section, we will take a look at Use static analysis of user workloads.

  • Kubesec helps analyze a given resource definition file and returns a score along with details about the critical issues that were found in it. In this case it's rightly detected the issue with privileged containers.

  • To scan pod.yaml file.

    kubesec scan pod.yaml
    

    OR

    Use curl command to POST a file to the server as follows:

    curl -sSX POST --data-binary @"pod.yaml" https://v2.kubesec.io/scan