-
Notifications
You must be signed in to change notification settings - Fork 5
30 lines (27 loc) · 839 Bytes
/
trufflehog.yml
File metadata and controls
30 lines (27 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: TruffleHog Secret Scan
on:
push:
branches:
- main
pull_request:
jobs:
trufflehog:
runs-on: ubuntu-latest
concurrency:
group: trufflehog-${{ github.ref }}
cancel-in-progress: false
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Secret Scanning (entire repo)
uses: trufflesecurity/trufflehog@e42153d44a5e5c37c1bd0c70e074781e9edcb760 # v3.88.28
with:
base: ""
head: ${{ github.ref_name }}
extra_args: --results=verified,unknown