Scanner deep dive
TruffleHog API
The TruffleHog API lets your own tools pull findings, watch scans and notifiers, keep firewall allowlists current and trigger some actions. It's Enterprise only. To have findings pushed to your team instead, see Notify results.
Get access
1Read the API reference
- Log into your TruffleHog instance.
- In the left navigation, click Documentation.
- Click API Docs.
2Create an API key
- In your TruffleHog instance, open Settings → API Keys.
- Click Generate API Key, name it and pick an expiry: never, 1 day, 7 days, 3 months or 1 year.
- Copy the API Key ID and API Key Secret and store them somewhere secure.
Findings
Pull secrets and where they were found into a SIEM, data lake or dashboard.
- List secretsList findings and count them, deduplicated by secret the way the dashboard counts.
list-secrets + countItemsExported secrets column definitions · updated 12 May 2026 - Filter by rotation datePull findings by rotation date using date_rotated. The External Secrets API supports pagination.Release notes, October 2025 · updated 17 Feb 2026
- Secret locationsEvery place each secret was found, with cursor paging that stays fast on large tenants. v2 still works but is deprecated.
/api/v3/secret_locations/Release notes, July 2026 · updated 15 Jul 2026 - Secrets exportThe same filtered secrets export as the dashboard’s CSV download.Release notes, November 2026 · updated 12 Nov 2026
Operations
Watch scans and notifiers from your own monitoring, so a failure doesn't go unnoticed.
- Scan details and activity logScan health and failures, so you can route them into your own monitoring and alerting.Monitor scans · updated 09 Sep 2026
- Notifier healthEach notifier’s health status, so you can tell when alerts stop being delivered.Release notes, September 2026 · updated 21 Oct 2026
Network
Keep firewall allowlists in step with the scanners' egress addresses.
- Scanner IP addressesThe scanners’ egress IPs, including static NAT IPs, for firewall allowlists on sources.Release notes, July 2026 · updated 15 Jul 2026
Actions
Ask TruffleHog to do something now, instead of waiting for the next scan.
- Reverify a secretRe-check one secret now instead of waiting for the next scan. Supported only for secrets found by GitHub or Slack integrations.Reverify secrets · updated 06 Jul 2026
What this page doesn't cover
- The full API reference is inside each TruffleHog instance, behind a login. The Atlas hasn’t read it, so this list covers only what the public docs mention.
- Endpoint paths are shown only where the public docs print them.
Checked against the public docs on 2026-11-24. Fetched the public TruffleHog docs pages listed on each fact and read the quoted passage. An AI coding agent read them; no person has reviewed them yet. Next check: the Notify results page's Updated date changes, or a release note mentions notifier settings or the external API.