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.



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

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

#learning_durationObject

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



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

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.



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

def learning_period_baseline
  @learning_period_baseline
end