Documentation ¶
Index ¶
- func OptionIncludeIgnored() func(s *Scanner)
- func OptionIncludePassed() func(s *Scanner)
- func OptionWithDataDirs(dirs ...string) 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 OptionWithDataDirs ¶
OptionWithDataDirs - location of rego data directories
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 ¶
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)
Option - scanner options for passing arguments into the scanner
func OptionWithTrace ¶
Click to show internal directories.
Click to hide internal directories.