You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "If true, signals are suppressed for the first 24 hours. In that time, Datadog learns the user's regular\naccess locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access."
description: The duration in days during which Datadog learns the user's regular access locations. After this period, signals are generated for accesses from unknown locations.
70697
+
format: int32
70698
+
maximum: 30
70699
+
minimum: 1
70700
+
nullable: true
70701
+
type: integer
70693
70702
SecurityMonitoringRuleInstantaneousBaseline:
70694
70703
description: 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.
Copy file name to clipboardExpand all lines: src/test/resources/com/datadog/api/client/v2/api/security_monitoring.feature
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -559,6 +559,19 @@ Feature: Security Monitoring
559
559
And the response "type" is equal to "application_security"
560
560
And the response "message" is equal to "Test rule"
561
561
562
+
@skip-validation@team:DataDog/k9-cloud-siem
563
+
Scenario: Create a detection rule with type 'impossible_travel' and baselineUserLocationsDuration returns "OK" response
564
+
Given new "CreateSecurityMonitoringRule" request
565
+
And body with value {"queries":[{"aggregation":"geo_data","groupByFields":["@usr.id"],"distinctFields":[],"metric":"@network.client.geoip","query":"*"}],"cases":[{"name":"","status":"info","notifications":[]}],"hasExtendedTitle":true,"message":"test","isEnabled":true,"options":{"maxSignalDuration":86400,"evaluationWindow":900,"keepAlive":3600,"detectionMethod":"impossible_travel","impossibleTravelOptions":{"baselineUserLocations":true,"baselineUserLocationsDuration":7}},"name":"{{ unique }}","type":"log_detection","tags":[],"filters":[]}
566
+
When the request is sent
567
+
Then the response status is 200 OK
568
+
And the response "name" is equal to "{{ unique }}"
569
+
And the response "type" is equal to "log_detection"
570
+
And the response "message" is equal to "test"
571
+
And the response "options.detectionMethod" is equal to "impossible_travel"
572
+
And the response "options.impossibleTravelOptions.baselineUserLocations" is equal to true
573
+
And the response "options.impossibleTravelOptions.baselineUserLocationsDuration" is equal to 7
574
+
562
575
@skip-validation@team:DataDog/k9-cloud-siem
563
576
Scenario: Create a detection rule with type 'impossible_travel' returns "OK" response
0 commit comments