Documentation ¶
Overview ¶
Package rules implements rules that correspond to the latest supported ruleset version. These rules can be reused by an older supported ruleset versions in case a rule implementation did not change. Rule implementations that had changed in latest supported version but still need to be supported because of old ruleset versions should be separated in ruleset versioned specific package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule242400 ¶
func (*Rule242400) ID ¶
func (r *Rule242400) ID() string
func (*Rule242400) Name ¶
func (r *Rule242400) Name() string
func (*Rule242400) Run ¶
func (r *Rule242400) Run(ctx context.Context) (rule.RuleResult, error)
func (*Rule242400) Severity ¶ added in v0.13.0
func (r *Rule242400) Severity() rule.SeverityLevel
type Rule242442 ¶
func (*Rule242442) ID ¶
func (r *Rule242442) ID() string
func (*Rule242442) Name ¶
func (r *Rule242442) Name() string
func (*Rule242442) Run ¶
func (r *Rule242442) Run(ctx context.Context) (rule.RuleResult, error)
func (*Rule242442) Severity ¶ added in v0.13.0
func (r *Rule242442) Severity() rule.SeverityLevel
type Rule242451 ¶
type Rule242451 struct { InstanceID string Client client.Client Namespace string PodContext pod.PodContext Options *option.FileOwnerOptions Logger provider.Logger }
func (*Rule242451) ID ¶
func (r *Rule242451) ID() string
func (*Rule242451) Name ¶
func (r *Rule242451) Name() string
func (*Rule242451) Run ¶
func (r *Rule242451) Run(ctx context.Context) (rule.RuleResult, error)
func (*Rule242451) Severity ¶ added in v0.13.0
func (r *Rule242451) Severity() rule.SeverityLevel
type Rule242466 ¶
type Rule242466 struct { InstanceID string Client client.Client Namespace string PodContext pod.PodContext Logger provider.Logger }
func (*Rule242466) ID ¶
func (r *Rule242466) ID() string
func (*Rule242466) Name ¶
func (r *Rule242466) Name() string
func (*Rule242466) Run ¶
func (r *Rule242466) Run(ctx context.Context) (rule.RuleResult, error)
func (*Rule242466) Severity ¶ added in v0.13.0
func (r *Rule242466) Severity() rule.SeverityLevel
type Rule242467 ¶
type Rule242467 struct { InstanceID string Client client.Client Namespace string PodContext pod.PodContext Logger provider.Logger }
func (*Rule242467) ID ¶
func (r *Rule242467) ID() string
func (*Rule242467) Name ¶
func (r *Rule242467) Name() string
func (*Rule242467) Run ¶
func (r *Rule242467) Run(ctx context.Context) (rule.RuleResult, error)
func (*Rule242467) Severity ¶ added in v0.13.0
func (r *Rule242467) Severity() rule.SeverityLevel
type RuleOption ¶
type RuleOption interface { sharedrules.Options245543 | sharedrules.Options254800 | option.FileOwnerOptions }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.