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
Scenario: Mute or unmute a batch of findings returns "Bad Request: The server cannot process the request due to invalid syntax in the request." response
2364
-
Given operation "MuteFindings" enabled
2365
-
And new "MuteFindings" request
2366
-
And body with value {"data": {"attributes": {"mute": {"expiration_date": 1778721573794, "muted": true, "reason": "ACCEPTED_RISK"}}, "id": "dbe5f567-192b-4404-b908-29b70e1c9f76", "meta": {"findings": [{"finding_id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw=="}]}, "type": "finding"}}
2367
-
When the request is sent
2368
-
Then the response status is 400 Bad Request: The server cannot process the request due to invalid syntax in the request.
Scenario: Mute or unmute a batch of findings returns "Invalid Request: The server understands the request syntax but cannot process it due to invalid data." response
2372
-
Given operation "MuteFindings" enabled
2373
-
And new "MuteFindings" request
2374
-
And body with value {"data": {"attributes": {"mute": {"expiration_date": 1778721573794, "muted": true, "reason": "ACCEPTED_RISK"}}, "id": "dbe5f567-192b-4404-b908-29b70e1c9f76", "meta": {"findings": [{"finding_id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw=="}]}, "type": "finding"}}
2375
-
When the request is sent
2376
-
Then the response status is 422 Invalid Request: The server understands the request syntax but cannot process it due to invalid data.
Scenario: Mute or unmute a batch of findings returns "OK" response
2388
-
Given operation "MuteFindings" enabled
2389
-
And new "MuteFindings" request
2390
-
And body with value {"data": {"attributes": {"mute": {"expiration_date": 1778721573794, "muted": true, "reason": "ACCEPTED_RISK"}}, "id": "dbe5f567-192b-4404-b908-29b70e1c9f76", "meta": {"findings":[{"finding_id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw=="}]}, "type": "finding"}}
2391
-
When the request is sent
2392
-
Then the response status is 200 OK
2393
-
2394
2362
@generated@skip@team:DataDog/k9-investigation
2395
2363
Scenario: Mute or unmute security findings returns "Accepted" response
0 commit comments