Begin Scanning a Gmail App
Table of Contents
Expand all | Collapse all
-
-
- Allowed List of IP Addresses
-
- Begin Scanning a Bitbucket App
- Begin Scanning a Box App
- Begin Scanning ChatGPT Enterprise App
- Begin Scanning a Cisco Webex Teams App
- Begin Scanning a Confluence App
- Begin Scanning a Confluence Data Center App
- Begin Scanning a Dropbox App
- Begin Scanning a GitHub App
- Begin Scanning a Gmail App
- Begin Scanning a Google Drive App
- Begin Scanning a Jira App
- Begin Scanning a Jira Data Center App
- Begin Scanning a Microsoft Exchange App
- Begin Scanning Office 365 Apps
- Begin Scanning a Microsoft Teams App
- Begin Scanning a Salesforce App
- Begin Scanning a ServiceNow App
- Begin Scanning a ShareFile App
- Begin Scanning a Slack Enterprise App
- Begin Scanning a Slack for Pro and Business App
- Begin Scanning a Workday App (Beta)
- Begin Scanning a Zendesk App
- Begin Scanning a Zoom App
- Reauthenticate to a Cloud App
- Verify Permissions on Cloud Apps
- Start Scanning a Cloud App
- Rescan a Managed Cloud App
- Delete Cloud Apps Managed by Data Security
- API Throttling
- Configure Classification Labels
- Microsoft Labeling for Office 365
- Google Drive Labeling
- Configure Phishing Analysis
- Configure WildFire Analysis
-
-
-
- What is an Incident?
- Assess New Incidents on Data Security
- Filter Incidents
- Configure Slack Notification Alerts on Data Security
- Security Controls Incident Details
- Track Down Threats with WildFire Report
- Customize the Incident Categories
- Close Incidents
- Download Assets for Incidents
- View Asset Snippets for Incidents
- Analyze Inherited Exposure
- Email Asset Owners
- Modify Incident Status
-
-
-
- What’s SaaS Security Inline?
- Navigate To SaaS Security Inline
- SaaS Visibility for NGFW
- SaaS Visibility and Controls for NGFW
- SaaS Visibility for Prisma Access
- SaaS Visibility and Controls for Panorama Managed Prisma Access
- SaaS Visibility and Controls for Cloud Managed Prisma Access
- Activate SaaS Security Inline for NGFW
- Activate SaaS Security Inline for VM-Series Firewalls with Software NGFW Credits
- Activate SaaS Security Inline for Prisma Access
- Connect SaaS Security Inline and Strata Logging Service
- Integrate with Azure Active Directory
-
-
- SaaS Policy Rule Recommendations
- App-ID Cloud Engine
- Guidelines for SaaS Policy Rule Recommendations
- Predefined SaaS Policy Rule Recommendations
- Apply Predefined SaaS Policy Rule Recommendations
- Create SaaS Policy Rule Recommendations
- Delete SaaS Policy Rule Recommendations
- Enable SaaS Policy Rule Recommendations
- Modify Active SaaS Policy Rule Recommendations
- Monitor SaaS Policy Rule Recommendations
-
- Enable Automatic Updates for SaaS Policy Rule Recommendations on Cloud Managed Prisma Access
- Import New SaaS Policy Rule Recommendations on Cloud Managed Prisma Access
- Update Imported SaaS Policy Rule Recommendations on Cloud Managed Prisma Access
- Remove Deleted SaaS Policy Rule Recommendations on Cloud Managed Prisma Access
- Manage Enforcement of Rule Recommendations on NGFW
- Manage Enforcement of Rule Recommendations on Panorama Managed Prisma Access
- Change Risk Score for Discovered SaaS Apps
-
-
-
-
- Onboarding Overview for Supported SaaS Apps
- Onboard an Aha.io App to SSPM
- Onboard an Alteryx Designer Cloud App to SSPM
- Onboard an Aptible App to SSPM
- Onboard an ArcGIS App to SSPM
- Onboard an Articulate Global App to SSPM
- Onboard an Atlassian App to SSPM
- Onboard a BambooHR App to SSPM
- Onboard a Basecamp App to SSPM
- Onboard a Bitbucket App to SSPM
- Onboard a BlueJeans App to SSPM
- Onboard a Box App to SSPM
- Onboard a Bright Security App to SSPM
- Onboard a Celonis App to SSPM
- Onboard a Cisco Meraki App to SSPM
- Onboard a ClickUp App to SSPM
- Onboard a Confluence App to SSPM
- Onboard a Contentful App to SSPM
- Onboard a Convo App to SSPM
- Onboard a Couchbase App to SSPM
- Onboard a Coveo App to SSPM
- Onboard a Crowdin Enterprise App to SSPM
- Onboard a Customer.io App to SSPM
- Onboard a Databricks App to SSPM
- Onboard a Datadog App to SSPM
- Onboard a DocHub App to SSPM
- Onboard a DocuSign App to SSPM
- Onboard an Envoy App to SSPM
- Onboard an Expiration Reminder App to SSPM
- Onboard a Gainsight PX App to SSPM
- Onboard a GitLab App to SSPM
- Onboard a Google Analytics App to SSPM
- Onboard a Google Workspace App to SSPM
- Onboard a GoTo Meeting App to SSPM
- Onboard a Grammarly App to SSPM
- Onboard a Harness App to SSPM
- Onboard a Hellonext App to SSPM
- Onboard an IDrive App to SSPM
- Onboard an Intercom App to SSPM
- Onboard a Jira App to SSPM
- Onboard a Kanbanize App to SSPM
- Onboard a Kanban Tool App to SSPM
- Onboard a Kustomer App to SSPM
- Onboard a Lokalise App to SSPM
- Onboard a Microsoft Azure AD App to SSPM
- Onboard a Microsoft Outlook App to SSPM
- Onboard a Microsoft Power BI App to SSPM
- Onboard a Miro App to SSPM
- Onboard a monday.com App to SSPM
- Onboard a MongoDB Atlas App to SSPM
- Onboard a MuleSoft App to SSPM
- Onboard a Mural App to SSPM
- Onboard an Office 365 App to SSPM
- Onboard an Okta App to SSPM
- Onboard a PagerDuty App to SSPM
- Onboard a RingCentral App to SSPM
- Onboard a Salesforce App to SSPM
- Onboard an SAP Ariba App to SSPM
- Onboard a ServiceNow App to SSPM
- Onboard a Slack Enterprise App to SSPM
- Onboard a Snowflake App to SSPM
- Onboard a SparkPost App to SSPM
- Onboard a Tableau Cloud App to SSPM
- Onboard a Webex App to SSPM
- Onboard a Workday App to SSPM
- Onboard a Wrike App to SSPM
- Onboard a YouTrack App to SSPM
- Onboard a Zendesk App to SSPM
- Onboard a Zoom App to SSPM
- Onboarding an App Using Azure AD Credentials
- Onboarding an App Using Okta Credentials
- Register an Azure AD Client Application
- View the Health Status of Application Scans
- Delete SaaS Apps Managed by SSPM
Begin Scanning a Gmail App
Add your Gmail app to Data Security to begin scanning
and monitoring assets for possible security risks.
To connect a Gmail app to Data Security
and begin scanning assets, you need to:
- Have an admin account with the required privileges.
- Add the Google admin account to Data Security and assign a Super admin role.
- Add the Gmail app to Google Marketplace and Data Security.
- Grant Gmail API access to Data Security.
Ensure that the Super Admin account
added to the Strata Cloud Manager for onboarding Gmail app has logged in at least
once into the Strata Cloud Manager. Only then will the account be enabled.
Onboarding will fail if this account has never logged into the Strata Cloud
Manager.
Support for
automated remediation capabilities varies by SaaS application.
Prepare To Add Gmail App
To communicate between Data Security and Gmail, you need to have custom
admin privileges.
- Read, write, and relocate assets in the app.
- API access. API access provides visibility into the assets in Gmail and allows Data Security to monitor the sharing of assets.
- Verify that your Google administrator account is assigned a custom admin role.(Recommended) Add your Gmail domain as an internal domain.Log in to Google Marketplace using an admin account with Super admin role permissions.
- Go to Google Workspace Marketplace and log out of Google Marketplace to ensure that you're not logged in as a user other than an account with Super admin role permissions.Log in again to Google Marketplace using an account that has Super admin role permissions.Add the email address of the custom admin to Data Security and assign a Superuser role.Next step: Proceed to Add Gmail App.
Add Gmail App
For Data Security to scan assets, you must consent to specific permissions during adding the Gmail app.- Log on to SaaS Security. Go to Data SecurityApplicationsAdd ApplicationGmail.As indicated in the onscreen instructions in Step 1, Prepare To Add Gmail App, if you haven’t already done so.Follow the onscreen instructions in Step 2: Go to Google Marketplace. Afterward, the Domain Install button is replaced by a disabled Uninstall button with a message that reads Please uninstall app for domain in Admin Console. This behavior is expected.
- Select Domain Install on the Google Marketplace page.Don't go to the link provided. Doing so aborts the onboarding process. If you inadvertently do so, simply repeat the process starting with Add Gmail App.Click Continue to proceed with the Domain wide install process.Review and Accept the requested permissions.Data Security requires these permissions to scan your assets on Gmail. A new browser window opens in the foreground.Click Done.Follow the onscreen instructions in Step 3: Connect to Gmail Account.After you enter the Gmail admin email, you're redirected to Cloud Apps and Scan Settings on Data Security. A message displays in a banner and the Gmail: App installed.Data Security adds the new Gmail app to the Cloud Apps list as Gmail n, where n is the number of Gmail app instances that you connected to Data Security. For example, if you added one Gmail app, the name displays as Gmail 1 . You’ll specify a descriptive name soon.Next step: Proceed to Start Scanning and Monitor Results and begin scanning your assets.
Troubleshooting Onboarding for Gmail App
To ensure that your app has onboarded correctly without any issues in authentication or permissions, Data Security performs validation checks between the onboarding and scanning process. You can start scanning only after a successful validation. For Gmail, the following three validations happen:- App Authentication
- User Permission
- Validating Permissions
After the validation is successful, Data Security displays the sample data assets and sample user activities.If the App Authentication, User Permission, or Validating Permissions checks fail, try the following:- Ensure you have administrator permissions.
- Go to the Google Admin Console and check if Palo Alto Networks application is
listed in the list of Google Workspace Marketplace Apps. Following are the app
names for specific regions:
- India region: Prisma SaaS Gmail
- Australia region: Palo Alto Networks - SaaS Security (Data)- Gmail
- Japan region: Palo Alto Networks-SaaS Security (Data)-JP Gmail
- UK region: Palo Alto Networks-SaaS Security (Data)-UK Gmail
- EU region: SaaS Security EU by Palo Alto Networks
- APAC region: Prisma SaaS Gmail APAC by Palo Alto Networks
- VPC: SaaS Security Gmail by Palo Alto Networks
- FEDM region: Palo Alto Networks - SaaS Security FEDM- Gmail
Handling ErrorsTo understand your error messages and ways to resolve them, see:- Common Errors
- User Permission Errors: Ensure that the user is a Super Admin in the Google console.
- App Authentication Failure (unauthorized_client error): Domain Wide Delegation is not provided or application is not installed in the Google Dashboard.
- Errors in App Authentication
- Errors during fetching sample data assets and sample user activities
The other most common issues related to onboarding a Gmail app are as follows:SymptomExplanationSolutionWhen you click Connect to Gmail Account (Step 3 of the Install page), you receive an authentication error.The Google account doesn’t have sufficient permissions to authenticate and access all the assets within Gmail.Make sure your Google account is an administrator with default super admin role or applicable custom role with the permission outlined in Create Custom Admin Roles.When you click Connect to Gmail Account (Step 3 of Install page), you receive a login error: This email must be added as a Super AdminThe Google account doesn’t have an administrator account in Data Security.Make sure your Google account is super admin on Data Security as outlined in Add Gmail App.When you click Connect to Gmail Account (Step 3 of Install page), you’re redirected to a product landing page, and the Gmail app doesn’t display in the Cloud Apps list.Cached files are preventing the correct redirect.Don't log out of Data Security. Instead, open Data Security in an incognito window. Repeat relaunch the Install page and click on Connect to Gmail Account (Step 3) again. The Gmail app now appears in the Cloud app list.When click on Go to Google Marketplace (Step 2 of Install page), a Please uninstall app for domain in Admin Console message displays.This usually occurs if you previously installed the app and deleted it from Data Security but did not delete it from Google Marketplace.Delete the app from the Google Marketplace, then you’ll be able to Add Gmail App in Data Security.This problem occurs if you complete step 2 of Install page and either abort your install or forget to click Connect to Google Drive Account (Step 3 of Install page).If the Google Marketplace page is open in the same browser and session that you used when you initially added the Gmail app, simply click Connect to Gmail Account.Otherwise, delete the Gmail app from the Google Marketplace and repeat the Gmail app onboarding process in Data Security.If the issue persists, contact SaaS Security Technical Support.Start Scanning and Monitor Results
When you add a new cloud app and enable scanning, Data Security automatically scans the cloud app against the default data patterns and displays the match occurrences. You can take action now to improve your scan results and identify risks.- Start scanning the new Gmail app for risks.Monitor the scan results.During the discovery phase, Data Security scans files and matches them against enabled default policy rules.Verify that your default policy rules are effective. If the results don’t capture all risks or you see false positives, proceed to the next step.(Optional) Add new policy rules.Consider the business use of your app, then identify risks unique to your enterprise. As necessary, add new:(Optional) Configure or edit a data pattern.You can Configure Data Patterns to identify specific strings of text, characters, words, or patterns to make it possible to find all instances of text that match a data pattern you specify.Next step: Proceed to Customize Gmail App.
Customize Gmail App
If you plan to manage more than one instance of the Gmail app, consider differentiating your instances.- (Optional) Give a descriptive name to this app instance.
- Select the Gmail n link on the Cloud Apps list.Enter a descriptive Name.Click Done to save your changes.Next step: Proceed to Start Scanning and Monitor Results.
Create Domain Wide Delegation
You need domain wide delegation to make API calls to Google and fetch user data. To implement domain wide delegation, perform the following steps.- Log in to the Google Admin Console as a super user and select SecurityAccess and data controlAPI controlsMANAGE DOMAIN WIDE DELEGATIONAdd new.Enter the client ID that is applicable for your region:
- NAM: 101758057381597102755
- EU: 107302012290887199743
- APAC: 102431511463016019359
- IN: 113162770221785136577
- AU: 115902749905704876540
- JP: 103755143451773842949
- UK: 117282843217256637356
- FEDM: 117466562875859030537
Enter the following comma-delimited OAuth scopes and click AUTHORIZE.- https://www.googleapis.com/auth/admin.directory.group.readonly
- https://www.googleapis.com/auth/admin.directory.user.readonly
- https://www.googleapis.com/auth/admin.reports.audit.readonly
- https://www.googleapis.com/auth/gmail.readonly
Create Custom Admin Roles
To avoid using a super admin account for Gmail onboarding, you can create a custom admin role with the least required privileges for successful onboarding. To create custom admin roles:- Go to the Google Admin Console and select AccountAdmin rolesCreate new role.Enter a name and description and click Continue.Select the following privileges:
- Admin console privileges
- Organizational Units > Read
- Users > Read
- Reports
- Admin API privileges
- Organizational Units > Read
- Users > Read
- Groups > Read
After creating the role, assign a member to the created role.Add the same user email to the Gmail Administrator Email field in SaaS Security Gmail App onboarding UI and click Connect. For an existing instance of Gmail app, you cannot edit the email address in the Cloud Management Console. So, edit it from the SaaS Security Console.Grant Access to Reduced Privileges
- This step is applicable only for existing instances of the Gmail app.To grant access to the reduced privileges, from the Google Admin Console, go to AppsGoogle Workspace marketplace appsApps List. Select the SaaS Security App from the list and click Grant Access.