Skip to content
Connectors

Scanner deep dive

Filesystem

SourceGAOpen source + Enterprise · Self-hosted only

The Filesystem integration scans local files and directories for credentials and other sensitive data.

Use cases and coverage

Scanning use cases

  • Inspect a support bundle before sending it

    Put the export in a dedicated local directory. Point the filesystem source at that path and review findings before sharing the bundle.

  • Review generated deployment files

    Scan the local output directory after rendering your templates. A finding there can identify a value introduced during generation.

Related incidentSession tokens in Okta support attachments · Similar exposure

2023 · Similar exposure

Okta reported that browser network captures attached to support cases contained session tokens. Stolen tokens were used to access five customer sessions.

How this relates to Filesystem

Okta described files in its support system. A diagnostic file shared with your team can contain the same kind of sensitive material. Token recognition depends on the detector.

Review Filesystem scan scope

Okta Security report · Executive Summary, November 3, 2023

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.

  • local files
  • directories
  • stdin

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

What it reaches

1 supported · 3 not documented

  • Stdin scanning✓
  • History–
  • Comments–
  • Attachments–

How deep it reads

4 supported

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

How it runs

1 supported · 5 not documented

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

Limits

The Atlas has no additional limits recorded from this integration guide.

What TruffleHog documents

Integration guide

Start with directories on the scanner host. The local configuration can apply include and exclude files containing one path-matching regular expression per line.

Read the Filesystem integration guide
Open-source CLI

Directory scans descend into subdirectories. To include files reached through symbolic links, enable symlink following for the paths you intend to cover.

Read the pinned README passage

Sources checked .

Scan setup and permissions

Set it up

Pick how you’ll run it: each tab has its steps and its options. Enterprise paths come from Truffle’s public docs. The open-source CLI is read from the public TruffleHog code at a pinned commit; it’s a separate product from Enterprise.

Local configuration

  1. Choose files or directories visible to the self-hosted scanner and list their paths in its local configuration.
  2. Use include/exclude pattern files to narrow the scan. Decide whether to follow symbolic links, which the default configuration skips.

Suggested contact (Atlas suggestion) · Owner of the scanner host and target directories

Suggested first check (Atlas suggestion) · Check the pilot path from the scanner host under the account that runs it.

Setup reference checked 2026-11-22 · Configuration

Config file options (5)

Options for sources.Filesystem in a local YAML config. Required fields come first.

Filesystem configuration options
FieldWhat it doesType
pathsList of paths to scan.list
includePathsFileFile of newline-separated regex patterns to include.string
excludePathsFileFile of newline-separated regex patterns to exclude.string
skipBinariesSkip binary files.boolean
maxSymlinkDepthMaximum symlink depth to follow.integer

Check the options in your installed version with trufflehog filesystem --help.

  1. Identify the file or directory on the machine that will run TruffleHog.
  2. Pass that path to the filesystem command. When running in a container, choose a path visible inside the container.

Suggested contact (Atlas suggestion) · Host or repository owner

Suggested first check (Atlas suggestion) · Confirm the process can read one intended file from its runtime.

Setup reference checked 2026-11-22 · filesystem command declaration

$ trufflehog filesystem

Find credentials in a filesystem. pkg/sources/filesystem · main.go line 168

Open-source TruffleHog, read from the public code at commit ffdee00 (v3.99.9-6-gffdee00a). Newer releases may differ.

trufflehog filesystem flags
FlagWhat it doesType
--directoryPath to directory to scan. You can repeat this flag.strings
--include-pathsPath to file with newline separated regexes for files to include in scan.string
--exclude-pathsPath to file with newline separated regexes for files to exclude in scan.string
--max-symlink-depthMaximum depth to follow symlinks during filesystem scan.value

Recent changes

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

3 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

Docs OSS codeScraped, not reviewedFile and knowledge stores (Atlas grouping)

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. Truffle’s integrations page doesn’t list this connector, so the Atlas picked its category.