@@ -35660,6 +35660,11 @@ components:
35660
35660
items:
35661
35661
$ref: '#/components/schemas/SensitiveDataScannerProduct'
35662
35662
type: array
35663
+ samplings:
35664
+ description: List of sampling rates per product type.
35665
+ items:
35666
+ $ref: '#/components/schemas/SensitiveDataScannerSamplings'
35667
+ type: array
35663
35668
type: object
35664
35669
SensitiveDataScannerGroupCreate:
35665
35670
description: Data related to the creation of a group.
@@ -36091,6 +36096,19 @@ components:
36091
36096
meta:
36092
36097
$ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
36093
36098
type: object
36099
+ SensitiveDataScannerSamplings:
36100
+ description: Sampling configurations for the Scanning Group.
36101
+ properties:
36102
+ product:
36103
+ $ref: '#/components/schemas/SensitiveDataScannerProduct'
36104
+ rate:
36105
+ description: Rate at which data in product type will be scanned, as a percentage.
36106
+ example: 100.0
36107
+ format: double
36108
+ maximum: 100.0
36109
+ minimum: 0.0
36110
+ type: number
36111
+ type: object
36094
36112
SensitiveDataScannerStandardPattern:
36095
36113
description: Data containing the standard pattern id.
36096
36114
properties:
@@ -62708,11 +62726,12 @@ paths:
62708
62726
value: "{\n \"data\": {\n \"type\": \"sensitive_data_scanner_group\",\n
62709
62727
\ \"attributes\": {\n \"name\": \"my-test-group\",\n \"is_enabled\":
62710
62728
false,\n \"product_list\": [\n \"logs\"\n ],\n \"filter\":
62711
- {\n \"query\": \"*\"\n }\n },\n \"relationships\":
62712
- {\n \"configuration\": {\n \"data\": {\n \"id\":
62713
- \"{{ configuration.data.id }}\",\n \"type\": \"{{ configuration.data.type
62714
- }}\"\n }\n },\n \"rules\": {\n \"data\": []\n
62715
- \ }\n }\n },\n \"meta\": {}\n}"
62729
+ {\n \"query\": \"*\"\n },\n \"samplings\": [{\"product\":
62730
+ \"logs\", \"rate\": 100}]\n },\n \"relationships\": {\n \"configuration\":
62731
+ {\n \"data\": {\n \"id\": \"{{ configuration.data.id
62732
+ }}\",\n \"type\": \"{{ configuration.data.type }}\"\n }\n
62733
+ \ },\n \"rules\": {\n \"data\": []\n }\n }\n
62734
+ \ },\n \"meta\": {}\n}"
62716
62735
step: there is a valid "scanning_group" in the system
62717
62736
x-menu-order: 4
62718
62737
x-permission:
0 commit comments