Skip to content

Commit bba6d81

Browse files
authored
chore: add secret scanning [DAST-14] (#19)
* chore: add secret scanning * chore: add slack channel
1 parent 4facdc8 commit bba6d81

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
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 }}

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-added-large-files
11+
- repo: https://github.com/gitleaks/gitleaks
12+
rev: v8.22.0
13+
hooks:
14+
- id: gitleaks

catalog-info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ metadata:
55
spec:
66
type: examples
77
lifecycle: "-"
8-
owner: probely-backend
8+
owner: probely-backend

0 commit comments

Comments
 (0)