Class: DatadogAPIClient::V2::SecurityMonitoringStandardRuleQuery

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

Overview

Query for matching rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



49
50
51
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 49

def additional_properties
  @additional_properties
end

#aggregationObject

The aggregation type.



25
26
27
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 25

def aggregation
  @aggregation
end

#distinct_fieldsObject

Field for which the cardinality is measured. Sent as an array.



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

def distinct_fields
  @distinct_fields
end

#group_by_fieldsObject

Fields to group by.



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

def group_by_fields
  @group_by_fields
end

#has_optional_group_by_fieldsObject

When false, events without a group-by value are ignored by the rule. When true, events with missing group-by fields are processed with ‘N/A`, replacing the missing values.



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

def has_optional_group_by_fields
  @has_optional_group_by_fields
end

#metricObject

(Deprecated) The target field to aggregate over when using the sum or max aggregations. ‘metrics` field should be used instead.



38
39
40
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 38

def metric
  @metric
end

#metricsObject

Group of target fields to aggregate over when using the sum, max, geo data, or new value aggregations. The sum, max, and geo data aggregations only accept one value in this list, whereas the new value aggregation accepts up to five values.



41
42
43
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 41

def metrics
  @metrics
end

#nameObject

Name of the query.



44
45
46
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 44

def name
  @name
end

#queryObject

Query to run on logs.



47
48
49
# File 'lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb', line 47

def query
  @query
end