Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ if command -v gitleaks >/dev/null 2>&1; then
echo "⚡ Using local gitleaks binary"
SCAN_CMD="gitleaks detect \
--pipe \
--config=gitleaks.toml \
--config=.security/gitleaks.toml \
--report-format=json \
--report-path=.gitleaks_out/gitleaks-precommit.json \
--no-banner"
else
echo "Local gitleaks not found, using Docker fallback"
SCAN_CMD="docker run --rm -i -v \"$(pwd)\":/repo ghcr.io/gitleaks/gitleaks:v8.28.0 detect \
--pipe \
--config=/repo/gitleaks.toml \
--config=/repo/.security/gitleaks.toml \
--report-format=json \
--report-path=/repo/.gitleaks_out/gitleaks-precommit.json \
--no-banner"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Run Gitleaks Scan
uses: peer-network/peer_global_security/.github/workflows/gitleaks.yml@main
with:
config: gitleaks.toml
config: .security/gitleaks.toml

trivy_scan:
name: Run Trivy Security Scan
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.