1+ # DevOps Shield - The ultimate DevSecOps platform designed to secure your DevOps.
2+ # https://devopsshield.com
3+ # #############################################################
4+ # This is a DevOps Shield - Application Security - Code Security Template.
5+
6+ # This workflow template uses actions that are not certified by DevOps Shield.
7+ # They are provided by a third-party and are governed by separate terms of service, privacy policy, and support documentation.
8+
9+ # Use this workflow template for integrating code security into your pipelines and workflows.
10+
11+ # DevOps Shield Workflow Template Details:
12+ # ------------------------------------------------------------
13+ # Code: GH_SS_TRUFFLEHOG
14+ # Name: TruffleHog Secret Scanning
15+ # DevSecOpsControls: SS
16+ # Provider: Truffle Security Co.
17+ # Categories: Code Scanning, Secrets
18+ # Description:
19+ # TruffleHog is the most powerful secrets Discovery, Classification, Validation, and Analysis tool.
20+ # In this context secret refers to a credential a machine uses to authenticate itself to another machine.
21+ # This includes API keys, database passwords, private encryption keys, and more.
22+ # Find, verify, and analyze leaked credentials.
23+ # Read the official documentation to find out more.
24+ # For more information:
25+ # https://trufflesecurity.com/
26+ # https://github.com/trufflesecurity/trufflehog
27+ # ------------------------------------------------------------
28+ # Source repository: https://github.com/trufflesecurity/trufflehog?tab=readme-ov-file#octocat-trufflehog-github-action
29+ # #############################################################
30+
31+ name : TruffleHog Secret Scanning
32+
33+ on :
34+ push :
35+ pull_request :
36+ workflow_dispatch :
37+ schedule :
38+ - cron : 0 0 * * *
39+
40+ jobs :
41+ gitleaks :
42+ name : TruffleHog Secret Scanning
43+
44+ runs-on : ubuntu-latest
45+
46+ permissions :
47+ contents : read
48+
49+ steps :
50+ - uses : actions/checkout@v4
51+ with :
52+ fetch-depth : 0
53+
54+ - name : Run TruffleHog
55+ uses : trufflesecurity/trufflehog@v3
56+ id : trufflehog
57+ with :
58+ extra_args : --results=verified,unknown
0 commit comments