Files
public-setupfiles/.trufflehog-exclude.txt
J.A.R.V.I.S. 3ee89f3b4f
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
fix: exclude false-positive paths from TruffleHog scanning
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).
2026-10-22 18:14:00 +00:00

15 lines
660 B
Plaintext

# TruffleHog exclude paths — patterns are matched as regex against file paths.
# Each line is a separate regex pattern.
# Exclude the .git directory — it is git metadata, not tracked source.
# TruffleHog can find credentials (e.g. tokens in .git/config from CI checkout)
# that are not part of the repository content.
.git/.*
.git$
# Exclude Pi-hole blocklist files — they contain domain names from public
# blocklists that routinely match secret detector patterns (e.g. hex strings
# in subdomains matching Datadog API key/token detectors). These are data
# files, not source code, and no real secrets should be stored here.
pihole/combined_list\.txt