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