Class: DatadogAPIClient::V2::SeverityModifierRuleAttributesResponse
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SeverityModifierRuleAttributesResponse
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_response.rb
Overview
Attributes of a severity modifier rule as returned by the API.
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.
-
#created_at ⇒ Object
readonly
The Unix timestamp in milliseconds when the rule was created.
-
#created_by ⇒ Object
readonly
The user or Datadog system who created the rule.
-
#enabled ⇒ Object
readonly
Whether the severity modifier rule is enabled.
-
#modified_at ⇒ Object
readonly
The Unix timestamp in milliseconds when the rule was last modified.
-
#modified_by ⇒ Object
readonly
The user or Datadog system who last modified the rule.
-
#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_response.rb', line 29 def action @action end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_response.rb', line 52 def additional_properties @additional_properties end |
#created_at ⇒ Object
The Unix timestamp in milliseconds when the rule was created.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_response.rb', line 32 def created_at @created_at end |
#created_by ⇒ Object
The user or Datadog system who created the rule.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_response.rb', line 35 def created_by @created_by end |
#enabled ⇒ Object
Whether the severity modifier rule is enabled.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_response.rb', line 38 def enabled @enabled end |
#modified_at ⇒ Object
The Unix timestamp in milliseconds when the rule was last modified.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_response.rb', line 41 def modified_at @modified_at end |
#modified_by ⇒ Object
The user or Datadog system who last modified the rule.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_response.rb', line 44 def modified_by @modified_by end |
#name ⇒ Object
The name of the severity modifier rule.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_response.rb', line 47 def name @name end |
#rule ⇒ Object
Defines the scope of findings to which the automation rule applies.
50 51 52 |
# File 'lib/datadog_api_client/v2/models/severity_modifier_rule_attributes_response.rb', line 50 def rule @rule end |