Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubesecOutput ¶
type KubesecOutput struct { Filepath string `json:"filepath"` Findings []byte `json:"findings"` Error error `json:"-"` }
KubesecOutput maps to the report output of the kubesec tool
type KubesecReport ¶
type KubesecReport struct { Filepath string `json:"filepath"` Findings []KubesecResult `json:"findings"` }
KubesecReport maps to a single analysis of a manifest file
type KubesecResult ¶
type KubesecResult struct { Object string `json:"object"` Message string `json:"message"` Scoring KubesecScoring `json:"scoring"` }
KubesecResult maps to a decoded finding from the kubesec report
type KubesecScoring ¶
type KubesecScoring struct { CriticalSeverity []KubesecVulnerability `json:"critical"` InfoSeverity []KubesecVulnerability `json:"advise"` }
KubesecScoring maps to the individual findings grouped by severity
type KubesecVulnerability ¶
type KubesecVulnerability struct { ID string Object string Selector string Reason string Confidence report.ConfidenceLevel Severity report.SeverityLevel Filepath string }
KubesecVulnerability maps to the findings returned from a KubesecReport
Click to show internal directories.
Click to hide internal directories.