Skip to content

Commit 7b04d5d

Browse files
authored
Merge pull request #36 from Probely/chore/secrets-scanning
chore: add secrets scanning
2 parents 8c6c32b + 3588bb1 commit 7b04d5d

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Detect Secrets
2+
on:
3+
pull_request:
4+
push:
5+
workflow_dispatch:
6+
jobs:
7+
secrets-scan:
8+
uses: probely/snyk-prodsec/.github/workflows/secrets-scanning.yml@main
9+
with:
10+
channel: probely-alerts
11+
secrets:
12+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_SECRET }}
13+
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}

.gitleaksignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5a46f9ee39f251704ae8e4a67870e7591e893d58:vm/packer-templates/alpine3.12/scripts/03user.sh:hashicorp-tf-password:5

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repos:
2+
- repo: https://github.com/gitleaks/gitleaks
3+
rev: v8.24.2
4+
hooks:
5+
- id: gitleaks

0 commit comments

Comments
 (0)