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