Skip to content

Commit c8d74c7

Browse files
committed
security: standardize secret scanning on TruffleHog
1 parent 413580a commit c8d74c7

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/governance.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,20 @@
1111
# (rust-ci, codeql, dependabot, release, scan/mirror/pages plumbing).
1212

1313
name: Governance
14-
1514
on:
1615
push:
1716
branches: [main, master]
1817
pull_request:
1918
workflow_dispatch:
20-
2119
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
2220
# updates do not pile up queued runs against the shared account-wide
2321
# Actions concurrency pool. Applied only to read-only check workflows
2422
# (no publish/mutation), so cancelling a superseded run is always safe.
2523
concurrency:
2624
group: ${{ github.workflow }}-${{ github.ref }}
2725
cancel-in-progress: true
28-
2926
permissions:
3027
contents: read
31-
3228
jobs:
3329
governance:
3430
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@861b5e911d9e5dcfb3c0ab3dd2a9a3c8fd0a1613

.machine_readable/contractiles/Justfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ deps-audit:
293293
# cargo audit
294294
# mix audit
295295
@command -v trivy >/dev/null && trivy fs --severity HIGH,CRITICAL --quiet . || true
296-
@command -v gitleaks >/dev/null && gitleaks detect --source . --no-git --quiet || true
297296
@echo "Audit complete"
298297

299298
# ═══════════════════════════════════════════════════════════════════════════════
@@ -530,7 +529,6 @@ install-hooks:
530529
# Run security audit
531530
security: deps-audit
532531
@echo "=== Security Audit ==="
533-
@command -v gitleaks >/dev/null && gitleaks detect --source . --verbose || true
534532
@command -v trivy >/dev/null && trivy fs --severity HIGH,CRITICAL . || true
535533
@echo "Security audit complete"
536534
@@ -781,3 +779,6 @@ handover-model path=".":
781779
782780
handover-human path=".":
783781
@./session/dispatch.sh handover human "{{path}}"
782+
783+
secret-scan-trufflehog:
784+
@command -v trufflehog >/dev/null && trufflehog filesystem . --only-verified || true

Justfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ deps-audit:
293293
# cargo audit
294294
# mix audit
295295
@command -v trivy >/dev/null && trivy fs --severity HIGH,CRITICAL --quiet . || true
296-
@command -v gitleaks >/dev/null && gitleaks detect --source . --no-git --quiet || true
297296
@echo "Audit complete"
298297

299298
# ═══════════════════════════════════════════════════════════════════════════════
@@ -530,7 +529,6 @@ install-hooks:
530529
# Run security audit
531530
security: deps-audit
532531
@echo "=== Security Audit ==="
533-
@command -v gitleaks >/dev/null && gitleaks detect --source . --verbose || true
534532
@command -v trivy >/dev/null && trivy fs --severity HIGH,CRITICAL . || true
535533
@echo "Security audit complete"
536534
@@ -781,3 +779,6 @@ handover-model path=".":
781779
782780
handover-human path=".":
783781
@./session/dispatch.sh handover human "{{path}}"
782+
783+
secret-scan-trufflehog:
784+
@command -v trufflehog >/dev/null && trufflehog filesystem . --only-verified || true

0 commit comments

Comments
 (0)