Skip to content

Add and Scan Resource in a Data Source

Steps#

The following example enables scanning on an AWS-Aurora DB resource. It is recommended that you familiarize yourself with the names of the resources you want to enable before scanning as they will appear in a drop-down menu.

  1. From the left navigation panel, expand the Discovery menu and click Data Source.

  2. On the left, select AWS-Aurora DB.

  3. To add a resource for scanning, click Add.

    1. Type the text of the resource and it will display the list of resources that matches the text.

    2. Select the scan type.

    3. Click Save.

  4. To globally enable scanning, click the Status toggle in the upper right corner of the screen.

    • For real-time scan, resources will be automatically scanned when they are added to the Included Resources list.

    • For offline scan, click Scan Resource button to initiate a scan.

  5. Repeat these steps as needed for other data resources or applications you intend to enable for scanning.

Note

  • The names of displayed fields will be different depending on the type of resource or application you are configuring (for example, Include Resource or Include Database or Table).

  • Resources in the landing zones are automatically scanned by Privacera. For more information on Data Zones see Data Zones

GCS and GBQ#

Using a single GCS or GBQ data source, you can scan resources from multiple projects. You can search for projects to be added, and select resources from the project to be included for scanning. To retrieve the list of projects in GCS or GBQ, configure Google Cloud Manager API.

Note

Data Explorer does not support showing resources from multiple projects, it will show resources only for the project which the data source is configured with.

Prerequisites#

To allow Privacera search for projects on your Google account, you need to enable the API services in the GCP project you registered as a datasource. Refer the Google documentation to enable API services.

Add Resources to GCS or GBQ Data Sources#

Before you can add resources to a data source, your data source must be registered and the prerequisite requirements must be met in order to continue. For more information on registering a data source, see data source registration.

  1. From the Privacera main menu, open Discovery > Data Source.

  2. Select a CGS or GBQ data source from the options on the Data Source page.

  3. Click + Add.

  4. From the Add Resource screen, enter the following:

    1. Enter the Project ID whose resources you want to scan. You can enter an asterisk (*) to get a list of projects.

      • For GBQ, the Project ID will be appended to the dataset or table name.

      • For GCS, the Project ID will not append to the bucket name as they are unique across a project.

    2. Enter the Resource you are including in the project. Resources can be added from multiple projects and existing resources will be updated with a project ID. If you have resources in a specific directory, you can add this location path so that all of the databases/tables in that location are scanned.

      • For GCS, add the bucket resources.

      • For GBQ, add the datasets or tables.

    3. Select the scan type: scan or incremental.

      • Scan: Select this option if you want to perform real-time/offline scan.

      • Incremental: Select this option if you want to scan the resource once. During a re-scan, the resource gets added in the Excluded Resources list.

    4. Multi-input: Turn on this button if you want to switch to a multiple input view and add multiple resources, one per line.

    5. Click Save.

  5. To enable the real-time/offline scan for the GCS or GBQ data source, turn on the Status button..


Last update: August 24, 2021