Skip to content

Commit bdec7a9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 35fe932 of spec repo
1 parent b7b888c commit bdec7a9

File tree

63 files changed

+485
-398
lines changed

Some content is hidden

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

63 files changed

+485
-398
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10205,11 +10205,11 @@ components:
1020510205
CloudWorkloadSecurityAgentPolicyVersion:
1020610206
description: The versions of the policy
1020710207
properties:
10208-
Date:
10208+
date:
1020910209
description: The date and time the version was created
1021010210
nullable: true
1021110211
type: string
10212-
Name:
10212+
name:
1021310213
description: The version of the policy
1021410214
example: 1.47.0-rc2
1021510215
type: string
@@ -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
@@ -10285,9 +10288,14 @@ components:
1028510288
format: int64
1028610289
type: integer
1028710290
value:
10288-
description: The value of the set action
10289-
type: string
10291+
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionSetValue'
1029010292
type: object
10293+
CloudWorkloadSecurityAgentRuleActionSetValue:
10294+
description: The value of the set action
10295+
oneOf:
10296+
- type: string
10297+
- type: integer
10298+
- type: boolean
1029110299
CloudWorkloadSecurityAgentRuleActions:
1029210300
description: The array of actions the rule can perform if triggered
1029310301
items:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-10-10T15:20:39.566Z"
1+
"2025-11-28T15:36:35.422Z"

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": "283aabc9ec1634fe102a86372e557504",
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\":\"testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1764344195\"},\"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\":\"nry-cel-dxv\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":1,\"enabled\":true,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":7,\"name\":\"testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1764344195\",\"pinned\":false,\"policyVersion\":\"1\",\"ruleCount\":8,\"updateDate\":1764344195792,\"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-28T15:36:35.428Z",
61+
"time": 1050
6262
},
6363
{
64-
"_id": "c96671f68a37c051f820b4c05a204de7",
64+
"_id": "d0805eda3a639b57a7558fc74ff3375b",
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\":\"nry-cel-dxv\",\"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-28T15:36:36.486Z",
114+
"time": 628
115115
},
116116
{
117-
"_id": "033f489d6cfaff7becf8fafbf0d27dcc",
117+
"_id": "47e0a928887d4b8ae794d955bebef6a7",
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/nry-cel-dxv"
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-28T15:36:37.120Z",
156+
"time": 450
157157
}
158158
],
159159
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-10-10T15:20:41.757Z"
1+
"2025-11-28T15:36:37.578Z"

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": "0b163d950002c75bf98bc17bddace27f",
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\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1764344197\"},\"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\":\"5mn-pob-n7y\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":1,\"enabled\":true,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":7,\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1764344197\",\"pinned\":false,\"policyVersion\":\"1\",\"ruleCount\":8,\"updateDate\":1764344197937,\"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-28T15:36:37.581Z",
61+
"time": 863
6262
},
6363
{
64-
"_id": "22c237a1151205b5ba1b14fd5787676a",
64+
"_id": "77fb5d22fd4824b9ea60396fb3c17a33",
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\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1764344197\",\"policy_id\":\"5mn-pob-n7y\",\"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\":\"l4v-yda-kue\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1764344198799,\"creator\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"5mn-pob-n7y\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1764344197\",\"product_tags\":[],\"updateDate\":1764344198799,\"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-28T15:36:38.450Z",
114+
"time": 1023
115115
},
116116
{
117-
"_id": "567fe2bd32e6f22a072992a322614bae",
117+
"_id": "582d8e029c45e1518f25208b40b01a01",
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/l4v-yda-kue"
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-28T15:36:39.477Z",
156+
"time": 1012
157157
},
158158
{
159-
"_id": "1c557a34376835b7435cae98d49e1f96",
159+
"_id": "3aee0319005a04687589888961193ef6",
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/5mn-pob-n7y"
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-28T15:36:40.493Z",
198+
"time": 1103
199199
}
200200
],
201201
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-10-10T15:20:46.004Z"
1+
"2025-11-28T15:36:41.599Z"

0 commit comments

Comments
 (0)