@@ -13,15 +13,15 @@ Feature: Security Monitoring
13
13
Scenario : Add a security signal to an incident returns "Bad Request" response
14
14
Given new "AddSecurityMonitoringSignalToIncident" request
15
15
And request contains "signal_id" parameter from "REPLACE.ME"
16
- And body with value {"incident_id" : 2066}
16
+ And body with value {"incident_id" : 2066, "version" : 0 }
17
17
When the request is sent
18
18
Then the response status is 400 Bad Request
19
19
20
20
@generated @skip @team:DataDog/k9-cloud-security-platform
21
21
Scenario : Add a security signal to an incident returns "Not Found" response
22
22
Given new "AddSecurityMonitoringSignalToIncident" request
23
23
And request contains "signal_id" parameter from "REPLACE.ME"
24
- And body with value {"incident_id" : 2066}
24
+ And body with value {"incident_id" : 2066, "version" : 0 }
25
25
When the request is sent
26
26
Then the response status is 404 Not Found
27
27
@@ -38,15 +38,15 @@ Feature: Security Monitoring
38
38
Scenario : Change the triage state of a security signal returns "Bad Request" response
39
39
Given new "EditSecurityMonitoringSignalState" request
40
40
And request contains "signal_id" parameter from "REPLACE.ME"
41
- And body with value {"archiveReason" : "none" , "state" : "open" }
41
+ And body with value {"archiveReason" : "none" , "state" : "open" , "version" : 0 }
42
42
When the request is sent
43
43
Then the response status is 400 Bad Request
44
44
45
45
@generated @skip @team:DataDog/k9-cloud-security-platform
46
46
Scenario : Change the triage state of a security signal returns "Not Found" response
47
47
Given new "EditSecurityMonitoringSignalState" request
48
48
And request contains "signal_id" parameter from "REPLACE.ME"
49
- And body with value {"archiveReason" : "none" , "state" : "open" }
49
+ And body with value {"archiveReason" : "none" , "state" : "open" , "version" : 0 }
50
50
When the request is sent
51
51
Then the response status is 404 Not Found
52
52
@@ -63,15 +63,15 @@ Feature: Security Monitoring
63
63
Scenario : Modify the triage assignee of a security signal returns "Bad Request" response
64
64
Given new "EditSecurityMonitoringSignalAssignee" request
65
65
And request contains "signal_id" parameter from "REPLACE.ME"
66
- And body with value {"assignee" : "773b045d-ccf8-4808-bd3b-955ef6a8c940" }
66
+ And body with value {"assignee" : "773b045d-ccf8-4808-bd3b-955ef6a8c940" , "version" : 0 }
67
67
When the request is sent
68
68
Then the response status is 400 Bad Request
69
69
70
70
@generated @skip @team:DataDog/k9-cloud-security-platform
71
71
Scenario : Modify the triage assignee of a security signal returns "Not Found" response
72
72
Given new "EditSecurityMonitoringSignalAssignee" request
73
73
And request contains "signal_id" parameter from "REPLACE.ME"
74
- And body with value {"assignee" : "773b045d-ccf8-4808-bd3b-955ef6a8c940" }
74
+ And body with value {"assignee" : "773b045d-ccf8-4808-bd3b-955ef6a8c940" , "version" : 0 }
75
75
When the request is sent
76
76
Then the response status is 404 Not Found
77
77
0 commit comments