@google-cloud/dlp 5.10.0 → 5.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +2 -2
- package/build/protos/google/privacy/dlp/v2/dlp.proto +268 -2
- package/build/protos/protos.d.ts +1828 -42
- package/build/protos/protos.js +10914 -6613
- package/build/protos/protos.json +321 -1
- package/build/src/v2/dlp_service_client.d.ts +3 -0
- package/build/src/v2/dlp_service_client.js +2 -0
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"options": {
|
|
3
|
+
"syntax": "proto3"
|
|
4
|
+
},
|
|
2
5
|
"nested": {
|
|
3
6
|
"google": {
|
|
4
7
|
"nested": {
|
|
@@ -4963,6 +4966,8 @@
|
|
|
4963
4966
|
"oneof": [
|
|
4964
4967
|
"exportData",
|
|
4965
4968
|
"pubSubNotification",
|
|
4969
|
+
"publishToChronicle",
|
|
4970
|
+
"publishToScc",
|
|
4966
4971
|
"tagResources"
|
|
4967
4972
|
]
|
|
4968
4973
|
}
|
|
@@ -4976,6 +4981,14 @@
|
|
|
4976
4981
|
"type": "PubSubNotification",
|
|
4977
4982
|
"id": 2
|
|
4978
4983
|
},
|
|
4984
|
+
"publishToChronicle": {
|
|
4985
|
+
"type": "PublishToChronicle",
|
|
4986
|
+
"id": 3
|
|
4987
|
+
},
|
|
4988
|
+
"publishToScc": {
|
|
4989
|
+
"type": "PublishToSecurityCommandCenter",
|
|
4990
|
+
"id": 4
|
|
4991
|
+
},
|
|
4979
4992
|
"tagResources": {
|
|
4980
4993
|
"type": "TagResources",
|
|
4981
4994
|
"id": 8
|
|
@@ -5029,6 +5042,12 @@
|
|
|
5029
5042
|
"ERROR_CHANGED": 4
|
|
5030
5043
|
}
|
|
5031
5044
|
},
|
|
5045
|
+
"PublishToChronicle": {
|
|
5046
|
+
"fields": {}
|
|
5047
|
+
},
|
|
5048
|
+
"PublishToSecurityCommandCenter": {
|
|
5049
|
+
"fields": {}
|
|
5050
|
+
},
|
|
5032
5051
|
"TagResources": {
|
|
5033
5052
|
"fields": {
|
|
5034
5053
|
"tagConditions": {
|
|
@@ -5095,6 +5114,10 @@
|
|
|
5095
5114
|
"type": "string",
|
|
5096
5115
|
"id": 5
|
|
5097
5116
|
},
|
|
5117
|
+
"otherCloudStartingLocation": {
|
|
5118
|
+
"type": "OtherCloudDiscoveryStartingLocation",
|
|
5119
|
+
"id": 8
|
|
5120
|
+
},
|
|
5098
5121
|
"inspectTemplates": {
|
|
5099
5122
|
"rule": "repeated",
|
|
5100
5123
|
"type": "string",
|
|
@@ -5204,6 +5227,10 @@
|
|
|
5204
5227
|
"type": "OrgConfig",
|
|
5205
5228
|
"id": 2
|
|
5206
5229
|
},
|
|
5230
|
+
"otherCloudStartingLocation": {
|
|
5231
|
+
"type": "OtherCloudDiscoveryStartingLocation",
|
|
5232
|
+
"id": 12
|
|
5233
|
+
},
|
|
5207
5234
|
"inspectTemplates": {
|
|
5208
5235
|
"rule": "repeated",
|
|
5209
5236
|
"type": "string",
|
|
@@ -5285,7 +5312,8 @@
|
|
|
5285
5312
|
"bigQueryTarget",
|
|
5286
5313
|
"cloudSqlTarget",
|
|
5287
5314
|
"secretsTarget",
|
|
5288
|
-
"cloudStorageTarget"
|
|
5315
|
+
"cloudStorageTarget",
|
|
5316
|
+
"otherCloudTarget"
|
|
5289
5317
|
]
|
|
5290
5318
|
}
|
|
5291
5319
|
},
|
|
@@ -5305,6 +5333,10 @@
|
|
|
5305
5333
|
"cloudStorageTarget": {
|
|
5306
5334
|
"type": "CloudStorageDiscoveryTarget",
|
|
5307
5335
|
"id": 4
|
|
5336
|
+
},
|
|
5337
|
+
"otherCloudTarget": {
|
|
5338
|
+
"type": "OtherCloudDiscoveryTarget",
|
|
5339
|
+
"id": 5
|
|
5308
5340
|
}
|
|
5309
5341
|
}
|
|
5310
5342
|
},
|
|
@@ -5956,6 +5988,257 @@
|
|
|
5956
5988
|
}
|
|
5957
5989
|
}
|
|
5958
5990
|
},
|
|
5991
|
+
"OtherCloudDiscoveryTarget": {
|
|
5992
|
+
"oneofs": {
|
|
5993
|
+
"cadence": {
|
|
5994
|
+
"oneof": [
|
|
5995
|
+
"generationCadence",
|
|
5996
|
+
"disabled"
|
|
5997
|
+
]
|
|
5998
|
+
}
|
|
5999
|
+
},
|
|
6000
|
+
"fields": {
|
|
6001
|
+
"dataSourceType": {
|
|
6002
|
+
"type": "DataSourceType",
|
|
6003
|
+
"id": 1,
|
|
6004
|
+
"options": {
|
|
6005
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6006
|
+
}
|
|
6007
|
+
},
|
|
6008
|
+
"filter": {
|
|
6009
|
+
"type": "DiscoveryOtherCloudFilter",
|
|
6010
|
+
"id": 2,
|
|
6011
|
+
"options": {
|
|
6012
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6013
|
+
}
|
|
6014
|
+
},
|
|
6015
|
+
"conditions": {
|
|
6016
|
+
"type": "DiscoveryOtherCloudConditions",
|
|
6017
|
+
"id": 3,
|
|
6018
|
+
"options": {
|
|
6019
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6020
|
+
}
|
|
6021
|
+
},
|
|
6022
|
+
"generationCadence": {
|
|
6023
|
+
"type": "DiscoveryOtherCloudGenerationCadence",
|
|
6024
|
+
"id": 4
|
|
6025
|
+
},
|
|
6026
|
+
"disabled": {
|
|
6027
|
+
"type": "Disabled",
|
|
6028
|
+
"id": 5
|
|
6029
|
+
}
|
|
6030
|
+
}
|
|
6031
|
+
},
|
|
6032
|
+
"DiscoveryOtherCloudFilter": {
|
|
6033
|
+
"oneofs": {
|
|
6034
|
+
"filter": {
|
|
6035
|
+
"oneof": [
|
|
6036
|
+
"collection",
|
|
6037
|
+
"singleResource",
|
|
6038
|
+
"others"
|
|
6039
|
+
]
|
|
6040
|
+
}
|
|
6041
|
+
},
|
|
6042
|
+
"fields": {
|
|
6043
|
+
"collection": {
|
|
6044
|
+
"type": "OtherCloudResourceCollection",
|
|
6045
|
+
"id": 1
|
|
6046
|
+
},
|
|
6047
|
+
"singleResource": {
|
|
6048
|
+
"type": "OtherCloudSingleResourceReference",
|
|
6049
|
+
"id": 2
|
|
6050
|
+
},
|
|
6051
|
+
"others": {
|
|
6052
|
+
"type": "AllOtherResources",
|
|
6053
|
+
"id": 100,
|
|
6054
|
+
"options": {
|
|
6055
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6056
|
+
}
|
|
6057
|
+
}
|
|
6058
|
+
}
|
|
6059
|
+
},
|
|
6060
|
+
"OtherCloudResourceCollection": {
|
|
6061
|
+
"oneofs": {
|
|
6062
|
+
"pattern": {
|
|
6063
|
+
"oneof": [
|
|
6064
|
+
"includeRegexes"
|
|
6065
|
+
]
|
|
6066
|
+
}
|
|
6067
|
+
},
|
|
6068
|
+
"fields": {
|
|
6069
|
+
"includeRegexes": {
|
|
6070
|
+
"type": "OtherCloudResourceRegexes",
|
|
6071
|
+
"id": 1
|
|
6072
|
+
}
|
|
6073
|
+
}
|
|
6074
|
+
},
|
|
6075
|
+
"OtherCloudResourceRegexes": {
|
|
6076
|
+
"fields": {
|
|
6077
|
+
"patterns": {
|
|
6078
|
+
"rule": "repeated",
|
|
6079
|
+
"type": "OtherCloudResourceRegex",
|
|
6080
|
+
"id": 1
|
|
6081
|
+
}
|
|
6082
|
+
}
|
|
6083
|
+
},
|
|
6084
|
+
"OtherCloudResourceRegex": {
|
|
6085
|
+
"oneofs": {
|
|
6086
|
+
"resourceRegex": {
|
|
6087
|
+
"oneof": [
|
|
6088
|
+
"amazonS3BucketRegex"
|
|
6089
|
+
]
|
|
6090
|
+
}
|
|
6091
|
+
},
|
|
6092
|
+
"fields": {
|
|
6093
|
+
"amazonS3BucketRegex": {
|
|
6094
|
+
"type": "AmazonS3BucketRegex",
|
|
6095
|
+
"id": 1
|
|
6096
|
+
}
|
|
6097
|
+
}
|
|
6098
|
+
},
|
|
6099
|
+
"AwsAccountRegex": {
|
|
6100
|
+
"fields": {
|
|
6101
|
+
"accountIdRegex": {
|
|
6102
|
+
"type": "string",
|
|
6103
|
+
"id": 1,
|
|
6104
|
+
"options": {
|
|
6105
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6106
|
+
}
|
|
6107
|
+
}
|
|
6108
|
+
}
|
|
6109
|
+
},
|
|
6110
|
+
"AmazonS3BucketRegex": {
|
|
6111
|
+
"fields": {
|
|
6112
|
+
"awsAccountRegex": {
|
|
6113
|
+
"type": "AwsAccountRegex",
|
|
6114
|
+
"id": 1
|
|
6115
|
+
},
|
|
6116
|
+
"bucketNameRegex": {
|
|
6117
|
+
"type": "string",
|
|
6118
|
+
"id": 2,
|
|
6119
|
+
"options": {
|
|
6120
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6121
|
+
}
|
|
6122
|
+
}
|
|
6123
|
+
}
|
|
6124
|
+
},
|
|
6125
|
+
"OtherCloudSingleResourceReference": {
|
|
6126
|
+
"oneofs": {
|
|
6127
|
+
"resource": {
|
|
6128
|
+
"oneof": [
|
|
6129
|
+
"amazonS3Bucket"
|
|
6130
|
+
]
|
|
6131
|
+
}
|
|
6132
|
+
},
|
|
6133
|
+
"fields": {
|
|
6134
|
+
"amazonS3Bucket": {
|
|
6135
|
+
"type": "AmazonS3Bucket",
|
|
6136
|
+
"id": 1
|
|
6137
|
+
}
|
|
6138
|
+
}
|
|
6139
|
+
},
|
|
6140
|
+
"AwsAccount": {
|
|
6141
|
+
"fields": {
|
|
6142
|
+
"accountId": {
|
|
6143
|
+
"type": "string",
|
|
6144
|
+
"id": 1,
|
|
6145
|
+
"options": {
|
|
6146
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6147
|
+
}
|
|
6148
|
+
}
|
|
6149
|
+
}
|
|
6150
|
+
},
|
|
6151
|
+
"AmazonS3Bucket": {
|
|
6152
|
+
"fields": {
|
|
6153
|
+
"awsAccount": {
|
|
6154
|
+
"type": "AwsAccount",
|
|
6155
|
+
"id": 1
|
|
6156
|
+
},
|
|
6157
|
+
"bucketName": {
|
|
6158
|
+
"type": "string",
|
|
6159
|
+
"id": 2,
|
|
6160
|
+
"options": {
|
|
6161
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6162
|
+
}
|
|
6163
|
+
}
|
|
6164
|
+
}
|
|
6165
|
+
},
|
|
6166
|
+
"DiscoveryOtherCloudConditions": {
|
|
6167
|
+
"oneofs": {
|
|
6168
|
+
"conditions": {
|
|
6169
|
+
"oneof": [
|
|
6170
|
+
"amazonS3BucketConditions"
|
|
6171
|
+
]
|
|
6172
|
+
}
|
|
6173
|
+
},
|
|
6174
|
+
"fields": {
|
|
6175
|
+
"minAge": {
|
|
6176
|
+
"type": "google.protobuf.Duration",
|
|
6177
|
+
"id": 1
|
|
6178
|
+
},
|
|
6179
|
+
"amazonS3BucketConditions": {
|
|
6180
|
+
"type": "AmazonS3BucketConditions",
|
|
6181
|
+
"id": 2
|
|
6182
|
+
}
|
|
6183
|
+
}
|
|
6184
|
+
},
|
|
6185
|
+
"AmazonS3BucketConditions": {
|
|
6186
|
+
"fields": {
|
|
6187
|
+
"bucketTypes": {
|
|
6188
|
+
"rule": "repeated",
|
|
6189
|
+
"type": "BucketType",
|
|
6190
|
+
"id": 1,
|
|
6191
|
+
"options": {
|
|
6192
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6193
|
+
}
|
|
6194
|
+
},
|
|
6195
|
+
"objectStorageClasses": {
|
|
6196
|
+
"rule": "repeated",
|
|
6197
|
+
"type": "ObjectStorageClass",
|
|
6198
|
+
"id": 2,
|
|
6199
|
+
"options": {
|
|
6200
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6201
|
+
}
|
|
6202
|
+
}
|
|
6203
|
+
},
|
|
6204
|
+
"nested": {
|
|
6205
|
+
"BucketType": {
|
|
6206
|
+
"values": {
|
|
6207
|
+
"TYPE_UNSPECIFIED": 0,
|
|
6208
|
+
"TYPE_ALL_SUPPORTED": 1,
|
|
6209
|
+
"TYPE_GENERAL_PURPOSE": 2
|
|
6210
|
+
}
|
|
6211
|
+
},
|
|
6212
|
+
"ObjectStorageClass": {
|
|
6213
|
+
"values": {
|
|
6214
|
+
"UNSPECIFIED": 0,
|
|
6215
|
+
"ALL_SUPPORTED_CLASSES": 1,
|
|
6216
|
+
"STANDARD": 2,
|
|
6217
|
+
"STANDARD_INFREQUENT_ACCESS": 4,
|
|
6218
|
+
"GLACIER_INSTANT_RETRIEVAL": 6,
|
|
6219
|
+
"INTELLIGENT_TIERING": 7
|
|
6220
|
+
}
|
|
6221
|
+
}
|
|
6222
|
+
}
|
|
6223
|
+
},
|
|
6224
|
+
"DiscoveryOtherCloudGenerationCadence": {
|
|
6225
|
+
"fields": {
|
|
6226
|
+
"refreshFrequency": {
|
|
6227
|
+
"type": "DataProfileUpdateFrequency",
|
|
6228
|
+
"id": 1,
|
|
6229
|
+
"options": {
|
|
6230
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6231
|
+
}
|
|
6232
|
+
},
|
|
6233
|
+
"inspectTemplateModifiedCadence": {
|
|
6234
|
+
"type": "DiscoveryInspectTemplateModifiedCadence",
|
|
6235
|
+
"id": 2,
|
|
6236
|
+
"options": {
|
|
6237
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6238
|
+
}
|
|
6239
|
+
}
|
|
6240
|
+
}
|
|
6241
|
+
},
|
|
5959
6242
|
"DiscoveryStartingLocation": {
|
|
5960
6243
|
"oneofs": {
|
|
5961
6244
|
"location": {
|
|
@@ -5976,6 +6259,43 @@
|
|
|
5976
6259
|
}
|
|
5977
6260
|
}
|
|
5978
6261
|
},
|
|
6262
|
+
"OtherCloudDiscoveryStartingLocation": {
|
|
6263
|
+
"oneofs": {
|
|
6264
|
+
"location": {
|
|
6265
|
+
"oneof": [
|
|
6266
|
+
"awsLocation"
|
|
6267
|
+
]
|
|
6268
|
+
}
|
|
6269
|
+
},
|
|
6270
|
+
"fields": {
|
|
6271
|
+
"awsLocation": {
|
|
6272
|
+
"type": "AwsDiscoveryStartingLocation",
|
|
6273
|
+
"id": 1
|
|
6274
|
+
}
|
|
6275
|
+
},
|
|
6276
|
+
"nested": {
|
|
6277
|
+
"AwsDiscoveryStartingLocation": {
|
|
6278
|
+
"oneofs": {
|
|
6279
|
+
"scope": {
|
|
6280
|
+
"oneof": [
|
|
6281
|
+
"accountId",
|
|
6282
|
+
"allAssetInventoryAssets"
|
|
6283
|
+
]
|
|
6284
|
+
}
|
|
6285
|
+
},
|
|
6286
|
+
"fields": {
|
|
6287
|
+
"accountId": {
|
|
6288
|
+
"type": "string",
|
|
6289
|
+
"id": 2
|
|
6290
|
+
},
|
|
6291
|
+
"allAssetInventoryAssets": {
|
|
6292
|
+
"type": "bool",
|
|
6293
|
+
"id": 3
|
|
6294
|
+
}
|
|
6295
|
+
}
|
|
6296
|
+
}
|
|
6297
|
+
}
|
|
6298
|
+
},
|
|
5979
6299
|
"AllOtherResources": {
|
|
5980
6300
|
"fields": {}
|
|
5981
6301
|
},
|
|
@@ -3593,6 +3593,7 @@ export declare class DlpServiceClient {
|
|
|
3593
3593
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3594
3594
|
* * Supported fields/values:
|
|
3595
3595
|
* - `project_id` - The Google Cloud project ID.
|
|
3596
|
+
* - `account_id` - The AWS account ID.
|
|
3596
3597
|
* - `file_store_path` - The path like "gs://bucket".
|
|
3597
3598
|
* - `data_source_type` - The profile's data source type, like
|
|
3598
3599
|
* "google/storage/bucket".
|
|
@@ -3679,6 +3680,7 @@ export declare class DlpServiceClient {
|
|
|
3679
3680
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3680
3681
|
* * Supported fields/values:
|
|
3681
3682
|
* - `project_id` - The Google Cloud project ID.
|
|
3683
|
+
* - `account_id` - The AWS account ID.
|
|
3682
3684
|
* - `file_store_path` - The path like "gs://bucket".
|
|
3683
3685
|
* - `data_source_type` - The profile's data source type, like
|
|
3684
3686
|
* "google/storage/bucket".
|
|
@@ -3760,6 +3762,7 @@ export declare class DlpServiceClient {
|
|
|
3760
3762
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3761
3763
|
* * Supported fields/values:
|
|
3762
3764
|
* - `project_id` - The Google Cloud project ID.
|
|
3765
|
+
* - `account_id` - The AWS account ID.
|
|
3763
3766
|
* - `file_store_path` - The path like "gs://bucket".
|
|
3764
3767
|
* - `data_source_type` - The profile's data source type, like
|
|
3765
3768
|
* "google/storage/bucket".
|
|
@@ -3017,6 +3017,7 @@ class DlpServiceClient {
|
|
|
3017
3017
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3018
3018
|
* * Supported fields/values:
|
|
3019
3019
|
* - `project_id` - The Google Cloud project ID.
|
|
3020
|
+
* - `account_id` - The AWS account ID.
|
|
3020
3021
|
* - `file_store_path` - The path like "gs://bucket".
|
|
3021
3022
|
* - `data_source_type` - The profile's data source type, like
|
|
3022
3023
|
* "google/storage/bucket".
|
|
@@ -3112,6 +3113,7 @@ class DlpServiceClient {
|
|
|
3112
3113
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3113
3114
|
* * Supported fields/values:
|
|
3114
3115
|
* - `project_id` - The Google Cloud project ID.
|
|
3116
|
+
* - `account_id` - The AWS account ID.
|
|
3115
3117
|
* - `file_store_path` - The path like "gs://bucket".
|
|
3116
3118
|
* - `data_source_type` - The profile's data source type, like
|
|
3117
3119
|
* "google/storage/bucket".
|