Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptionWithDataDirs ¶
OptionWithDataDirs - location of rego policy directories - policies are loaded recursively
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(*Scanner)
func OptionWithDebug ¶
OptionWithDebug specifies an io.Writer for debug logs - if not set, they are discarded
func OptionWithTerraformVarsPaths ¶
OptionWithTerraformVarsPaths paths to tfvars files for Terraform
func OptionWithTerraformWorkspace ¶
OptionWithTerraformWorkspace specify Terraform workspace
func OptionWithTrace ¶
OptionWithTrace specifies an io.Writer for trace logs (mainly rego tracing) - if not set, they are discarded
Click to show internal directories.
Click to hide internal directories.