-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add secret scanning circleci job
- Loading branch information
Avishagp
committed
Oct 12, 2023
1 parent
6f44265
commit 4096d10
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
workflows: | ||
version: 2 | ||
CICD: | ||
jobs: | ||
- prodsec/secrets-scan: | ||
steps: | ||
- run: | ||
name: Install gitleaks | ||
command: | | ||
download_url=https://github.com/gitleaks/gitleaks/releases/download/v8.16.2/gitleaks_8.16.2_linux_x64.tar.gz | ||
echo Using ${download_url} | ||
curl -L ${download_url} --output gitleaks.tar.gz | ||
tar -xf gitleaks.tar.gz | ||
chmod +x ./gitleaks | ||
- run: | ||
name: Install gitleaks | ||
command: | | ||
download_url=https://github.com/gitleaks/gitleaks/releases/download/v8.16.2/gitleaks_8.16.2_linux_x64.tar.gz | ||
echo Using ${download_url} | ||
curl -L ${download_url} --output gitleaks.tar.gz | ||
tar -xf gitleaks.tar.gz | ||
chmod +x ./gitleaks |