Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding gitleaks as PR-Check #503

Merged
merged 2 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading