Class: DatadogAPIClient::V2::SecurityMonitoringSuppressionCreateAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SecurityMonitoringSuppressionCreateAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb
Overview
Object containing the attributes of the suppression rule to be created.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#data_exclusion_query ⇒ Object
An exclusion query on the input data of the security rules, which could be logs, Agent events, or other types of data based on the security rule.
-
#description ⇒ Object
A description for the suppression rule.
-
#enabled ⇒ Object
readonly
Whether the suppression rule is enabled.
-
#expiration_date ⇒ Object
A Unix millisecond timestamp giving an expiration date for the suppression rule.
-
#name ⇒ Object
readonly
The name of the suppression rule.
-
#rule_query ⇒ Object
readonly
The rule query of the suppression rule, with the same syntax as the search bar for detection rules.
-
#suppression_query ⇒ Object
The suppression query of the suppression rule.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb', line 45 def additional_properties @additional_properties end |
#data_exclusion_query ⇒ Object
An exclusion query on the input data of the security rules, which could be logs, Agent events, or other types of data based on the security rule. Events matching this query are ignored by any detection rules referenced in the suppression rule.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb', line 25 def data_exclusion_query @data_exclusion_query end |
#description ⇒ Object
A description for the suppression rule.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb', line 28 def description @description end |
#enabled ⇒ Object
Whether the suppression rule is enabled.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb', line 31 def enabled @enabled end |
#expiration_date ⇒ Object
A Unix millisecond timestamp giving an expiration date for the suppression rule. After this date, it won’t suppress signals anymore.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb', line 34 def expiration_date @expiration_date end |
#name ⇒ Object
The name of the suppression rule.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb', line 37 def name @name end |
#rule_query ⇒ Object
The rule query of the suppression rule, with the same syntax as the search bar for detection rules.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb', line 40 def rule_query @rule_query end |
#suppression_query ⇒ Object
The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb', line 43 def suppression_query @suppression_query end |