Skip to content
Connectors

Scanner deep dive

Google Drive

SourceGAEnterprise only · Hosted or self-hosted

The Google Drive integration scans files and comments in a Google Drive account for credentials and other sensitive data.

Use cases and coverage

Scanning use cases

  • Review onboarding files before sharing access

    Authorize an account that can read the intended files. Scan its accessible documents and comments for copied service credentials.

  • Check a shared troubleshooting document

    Use an account with access to the document. Review findings in the file and its comments before sharing the link with another team.

Related incidentAn OAuth grant opened access to more than 100 GSA Google Drives · Access granted

Discovered March 2016 · Access granted

GSA’s inspector general reported that an OAuth connection for sharing Drive files through Slack granted full access to more than 100 Google Drives. GSA later removed those permissions. The report describes potential exposure of sensitive files.

How this relates to Google Drive

Start with a Google account that could download the affected documents and review those files for embedded credentials. Use Workspace access records to investigate who opened them.

Review Google Drive scan scope

GSA Office of Inspector General report · Summary and Findings, memorandum pages 1 and 2

Source check

Atlas AI-assisted source check · 2026-11-22. The publisher describes the event or study. The Atlas explains its relevance to this connector. Detection depends on the scan scope and detectors in use.

What it covers

Compare in matrix

What the docs page’s Capabilities table says, sorted into what the source reaches, how deep it reads and how it runs. Hatched segments and dashes are capabilities the page doesn’t mention. Select ⓘ for what each one means.

  • files
  • comments
  • attachments
  • files in trash

Also reads archive files, base64-encoded data, binaries, Microsoft Office files.

What it reaches

4 supported · 1 not documented

  • Comments✓
  • Attachments✓
  • Files✓
  • Files in trash✓
  • History–

How deep it reads

4 supported

  • Archives✓
  • Binaries✓
  • Base64✓
  • Office docs✓

How it runs

1 supported · 5 not documented

  • Auto-resume✓
  • Filters–
  • Real-time–
  • Pre-commit–
  • Pre-receive–
  • In CI–

Limits

Caveats the docs page states, like size caps or content it skips.

  • Files larger than 1 GB are not scanned.
  • Scans only files the authorizing user can access, including shared files.
  • Drafts are not scanned.
  • For org-wide scanning across users, the docs point to Google Drive Domain-Wide Delegation (DWD).

What TruffleHog documents

Integration guide

Each standard integration uses one Google account. Its scope includes owned files and shared files that the account can download. Choose the authorizing account with that scope in mind.

Read the Google Drive integration guide

Sources checked .

Scan setup and permissions

Set it up

Enterprise paths come from Truffle’s public docs.

Web interface

  1. Use the web integration to sign in with the Google account whose files you intend to scan and authorize read-only Drive access.
  2. Check access to shared files and their download settings. For domain-wide coverage, review the separate delegation connector with the Workspace administrator.

Suggested contact (Atlas suggestion) · Google Workspace administrator and authorizing account owner

Suggested first check (Atlas suggestion) · Confirm the pilot file can be opened and downloaded by the authorizing account.

Setup reference checked 2026-11-22 · Configuration

In the web UI

  1. Sign in with Google and grant drive.readonly.
  2. Name the integration and set the scan interval.

Access

How the scanner authenticates and what it’s allowed to read. Write access is highlighted.

All read-only, as documented.

Permissions

1 permission
  • drive.readonlylist and download files, see names/emails

Before you start

  • https://www.googleapis.com/auth/drive.readonly permission

If Google Drive keys leak

The credentials you give this connector are secrets too. These detectors find Google Drive keys anywhere TruffleHog scans, not only inside Google Drive.

Recent changes

From TruffleHog’s release notes, after review. Tags show whether each change is in Enterprise, open source, or both.

2 release-note items mention this connector. The Atlas hasn’t checked them yet, so they aren’t listed here. See all release notes

Sources and related tools

DocsScraped, not reviewedFile and knowledge stores

Evidence

Docs scraped 2026-11-17. Each docs page was fetched with Firecrawl twice (an overview pass and a detail pass for capabilities, options, permissions and notes) and read by an extraction prompt. Descriptions are short paraphrases. Open-source CLI facts are parsed from main.go at the pinned TruffleHog commit. Not reviewed by a person. Pinned commit ffdee00. Check the source before quoting a detail, or review this connector so the badge says so.

Google Drive (Domain-Wide Delegation)