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
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 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
2396
-
Given operation "MuteFindings" enabled
2397
-
And new "MuteFindings" request
2398
-
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"}}
2399
-
When the request is sent
2400
-
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
2412
-
Given operation "MuteFindings" enabled
2413
-
And new "MuteFindings" request
2414
-
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"}}
2415
-
When the request is sent
2416
-
Then the response status is 200 OK
2417
-
2418
2386
@generated@skip@team:DataDog/k9-investigation
2419
2387
Scenario: Mute or unmute security findings returns "Accepted" response
0 commit comments