Access Audits Management
Goal¶
Enable and manage access audits in BigQuery using PolicySync. This allows you to track and filter access events in detail.
Prerequisites for audit setup¶
Before you begin, ensure the following:
- Privacera Manager is installed and the base installation operational.
- The BigQuery connector is configured or currently being configured.
Configuration Steps¶
To enable access audits for BigQuery, update the following properties in the vars.connector.bigquery.yml file, located in the connector’s instance directory.
Property Details
CONNECTOR_BIGQUERY_AUDIT_ENABLE:
- Set this property to
true
to enable access audit data fetching from BigQuery. - When enabled, PolicySync will collect access audit logs from the specified BigQuery project and dataset.
CONNECTOR_BIGQUERY_AUDIT_EXCLUDED_USERS:
- This property is used to specify a list of users whose access audits should be excluded by PolicySync.
- Provide a comma-separated list of email addresses for users whose access events should be excluded from the audit logs.
CONNECTOR_BIGQUERY_AUDIT_PROJECT_ID
- Specify the project ID from which BigQuery audits should be retrieved.
- This is the GCP project where the audit logs are stored and queried.
CONNECTOR_BIGQUERY_AUDIT_DATASET_NAME
- Specify the dataset name that will be used to query and retrieve access audits from BigQuery.
- This is the dataset within the project that contains the audit information.
Update Configuration File Modify the following property in the vars.connector.bigquery.yml file located in the connector’s instance directory.
Warning
The values shown below are for example purposes only. Replace them with your actual configuration values.
-
In PrivaceraCloud, go to Settings -> Applications.
-
On the Applications screen, select BigQuery.
-
Enter the application Name and Description. Click Save. Name could be any name of your choice. E.g.
BigQuery Connector for account 123456
. -
Open the BigQuery application.
-
Enable the Access Management option with toggle button.
-
Under the ADVANCED tab, enter the values for:
-
Ignore Audit for Users :
Enter a comma-separated list of user email addresses to exclude from audit logs.
-
Project ID Used to Fetch BigQuery Audits :
Enter the project ID where BigQuery audit logs are stored.
-
Dataset Used to Fetch BigQuery Audits :
Enter the name of the dataset containing the audit data.
-
-
Click SAVE.
-
The configured BigQuery connector appears under Applications.
-
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
Text Only | |
---|---|
1 |
|
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: Advance Configuration