forked from nashtech-garage/yas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add gitleaks
- Loading branch information
Showing
7 changed files
with
49 additions
and
4 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,12 @@ | ||
name: // At the end of every day | ||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Gitleaks check | ||
run: | | ||
docker pull zricethezav/gitleaks:v8.18.4 | ||
docker run --rm -v ${{ github.workspace }}:/work -w /work zricethezav/gitleaks:v8.18.4 detect --source="." --config="/work/gitleaks.toml" --verbose --no-git |
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,9 @@ | ||
k8s/charts/yas-configuration/values.yaml:generic-api-key:7 | ||
k8s/charts/yas-configuration/values.yaml:generic-api-key:9 | ||
k8s/deploy/cluster-config.yaml:generic-api-key:13 | ||
k8s/deploy/README.md:generic-api-key:80 | ||
k8s/deploy/README.md:generic-api-key:97 | ||
k8s/deploy/README.md:generic-api-key:99 | ||
payment/src/main/resources/db/changelog/data/changelog-0001-provider.sql:generic-api-key:5 | ||
payment/src/main/resources/db/changelog/data/changelog-0001-provider.sql:generic-api-key:5 | ||
payment/src/main/resources/db/changelog/data/changelog-0001-provider.sql:generic-api-key:5 |
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
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
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
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,24 @@ | ||
# Title for the gitleaks configuration file. | ||
title = "Gitleaks title" | ||
|
||
# Extend the base (this) configuration. When you extend a configuration | ||
# the base rules take precedence over the extended rules. I.e., if there are | ||
# duplicate rules in both the base configuration and the extended configuration | ||
# the base rules will override the extended rules. | ||
# Another thing to know with extending configurations is you can chain together | ||
# multiple configuration files to a depth of 2. Allowlist arrays are appended | ||
# and can contain duplicates. | ||
# useDefault and path can NOT be used at the same time. Choose one. | ||
[extend] | ||
# useDefault will extend the base configuration with the default gitleaks config: | ||
# https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml | ||
useDefault = true | ||
|
||
[allowlist] | ||
description = "global allow list" | ||
paths = [ | ||
'''test-realm.json''', | ||
'''realm-export''', | ||
'''keycloak-yas-realm-import.yaml''', | ||
'''target''' | ||
] |
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