Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComplianceNotification ¶
type ComplianceNotification struct { //ResourceID is the ID specific to the resource ResourceID *string `json:"resourceId" validate:"required,min=1"` //PolicyID is the id of the policy that triggered PolicyID *string `json:"policyId" validate:"required,min=1"` //PolicyVersionID is the version of policy when the alert triggered PolicyVersionID *string `json:"policyVersionId"` //ShouldAlert indicates whether this notification should cause an alert to be send to the customer ShouldAlert *bool `json:"shouldAlert"` //Timestamp indicates when the policy was actually evaluated Timestamp *time.Time `json:"timestamp"` }
ComplianceNotification represents the event sent to the AlertProcessor by the compliance engine.
Click to show internal directories.
Click to hide internal directories.