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
Copy file name to clipboardExpand all lines: features/v2/security_monitoring.feature
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,13 @@ Feature: Security Monitoring
21
21
When the request is sent
22
22
Then the response status is 200 OK
23
23
24
+
@team:DataDog/security-monitoring
25
+
Scenario: Create a detection rule with type 'impossible_travel' returns "OK" response
26
+
Given new "CreateSecurityMonitoringRule" request
27
+
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":false}},"name":"{{ unique }}","type":"log_detection","tags":[],"filters":[]}
28
+
When the request is sent
29
+
Then the response status is 200 OK
30
+
24
31
@team:DataDog/security-monitoring
25
32
Scenario: Create a detection rule with type 'workload_security' returns "OK" response
0 commit comments