Class: DatadogAPIClient::V2::SecurityMonitoringSuppressionCreateAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_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_create_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_create_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_create_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.



34
35
36
# File 'lib/datadog_api_client/v2/models/security_monitoring_suppression_create_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_create_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_create_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 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