Scanner deep dive
Filesystem
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
Session tokens in Okta support attachments
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 scopeOkta 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 matrixWhat 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
- 1Choose files or directories visible to the self-hosted scanner and list their paths in its local configuration.
- 2Use 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.
| Field | What it does | Type |
|---|---|---|
paths | List of paths to scan. | list |
includePathsFile | File of newline-separated regex patterns to include. | string |
excludePathsFile | File of newline-separated regex patterns to exclude. | string |
skipBinaries | Skip binary files. | boolean |
maxSymlinkDepth | Maximum symlink depth to follow. | integer |
Check the options in your installed version with trufflehog filesystem --help.
- 1Identify the file or directory on the machine that will run TruffleHog.
- 2Pass 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
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.
| Flag | What it does | Type |
|---|---|---|
| --directory | Path to directory to scan. You can repeat this flag. | strings |
| --include-paths | Path to file with newline separated regexes for files to include in scan. | string |
| --exclude-paths | Path to file with newline separated regexes for files to exclude in scan. | string |
| --max-symlink-depth | Maximum 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
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.
- Source docs pageUpdated 12 May 2026
- Open-source packagepkg/sources/filesystem
- Sources indexStatus, edition, deployment