processor

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAlertID added in v1.15.0

func GenerateAlertID(event *models.ComplianceNotification) *string

generates an ID from the policyID (policy name) and the current timestamp.

func Handle

func Handle(event *models.ComplianceNotification) error

Handle method checks if a resource is compliant for a rule or not. If the resource is compliant, it will do nothing If the resource is not compliant, it will trigger an auto-remediation action and an alert - if alerting is not suppressed

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL