Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct { RuleDescription string `json:"ruleDescription"` RuleActions []string `json:"ruleActions"` RuleLink string `json:"ruleLink"` HasCves bool `json:"hasCves"` Triggered bool `json:"triggered"` TriggerEvents []TriggerEvent `json:"triggerEvents"` }
func (*Rule) FailPipeline ¶
FailPipeline checks if rule should fail the pipeline
Click to show internal directories.
Click to hide internal directories.