Skip to content

Commit 49db760

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit b1a1c00 of spec repo (#2348)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent cda7e05 commit 49db760

File tree

27 files changed

+487
-401
lines changed

27 files changed

+487
-401
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35227,6 +35227,11 @@ components:
3522735227
items:
3522835228
$ref: '#/components/schemas/SensitiveDataScannerProduct'
3522935229
type: array
35230+
samplings:
35231+
description: List of sampling rates per product type.
35232+
items:
35233+
$ref: '#/components/schemas/SensitiveDataScannerSamplings'
35234+
type: array
3523035235
type: object
3523135236
SensitiveDataScannerGroupCreate:
3523235237
description: Data related to the creation of a group.
@@ -35658,6 +35663,19 @@ components:
3565835663
meta:
3565935664
$ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
3566035665
type: object
35666+
SensitiveDataScannerSamplings:
35667+
description: Sampling configurations for the Scanning Group.
35668+
properties:
35669+
product:
35670+
$ref: '#/components/schemas/SensitiveDataScannerProduct'
35671+
rate:
35672+
description: Rate at which data in product type will be scanned, as a percentage.
35673+
example: 100.0
35674+
format: double
35675+
maximum: 100.0
35676+
minimum: 0.0
35677+
type: number
35678+
type: object
3566135679
SensitiveDataScannerStandardPattern:
3566235680
description: Data containing the standard pattern id.
3566335681
properties:
@@ -61422,11 +61440,12 @@ paths:
6142261440
value: "{\n \"data\": {\n \"type\": \"sensitive_data_scanner_group\",\n
6142361441
\ \"attributes\": {\n \"name\": \"my-test-group\",\n \"is_enabled\":
6142461442
false,\n \"product_list\": [\n \"logs\"\n ],\n \"filter\":
61425-
{\n \"query\": \"*\"\n }\n },\n \"relationships\":
61426-
{\n \"configuration\": {\n \"data\": {\n \"id\":
61427-
\"{{ configuration.data.id }}\",\n \"type\": \"{{ configuration.data.type
61428-
}}\"\n }\n },\n \"rules\": {\n \"data\": []\n
61429-
\ }\n }\n },\n \"meta\": {}\n}"
61443+
{\n \"query\": \"*\"\n },\n \"samplings\": [{\"product\":
61444+
\"logs\", \"rate\": 100}]\n },\n \"relationships\": {\n \"configuration\":
61445+
{\n \"data\": {\n \"id\": \"{{ configuration.data.id
61446+
}}\",\n \"type\": \"{{ configuration.data.type }}\"\n }\n
61447+
\ },\n \"rules\": {\n \"data\": []\n }\n }\n
61448+
\ },\n \"meta\": {}\n}"
6143061449
step: there is a valid "scanning_group" in the system
6143161450
x-menu-order: 4
6143261451
x-permission:
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

services/sensitive_data_scanner/src/v2/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export { SensitiveDataScannerRuleType } from "./models/SensitiveDataScannerRuleT
5757
export { SensitiveDataScannerRuleUpdate } from "./models/SensitiveDataScannerRuleUpdate";
5858
export { SensitiveDataScannerRuleUpdateRequest } from "./models/SensitiveDataScannerRuleUpdateRequest";
5959
export { SensitiveDataScannerRuleUpdateResponse } from "./models/SensitiveDataScannerRuleUpdateResponse";
60+
export { SensitiveDataScannerSamplings } from "./models/SensitiveDataScannerSamplings";
6061
export { SensitiveDataScannerStandardPattern } from "./models/SensitiveDataScannerStandardPattern";
6162
export { SensitiveDataScannerStandardPatternAttributes } from "./models/SensitiveDataScannerStandardPatternAttributes";
6263
export { SensitiveDataScannerStandardPatternData } from "./models/SensitiveDataScannerStandardPatternData";

services/sensitive_data_scanner/src/v2/models/SensitiveDataScannerGroupAttributes.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { AttributeTypeMap } from "@datadog/datadog-api-client";
22

33
import { SensitiveDataScannerFilter } from "./SensitiveDataScannerFilter";
44
import { SensitiveDataScannerProduct } from "./SensitiveDataScannerProduct";
5+
import { SensitiveDataScannerSamplings } from "./SensitiveDataScannerSamplings";
56

67
/**
78
* Attributes of the Sensitive Data Scanner group.
@@ -27,6 +28,10 @@ export class SensitiveDataScannerGroupAttributes {
2728
* List of products the scanning group applies.
2829
*/
2930
"productList"?: Array<SensitiveDataScannerProduct>;
31+
/**
32+
* List of sampling rates per product type.
33+
*/
34+
"samplings"?: Array<SensitiveDataScannerSamplings>;
3035
/**
3136
* A container for additional, undeclared properties.
3237
* This is a holder for any undeclared properties as specified with
@@ -62,6 +67,10 @@ export class SensitiveDataScannerGroupAttributes {
6267
baseName: "product_list",
6368
type: "Array<SensitiveDataScannerProduct>",
6469
},
70+
samplings: {
71+
baseName: "samplings",
72+
type: "Array<SensitiveDataScannerSamplings>",
73+
},
6574
additionalProperties: {
6675
baseName: "additionalProperties",
6776
type: "{ [key: string]: any; }",

0 commit comments

Comments
 (0)