fix: exclude false-positive paths from TruffleHog scanning #1

Open
WickedYoda wants to merge 1 commits from fix/trufflehog-false-positives into main
pull from: fix/trufflehog-false-positives
Owner

Add .trufflehog-exclude.txt to skip:

  • .git/ directory (git metadata, non-tracked)
  • pihole/combined_list.txt (blocklist with domain-name patterns
    matching Datadog secret detectors)

Update secret-scanning.yml to reference the exclude file via --exclude-paths.
Fixes code-scanning alerts #3, #4, #5 (false positives).

Add .trufflehog-exclude.txt to skip: - .git/ directory (git metadata, non-tracked) - pihole/combined_list.txt (blocklist with domain-name patterns matching Datadog secret detectors) Update secret-scanning.yml to reference the exclude file via --exclude-paths. Fixes code-scanning alerts #3, #4, #5 (false positives).
WickedYoda added 1 commit 2026-11-16 12:29:54 -06:00
fix: exclude false-positive paths from TruffleHog scanning
CodeQL / CodeQL Analysis (python) (pull_request) Waiting to run
Secret Scanning / Trufflehog Secret Scanning (pull_request) Waiting to run
Security Scans / ShellCheck (pull_request) Waiting to run
Security Scans / Python Dependency Audit (pull_request) Waiting to run
Security Scans / Docker Vulnerability Scan (pull_request) Waiting to run
ShellCheck / ShellCheck Linting (pull_request) Waiting to run
3ee89f3b4f
Add .trufflehog-exclude.txt to skip:
- .git/ directory (git metadata, non-tracked)
- pihole/combined_list.txt (blocklist with domain-name patterns
  matching Datadog secret detectors)

Update secret-scanning.yml to reference the exclude file via --exclude-paths.
Fixes code-scanning alerts #3, #4, #5 (false positives).
Some checks are pending
CodeQL / CodeQL Analysis (python) (pull_request) Waiting to run
Secret Scanning / Trufflehog Secret Scanning (pull_request) Waiting to run
Security Scans / ShellCheck (pull_request) Waiting to run
Security Scans / Python Dependency Audit (pull_request) Waiting to run
Security Scans / Docker Vulnerability Scan (pull_request) Waiting to run
ShellCheck / ShellCheck Linting (pull_request) Waiting to run
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/trufflehog-false-positives:fix/trufflehog-false-positives
git checkout fix/trufflehog-false-positives
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WickedYoda/public-setupfiles#1