Documentation ¶
Index ¶
Constants ¶
View Source
const ( FailStatus iacTypes.ControlStatus = "FAIL" PassStatus iacTypes.ControlStatus = "PASS" WarnStatus iacTypes.ControlStatus = "WARN" )
Variables ¶
This section is empty.
Functions ¶
func AggregateAllChecksBySpecID ¶
func AggregateAllChecksBySpecID(multiResults []types.Results, cs ComplianceSpec) map[string]types.Results
AggregateAllChecksBySpecID aggregates all scan results and map it to spec ids
Types ¶
type ComplianceSpec ¶
ComplianceSpec represent the compliance specification
func GetComplianceSpec ¶ added in v0.35.0
func GetComplianceSpec(specNameOrPath string) (ComplianceSpec, error)
GetComplianceSpec accepct compliance flag name/path and return builtin or file system loaded spec
Click to show internal directories.
Click to hide internal directories.