Manage Resources List¶
You can configure the GCP BigQuery connector to manage access control policies for specific projects, datasets, and tables. By specifying inclusion and exclusion lists, you can control which resources are managed. The connector applies access control policies to resources in the include list and ignores those in the exclude list. If a resource appears in both the include and exclude lists, the connector will not manage it.
Use the following properties to specify comma-separated projects, datasets, and tables whose access control should be managed by PolicySync. To manage all resources, simply leave these properties unspecified. Wildcard characters (*) can be used to match multiple projects, datasets, and tables.
Example:
- Project:
gcp-project-123, gcp-project*
- Dataset:
gcp-project-123.analytics_db, gcp-project*.test_db*
- Table:
gcp-project-123.analytics_db.customer_table, gcp-project*.test_db*.*
Prerequisites¶
- You have successfully installed Privacera Manager and have the base installation operational.
- You have configured the connector for BigQuery or are in the process of doing so.
Configuration Steps¶
Warning
- Values are case-sensitive.
- Provide fully qualified names for project, datasets, and table where applicable.
- Example (for table resource only):
gcp-project-123.analytics_db.customer_table
- Replace the example values with your actual resource names.
-
Navigate to Settings → Applications in the Self-Managed Portal.
-
Select BigQuery from the list of Connected Applications.
-
Click on the application name or the icon, then click on Access Management.
-
For including resources, enter the following values in the respective fields under BASIC tab:
- Projects to manage access control policies :
gcp-project-123
- Datasets to manage access control policies :
gcp-project-123.test_db
- Tables to manage access control policies :
gcp-project-123.analytics_db.test_table
- Projects to manage access control policies :
-
For excluding resources, enter the following values in the respective fields under ADVANCED tab:
- Projects to ignore while setting access control policies :
gcp-project-111
- Datasets to ignore while setting access control policies :
gcp-project-123.test_db
- Tables to ignore while setting access control policies :
gcp-project-123.analytics_db.test_table
- Projects to ignore while setting access control policies :
-
Click SAVE to apply the changes.
-
SSH to the instance where Privacera Manager is installed.
-
Run the following command to open the
.yml
file to be edited.If you have multiple connectors, then replace
instance1
with the appropriate connector instance name.Bash -
Add or modify the following properties:
-
Once the properties are configured, run the following commands to update your Privacera Manager platform instance:
Step 1 - Setup which generates the helm charts. This step usually takes few minutes.
Step 2 - Apply the Privacera Manager helm charts. Step 3 - Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on.
-
In PrivaceraCloud, go to Settings -> Applications.
-
Select BigQuery from the list of Connected Applications.
-
Click on the application name or the icon, then click on Access Management → ADVANCED tab.
-
For including resources, enter the following values in the respective fields:
- Projects to manage access control policies :
gcp-project-123
- Datasets to Set Access Control Policies :
gcp-project-123.test_db
- Tables to Set Access Control Policies :
gcp-project-123.analytics_db.test_table
- Projects to manage access control policies :
-
For excluding resources, enter the following values in the respective fields:
- Projects to Ignore While Setting Access Control Policies :
gcp-project-111
- Datasets to Ignore While Setting Access Control Policies :
gcp-project-123.test_db
- Tables to Ignore While Setting Access Control Policies :
gcp-project-123.analytics_db.test_table
- Projects to Ignore While Setting Access Control Policies :
-
Click SAVE.
-
Once saved and enabled, the BigQuery connector will start. Then you can hover on the VIEW LOGS button to check the status, either Running or Stopped.
Note
Perform the following steps only if the connector does not reflect the updated configuration and requires a restart.
Restart the BigQuery Connector:
-
Go to Settings > Applications > select the BigQuery connector application .
-
Edit the application > Disable it > and Save it.
-
Open the same application again and then: Enable it and Save it.
- Prev topic: Advanced Configuration