Documentation ¶
Index ¶
- func GetResourceExceptions(ruleExceptions []armotypes.PostureExceptionPolicy, ...) []armotypes.PostureExceptionPolicy
- func ListRuleExceptions(exceptionPolicies []armotypes.PostureExceptionPolicy, ...) []armotypes.PostureExceptionPolicy
- func SetControlExceptions(controlReport *reporthandling.ControlReport, ...)
- func SetFrameworkExceptions(frameworkReport *reporthandling.FrameworkReport, ...)
- func SetRuleExceptions(ruleReport *reporthandling.RuleReport, ...)
- func SetRuleResponsExceptions(results []reporthandling.RuleResponse, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourceExceptions ¶ added in v0.0.80
func GetResourceExceptions(ruleExceptions []armotypes.PostureExceptionPolicy, workload workloadinterface.IMetadata, clusterName string) []armotypes.PostureExceptionPolicy
GetResourceException get exceptions of single resource
func ListRuleExceptions ¶
func ListRuleExceptions(exceptionPolicies []armotypes.PostureExceptionPolicy, frameworkName, controlName, controlID, ruleName string) []armotypes.PostureExceptionPolicy
func SetControlExceptions ¶
func SetControlExceptions(controlReport *reporthandling.ControlReport, exceptionsPolicies []armotypes.PostureExceptionPolicy, clusterName, frameworkName string)
SetControlExceptions add exceptions to control report
func SetFrameworkExceptions ¶
func SetFrameworkExceptions(frameworkReport *reporthandling.FrameworkReport, exceptionsPolicies []armotypes.PostureExceptionPolicy, clusterName string)
SetFrameworkExceptions add exceptions to framework report
func SetRuleExceptions ¶
func SetRuleExceptions(ruleReport *reporthandling.RuleReport, exceptionsPolicies []armotypes.PostureExceptionPolicy, clusterName, frameworkName, controlName, controlID string)
SetRuleExceptions add exceptions to rule report
func SetRuleResponsExceptions ¶
func SetRuleResponsExceptions(results []reporthandling.RuleResponse, ruleExceptions []armotypes.PostureExceptionPolicy, clusterName string)
SetRuleExceptions add exceptions to rule respons structure
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.