Repository navigation
fix: stop disabling TruffleHog verification for verified-only scans #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lelia
merged 5 commits into
main
from
lelia/ce-351-fix-trufflehog-verified-only-behavior-and-clarify-exclude
Sep 10, 2026
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
0bc409b
fix: stop disabling TruffleHog verification for verified-only scans
lelia 12048e0
fix: read trufflehog_show_unverified through coerce_bool
lelia 64cf028
fix: fail the run when TruffleHog cannot scan
lelia 6091e52
fix: incorporate TruffleHog review feedback
lelia 372feb1
chore: merge origin main
lelia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -235,12 +235,20 @@ Include these in your workflow's `jobs.<job_id>.permissions` section. | |
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| secret_scanning_enabled: 'true' | ||
| # Optional: exclude directories | ||
| trufflehog_exclude_dir: 'node_modules,vendor,dist' | ||
| # Optional: show unverified secrets | ||
| # Optional: exclude paths (directory names, file names, or globs) | ||
| trufflehog_exclude_dir: 'node_modules,vendor,dist,**/appsettings.*.json' | ||
| # Optional: report unverified secrets too (default: verified and unknown) | ||
| trufflehog_show_unverified: 'true' | ||
| ``` | ||
|
|
||
| > **Secret verification runs on every scan and requires network egress.** By default only | ||
| > verified and unknown results are reported. Verified secrets are critical and blocking; | ||
| > unknown results are low severity and nonblocking. TruffleHog confirms each candidate | ||
| > against third-party validation endpoints, and a runner that cannot reach one reports the | ||
| > candidate as `unknown` instead of silently dropping it. Set | ||
| > `trufflehog_show_unverified: 'true'` to include candidates that were checked but not | ||
| > confirmed as valid as well. | ||
|
|
||
| **Container Scanning:** | ||
| ```yaml | ||
| - uses: SocketDev/[email protected] | ||
|
|
@@ -868,8 +876,8 @@ Every input has a CLI flag and environment-variable equivalent; the | |
| **Security Scanning:** | ||
| - `secret_scanning_enabled` — Enable secret scanning | ||
| - `disable_all_secrets` — Turn every secret-scanning feature off | ||
| - `trufflehog_exclude_dir` — Directories to exclude | ||
| - `trufflehog_show_unverified` — Show unverified secrets | ||
| - `trufflehog_exclude_dir` — Comma-separated paths to exclude (directory names, file names, or globs) | ||
| - `trufflehog_show_unverified` — Include unverified secrets alongside the verified and unknown results reported by default | ||
| - `trufflehog_notification_method` — Route secret findings to one notifier (`notification_method` is a deprecated alias) | ||
| - `socket_tier_1_enabled` — Socket Tier 1 reachability | ||
| - `socket_additional_params` — Extra arguments for `socket scan reach` | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.