@@ -2300,56 +2300,49 @@ Feature: Security Monitoring
23002300
23012301 @generated @skip @team:DataDog/k9-investigation
23022302 Scenario : Mute or unmute security findings returns "Accepted" response
2303- Given operation "MuteSecurityFindings" enabled
2304- And new "MuteSecurityFindings" request
2303+ Given new "MuteSecurityFindings" request
23052304 And body with value {"data" : {"attributes" : {"mute" : {"description" : "To be resolved later." , "expire_at" : 1778721573794, "is_muted" : true, "reason" : "PENDING_FIX" }}, "id" : "00000000-0000-0000-0000-000000000001" , "relationships" : {"findings" : {"data" : [{"id" : "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==" , "type" : "findings" }]}}, "type" : "mute" }}
23062305 When the request is sent
23072306 Then the response status is 202 Accepted
23082307
23092308 @generated @skip @team:DataDog/k9-investigation
23102309 Scenario : Mute or unmute security findings returns "Bad Request" response
2311- Given operation "MuteSecurityFindings" enabled
2312- And new "MuteSecurityFindings" request
2310+ Given new "MuteSecurityFindings" request
23132311 And body with value {"data" : {"attributes" : {"mute" : {"description" : "To be resolved later." , "expire_at" : 1778721573794, "is_muted" : true, "reason" : "PENDING_FIX" }}, "id" : "00000000-0000-0000-0000-000000000001" , "relationships" : {"findings" : {"data" : [{"id" : "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==" , "type" : "findings" }]}}, "type" : "mute" }}
23142312 When the request is sent
23152313 Then the response status is 400 Bad Request
23162314
23172315 @generated @skip @team:DataDog/k9-investigation
23182316 Scenario : Mute or unmute security findings returns "Not Found" response
2319- Given operation "MuteSecurityFindings" enabled
2320- And new "MuteSecurityFindings" request
2317+ Given new "MuteSecurityFindings" request
23212318 And body with value {"data" : {"attributes" : {"mute" : {"description" : "To be resolved later." , "expire_at" : 1778721573794, "is_muted" : true, "reason" : "PENDING_FIX" }}, "id" : "00000000-0000-0000-0000-000000000001" , "relationships" : {"findings" : {"data" : [{"id" : "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==" , "type" : "findings" }]}}, "type" : "mute" }}
23222319 When the request is sent
23232320 Then the response status is 404 Not Found
23242321
23252322 @generated @skip @team:DataDog/k9-investigation
23262323 Scenario : Mute or unmute security findings returns "Unprocessable Entity" response
2327- Given operation "MuteSecurityFindings" enabled
2328- And new "MuteSecurityFindings" request
2324+ Given new "MuteSecurityFindings" request
23292325 And body with value {"data" : {"attributes" : {"mute" : {"description" : "To be resolved later." , "expire_at" : 1778721573794, "is_muted" : true, "reason" : "PENDING_FIX" }}, "id" : "00000000-0000-0000-0000-000000000001" , "relationships" : {"findings" : {"data" : [{"id" : "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==" , "type" : "findings" }]}}, "type" : "mute" }}
23302326 When the request is sent
23312327 Then the response status is 422 Unprocessable Entity
23322328
23332329 @team:DataDog/k9-investigation
23342330 Scenario : Mute security findings returns "Accepted" response
2335- Given operation "MuteSecurityFindings" enabled
2336- And new "MuteSecurityFindings" request
2331+ Given new "MuteSecurityFindings" request
23372332 And body with value {"data" : {"attributes" : {"mute" : {"description" : "To be resolved later." , "expire_at" : 1778721573794, "is_muted" : true, "reason" : "RISK_ACCEPTED" }}, "relationships" : {"findings" : {"data" : [{"id" : "ZGVmLTAwMC0wYmd-MDE4NjcyMDJkMzE4MDE5ODY5MGE4ZmQ2MmFlMjg0Y2M=" , "type" : "findings" }]}}, "type" : "mute" }}
23382333 When the request is sent
23392334 Then the response status is 202 Accepted
23402335
23412336 @team:DataDog/k9-investigation
23422337 Scenario : Mute security findings returns "Not Found" response
2343- Given operation "MuteSecurityFindings" enabled
2344- And new "MuteSecurityFindings" request
2338+ Given new "MuteSecurityFindings" request
23452339 And body with value {"data" : {"attributes" : {"mute" : {"description" : "To be resolved later." , "expire_at" : 1778721573794, "is_muted" : true, "reason" : "RISK_ACCEPTED" }}, "relationships" : {"findings" : {"data" : [{"id" : "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==" , "type" : "findings" }]}}, "type" : "mute" }}
23462340 When the request is sent
23472341 Then the response status is 404 Not Found
23482342
23492343 @team:DataDog/k9-investigation
23502344 Scenario : Mute security findings returns "Unprocessable Entity" response
2351- Given operation "MuteSecurityFindings" enabled
2352- And new "MuteSecurityFindings" request
2345+ Given new "MuteSecurityFindings" request
23532346 And body with value {"data" : {"attributes" : {"mute" : {"description" : "To be resolved later." , "expire_at" : 1, "is_muted" : true, "reason" : "RISK_ACCEPTED" }}, "relationships" : {"findings" : {"data" : [{"id" : "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==" , "type" : "findings" }]}}, "type" : "mute" }}
23542347 When the request is sent
23552348 Then the response status is 422 Unprocessable Entity
@@ -2573,24 +2566,21 @@ Feature: Security Monitoring
25732566
25742567 @team:DataDog/k9-investigation
25752568 Scenario : Unmute security findings returns "Accepted" response
2576- Given operation "MuteSecurityFindings" enabled
2577- And new "MuteSecurityFindings" request
2569+ Given new "MuteSecurityFindings" request
25782570 And body with value {"data" : {"attributes" : {"mute" : {"description" : "Resolved." , "is_muted" : false, "reason" : "NO_PENDING_FIX" }}, "relationships" : {"findings" : {"data" : [{"id" : "ZGVmLTAwMC0wYmd-MDE4NjcyMDJkMzE4MDE5ODY5MGE4ZmQ2MmFlMjg0Y2M=" , "type" : "findings" }]}}, "type" : "mute" }}
25792571 When the request is sent
25802572 Then the response status is 202 Accepted
25812573
25822574 @team:DataDog/k9-investigation
25832575 Scenario : Unmute security findings returns "Not Found" response
2584- Given operation "MuteSecurityFindings" enabled
2585- And new "MuteSecurityFindings" request
2576+ Given new "MuteSecurityFindings" request
25862577 And body with value {"data" : {"attributes" : {"mute" : {"description" : "Resolved." , "is_muted" : false, "reason" : "NO_PENDING_FIX" }}, "relationships" : {"findings" : {"data" : [{"id" : "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==" , "type" : "findings" }]}}, "type" : "mute" }}
25872578 When the request is sent
25882579 Then the response status is 404 Not Found
25892580
25902581 @team:DataDog/k9-investigation
25912582 Scenario : Unmute security findings returns "Unprocessable Entity" response
2592- Given operation "MuteSecurityFindings" enabled
2593- And new "MuteSecurityFindings" request
2583+ Given new "MuteSecurityFindings" request
25942584 And body with value {"data" : {"attributes" : {"mute" : {"description" : "Resolved." , "is_muted" : false, "reason" : "RISK_ACCEPTED" }}, "relationships" : {"findings" : {"data" : [{"id" : "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==" , "type" : "findings" }]}}, "type" : "mute" }}
25952585 When the request is sent
25962586 Then the response status is 422 Unprocessable Entity
0 commit comments