Class: DatadogAPIClient::V2::SecurityMonitoringSuppressionUpdateAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb

Overview

The suppression rule properties to be updated.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



48
49
50
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb', line 48

def additional_properties
  @additional_properties
end

#data_exclusion_queryObject

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_update_attributes.rb', line 25

def data_exclusion_query
  @data_exclusion_query
end

#descriptionObject

A description for the suppression rule.



28
29
30
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb', line 28

def description
  @description
end

#enabledObject

Whether the suppression rule is enabled.



31
32
33
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb', line 31

def enabled
  @enabled
end

#expiration_dateObject

A Unix millisecond timestamp giving an expiration date for the suppression rule. After this date, it won’t suppress signals anymore. If unset, the expiration date of the suppression rule is left untouched. If set to ‘null`, the expiration date is removed.



34
35
36
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb', line 34

def expiration_date
  @expiration_date
end

#nameObject

The name of the suppression rule.



37
38
39
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb', line 37

def name
  @name
end

#rule_queryObject

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_update_attributes.rb', line 40

def rule_query
  @rule_query
end

#suppression_queryObject

The suppression query of the suppression rule. If a signal matches this query, it is suppressed and not triggered. Same syntax as the queries to search signals in the signal explorer.



43
44
45
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb', line 43

def suppression_query
  @suppression_query
end

#versionObject

The current version of the suppression. This is optional, but it can help prevent concurrent modifications.



46
47
48
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb', line 46

def version
  @version
end