Skip to content
Connectors

Scanner deep dive

Slack

SourceNotifierGAEnterprise only · Hosted or self-hosted

Slack Continuous scans new messages, edits and shared files in conversations the bot has joined. Slack Enterprise Grid also supports a historical workspace scan.

Use cases and coverage

Scanning use cases

  • Watch an on-call channel for pasted keys

    Set up Slack Continuous and invite its bot to the on-call channel. It can inspect new messages and thread replies posted there.

  • Check files shared during troubleshooting

    Invite the bot to the team’s support channel before files are posted. Review findings from new file shares with the person who uploaded them.

Notification use case

Send a finding to the triage channel

Set up the Slack notifier for the team that owns triage. Connect a source scan so the team receives its findings in Slack.

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 Slack

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 Slack 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.

  • messages
  • thread replies
  • shared files
  • canvases
  • lists
  • direct messages
  • group DMs

What it reaches

7 supported · 1 qualified · 1 not documented

  • HistoryEnterprise Grid
  • Attachments✓
  • Public channels (including thread replies)✓
  • Edited messages✓
  • Canvases and lists✓
  • Private channels (bot must be invited)✓
  • Direct messages the bot is part of✓
  • Group DMs the bot is part of✓
  • Comments–

How deep it reads

0 supported · 1 qualified · 3 not documented

  • ArchivesEnterprise Grid
  • Binaries–
  • Base64–
  • Office docs–

How it runs

1 supported · 5 not documented

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

Limits

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

  • New Slack setups use the hosted Slack Continuous integration.
  • Ongoing monitoring covers conversations the bot belongs to. Historical scanning requires Slack Enterprise Grid.
  • Slack lists the discovery:write scope for its historical integration and describes its write action as unimplemented. Confirm the requested scopes during setup.
  • Self-hosted scanners aren't available for Slack Continuous; self-hosted setup applies only to the unsupported legacy scanner.

What TruffleHog documents

Integration guide

For Slack Continuous, invite the TruffleHog bot to the channels in scope. It scans new messages, edits and files there. The guide reserves historical scanning with this integration for Slack Enterprise Grid.

Read the Slack integration guide

Sources checked .

Scan setup and permissions

Set it up

Enterprise paths come from Truffle’s public docs.

Web interface

  1. Choose Slack Continuous in TruffleHog’s hosted Integrations screen and authorize the Slack app.
  2. Invite the bot to each conversation you want to monitor for new messages and files.
  3. For existing workspace content, confirm that your Slack plan includes Enterprise Grid before planning a historical scan.

Suggested contact (Atlas suggestion) · Slack workspace administrator and channel owners

Suggested first check (Atlas suggestion) · Confirm the bot has joined a pilot channel. For historical coverage, separately confirm the workspace plan.

Setup reference checked 2026-11-22 · Slack Continuous, Capabilities, Legacy Slack Scanner

In the web UI

  1. Add Integration, pick Slack, choose Slack Continuous.

Access

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

1 write permission: discovery:write (Historical (Enterprise Grid)).

Auth methods

  • Slack app authorization

Continuous (bot)

10 permissions
  • channels:historyread public channel messages
  • groups:historyread private channel messages
  • im:historyread DMs the bot is in
  • mpim:historyread group DMs the bot is in
  • files:readread shared files
  • channels:readsee public channel details
  • groups:readsee private channel details
  • im:readsee DM details
  • mpim:readsee group DM details
  • app_mentions:readreceive mention events

Historical (Enterprise Grid)

2 permissions · 1 write
  • discovery:readread existing org messages
  • discovery:writewrite messages to channels when the bot is mentioned (docs say not currently implemented)

Before you start

  • Authorize the Slack app.
  • Invite the bot to the conversations in scope for ongoing monitoring.

If Slack keys leak

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

Provider docs

The provider’s own pages for setting this up. Checked 2026-11-25.

Sending findings to Slack

Is Slack the right fit?

Sends to
A Slack incoming webhook URL
Follow-up when rotated or resolved
No
Signed payloads
No
Heartbeat
No
Reaches the leaker
No

When a secret is found

Slack messages for findings.

Send notifications for findings ✅

When it’s rotated Not supported

Not supported: no message when a finding is resolved.

Send notification when resolved ❌

For a rotation alert, see how to get both alerts.

Read from Truffle’s docs page, updated 12 May 2026. “No” means the page documents no such option.

Need something else? Other notifiers (Atlas advice)
  • An alert when a secret is found, and again when it’s rotated: Webhook. Notify on rotation sends a follow-up when the secret is rotated. Jira can instead close its issue (closed beta, self-hosted only).
  • A ticket for the team that owns the fix: Jira. One issue per secret, in the project you choose.
  • An email, copying whoever committed the secret: Email. ccLeaker adds the leaker when their email is available where the secret was found.
  • Findings in a SIEM or log platform: Webhook or Splunk. Webhook works with anything that accepts an HTTP POST. Splunk is alpha and self-hosted only.
  • Your own automation, such as SOAR or chatops: Webhook. Signed JSON payloads, rotation follow-ups and heartbeats.
  • Scanner logs, or local testing: Stdout. Writes findings to the scanner's own output. Self-hosted only; also in open source.

What the Slack message looks like

trufflehog-notifierAPP4:10 PM

Secret Found

TruffleHog Scan: Potential secrets detected!

Secret ID: 0

Secret Type: AWS

Verified: true

Source Name: test source

Source Type: SOURCE_TYPE_GITHUB

Redacted: testSecret***

Secret Found

TruffleHog Scan: Potential secrets detected!

Secret ID: 32851

Secret Type: AWS

Verified: true

Source Name: Filesystem

Source Type: SOURCE_TYPE_FILESYSTEM

Redacted: ‹AWS access key ID, left out›

File: ‹path, blanked in Truffle’s screenshot›.txt

account: ‹AWS account ID, left out›

arn: arnawsiam::‹AWS account ID, left out›:user/‹IAM user, left out›

resource_type: Access key

rotation_guide: https://howtorotate.com/docs/tutorials/aws/

user_id: ‹AWS user ID, left out›

‹…› marks a value left out because it identifies a real account or person. Everything else is as in Truffle’s screenshot; the app around the message is drawn without logos.

Truffle’s notes on the screenshot

  • customText, if used, populates here.
  • This is the file path where the secret was found.

What it shows

  • Each finding is its own “Secret Found” block; the example shows two.
  • Slack shows the “:aws:” inside the ARN as an AWS emoji, so the ARN reads “arn” then the emoji then “iam::…”.
  • No link back to the finding in TruffleHog appears in the example.

Rebuilt line by line from the example screenshot on Truffle’s Slack docs page. Values are the screenshot’s own, except those that identify a real account or person, which are marked ‹left out›. Read 2026-11-26. See the original on the docs page

Decide before you set up

Each question below sets one or more settings. Work through them with whoever administers your Slack workspace and the team that will act on alerts.

Where does your TruffleHog scanner run?
  1. 1. Which channel should findings go to?

    • Destination · Hosted: Not in the hosted form; how hosted picks the channel isn’t documented · Config: url
    • Hosted appThe hosted form has no destination field, and the docs don’t say how hosted picks the channel. (hosted)
    • SlackAn incoming webhook URL posts to one channel, picked when the webhook is created. To use a private channel, the person creating it must be in that channel. Source (self-hosted)
    • Truffle docsThe docs’ options table calls the field endpoint, but their example uses url. Test which one your scanner accepts. (self-hosted)
    • Atlas adviceEach post describes a found secret. A private channel for the people who handle incidents keeps that contained.
  2. 2. Who will look after the webhook URL?

    • Destination · Hosted: Not in the hosted form; how hosted picks the channel isn’t documented · Config: url
    • SlackSlack treats the webhook URL as a secret and revokes it if it leaks. A revoked URL stops your alerts. Source (self-hosted)
    • Atlas adviceKeep it in your secret manager, not in a config file in a repository. (self-hosted)
  3. 3. What happens after a message is posted?

    • Link to the finding · Hosted: form field “Include secret link in notification” · Config: includeSecretLink
    • Custom message prefix · Hosted: form field “Custom message prefix (optional)” · Config: customText
    • Truffle docsNothing is posted when a finding is resolved, so the channel won’t show what’s been fixed.
    • Atlas adviceAgree who picks up each post. If you need tracking, pair Slack with Jira.
    • Atlas adviceThe link opens the finding in TruffleHog; check that the channel’s members can sign in there.
  4. 4. Which findings should be sent?

    • Unverified findings · Hosted: Not in the hosted forms captured · Config: sendUnverified
    • Which sources · Hosted: Not in the hosted forms captured · Config: sourcesToNotify
    • Hosted appNeither setting appears in the hosted forms captured. (hosted)
    • Truffle docsWhich sources defaults to the sources in the same config file; you can pick ALL or a list instead. (self-hosted)
    • Atlas adviceUnverified findings add noise to a channel people read. Decide whether they belong there.

What you’ll fill in

Choose where your scanner runs to see the hosted form fields or the config keys.

Share these questions

0 of 4 answered. Copy them as a Markdown checklist, with your answers and sources, for a ticket or chat thread.

Not answered by the docs yet

  • Which field name the scanner expects, endpoint or url, given the docs use both.

“Atlas advice” is this site’s suggestion, not Truffle’s. Every setting is in the full settings table.

Notification setup guide

Web interface or local configuration

  1. Choose the channel that should receive findings and prepare its incoming webhook URL.
  2. Configure that URL in the Slack notifier. Scanning Slack conversations uses the separate Slack Continuous integration.

Suggested contact (Atlas suggestion) · Slack app administrator and receiving channel owner

Suggested first check (Atlas suggestion) · Check that a test notification lands in the intended channel.

Setup reference checked 2026-11-22 · Configuration

As a notifier

Docs page

This platform also receives findings. Its notifier setup is separate from the source above.

Status
GA
Open source
No
Cloud
Yes
On-premise
Yes

What it sends

  • TruffleHog results

Capabilities

  • Send notifications for findings✓
  • Send notification when resolved✕

Limits and docs issues

  • Docs inconsistency: the options table calls the field endpoint, but the example config uses url.

Settings

Behavior from Truffle’s docs. Hosted labels are from the app on 2026-11-24 and may change. Pairing a form label with a config key is the Atlas’s reading; most are near-literal.

Notifier settings, hosted and self-hosted
SettingWhat it doesHosted formConfig key
DestinationSelf-hosted: the Slack webhook URL to post toThe docs’ options table says endpoint; their example uses url.Not in the hosted form; how hosted picks the channel isn’t documentedurl
NameSharedA label for this connection“Name”name
Custom message prefixSharedYour text added to each notification“Custom message prefix (optional)”customText
Link to the findingSharedAdds a link to the secret in TruffleHog“Include secret link in notification”includeSecretLink
Which sourcesSharedALL, SOURCES_IN_THIS_CONFIG (default) or a list of sources in the configNot in the hosted forms capturedsourcesToNotify
Unverified findingsSharedAlso send findings TruffleHog couldn’t confirm are liveNot in the hosted forms capturedsendUnverified

Other options on the docs page

Notifier options
FieldWhat it doesType
endpointRequiredSlack webhook endpoint to send notifications to.string
  • Enterprise only.

Recent changes

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

9 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

DocsReviewed· 2026-12-01Chat apps

Evidence

Possible issue in Truffle’s docs

  • The scopes table asks for discovery:write, a write scope, but says the feature that uses it is not currently implemented. Worth asking whether it can be dropped.
  • The Connect sources index lists Slack as Self-Hosted and Hosted, but the Slack page says self-hosted scanners aren't available for Slack Continuous. Self-hosted setup exists only for the legacy scanner, which the page says is no longer supported.

Shown here as the docs state it. All docs issues.

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.