Skip to content

Commit 1b19894

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2a9c644 of spec repo
1 parent b7b888c commit 1b19894

File tree

60 files changed

+451
-389
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+451
-389
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10236,8 +10236,11 @@ components:
1023610236
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionSet'
1023710237
type: object
1023810238
CloudWorkloadSecurityAgentRuleActionHash:
10239-
additionalProperties: {}
10240-
description: An empty object indicating the hash action
10239+
description: Hash file specified by the field attribute
10240+
properties:
10241+
field:
10242+
description: The field of the hash action
10243+
type: string
1024110244
type: object
1024210245
CloudWorkloadSecurityAgentRuleActionMetadata:
1024310246
description: The metadata action applied on the scope matching the rule
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-10-10T15:20:39.566Z"
1+
"2025-11-24T13:58:56.166Z"

cassettes/v2/CSM-Threats_3156990395/Create-a-Workload-Protection-agent-rule-returns-Bad-Request-response_1067572025/recording.har

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "396b2fca731ed8ac116876592ae9c6ea",
11+
"_id": "f47a34a127fb08d5ae6b350bfe218234",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -26,13 +26,13 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 593,
29+
"headersSize": 595,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1760109639\"},\"type\":\"policy\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1763992736\"},\"type\":\"policy\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy"
@@ -42,7 +42,7 @@
4242
"content": {
4343
"mimeType": "application/json",
4444
"size": 450,
45-
"text": "{\"data\":{\"id\":\"sr5-i0h-lty\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":1,\"enabled\":true,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":7,\"name\":\"testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1760109639\",\"pinned\":false,\"policyVersion\":\"1\",\"ruleCount\":8,\"updateDate\":1760109639958,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
45+
"text": "{\"data\":{\"id\":\"w9c-4xq-y9a\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":1,\"enabled\":true,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":7,\"name\":\"testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1763992736\",\"pinned\":false,\"policyVersion\":\"1\",\"ruleCount\":8,\"updateDate\":1763992736520,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2025-10-10T15:20:39.571Z",
61-
"time": 859
60+
"startedDateTime": "2025-11-24T13:58:56.172Z",
61+
"time": 775
6262
},
6363
{
64-
"_id": "c96671f68a37c051f820b4c05a204de7",
64+
"_id": "3aa7bbb6714b258319f6b877fb7a4868",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -79,23 +79,23 @@
7979
"value": "application/json"
8080
}
8181
],
82-
"headersSize": 596,
82+
"headersSize": 598,
8383
"httpVersion": "HTTP/1.1",
8484
"method": "POST",
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name\",\"filters\":[],\"name\":\"my_agent_rule\",\"policy_id\":\"sr5-i0h-lty\",\"product_tags\":[]},\"type\":\"agent_rule\"}}"
88+
"text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name\",\"filters\":[],\"name\":\"my_agent_rule\",\"policy_id\":\"w9c-4xq-y9a\",\"product_tags\":[]},\"type\":\"agent_rule\"}}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules"
9292
},
9393
"response": {
94-
"bodySize": 121,
94+
"bodySize": 154,
9595
"content": {
9696
"mimeType": "application/json",
97-
"size": 121,
98-
"text": "{\"errors\":[\"input_validation_error(Field 'name' is invalid: the name 'my_agent_rule' is already used by a custom rule)\"]}"
97+
"size": 154,
98+
"text": "{\"errors\":[\"input_validation_error(Field 'expression' is invalid: rule `my_agent_rule` error: rule syntax error: bool expected: 1:1: exec.file.name\\n^)\"]}"
9999
},
100100
"cookies": [],
101101
"headers": [
@@ -110,11 +110,11 @@
110110
"status": 400,
111111
"statusText": "Bad Request"
112112
},
113-
"startedDateTime": "2025-10-10T15:20:40.436Z",
114-
"time": 393
113+
"startedDateTime": "2025-11-24T13:58:56.953Z",
114+
"time": 608
115115
},
116116
{
117-
"_id": "033f489d6cfaff7becf8fafbf0d27dcc",
117+
"_id": "7b6bf245617a0459a722bd4a1ae296f9",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -127,11 +127,11 @@
127127
"value": "*/*"
128128
}
129129
],
130-
"headersSize": 541,
130+
"headersSize": 543,
131131
"httpVersion": "HTTP/1.1",
132132
"method": "DELETE",
133133
"queryString": [],
134-
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/sr5-i0h-lty"
134+
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/w9c-4xq-y9a"
135135
},
136136
"response": {
137137
"bodySize": 0,
@@ -152,8 +152,8 @@
152152
"status": 204,
153153
"statusText": "No Content"
154154
},
155-
"startedDateTime": "2025-10-10T15:20:40.833Z",
156-
"time": 919
155+
"startedDateTime": "2025-11-24T13:58:57.569Z",
156+
"time": 1299
157157
}
158158
],
159159
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-10-10T15:20:41.757Z"
1+
"2025-11-24T13:58:58.874Z"

cassettes/v2/CSM-Threats_3156990395/Create-a-Workload-Protection-agent-rule-returns-OK-response_2698696373/recording.har

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "603ef16c2dcad915a44a8a6dde147f65",
11+
"_id": "aa405038f3238f3d4d7ce4b4fcff25e0",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -26,13 +26,13 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 593,
29+
"headersSize": 595,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1760109641\"},\"type\":\"policy\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1763992738\"},\"type\":\"policy\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy"
@@ -42,7 +42,7 @@
4242
"content": {
4343
"mimeType": "application/json",
4444
"size": 442,
45-
"text": "{\"data\":{\"id\":\"cwy-qfn-4k8\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":1,\"enabled\":true,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":7,\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1760109641\",\"pinned\":false,\"policyVersion\":\"1\",\"ruleCount\":8,\"updateDate\":1760109642133,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
45+
"text": "{\"data\":{\"id\":\"tlt-msl-sfd\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":1,\"enabled\":true,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":7,\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1763992738\",\"pinned\":false,\"policyVersion\":\"1\",\"ruleCount\":8,\"updateDate\":1763992739217,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2025-10-10T15:20:41.759Z",
61-
"time": 1077
60+
"startedDateTime": "2025-11-24T13:58:58.878Z",
61+
"time": 1066
6262
},
6363
{
64-
"_id": "22c237a1151205b5ba1b14fd5787676a",
64+
"_id": "0936d4640d1a391aeceb857861a3978f",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -79,13 +79,13 @@
7979
"value": "application/json"
8080
}
8181
],
82-
"headersSize": 596,
82+
"headersSize": 598,
8383
"httpVersion": "HTTP/1.1",
8484
"method": "POST",
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"data\":{\"attributes\":{\"agent_version\":\"> 7.60\",\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1760109641\",\"policy_id\":\"cwy-qfn-4k8\",\"product_tags\":[]},\"type\":\"agent_rule\"}}"
88+
"text": "{\"data\":{\"attributes\":{\"agent_version\":\"> 7.60\",\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1763992738\",\"policy_id\":\"tlt-msl-sfd\",\"product_tags\":[]},\"type\":\"agent_rule\"}}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules"
@@ -95,7 +95,7 @@
9595
"content": {
9696
"mimeType": "application/json",
9797
"size": 519,
98-
"text": "{\"data\":{\"id\":\"iua-dxr-uvh\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1760109643225,\"creator\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"cwy-qfn-4k8\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1760109641\",\"product_tags\":[],\"updateDate\":1760109643225,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
98+
"text": "{\"data\":{\"id\":\"ps2-esj-nuh\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1763992740362,\"creator\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"tlt-msl-sfd\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1763992738\",\"product_tags\":[],\"updateDate\":1763992740362,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
9999
},
100100
"cookies": [],
101101
"headers": [
@@ -110,11 +110,11 @@
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2025-10-10T15:20:42.840Z",
114-
"time": 1256
113+
"startedDateTime": "2025-11-24T13:58:59.949Z",
114+
"time": 931
115115
},
116116
{
117-
"_id": "567fe2bd32e6f22a072992a322614bae",
117+
"_id": "be686dd531736809406e865fcd6e1007",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -127,11 +127,11 @@
127127
"value": "*/*"
128128
}
129129
],
130-
"headersSize": 544,
130+
"headersSize": 546,
131131
"httpVersion": "HTTP/1.1",
132132
"method": "DELETE",
133133
"queryString": [],
134-
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/iua-dxr-uvh"
134+
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/ps2-esj-nuh"
135135
},
136136
"response": {
137137
"bodySize": 0,
@@ -152,11 +152,11 @@
152152
"status": 204,
153153
"statusText": "No Content"
154154
},
155-
"startedDateTime": "2025-10-10T15:20:44.099Z",
156-
"time": 964
155+
"startedDateTime": "2025-11-24T13:59:00.886Z",
156+
"time": 766
157157
},
158158
{
159-
"_id": "1c557a34376835b7435cae98d49e1f96",
159+
"_id": "f5a970b36db6ade5b24c0606a3e7a077",
160160
"_order": 0,
161161
"cache": {},
162162
"request": {
@@ -169,11 +169,11 @@
169169
"value": "*/*"
170170
}
171171
],
172-
"headersSize": 541,
172+
"headersSize": 543,
173173
"httpVersion": "HTTP/1.1",
174174
"method": "DELETE",
175175
"queryString": [],
176-
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/cwy-qfn-4k8"
176+
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/tlt-msl-sfd"
177177
},
178178
"response": {
179179
"bodySize": 0,
@@ -194,8 +194,8 @@
194194
"status": 204,
195195
"statusText": "No Content"
196196
},
197-
"startedDateTime": "2025-10-10T15:20:45.068Z",
198-
"time": 933
197+
"startedDateTime": "2025-11-24T13:59:01.655Z",
198+
"time": 738
199199
}
200200
],
201201
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-10-10T15:20:46.004Z"
1+
"2025-11-24T13:59:02.396Z"

0 commit comments

Comments
 (0)