Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RiskLevels = struct { Critical RiskLevel High RiskLevel Low RiskLevel Medium RiskLevel }{ "CRITICAL", "HIGH", "LOW", "MEDIUM", }
View Source
var TriggerEvents = struct { NewManagementZoneAffected TriggerEvent SecurityProblemOpened TriggerEvent }{ "NEW_MANAGEMENT_ZONE_AFFECTED", "SECURITY_PROBLEM_OPENED", }
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { Enabled bool `json:"enabled"` // Alerting profile is enabled (`true`) or disabled (`false`) EnabledRiskLevels []RiskLevel `json:"enabledRiskLevels,omitempty"` // List of risk levels to alert EnabledTriggerEvents []TriggerEvent `json:"enabledTriggerEvents,omitempty"` // List of events to alert ManagementZone *string `json:"managementZone,omitempty"` // Alert only if the following management zone is affected (optional) Name string `json:"name"` // Alerting profile name }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
type TriggerEvent ¶
type TriggerEvent string
Click to show internal directories.
Click to hide internal directories.