Skip to content

Commit 590852c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit b6151f30 of spec repo (#2351)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 56b435e commit 590852c

File tree

14 files changed

+129
-112
lines changed

14 files changed

+129
-112
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-06-17 18:21:58.898832",
8-
"spec_repo_commit": "b1a1c000"
7+
"regenerated": "2025-06-18 09:42:19.211212",
8+
"spec_repo_commit": "b6151f30"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-17 18:21:58.917115",
13-
"spec_repo_commit": "b1a1c000"
12+
"regenerated": "2025-06-18 09:42:19.227140",
13+
"spec_repo_commit": "b6151f30"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7540,13 +7540,19 @@ components:
75407540
description: SECL expression used to target the container to apply the action
75417541
on
75427542
type: string
7543+
hash:
7544+
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionHash'
75437545
kill:
75447546
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleKill'
75457547
metadata:
75467548
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionMetadata'
75477549
set:
75487550
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActionSet'
75497551
type: object
7552+
CloudWorkloadSecurityAgentRuleActionHash:
7553+
additionalProperties: {}
7554+
description: An empty object indicating the hash action
7555+
type: object
75507556
CloudWorkloadSecurityAgentRuleActionMetadata:
75517557
description: The metadata action applied on the scope matching the rule
75527558
properties:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-05-27T10:24:57.049Z"
1+
"2025-06-13T15:16:58.034Z"

cassettes/v2/CSM-Threats_3156990395/Create-a-Workload-Protection-agent-rule-with-set-action-returns-OK-response_3686873779/recording.har

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "573b0a4629e17d6b1e2465f1ebbabc50",
11+
"_id": "258766a3d0c85c2b27cf0f2ddc6a4c23",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,7 +32,7 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1748341497\"},\"type\":\"policy\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1749827818\"},\"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": 459,
45-
"text": "{\"data\":{\"id\":\"qyj-iza-vbu\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":1,\"enabled\":true,\"hostTags\":[\"env:staging\"],\"monitoringRulesCount\":225,\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1748341497\",\"policyVersion\":\"1\",\"priority\":1000000011,\"ruleCount\":226,\"updateDate\":1748341497346,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
45+
"text": "{\"data\":{\"id\":\"alt-4q4-baa\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":1,\"enabled\":true,\"hostTags\":[\"env:staging\"],\"monitoringRulesCount\":225,\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1749827818\",\"policyVersion\":\"1\",\"priority\":1000000013,\"ruleCount\":226,\"updateDate\":1749827818428,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,15 +57,15 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2025-05-27T10:24:57.053Z",
61-
"time": 734
60+
"startedDateTime": "2025-06-13T15:16:58.038Z",
61+
"time": 901
6262
},
6363
{
64-
"_id": "c5a84c2d4c468dbb0a32cdd061c7370a",
64+
"_id": "b8d1628e733906f638f5374d03cf338b",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
68-
"bodySize": 370,
68+
"bodySize": 382,
6969
"cookies": [],
7070
"headers": [
7171
{
@@ -85,17 +85,17 @@
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"data\":{\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"scope\":\"process\",\"value\":\"test_value\"}}],\"description\":\"My Agent rule with set action\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1748341497\",\"policy_id\":\"qyj-iza-vbu\",\"product_tags\":[]},\"type\":\"agent_rule\"}}"
88+
"text": "{\"data\":{\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"scope\":\"process\",\"value\":\"test_value\"}},{\"hash\":{}}],\"description\":\"My Agent rule with set action\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1749827818\",\"policy_id\":\"alt-4q4-baa\",\"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": 644,
94+
"bodySize": 673,
9595
"content": {
9696
"mimeType": "application/json",
97-
"size": 644,
98-
"text": "{\"data\":{\"id\":\"zux-bp8-zov\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false}],\"category\":\"Process Activity\",\"creationDate\":1748341498175,\"creator\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule with set action\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"qyj-iza-vbu\"],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1748341497\",\"product_tags\":[],\"updateDate\":1748341498175,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
97+
"size": 673,
98+
"text": "{\"data\":{\"id\":\"ps3-64e-shx\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false},{\"hash\":{},\"disabled\":false}],\"category\":\"Process Activity\",\"creationDate\":1749827819065,\"creator\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule with set action\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"alt-4q4-baa\"],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1749827818\",\"product_tags\":[],\"updateDate\":1749827819065,\"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-05-27T10:24:57.791Z",
114-
"time": 866
113+
"startedDateTime": "2025-06-13T15:16:58.948Z",
114+
"time": 563
115115
},
116116
{
117-
"_id": "de4853db6fb4726f2321f1eb00c650fc",
117+
"_id": "2e30739b44e5f2cd6998ce6f2d27a7b6",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -131,7 +131,7 @@
131131
"httpVersion": "HTTP/1.1",
132132
"method": "DELETE",
133133
"queryString": [],
134-
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/zux-bp8-zov"
134+
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/ps3-64e-shx"
135135
},
136136
"response": {
137137
"bodySize": 0,
@@ -152,11 +152,11 @@
152152
"status": 204,
153153
"statusText": "No Content"
154154
},
155-
"startedDateTime": "2025-05-27T10:24:58.664Z",
156-
"time": 741
155+
"startedDateTime": "2025-06-13T15:16:59.522Z",
156+
"time": 965
157157
},
158158
{
159-
"_id": "aae849c3ab82d6f089765674ade5c71d",
159+
"_id": "8c258b51492524fac829d30a4be958c3",
160160
"_order": 0,
161161
"cache": {},
162162
"request": {
@@ -173,7 +173,7 @@
173173
"httpVersion": "HTTP/1.1",
174174
"method": "DELETE",
175175
"queryString": [],
176-
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/qyj-iza-vbu"
176+
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/alt-4q4-baa"
177177
},
178178
"response": {
179179
"bodySize": 0,
@@ -194,8 +194,8 @@
194194
"status": 204,
195195
"statusText": "No Content"
196196
},
197-
"startedDateTime": "2025-05-27T10:24:59.411Z",
198-
"time": 683
197+
"startedDateTime": "2025-06-13T15:17:00.490Z",
198+
"time": 854
199199
}
200200
],
201201
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-05-27T10:25:02.351Z"
1+
"2025-06-13T15:16:43.100Z"

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "35bbae568f61568ede6947c665ea0e01",
11+
"_id": "f5263bd7a7e1425ab1123cab47f353c2",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,7 +32,7 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1748341502\"},\"type\":\"policy\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1749827803\"},\"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": 446,
45-
"text": "{\"data\":{\"id\":\"ney-zeu-tex\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":1,\"enabled\":true,\"hostTags\":[\"env:staging\"],\"monitoringRulesCount\":225,\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1748341502\",\"policyVersion\":\"1\",\"priority\":1000000011,\"ruleCount\":226,\"updateDate\":1748341502642,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
45+
"text": "{\"data\":{\"id\":\"tn0-tjy-vwh\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":1,\"enabled\":true,\"hostTags\":[\"env:staging\"],\"monitoringRulesCount\":225,\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1749827803\",\"policyVersion\":\"1\",\"priority\":1000000013,\"ruleCount\":226,\"updateDate\":1749827803539,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,15 +57,15 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2025-05-27T10:25:02.354Z",
61-
"time": 609
60+
"startedDateTime": "2025-06-13T15:16:43.105Z",
61+
"time": 913
6262
},
6363
{
64-
"_id": "47e2316eb74b8f0cc1d33fd0692e4107",
64+
"_id": "77fdc0bacd065c8bd1150767402fb565",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
68-
"bodySize": 363,
68+
"bodySize": 375,
6969
"cookies": [],
7070
"headers": [
7171
{
@@ -85,17 +85,17 @@
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"data\":{\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"scope\":\"process\",\"value\":\"test_value\"}}],\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1748341502\",\"policy_id\":\"ney-zeu-tex\",\"product_tags\":[\"security:attack\",\"technique:T1059\"]},\"type\":\"agent_rule\"}}"
88+
"text": "{\"data\":{\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"scope\":\"process\",\"value\":\"test_value\"}},{\"hash\":{}}],\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1749827803\",\"policy_id\":\"tn0-tjy-vwh\",\"product_tags\":[\"security:attack\",\"technique:T1059\"]},\"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": 650,
94+
"bodySize": 679,
9595
"content": {
9696
"mimeType": "application/json",
97-
"size": 650,
98-
"text": "{\"data\":{\"id\":\"gys-bzk-zs4\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false}],\"category\":\"Process Activity\",\"creationDate\":1748341503254,\"creator\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"ney-zeu-tex\"],\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1748341502\",\"product_tags\":[\"security:attack\",\"technique:T1059\"],\"updateDate\":1748341503254,\"updater\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"}}}}"
97+
"size": 679,
98+
"text": "{\"data\":{\"id\":\"hm0-n7p-hq7\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false},{\"hash\":{},\"disabled\":false}],\"category\":\"Process Activity\",\"creationDate\":1749827804150,\"creator\":{\"name\":\"frog\",\"handle\":\"frog@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"tn0-tjy-vwh\"],\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1749827803\",\"product_tags\":[\"security:attack\",\"technique:T1059\"],\"updateDate\":1749827804150,\"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-05-27T10:25:02.969Z",
114-
"time": 884
113+
"startedDateTime": "2025-06-13T15:16:44.022Z",
114+
"time": 1062
115115
},
116116
{
117-
"_id": "b7ea5ab75071abc5f0692aed3ff8500f",
117+
"_id": "102a27adc4866948f39a3ac93ef7120f",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -133,10 +133,10 @@
133133
"queryString": [
134134
{
135135
"name": "policy_id",
136-
"value": "ney-zeu-tex"
136+
"value": "tn0-tjy-vwh"
137137
}
138138
],
139-
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/gys-bzk-zs4?policy_id=ney-zeu-tex"
139+
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/hm0-n7p-hq7?policy_id=tn0-tjy-vwh"
140140
},
141141
"response": {
142142
"bodySize": 0,
@@ -157,11 +157,11 @@
157157
"status": 204,
158158
"statusText": "No Content"
159159
},
160-
"startedDateTime": "2025-05-27T10:25:03.865Z",
161-
"time": 791
160+
"startedDateTime": "2025-06-13T15:16:45.091Z",
161+
"time": 966
162162
},
163163
{
164-
"_id": "a8735ec033f501ccf0ad79bb449d8764",
164+
"_id": "071c70f0e64c9b2992b1d30b8ae116a8",
165165
"_order": 0,
166166
"cache": {},
167167
"request": {
@@ -178,7 +178,7 @@
178178
"httpVersion": "HTTP/1.1",
179179
"method": "DELETE",
180180
"queryString": [],
181-
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/gys-bzk-zs4"
181+
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/hm0-n7p-hq7"
182182
},
183183
"response": {
184184
"bodySize": 47,
@@ -200,11 +200,11 @@
200200
"status": 404,
201201
"statusText": "Not Found"
202202
},
203-
"startedDateTime": "2025-05-27T10:25:04.663Z",
204-
"time": 519
203+
"startedDateTime": "2025-06-13T15:16:46.067Z",
204+
"time": 789
205205
},
206206
{
207-
"_id": "5c3879bc7035b3e1518ba3df1638b00a",
207+
"_id": "df9f53da3e41888c18aa2a10201ae88e",
208208
"_order": 0,
209209
"cache": {},
210210
"request": {
@@ -221,7 +221,7 @@
221221
"httpVersion": "HTTP/1.1",
222222
"method": "DELETE",
223223
"queryString": [],
224-
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/ney-zeu-tex"
224+
"url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/tn0-tjy-vwh"
225225
},
226226
"response": {
227227
"bodySize": 0,
@@ -242,8 +242,8 @@
242242
"status": 204,
243243
"statusText": "No Content"
244244
},
245-
"startedDateTime": "2025-05-27T10:25:05.192Z",
246-
"time": 581
245+
"startedDateTime": "2025-06-13T15:16:46.863Z",
246+
"time": 1424
247247
}
248248
],
249249
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-05-27T10:25:11.236Z"
1+
"2025-06-13T15:16:09.321Z"

0 commit comments

Comments
 (0)