Skip to content

Commit

Permalink
chore: secrets scanning (#350)
Browse files Browse the repository at this point in the history
chore: add secrets scanning
  • Loading branch information
dragos-cojocari authored Jul 11, 2024
1 parent 7de0754 commit 1073ffe
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2.1

orbs:
prodsec: snyk/prodsec-orb@1
go: circleci/[email protected]
node: circleci/[email protected]
publish: snyk/publish@1
prodsec: snyk/[email protected]

defaults: &defaults
resource_class: small
Expand Down Expand Up @@ -116,6 +116,14 @@ workflows:
name: Lint
<<: *ignore_main_branch_filter

- prodsec/secrets-scan:
name: Scan repository for secrets
context:
- snyk-bot-slack
channel: alerts-api
trusted-branch: main
<<: *ignore_main_branch_filter

- security-scans:
name: Security Scans
context:
Expand Down
Empty file added .gitleaksignore
Empty file.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.2
hooks:
- id: gitleaks

0 comments on commit 1073ffe

Please sign in to comment.