models

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: AGPL-3.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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