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 2bb0913
Browse filesBrowse the repository at this point in the historyBrowse files
ci.datadog-api-spec
committed
Regenerate client from commit f907e8e of spec repo
Copy file name to clipboardExpand all lines: src/test/resources/com/datadog/api/client/v2/api/csm_threats.feature
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -92,11 +92,11 @@ Feature: CSM Threats
92
92
Then the response status is 409 Conflict
93
93
94
94
@team:ddoghq/k9-cws-backend
95
-
Scenario: Create a Workload Protection policy returns "OK" response
95
+
Scenario: Create a Workload Protection policy returns "Created" response
96
96
Given new "CreateCSMThreatsAgentPolicy" request
97
-
And body with value {"data": {"attributes": {"description": "My agent policy", "enabled": true, "hostTagsLists": [["env:test"]], "name": "my_agent_policy_2"}, "type": "policy"}}
97
+
And body with value {"data": {"attributes": {"description": "My agent policy", "enabled": false, "hostTagsLists": [["env:test"]], "name": "my_agent_policy_2"}, "type": "policy"}}
Copy file name to clipboardExpand all lines: src/test/resources/generated-test/test-runner-data/v2/csm-threats/create-a-workload-protection-policy-returns-created-response.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
{
2
2
"api": "CSMThreats",
3
-
"expected_status": 200,
3
+
"expected_status": 201,
4
4
"feature": "CSM Threats",
5
-
"id": "v2/CSM Threats/Create a Workload Protection policy returns \"OK\" response",
5
+
"id": "v2/CSM Threats/Create a Workload Protection policy returns \"Created\" response",
Copy file name to clipboardExpand all lines: src/test/resources/generated-test/test-runner-data/v2/csm-threats/update-a-workload-protection-policy-returns-ok-response.json
0 commit comments