Skip to content

Commit

Permalink
Merge pull request #503 from Jonsy13/add-gitleaks
Browse files Browse the repository at this point in the history
Adding `gitleaks` as PR-Check
  • Loading branch information
Jonsy13 authored May 20, 2024
2 parents cd3c61f + 045dd54 commit a3f5998
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ jobs:
- name: checking syntax of shell script
run: bash -c 'shopt -s globstar nullglob; shellcheck **/*.{sh,ksh,bash}' || true

gitleaks-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run GitLeaks
run: |
wget https://github.com/gitleaks/gitleaks/releases/download/v8.18.2/gitleaks_8.18.2_linux_x64.tar.gz && \
tar -zxvf gitleaks_8.18.2_linux_x64.tar.gz && \
sudo mv gitleaks /usr/local/bin && gitleaks detect --source . -v
changes:
runs-on: ubuntu-latest
Expand Down
20 changes: 20 additions & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
a86a56788abdb38215b754e0adbc0266b59b0c66:custom/workflow-helper/postgres-helper/application/secret.yaml:generic-api-key:14
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/resilient-bank-of-anthos.yaml:hashicorp-tf-password:37
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/resilient-bank-of-anthos.yaml:generic-api-key:185
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/resilient-bank-of-anthos.yaml:generic-api-key:261
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/resilient-bank-of-anthos.yaml:generic-api-key:356
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/resilient-bank-of-anthos.yaml:generic-api-key:510
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/resilient-bank-of-anthos.yaml:generic-api-key:634
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/resilient-bank-of-anthos.yaml:generic-api-key:717
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/resilient-bank-of-anthos.yaml:generic-api-key:719
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/weak-bank-of-anthos.yaml:hashicorp-tf-password:37
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/weak-bank-of-anthos.yaml:generic-api-key:184
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/weak-bank-of-anthos.yaml:generic-api-key:260
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/weak-bank-of-anthos.yaml:generic-api-key:355
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/weak-bank-of-anthos.yaml:generic-api-key:508
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/weak-bank-of-anthos.yaml:generic-api-key:632
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/weak-bank-of-anthos.yaml:generic-api-key:715
debc54a699d9d858ec688c03afbec25b44e55f68:custom/workflow-helper/app-deployer/app-manifest/weak-bank-of-anthos.yaml:generic-api-key:717
18c021c800ef58808b1d761bff4aa345ebc07f78:custom/git-app-deployer/git-app-checker/main.py:hashicorp-tf-password:40
8d0421b73750e632c69bded02a2242cc94f210de:mysql-master/Dockerfile:generic-api-key:37
8d0421b73750e632c69bded02a2242cc94f210de:mysql-slave/Dockerfile:generic-api-key:37

0 comments on commit a3f5998

Please sign in to comment.