Documentation ¶
Index ¶
- func OptionWithPolicyDirs(dirs []string) func(s *Scanner)
- type Metrics
- type Option
- func OptionExcludeRules(ruleIDs []string) Option
- func OptionIncludeRules(ruleIDs []string) Option
- func OptionNoIgnores() Option
- func OptionScanAllDirectories(all bool) Option
- func OptionSkipDownloaded(skip bool) Option
- func OptionStopOnHCLError(stop bool) Option
- func OptionStopOnRuleErrors(stop bool) Option
- func OptionWithAlternativeIDProvider(f func(string) string) Option
- func OptionWithDebugWriter(w io.Writer) Option
- func OptionWithExcludePaths(paths []string) Option
- func OptionWithIncludeOnlyResults(ids []string) Option
- func OptionWithMinimumSeverity(minimum severity.Severity) Option
- func OptionWithSeverityOverrides(overrides map[string]string) Option
- func OptionWithSingleThread(single bool) Option
- func OptionWithTFVarsPaths(paths []string) Option
- func OptionWithWorkspaceName(name string) Option
- type Scanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptionWithPolicyDirs ¶ added in v0.19.0
OptionWithPolicyDirs - location of rego policy directories - policies are loaded recursively
Types ¶
type Option ¶
type Option func(s *Scanner)
func OptionExcludeRules ¶
func OptionIncludeRules ¶
func OptionNoIgnores ¶ added in v0.19.0
func OptionNoIgnores() Option
func OptionSkipDownloaded ¶
func OptionStopOnHCLError ¶
func OptionStopOnRuleErrors ¶
func OptionWithDebugWriter ¶
func OptionWithExcludePaths ¶
func OptionWithSingleThread ¶
func OptionWithTFVarsPaths ¶
func OptionWithWorkspaceName ¶
Click to show internal directories.
Click to hide internal directories.