Documentation ¶
Index ¶
- func OptionWithDataDirs(dirs ...string) func(s *Scanner)
- func OptionWithPolicyDirs(dirs ...string) func(s *Scanner)
- func OptionWithPolicyNamespaces(namespaces ...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 OptionWithDebug(w io.Writer) Option
- func OptionWithDownloads(allowed bool) Option
- func OptionWithMinimumSeverity(minimum severity.Severity) Option
- func OptionWithResultsFilter(f func(scan.Results) scan.Results) Option
- func OptionWithSeverityOverrides(overrides map[string]string) Option
- func OptionWithSingleThread(single bool) Option
- func OptionWithStateFunc(f ...func(*state.State)) Option
- func OptionWithTFVarsPaths(paths []string) Option
- func OptionWithTrace(w io.Writer) Option
- func OptionWithWorkspaceName(name string) Option
- type Scanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptionWithDataDirs ¶
OptionWithDataDirs - location of rego data directories
func OptionWithPolicyDirs ¶
OptionWithPolicyDirs - location of rego policy directories - policies are loaded recursively
func OptionWithPolicyNamespaces ¶
OptionWithPolicyNamespaces - namespaces which indicate rego policies containing enforced rules
Types ¶
type Option ¶
type Option func(s *Scanner)
func OptionExcludeRules ¶
func OptionIncludeRules ¶
func OptionNoIgnores ¶
func OptionNoIgnores() Option
func OptionSkipDownloaded ¶
func OptionStopOnHCLError ¶
func OptionStopOnRuleErrors ¶
func OptionWithDebug ¶
func OptionWithDownloads ¶
func OptionWithResultsFilter ¶ added in v0.32.0
func OptionWithSingleThread ¶
func OptionWithStateFunc ¶
func OptionWithTFVarsPaths ¶
func OptionWithTrace ¶
func OptionWithWorkspaceName ¶
Directories ¶
Path | Synopsis |
---|---|
funcs
Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/marks Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs
|
Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/marks Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs Copied from github.com/hashicorp/terraform/internal/lang/funcs |
Click to show internal directories.
Click to hide internal directories.