Skip to content

Commit 7ae17f5

Browse files
add gitleaks baseline and update security scan workflow
Configure Gitleaks to use baseline file for secret detection, allowing tracking of known findings and only failing on new secrets. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent b8e5619 commit 7ae17f5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/security-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Run Gitleaks
6868
uses: gitleaks/gitleaks-action@v2
6969
with:
70-
args: detect --source . --verbose --redact
70+
args: detect --source . --verbose --redact --baseline-path gitleaks-baseline.json
7171

7272
###############################################
7373
# 3. Run CodeQL using auto-detected languages

gitleaks-baseline.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

0 commit comments

Comments
 (0)