Skip to content

Commit 2ceda8b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8ee1b89 of spec repo
1 parent 559511e commit 2ceda8b

26 files changed

+238
-238
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86590,7 +86590,7 @@ paths:
8659086590
$ref: '#/components/schemas/SensitiveDataScannerGroupCreateRequest'
8659186591
required: true
8659286592
responses:
86593-
'200':
86593+
'201':
8659486594
content:
8659586595
application/json:
8659686596
schema:
@@ -86732,7 +86732,7 @@ paths:
8673286732
$ref: '#/components/schemas/SensitiveDataScannerRuleCreateRequest'
8673386733
required: true
8673486734
responses:
86735-
'200':
86735+
'201':
8673686736
content:
8673786737
application/json:
8673886738
schema:

src/main/java/com/datadog/api/client/v2/api/SensitiveDataScannerApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public CompletableFuture<SensitiveDataScannerCreateGroupResponse> createScanning
102102
* <table border="1">
103103
* <caption>Response details</caption>
104104
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
105-
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
105+
* <tr><td> 201 </td><td> OK </td><td> - </td></tr>
106106
* <tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
107107
* <tr><td> 403 </td><td> Authentication Error </td><td> - </td></tr>
108108
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
@@ -240,7 +240,7 @@ public CompletableFuture<SensitiveDataScannerCreateRuleResponse> createScanningR
240240
* <table border="1">
241241
* <caption>Response details</caption>
242242
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
243-
* <tr><td> 200 </td><td> OK </td><td> - </td></tr>
243+
* <tr><td> 201 </td><td> OK </td><td> - </td></tr>
244244
* <tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
245245
* <tr><td> 403 </td><td> Authentication Error </td><td> - </td></tr>
246246
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2022-12-09T09:52:45.850Z
1+
2026-01-16T13:30:15.414Z

src/test/resources/cassettes/features/v2/Create_Scanning_Group_returns_OK_response.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"secure": true
99
},
1010
"httpResponse": {
11-
"body": "{\"meta\":{\"count_limit\":100,\"version\":1189,\"group_count_limit\":20,\"is_pci_compliant\":false,\"has_highlight_enabled\":true},\"data\":{\"relationships\":{\"groups\":{\"data\":[]}},\"attributes\":{},\"type\":\"sensitive_data_scanner_configuration\",\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\"}}\n",
11+
"body": "{\"data\":{\"attributes\":{},\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"relationships\":{\"groups\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_configuration\"},\"meta\":{\"count_limit\":500,\"group_count_limit\":20,\"has_cascading_enabled\":false,\"has_highlight_enabled\":true,\"has_multi_pass_enabled\":true,\"is_configuration_superseded\":false,\"is_float_sampling_rate_enabled\":false,\"is_pci_compliant\":false,\"min_sampling_rate\":10,\"version\":276462}}",
1212
"headers": {
1313
"Content-Type": [
14-
"application/json"
14+
"application/vnd.api+json"
1515
]
1616
},
1717
"statusCode": 200,
@@ -23,13 +23,13 @@
2323
"timeToLive": {
2424
"unlimited": true
2525
},
26-
"id": "01611a93-5e74-0630-3c51-f707c3b51e7f"
26+
"id": "4d3d89d6-5348-335d-e3c5-7ae65e047f84"
2727
},
2828
{
2929
"httpRequest": {
3030
"body": {
3131
"type": "JSON",
32-
"json": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"Test-Create_Scanning_Group_returns_OK_response-1670579565\",\"product_list\":[\"logs\"]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}"
32+
"json": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"Test-Create_Scanning_Group_returns_OK_response-1768570215\",\"product_list\":[\"logs\"]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}"
3333
},
3434
"headers": {},
3535
"method": "POST",
@@ -38,22 +38,22 @@
3838
"secure": true
3939
},
4040
"httpResponse": {
41-
"body": "{\"meta\":{\"version\":1190},\"data\":{\"relationships\":{\"rules\":{\"data\":[]},\"configuration\":{\"data\":{\"type\":\"sensitive_data_scanner_configuration\",\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\"}}},\"attributes\":{\"is_enabled\":false,\"filter\":{\"query\":\"*\"},\"product_list\":[\"logs\"],\"name\":\"Test-Create_Scanning_Group_returns_OK_response-1670579565\"},\"type\":\"sensitive_data_scanner_group\",\"id\":\"RJDd4r3FQ2CpbYFQIL1KIA\"}}\n",
41+
"body": "{\"data\":{\"id\":\"ab338fea-461b-4b0b-ba52-359a777dae36\",\"type\":\"sensitive_data_scanner_group\",\"attributes\":{\"description\":\"\",\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"Test-Create_Scanning_Group_returns_OK_response-1768570215\",\"product_list\":[\"logs\"],\"samplings\":[]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}}},\"meta\":{\"version\":276463}}",
4242
"headers": {
4343
"Content-Type": [
44-
"application/json"
44+
"application/vnd.api+json"
4545
]
4646
},
47-
"statusCode": 200,
48-
"reasonPhrase": "OK"
47+
"statusCode": 201,
48+
"reasonPhrase": "Created"
4949
},
5050
"times": {
5151
"remainingTimes": 1
5252
},
5353
"timeToLive": {
5454
"unlimited": true
5555
},
56-
"id": "34f3cbba-19c6-70fd-86e3-bd4afb0897f6"
56+
"id": "505c55f8-7978-188a-6425-d1f199d65a25"
5757
},
5858
{
5959
"httpRequest": {
@@ -63,15 +63,15 @@
6363
},
6464
"headers": {},
6565
"method": "DELETE",
66-
"path": "/api/v2/sensitive-data-scanner/config/groups/RJDd4r3FQ2CpbYFQIL1KIA",
66+
"path": "/api/v2/sensitive-data-scanner/config/groups/ab338fea-461b-4b0b-ba52-359a777dae36",
6767
"keepAlive": false,
6868
"secure": true
6969
},
7070
"httpResponse": {
71-
"body": "{\"meta\":{\"version\":1191}}\n",
71+
"body": "{\"meta\":{\"version\":276464}}",
7272
"headers": {
7373
"Content-Type": [
74-
"application/json"
74+
"application/vnd.api+json"
7575
]
7676
},
7777
"statusCode": 200,
@@ -83,6 +83,6 @@
8383
"timeToLive": {
8484
"unlimited": true
8585
},
86-
"id": "e0b5044e-3ded-570c-11d9-a65a1c3c62b5"
86+
"id": "44ba6bf4-7f88-e4f1-2173-3e9e4b0e0e2b"
8787
}
8888
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-05-30T17:17:05.785Z
1+
2026-01-16T13:30:16.747Z

src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json

Lines changed: 16 additions & 16 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-05-30T17:17:07.743Z
1+
2026-01-16T13:30:18.451Z

src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json

Lines changed: 22 additions & 22 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-08-26T20:31:44.042Z
1+
2026-01-16T13:30:20.548Z

src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"secure": true
99
},
1010
"httpResponse": {
11-
"body": "{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"attributes\":{},\"type\":\"sensitive_data_scanner_configuration\",\"relationships\":{\"groups\":{\"data\":[]}}},\"meta\":{\"version\":275277,\"count_limit\":250,\"group_count_limit\":20,\"is_pci_compliant\":false,\"has_highlight_enabled\":true,\"has_multi_pass_enabled\":true,\"has_cascading_enabled\":false,\"is_configuration_superseded\":false,\"is_float_sampling_rate_enabled\":false,\"min_sampling_rate\":10.0}}\n",
11+
"body": "{\"data\":{\"attributes\":{},\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"relationships\":{\"groups\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_configuration\"},\"meta\":{\"count_limit\":500,\"group_count_limit\":20,\"has_cascading_enabled\":false,\"has_highlight_enabled\":true,\"has_multi_pass_enabled\":true,\"is_configuration_superseded\":false,\"is_float_sampling_rate_enabled\":false,\"is_pci_compliant\":false,\"min_sampling_rate\":10,\"rule_count_limit\":500,\"version\":276470}}",
1212
"headers": {
1313
"Content-Type": [
14-
"application/json"
14+
"application/vnd.api+json"
1515
]
1616
},
1717
"statusCode": 200,
@@ -23,7 +23,7 @@
2323
"timeToLive": {
2424
"unlimited": true
2525
},
26-
"id": "01611a93-5e74-0630-3c51-f707c3b51e84"
26+
"id": "4d3d89d6-5348-335d-e3c5-7ae65e047f88"
2727
},
2828
{
2929
"httpRequest": {
@@ -38,28 +38,28 @@
3838
"secure": true
3939
},
4040
"httpResponse": {
41-
"body": "{\"data\":{\"id\":\"18cc2267-f3cc-4c15-917d-d3efb15deb03\",\"attributes\":{\"name\":\"my-test-group\",\"is_enabled\":false,\"filter\":{\"query\":\"*\"},\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100.0}]},\"type\":\"sensitive_data_scanner_group\",\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}}},\"meta\":{\"version\":275278}}\n",
41+
"body": "{\"data\":{\"id\":\"cb1c115a-c6b5-4c40-95d8-32d1c8ec3c6f\",\"type\":\"sensitive_data_scanner_group\",\"attributes\":{\"description\":\"\",\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}}},\"meta\":{\"version\":276471}}",
4242
"headers": {
4343
"Content-Type": [
44-
"application/json"
44+
"application/vnd.api+json"
4545
]
4646
},
47-
"statusCode": 200,
48-
"reasonPhrase": "OK"
47+
"statusCode": 201,
48+
"reasonPhrase": "Created"
4949
},
5050
"times": {
5151
"remainingTimes": 1
5252
},
5353
"timeToLive": {
5454
"unlimited": true
5555
},
56-
"id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa7"
56+
"id": "bbbdba9d-fcc4-f170-e07e-2b0e54570267"
5757
},
5858
{
5959
"httpRequest": {
6060
"body": {
6161
"type": "JSON",
62-
"json": "{\"data\":{\"attributes\":{\"is_enabled\":true,\"name\":\"Test-Create_Scanning_Rule_with_should_save_match_returns_OK_response-1756240304\",\"pattern\":\"pattern\",\"priority\":1,\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"replacement_string\":\"REDACTED\",\"should_save_match\":true,\"type\":\"replacement_string\"}},\"relationships\":{\"group\":{\"data\":{\"id\":\"18cc2267-f3cc-4c15-917d-d3efb15deb03\",\"type\":\"sensitive_data_scanner_group\"}}},\"type\":\"sensitive_data_scanner_rule\"},\"meta\":{}}"
62+
"json": "{\"data\":{\"attributes\":{\"is_enabled\":true,\"name\":\"Test-Create_Scanning_Rule_with_should_save_match_returns_OK_response-1768570220\",\"pattern\":\"pattern\",\"priority\":1,\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"replacement_string\":\"REDACTED\",\"should_save_match\":true,\"type\":\"replacement_string\"}},\"relationships\":{\"group\":{\"data\":{\"id\":\"cb1c115a-c6b5-4c40-95d8-32d1c8ec3c6f\",\"type\":\"sensitive_data_scanner_group\"}}},\"type\":\"sensitive_data_scanner_rule\"},\"meta\":{}}"
6363
},
6464
"headers": {},
6565
"method": "POST",
@@ -68,22 +68,22 @@
6868
"secure": true
6969
},
7070
"httpResponse": {
71-
"body": "{\"data\":{\"id\":\"0e517b8a-04c1-4ae0-b57b-22b8e081190c\",\"attributes\":{\"name\":\"Test-Create_Scanning_Rule_with_should_save_match_returns_OK_response-1756240304\",\"namespaces\":[],\"excluded_namespaces\":[],\"pattern\":\"pattern\",\"text_replacement\":{\"replacement_string\":\"REDACTED\",\"should_save_match\":true,\"type\":\"replacement_string\"},\"tags\":[\"sensitive_data:true\"],\"labels\":[],\"is_enabled\":true,\"priority\":1},\"type\":\"sensitive_data_scanner_rule\",\"relationships\":{\"group\":{\"data\":{\"id\":\"18cc2267-f3cc-4c15-917d-d3efb15deb03\",\"type\":\"sensitive_data_scanner_group\"}}}},\"meta\":{\"version\":275279}}\n",
71+
"body": "{\"data\":{\"id\":\"eb4118d0-bc38-4a8e-9236-606d570c5ea4\",\"type\":\"sensitive_data_scanner_rule\",\"attributes\":{\"excluded_namespaces\":[],\"is_enabled\":true,\"labels\":[],\"name\":\"Test-Create_Scanning_Rule_with_should_save_match_returns_OK_response-1768570220\",\"namespaces\":[],\"pattern\":\"pattern\",\"priority\":1,\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"type\":\"replacement_string\",\"replacement_string\":\"REDACTED\",\"should_save_match\":true}},\"relationships\":{\"group\":{\"data\":{\"id\":\"cb1c115a-c6b5-4c40-95d8-32d1c8ec3c6f\",\"type\":\"sensitive_data_scanner_group\"}}}},\"meta\":{\"version\":276472}}",
7272
"headers": {
7373
"Content-Type": [
74-
"application/json"
74+
"application/vnd.api+json"
7575
]
7676
},
77-
"statusCode": 200,
78-
"reasonPhrase": "OK"
77+
"statusCode": 201,
78+
"reasonPhrase": "Created"
7979
},
8080
"times": {
8181
"remainingTimes": 1
8282
},
8383
"timeToLive": {
8484
"unlimited": true
8585
},
86-
"id": "d5695745-b55e-b2d2-1a8b-ce6beb63aa60"
86+
"id": "5914b4b8-0613-0094-e31b-c803458e6bd4"
8787
},
8888
{
8989
"httpRequest": {
@@ -93,15 +93,15 @@
9393
},
9494
"headers": {},
9595
"method": "DELETE",
96-
"path": "/api/v2/sensitive-data-scanner/config/rules/0e517b8a-04c1-4ae0-b57b-22b8e081190c",
96+
"path": "/api/v2/sensitive-data-scanner/config/rules/eb4118d0-bc38-4a8e-9236-606d570c5ea4",
9797
"keepAlive": false,
9898
"secure": true
9999
},
100100
"httpResponse": {
101-
"body": "{\"meta\":{\"version\":275280}}\n",
101+
"body": "{\"meta\":{\"version\":276473}}",
102102
"headers": {
103103
"Content-Type": [
104-
"application/json"
104+
"application/vnd.api+json"
105105
]
106106
},
107107
"statusCode": 200,
@@ -113,7 +113,7 @@
113113
"timeToLive": {
114114
"unlimited": true
115115
},
116-
"id": "9cb4750b-c912-e7e7-baa6-31b157a5f623"
116+
"id": "a208aab0-9b0d-0afc-1c78-cf34a2f6351c"
117117
},
118118
{
119119
"httpRequest": {
@@ -123,15 +123,15 @@
123123
},
124124
"headers": {},
125125
"method": "DELETE",
126-
"path": "/api/v2/sensitive-data-scanner/config/groups/18cc2267-f3cc-4c15-917d-d3efb15deb03",
126+
"path": "/api/v2/sensitive-data-scanner/config/groups/cb1c115a-c6b5-4c40-95d8-32d1c8ec3c6f",
127127
"keepAlive": false,
128128
"secure": true
129129
},
130130
"httpResponse": {
131-
"body": "{\"meta\":{\"version\":275281}}\n",
131+
"body": "{\"meta\":{\"version\":276474}}",
132132
"headers": {
133133
"Content-Type": [
134-
"application/json"
134+
"application/vnd.api+json"
135135
]
136136
},
137137
"statusCode": 200,
@@ -143,6 +143,6 @@
143143
"timeToLive": {
144144
"unlimited": true
145145
},
146-
"id": "e79ae3f1-26ed-be85-15ec-0a35094e9e3f"
146+
"id": "648e5e27-67fe-4636-374d-1bdc0b9939b9"
147147
}
148148
]

0 commit comments

Comments
 (0)