Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [dlp] inspect template modified cadence discovery config for Cloud SQL #5623

Merged
merged 2 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5581,6 +5581,11 @@ message DiscoveryCloudSqlGenerationCadence {
// frequency regardless of whether the underlying tables have changed.
// Defaults to never.
DataProfileUpdateFrequency refresh_frequency = 2;

// Governs when to update data profiles when the inspection rules
// defined by the `InspectTemplate` change.
// If not set, changing the template will not cause a data profile to update.
DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;
}

// Discovery target for credentials and secrets in cloud resource metadata.
Expand Down Expand Up @@ -7502,10 +7507,12 @@ message FileClusterSummary {
repeated Error errors = 6;

// A sample of file types scanned in this cluster. Empty if no files were
// scanned.
// scanned. File extensions can be derived from the file name or the file
// content.
repeated FileExtensionInfo file_extensions_scanned = 7;

// A sample of file types seen in this cluster. Empty if no files were seen.
// File extensions can be derived from the file name or the file content.
repeated FileExtensionInfo file_extensions_seen = 8;

// True if no files exist in this cluster. If the bucket had more files than
Expand Down Expand Up @@ -7593,6 +7600,10 @@ message ListFileStoreDataProfilesRequest {
// * Supported fields/values:
// - `project_id` - The Google Cloud project ID.
// - `file_store_path` - The path like "gs://bucket".
// - `data_source_type` - The profile's data source type, like
// "google/storage/bucket".
// - `data_storage_location` - The location where the file store's data is
// stored, like "us-central1".
// - `sensitivity_level` - HIGH|MODERATE|LOW
// - `data_risk_level` - HIGH|MODERATE|LOW
// - `resource_visibility`: PUBLIC|RESTRICTED
Expand Down
6 changes: 6 additions & 0 deletions packages/google-privacy-dlp/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions packages/google-privacy-dlp/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions packages/google-privacy-dlp/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ function main(parent) {
* * Supported fields/values:
* - `project_id` - The Google Cloud project ID.
* - `file_store_path` - The path like "gs://bucket".
* - `data_source_type` - The profile's data source type, like
* "google/storage/bucket".
* - `data_storage_location` - The location where the file store's data is
* stored, like "us-central1".
* - `sensitivity_level` - HIGH|MODERATE|LOW
* - `data_risk_level` - HIGH|MODERATE|LOW
* - `resource_visibility`: PUBLIC|RESTRICTED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2030,7 +2030,7 @@
"segments": [
{
"start": 25,
"end": 111,
"end": 115,
"type": "FULL"
}
],
Expand Down
12 changes: 12 additions & 0 deletions packages/google-privacy-dlp/src/v2/dlp_service_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7850,6 +7850,10 @@ export class DlpServiceClient {
* * Supported fields/values:
* - `project_id` - The Google Cloud project ID.
* - `file_store_path` - The path like "gs://bucket".
* - `data_source_type` - The profile's data source type, like
* "google/storage/bucket".
* - `data_storage_location` - The location where the file store's data is
* stored, like "us-central1".
* - `sensitivity_level` - HIGH|MODERATE|LOW
* - `data_risk_level` - HIGH|MODERATE|LOW
* - `resource_visibility`: PUBLIC|RESTRICTED
Expand Down Expand Up @@ -8004,6 +8008,10 @@ export class DlpServiceClient {
* * Supported fields/values:
* - `project_id` - The Google Cloud project ID.
* - `file_store_path` - The path like "gs://bucket".
* - `data_source_type` - The profile's data source type, like
* "google/storage/bucket".
* - `data_storage_location` - The location where the file store's data is
* stored, like "us-central1".
* - `sensitivity_level` - HIGH|MODERATE|LOW
* - `data_risk_level` - HIGH|MODERATE|LOW
* - `resource_visibility`: PUBLIC|RESTRICTED
Expand Down Expand Up @@ -8102,6 +8110,10 @@ export class DlpServiceClient {
* * Supported fields/values:
* - `project_id` - The Google Cloud project ID.
* - `file_store_path` - The path like "gs://bucket".
* - `data_source_type` - The profile's data source type, like
* "google/storage/bucket".
* - `data_storage_location` - The location where the file store's data is
* stored, like "us-central1".
* - `sensitivity_level` - HIGH|MODERATE|LOW
* - `data_risk_level` - HIGH|MODERATE|LOW
* - `resource_visibility`: PUBLIC|RESTRICTED
Expand Down
Loading