Class: DatadogAPIClient::V2::SecurityMonitoringRuleAnomalyDetectionOptions

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

Overview

Options on anomaly detection method.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#bucket_durationObject

Duration in seconds of the time buckets used to aggregate events matched by the rule. Must be greater than or equal to 300.



26
27
28
# File 'lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options.rb', line 26

def bucket_duration
  @bucket_duration
end

#detection_toleranceObject

An optional parameter that sets how permissive anomaly detection is. Higher values require higher deviations before triggering a signal.



30
31
32
# File 'lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options.rb', line 30

def detection_tolerance
  @detection_tolerance
end

#instantaneous_baselineObject

When set to true, Datadog uses previous values that fall within the defined learning window to construct the baseline, enabling the system to establish an accurate baseline more rapidly rather than relying solely on gradual learning over time.



33
34
35
# File 'lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options.rb', line 33

def instantaneous_baseline
  @instantaneous_baseline
end

#learning_durationObject

Learning duration in hours. Anomaly detection waits for at least this amount of historical data before it starts evaluating.



36
37
38
# File 'lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options.rb', line 36

def learning_duration
  @learning_duration
end

#learning_period_baselineObject

An optional override baseline to apply while the rule is in the learning period. Must be greater than or equal to 0.



39
40
41
# File 'lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options.rb', line 39

def learning_period_baseline
  @learning_period_baseline
end