Class: DatadogAPIClient::V2::SeverityModifierRuleAttributesCreate
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SeverityModifierRuleAttributesCreate
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_create.rb
Overview
Attributes for creating or updating a severity modifier rule.
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
The action to take when a severity modifier rule matches a finding.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#enabled ⇒ Object
Whether the severity modifier rule is enabled.
-
#name ⇒ Object
readonly
The name of the severity modifier rule.
-
#rule ⇒ Object
readonly
Defines the scope of findings to which the automation rule applies.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#action ⇒ Object
The action to take when a severity modifier rule matches a finding. This is a discriminated union on type: set assigns a fixed severity, while shift moves the severity up or down by one rank.
A severity modifier rule's rule.query must not filter on @severity or on the @severity_details.user_adjusted.* namespace.
Use @severity_details.adjusted.value instead, which reflects the severity before user-defined adjustments.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_create.rb', line 29 def action @action end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_create.rb', line 40 def additional_properties @additional_properties end |
#enabled ⇒ Object
Whether the severity modifier rule is enabled.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_create.rb', line 32 def enabled @enabled end |
#name ⇒ Object
The name of the severity modifier rule.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_create.rb', line 35 def name @name end |
#rule ⇒ Object
Defines the scope of findings to which the automation rule applies.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_create.rb', line 38 def rule @rule end |