Skip to content

Commit 56b435e

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

File tree

28 files changed

+492
-400
lines changed

28 files changed

+492
-400
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 14:55:58.945526",
8-
"spec_repo_commit": "b359fdcc"
7+
"regenerated": "2025-06-17 18:21:58.898832",
8+
"spec_repo_commit": "b1a1c000"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-17 14:55:58.961894",
13-
"spec_repo_commit": "b359fdcc"
12+
"regenerated": "2025-06-17 18:21:58.917115",
13+
"spec_repo_commit": "b1a1c000"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35002,6 +35002,11 @@ components:
3500235002
items:
3500335003
$ref: '#/components/schemas/SensitiveDataScannerProduct'
3500435004
type: array
35005+
samplings:
35006+
description: List of sampling rates per product type.
35007+
items:
35008+
$ref: '#/components/schemas/SensitiveDataScannerSamplings'
35009+
type: array
3500535010
type: object
3500635011
SensitiveDataScannerGroupCreate:
3500735012
description: Data related to the creation of a group.
@@ -35433,6 +35438,19 @@ components:
3543335438
meta:
3543435439
$ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
3543535440
type: object
35441+
SensitiveDataScannerSamplings:
35442+
description: Sampling configurations for the Scanning Group.
35443+
properties:
35444+
product:
35445+
$ref: '#/components/schemas/SensitiveDataScannerProduct'
35446+
rate:
35447+
description: Rate at which data in product type will be scanned, as a percentage.
35448+
example: 100.0
35449+
format: double
35450+
maximum: 100.0
35451+
minimum: 0.0
35452+
type: number
35453+
type: object
3543635454
SensitiveDataScannerStandardPattern:
3543735455
description: Data containing the standard pattern id.
3543835456
properties:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-12-15T14:50:52.745Z"
1+
"2025-05-30T17:17:05.785Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Create-Scanning-Rule-returns-Bad-Request-response_3579605322/recording.har

Lines changed: 31 additions & 31 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-01-04T13:51:03.802Z"
1+
"2025-05-30T17:17:07.743Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Create-Scanning-Rule-returns-OK-response_273264728/recording.har

Lines changed: 39 additions & 39 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-12-09T09:52:52.562Z"
1+
"2025-05-30T17:17:09.412Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Delete-Scanning-Group-returns-OK-response_3268027564/recording.har

Lines changed: 33 additions & 33 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2023-01-24T13:12:15.106Z"
1+
"2025-05-30T17:17:10.839Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Delete-Scanning-Rule-returns-OK-response_3523822267/recording.har

Lines changed: 51 additions & 51 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-12-09T09:52:58.706Z"
1+
"2025-05-30T17:17:12.782Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/List-Scanning-Groups-returns-OK-response_3541253842/recording.har

Lines changed: 30 additions & 30 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-12-09T09:53:00.584Z"
1+
"2025-05-30T17:17:14.127Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Reorder-Groups-returns-Bad-Request-response_2422203984/recording.har

Lines changed: 29 additions & 29 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-12-09T09:50:06.977Z"
1+
"2025-06-02T15:33:38.909Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Reorder-Groups-returns-OK-response_2532888478/recording.har

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121
"value": "application/json"
2222
}
2323
],
24-
"headersSize": 524,
24+
"headersSize": 528,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "GET",
2727
"queryString": [],
2828
"url": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config"
2929
},
3030
"response": {
31-
"bodySize": 303,
31+
"bodySize": 465,
3232
"content": {
3333
"mimeType": "application/json",
34-
"size": 303,
35-
"text": "{\"meta\":{\"count_limit\":100,\"version\":1186,\"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"
34+
"size": 465,
35+
"text": "{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"attributes\":{},\"type\":\"sensitive_data_scanner_configuration\",\"relationships\":{\"groups\":{\"data\":[]}}},\"meta\":{\"version\":274826,\"count_limit\":100,\"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"
3636
},
3737
"cookies": [],
3838
"headers": [
@@ -41,21 +41,21 @@
4141
"value": "application/json"
4242
}
4343
],
44-
"headersSize": 490,
44+
"headersSize": 548,
4545
"httpVersion": "HTTP/1.1",
4646
"redirectURL": "",
4747
"status": 200,
4848
"statusText": "OK"
4949
},
50-
"startedDateTime": "2022-12-09T09:50:06.986Z",
51-
"time": 496
50+
"startedDateTime": "2025-06-02T15:33:39.830Z",
51+
"time": 141
5252
},
5353
{
54-
"_id": "33fa4a3957efafdd007a0db82f7ed158",
54+
"_id": "e6af4a2fdfda8f066f3af5528b238a9d",
5555
"_order": 0,
5656
"cache": {},
5757
"request": {
58-
"bodySize": 345,
58+
"bodySize": 389,
5959
"cookies": [],
6060
"headers": [
6161
{
@@ -69,23 +69,23 @@
6969
"value": "application/json"
7070
}
7171
],
72-
"headersSize": 586,
72+
"headersSize": 590,
7373
"httpVersion": "HTTP/1.1",
7474
"method": "POST",
7575
"postData": {
7676
"mimeType": "application/json",
7777
"params": [],
78-
"text": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}"
78+
"text": "{\"data\":{\"attributes\":{\"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\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}"
7979
},
8080
"queryString": [],
8181
"url": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups"
8282
},
8383
"response": {
84-
"bodySize": 390,
84+
"bodySize": 452,
8585
"content": {
8686
"mimeType": "application/json",
87-
"size": 390,
88-
"text": "{\"meta\":{\"version\":1187},\"data\":{\"relationships\":{\"rules\":{\"data\":[]},\"configuration\":{\"data\":{\"type\":\"sensitive_data_scanner_configuration\",\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\"}}},\"attributes\":{\"is_enabled\":false,\"filter\":{\"query\":\"*\"},\"product_list\":[\"logs\"],\"name\":\"my-test-group\"},\"type\":\"sensitive_data_scanner_group\",\"id\":\"SHPTnSshQWWXLuF3pQhLPA\"}}\n"
87+
"size": 452,
88+
"text": "{\"data\":{\"id\":\"24716cf9-9589-41fe-bc85-7df26a9483a9\",\"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\":274827}}\n"
8989
},
9090
"cookies": [],
9191
"headers": [
@@ -94,21 +94,21 @@
9494
"value": "application/json"
9595
}
9696
],
97-
"headersSize": 666,
97+
"headersSize": 724,
9898
"httpVersion": "HTTP/1.1",
9999
"redirectURL": "",
100100
"status": 200,
101101
"statusText": "OK"
102102
},
103-
"startedDateTime": "2022-12-09T09:50:07.495Z",
104-
"time": 348
103+
"startedDateTime": "2025-06-02T15:33:39.989Z",
104+
"time": 97
105105
},
106106
{
107-
"_id": "205a7410fb23e0907be4e4377098b683",
107+
"_id": "fb5dcbbf16dac92376f50015abff7836",
108108
"_order": 0,
109109
"cache": {},
110110
"request": {
111-
"bodySize": 246,
111+
"bodySize": 260,
112112
"cookies": [],
113113
"headers": [
114114
{
@@ -122,23 +122,23 @@
122122
"value": "application/json"
123123
}
124124
],
125-
"headersSize": 582,
125+
"headersSize": 586,
126126
"httpVersion": "HTTP/1.1",
127127
"method": "PATCH",
128128
"postData": {
129129
"mimeType": "application/json",
130130
"params": [],
131-
"text": "{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"relationships\":{\"groups\":{\"data\":[{\"id\":\"SHPTnSshQWWXLuF3pQhLPA\",\"type\":\"sensitive_data_scanner_group\"}]}},\"type\":\"sensitive_data_scanner_configuration\"},\"meta\":{}}"
131+
"text": "{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"relationships\":{\"groups\":{\"data\":[{\"id\":\"24716cf9-9589-41fe-bc85-7df26a9483a9\",\"type\":\"sensitive_data_scanner_group\"}]}},\"type\":\"sensitive_data_scanner_configuration\"},\"meta\":{}}"
132132
},
133133
"queryString": [],
134134
"url": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config"
135135
},
136136
"response": {
137-
"bodySize": 121,
137+
"bodySize": 283,
138138
"content": {
139139
"mimeType": "application/json",
140-
"size": 121,
141-
"text": "{\"meta\":{\"count_limit\":100,\"version\":1188,\"group_count_limit\":20,\"is_pci_compliant\":false,\"has_highlight_enabled\":true}}\n"
140+
"size": 283,
141+
"text": "{\"meta\":{\"version\":274828,\"count_limit\":100,\"group_count_limit\":20,\"is_pci_compliant\":false,\"has_highlight_enabled\":true,\"has_multi_pass_enabled\":false,\"has_cascading_enabled\":false,\"is_configuration_superseded\":false,\"is_float_sampling_rate_enabled\":false,\"min_sampling_rate\":0.0}}\n"
142142
},
143143
"cookies": [],
144144
"headers": [
@@ -147,17 +147,17 @@
147147
"value": "application/json"
148148
}
149149
],
150-
"headersSize": 672,
150+
"headersSize": 730,
151151
"httpVersion": "HTTP/1.1",
152152
"redirectURL": "",
153153
"status": 200,
154154
"statusText": "OK"
155155
},
156-
"startedDateTime": "2022-12-09T09:50:07.858Z",
157-
"time": 462
156+
"startedDateTime": "2025-06-02T15:33:40.093Z",
157+
"time": 113
158158
},
159159
{
160-
"_id": "a4b4523dd68a5190022228ae4660bb97",
160+
"_id": "ccd7c34611c357d03ce309409ae1e016",
161161
"_order": 0,
162162
"cache": {},
163163
"request": {
@@ -175,7 +175,7 @@
175175
"value": "application/json"
176176
}
177177
],
178-
"headersSize": 610,
178+
"headersSize": 628,
179179
"httpVersion": "HTTP/1.1",
180180
"method": "DELETE",
181181
"postData": {
@@ -184,14 +184,14 @@
184184
"text": "{\"meta\":{}}"
185185
},
186186
"queryString": [],
187-
"url": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/SHPTnSshQWWXLuF3pQhLPA"
187+
"url": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/24716cf9-9589-41fe-bc85-7df26a9483a9"
188188
},
189189
"response": {
190-
"bodySize": 26,
190+
"bodySize": 28,
191191
"content": {
192192
"mimeType": "application/json",
193-
"size": 26,
194-
"text": "{\"meta\":{\"version\":1189}}\n"
193+
"size": 28,
194+
"text": "{\"meta\":{\"version\":274829}}\n"
195195
},
196196
"cookies": [],
197197
"headers": [
@@ -200,14 +200,14 @@
200200
"value": "application/json"
201201
}
202202
],
203-
"headersSize": 649,
203+
"headersSize": 707,
204204
"httpVersion": "HTTP/1.1",
205205
"redirectURL": "",
206206
"status": 200,
207207
"statusText": "OK"
208208
},
209-
"startedDateTime": "2022-12-09T09:50:08.331Z",
210-
"time": 449
209+
"startedDateTime": "2025-06-02T15:33:40.212Z",
210+
"time": 102
211211
}
212212
],
213213
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-12-09T09:53:03.595Z"
1+
"2025-05-30T17:17:15.446Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Update-Scanning-Group-returns-OK-response_1135266394/recording.har

Lines changed: 35 additions & 35 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2023-01-24T13:12:17.344Z"
1+
"2025-05-30T17:17:16.805Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Update-Scanning-Rule-returns-Bad-Request-response_141487897/recording.har

Lines changed: 51 additions & 51 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-01-04T13:51:06.530Z"
1+
"2025-05-30T17:17:18.819Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Update-Scanning-Rule-returns-OK-response_4037195797/recording.har

Lines changed: 47 additions & 47 deletions
Large diffs are not rendered by default.

features/v2/given.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@
789789
"parameters": [
790790
{
791791
"name": "body",
792-
"value": "{\n \"data\": {\n \"type\": \"sensitive_data_scanner_group\",\n \"attributes\": {\n \"name\": \"my-test-group\",\n \"is_enabled\": false,\n \"product_list\": [\n \"logs\"\n ],\n \"filter\": {\n \"query\": \"*\"\n }\n },\n \"relationships\": {\n \"configuration\": {\n \"data\": {\n \"id\": \"{{ configuration.data.id }}\",\n \"type\": \"{{ configuration.data.type }}\"\n }\n },\n \"rules\": {\n \"data\": []\n }\n }\n },\n \"meta\": {}\n}"
792+
"value": "{\n \"data\": {\n \"type\": \"sensitive_data_scanner_group\",\n \"attributes\": {\n \"name\": \"my-test-group\",\n \"is_enabled\": false,\n \"product_list\": [\n \"logs\"\n ],\n \"filter\": {\n \"query\": \"*\"\n },\n \"samplings\": [{\"product\": \"logs\", \"rate\": 100}]\n },\n \"relationships\": {\n \"configuration\": {\n \"data\": {\n \"id\": \"{{ configuration.data.id }}\",\n \"type\": \"{{ configuration.data.type }}\"\n }\n },\n \"rules\": {\n \"data\": []\n }\n }\n },\n \"meta\": {}\n}"
793793
}
794794
],
795795
"step": "there is a valid \"scanning_group\" in the system",

features/v2/sensitive_data_scanner.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Feature: Sensitive Data Scanner
1313
@generated @skip @team:DataDog/sensitive-data-scanner
1414
Scenario: Create Scanning Group returns "Bad Request" response
1515
Given new "CreateScanningGroup" request
16-
And body with value {"data": {"attributes": {"filter": {}, "product_list": ["logs"]}, "relationships": {"configuration": {"data": {"type": "sensitive_data_scanner_configuration"}}, "rules": {"data": [{"type": "sensitive_data_scanner_rule"}]}}, "type": "sensitive_data_scanner_group"}, "meta": {"version": 0}}
16+
And body with value {"data": {"attributes": {"filter": {}, "product_list": ["logs"], "samplings": [{"product": "logs", "rate": 100.0}]}, "relationships": {"configuration": {"data": {"type": "sensitive_data_scanner_configuration"}}, "rules": {"data": [{"type": "sensitive_data_scanner_rule"}]}}, "type": "sensitive_data_scanner_group"}, "meta": {"version": 0}}
1717
When the request is sent
1818
Then the response status is 400 Bad Request
1919

@@ -152,15 +152,15 @@ Feature: Sensitive Data Scanner
152152
Scenario: Update Scanning Group returns "Bad Request" response
153153
Given new "UpdateScanningGroup" request
154154
And request contains "group_id" parameter from "REPLACE.ME"
155-
And body with value {"data": {"attributes": {"filter": {}, "product_list": ["logs"]}, "relationships": {"configuration": {"data": {"type": "sensitive_data_scanner_configuration"}}, "rules": {"data": [{"type": "sensitive_data_scanner_rule"}]}}, "type": "sensitive_data_scanner_group"}, "meta": {"version": 0}}
155+
And body with value {"data": {"attributes": {"filter": {}, "product_list": ["logs"], "samplings": [{"product": "logs", "rate": 100.0}]}, "relationships": {"configuration": {"data": {"type": "sensitive_data_scanner_configuration"}}, "rules": {"data": [{"type": "sensitive_data_scanner_rule"}]}}, "type": "sensitive_data_scanner_group"}, "meta": {"version": 0}}
156156
When the request is sent
157157
Then the response status is 400 Bad Request
158158

159159
@generated @skip @team:DataDog/sensitive-data-scanner
160160
Scenario: Update Scanning Group returns "Not Found" response
161161
Given new "UpdateScanningGroup" request
162162
And request contains "group_id" parameter from "REPLACE.ME"
163-
And body with value {"data": {"attributes": {"filter": {}, "product_list": ["logs"]}, "relationships": {"configuration": {"data": {"type": "sensitive_data_scanner_configuration"}}, "rules": {"data": [{"type": "sensitive_data_scanner_rule"}]}}, "type": "sensitive_data_scanner_group"}, "meta": {"version": 0}}
163+
And body with value {"data": {"attributes": {"filter": {}, "product_list": ["logs"], "samplings": [{"product": "logs", "rate": 100.0}]}, "relationships": {"configuration": {"data": {"type": "sensitive_data_scanner_configuration"}}, "rules": {"data": [{"type": "sensitive_data_scanner_rule"}]}}, "type": "sensitive_data_scanner_group"}, "meta": {"version": 0}}
164164
When the request is sent
165165
Then the response status is 404 Not Found
166166

packages/datadog-api-client-v2/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2913,6 +2913,7 @@ export { SensitiveDataScannerRuleType } from "./models/SensitiveDataScannerRuleT
29132913
export { SensitiveDataScannerRuleUpdate } from "./models/SensitiveDataScannerRuleUpdate";
29142914
export { SensitiveDataScannerRuleUpdateRequest } from "./models/SensitiveDataScannerRuleUpdateRequest";
29152915
export { SensitiveDataScannerRuleUpdateResponse } from "./models/SensitiveDataScannerRuleUpdateResponse";
2916+
export { SensitiveDataScannerSamplings } from "./models/SensitiveDataScannerSamplings";
29162917
export { SensitiveDataScannerStandardPattern } from "./models/SensitiveDataScannerStandardPattern";
29172918
export { SensitiveDataScannerStandardPatternAttributes } from "./models/SensitiveDataScannerStandardPatternAttributes";
29182919
export { SensitiveDataScannerStandardPatternData } from "./models/SensitiveDataScannerStandardPatternData";

packages/datadog-api-client-v2/models/ObjectSerializer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,7 @@ import { SensitiveDataScannerRuleResponse } from "./SensitiveDataScannerRuleResp
16491649
import { SensitiveDataScannerRuleUpdate } from "./SensitiveDataScannerRuleUpdate";
16501650
import { SensitiveDataScannerRuleUpdateRequest } from "./SensitiveDataScannerRuleUpdateRequest";
16511651
import { SensitiveDataScannerRuleUpdateResponse } from "./SensitiveDataScannerRuleUpdateResponse";
1652+
import { SensitiveDataScannerSamplings } from "./SensitiveDataScannerSamplings";
16521653
import { SensitiveDataScannerStandardPattern } from "./SensitiveDataScannerStandardPattern";
16531654
import { SensitiveDataScannerStandardPatternAttributes } from "./SensitiveDataScannerStandardPatternAttributes";
16541655
import { SensitiveDataScannerStandardPatternData } from "./SensitiveDataScannerStandardPatternData";
@@ -5112,6 +5113,7 @@ const typeMap: { [index: string]: any } = {
51125113
SensitiveDataScannerRuleUpdateRequest: SensitiveDataScannerRuleUpdateRequest,
51135114
SensitiveDataScannerRuleUpdateResponse:
51145115
SensitiveDataScannerRuleUpdateResponse,
5116+
SensitiveDataScannerSamplings: SensitiveDataScannerSamplings,
51155117
SensitiveDataScannerStandardPattern: SensitiveDataScannerStandardPattern,
51165118
SensitiveDataScannerStandardPatternAttributes:
51175119
SensitiveDataScannerStandardPatternAttributes,

packages/datadog-api-client-v2/models/SensitiveDataScannerGroupAttributes.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66
import { SensitiveDataScannerFilter } from "./SensitiveDataScannerFilter";
77
import { SensitiveDataScannerProduct } from "./SensitiveDataScannerProduct";
8+
import { SensitiveDataScannerSamplings } from "./SensitiveDataScannerSamplings";
89

910
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1011

@@ -32,6 +33,10 @@ export class SensitiveDataScannerGroupAttributes {
3233
* List of products the scanning group applies.
3334
*/
3435
"productList"?: Array<SensitiveDataScannerProduct>;
36+
/**
37+
* List of sampling rates per product type.
38+
*/
39+
"samplings"?: Array<SensitiveDataScannerSamplings>;
3540

3641
/**
3742
* A container for additional, undeclared properties.
@@ -69,6 +74,10 @@ export class SensitiveDataScannerGroupAttributes {
6974
baseName: "product_list",
7075
type: "Array<SensitiveDataScannerProduct>",
7176
},
77+
samplings: {
78+
baseName: "samplings",
79+
type: "Array<SensitiveDataScannerSamplings>",
80+
},
7281
additionalProperties: {
7382
baseName: "additionalProperties",
7483
type: "any",

0 commit comments

Comments
 (0)