This article explains how to add Google Labels as a Data type in a DLP Content Profile that can be used in a with the Data Protection API.
Google Labels are metadata that help organize, find, and apply policy to files in Google Drive. To simplify your data control management, you can leverage existing Google Labels as a data type to identify data in with the Data Protection API. This allows you to align DLP enforcement with your existing Google Workspace classification strategy without redefining labels or rules. The DLP engine scans for the defined labels in the file metadata and not in the actual content, which helps reduce false positive results and improves policy evaluation performance.
Google Labels can only be applied to files stored on Google Drive and only supported for out-of-band traffic.
To add Google Labels to your Data Protection API, you need to:
- Configure the integration with Google Drive in the Google Cloud Console and Cato Management Application (CMA)
- Add the labels to Content Profiles
- Create DLP rules to manage access to content based on labels
To configure the integration with Google Drive, you need to first create a key in the Cloud Console and then add the integration in the Cato Management Application CMA.
In the Google Cloud Console, create a Service account private key to enter into the CMA.
To configure the Google Drive and Workspace integration:
- In your Google Cloud Console, click Select a Project.
-
Click New project.
- Choose a Name and Location and click Create.
- Navigate to APIs & Services > Library.
-
Search for Admin SDK.
-
Click on Admin SDK API and click Enable.
-
Navigate to IAM & Admin > Service Accounts.
- Select the project you created in step two, and click Create service account.
- Add a Service account ID and click Create and continue.
-
In the Select a role drop down, choose Audit Manager Admin (you can search for this role).
- Click Done.
- Click on the service account you created and navigate to the Keys tab,
- Click Add key > Create new key.
-
Choose the JSON key type and click Create.
A JSON file containing the private key is downloaded.
- Copy and save the Private key so it can be added to the CMA.
- In the Google Admin console, navigate to Security > Access and Data Control > API control.
- Under Domain wide delegation, select Manage Domain Wide Delegation.
- Click Add new.
- Add the Client ID of the Service Account. You can find this in the Service Account page.
- Add these scopes:
- Click Authorize.
- Navigate to https://console.cloud.google.com/projectselector2/apis/api/drivelabels.googleapis.com/overview
- Click Select a project and click the Project you created.
- On the Drive Labels API page, click Enable.
Once you have created the Private Key, add the details in the CMA.
To create the API connector in the CMA:
- From the navigation menu, click Resources > Integrations.
- Click the Configured Integrations tab.
-
Click New.
The New Integration panel opens.
-
Select the SaaS Application you want to add.
Note: Enter the Private Key in JSON format.
- In the Capability drop down select Sensitivity Labels.
- Add the details created during step one.
- Click Save.
- The app is visible on the Integrated Apps table with a Connected status.
After you have created the integration, you can add the Labels to a Content Profile. For more information, see Creating DLP Content Profiles.
To add Labels to Content Profiles:
-
From the navigation menu, select Security > Data Types & Profiles, and select the Data Types tab.
- In Sensitivity Labels, click New. The Add Sensitivity Label panel opens.
-
Select the Retrieve Labels option.
- In the Choose Connector drop-down, select the Google connector.
- In the Imported Label Name drop-down, choose the label you want to add to a Content Profile.
- (Optional) Click Validate Sensitivity Label to upload and scan a test file to validate the label.
- Click Apply.
-
On the DLP Profiles tab, click New.
The Add Content Profile panel opens.
- Add a Name for the Profile.
-
In the Data Types section, click Add and choose Google Labels.
- Choose the Label to add to the Profile.
- Click Apply then Apply.
After you have created Content Profiles with Google Labels, you can add them to Data Protection Rules
To create DLP Rules:
- From the navigation menu, click Security > App & Data API.
-
On the Data Protection tab, click New.
The New Rule panel opens.
- In the Application Connector drop-down, choose Google Drive.
- Configure the rule as required. In the Content Profiles section, choose the profile you created in step 2.
- Click Save.
0 comments
Article is closed for comments.