Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct { Base rules.RegisteredRule RequiredTypes []string RequiredLabels []string RequiredSources []string CheckTerraform func(*block.Block, *block.Module) rules.Results }
Rule is a targeted security test which can be applied to terraform templates. It includes the types to run on e.g. "resource", and the labels to run on e.g. "aws_s3_bucket".
func (*Rule) CheckAgainstBlock ¶ added in v1.0.0
func (*Rule) CheckAgainstState ¶ added in v1.0.0
func (*Rule) RecoverFromCheckPanic ¶ added in v1.0.0
func (r *Rule) RecoverFromCheckPanic()
Click to show internal directories.
Click to hide internal directories.