Documentation ¶
Index ¶
- func OptionIncludeIgnored() func(s *Scanner)
- func OptionIncludePassed() func(s *Scanner)
- func OptionWithDebug(debugWriter io.Writer) func(s *Scanner)
- func OptionWithExcludedIDs(exludedIDs []string) func(s *Scanner)
- func OptionWithPolicyDirs(dirs []string) func(s *Scanner)
- func OptionWithPolicyNamespaces(namespaces ...string) func(s *Scanner)
- type Ignore
- type Option
- type Scanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptionIncludeIgnored ¶
func OptionIncludeIgnored() func(s *Scanner)
OptionIncludeIgnored - tell the scanner to include results that would otherwise be ignored
func OptionIncludePassed ¶
func OptionIncludePassed() func(s *Scanner)
OptionIncludePassed - tell the scanner to include results for passes checks
func OptionWithDebug ¶
OptionWithDebug - pass the scanner an io.Writer to log debug messages to
func OptionWithExcludedIDs ¶
OptionWithExcludedIDs - tell the scanner to exclude the provided IDs
func OptionWithPolicyDirs ¶ added in v0.19.0
OptionWithPolicyDirs - location of rego policy directories - policies are loaded recursively
func OptionWithPolicyNamespaces ¶ added in v0.23.0
OptionWithPolicyNamespaces - namespaces which indicate rego policies containing enforced rules
Types ¶
type Option ¶
type Option func(s *Scanner)
Option - scanner options for passing arguments into the scanner
Click to show internal directories.
Click to hide internal directories.