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
{{ message }}
Repository navigation
Commit 831713b
Browse filesBrowse the repository at this point in the historyBrowse files
Scenario: List Bits AI investigations returns "OK" response with pagination
50
-
Given operation "ListInvestigations" enabled
51
-
And new "ListInvestigations" request
45
+
Given new "ListInvestigations" request
52
46
When the request with pagination is sent
53
47
Then the response status is 200 OK
54
48
55
49
@generated@skip@team:ddoghq/bits-ai
56
50
Scenario: Trigger a Bits AI investigation returns "Bad Request" response
57
-
Given operation "TriggerInvestigation" enabled
58
-
And new "TriggerInvestigation" request
51
+
Given new "TriggerInvestigation" request
59
52
And body with value {"data": {"attributes": {"trigger": {"monitor_alert_trigger": {"event_id": "1234567890123456789", "event_ts": 1700000000000, "monitor_id": 12345678}, "type": "monitor_alert_trigger"}}, "type": "trigger_investigation_request"}}
60
53
When the request is sent
61
54
Then the response status is 400 Bad Request
62
55
63
56
@generated@skip@team:ddoghq/bits-ai
64
57
Scenario: Trigger a Bits AI investigation returns "OK" response
65
-
Given operation "TriggerInvestigation" enabled
66
-
And new "TriggerInvestigation" request
58
+
Given new "TriggerInvestigation" request
67
59
And body with value {"data": {"attributes": {"trigger": {"monitor_alert_trigger": {"event_id": "1234567890123456789", "event_ts": 1700000000000, "monitor_id": 12345678}, "type": "monitor_alert_trigger"}}, "type": "trigger_investigation_request"}}
0 commit comments