Versions in this module Expand all Collapse all v0 v0.0.3 May 31, 2024 Changes in this version + func NewCauseWithCode(underlying scan.Result) types.CauseMetadata + func ResultsToMisconf(configType string, scannerName string, results scan.Results) []types.Misconfiguration + type Scanner struct + func NewAzureARMScanner(filePatterns []string, opt ScannerOption) (*Scanner, error) + func NewCloudFormationScanner(filePatterns []string, opt ScannerOption) (*Scanner, error) + func NewDockerfileScanner(filePatterns []string, opt ScannerOption) (*Scanner, error) + func NewHelmScanner(filePatterns []string, opt ScannerOption) (*Scanner, error) + func NewKubernetesScanner(filePatterns []string, opt ScannerOption) (*Scanner, error) + func NewTerraformPlanScanner(filePatterns []string, opt ScannerOption) (*Scanner, error) + func NewTerraformScanner(filePatterns []string, opt ScannerOption) (*Scanner, error) + func (s *Scanner) Scan(ctx context.Context, fsys fs.FS) ([]types.Misconfiguration, error) + type ScannerOption struct + DataPaths []string + DisableEmbeddedPolicies bool + HelmFileValues []string + HelmStringValues []string + HelmValueFiles []string + HelmValues []string + K8sVersion string + Namespaces []string + PolicyPaths []string + RegoOnly bool + TerraformTFVars []string + Trace bool + func (o *ScannerOption) Sort()