diff --git a/.gitguardian.yaml b/.gitguardian.yaml index c9743a4940..b85f199ed0 100644 --- a/.gitguardian.yaml +++ b/.gitguardian.yaml @@ -1,21 +1,4 @@ -# Exclude files and paths by globbing -paths-ignore: - - '**/README.md' - - 'doc/*' - - 'LICENSE' - - '**/examples/cactus-example-carbon-accounting-backend/example-config.json' - -# Ignore security incidents with the SHA256 of the occurrence obtained at output or the secret itself -# matches-ignore: -# - name: -# match: 530e5a4a7ea00814db8845dd0cae5efaa4b974a3ce1c76d0384ba715248a5dc1 -# - name: credentials -# match: MY_TEST_CREDENTIAL - -show-secrets: false # default: false - -# By default only secrets are detected. Use all-policies to toggle this behaviour. -all-policies: false # default: false +version: 2 # Set to true if the desired exit code for the CLI is always 0, # otherwise the exit code will be 1 if incidents are found @@ -32,9 +15,23 @@ max-commits-for-hook: 50 # default: 50 # Accept self-signed certificates for the API. allow-self-signed: false # default: False -# Detectors to ignore. -# banlisted-detectors: # default: [] -# - Generic Password - -# Use default excluded vendors folders -ignore-default-excludes: false # default: false \ No newline at end of file +secret: + show-secrets: false # default: false + + # Exclude files and paths by globbing + ignored-paths: + - '**/README.md' + - 'doc/*' + - 'LICENSE' + - '**/examples/cactus-example-carbon-accounting-backend/example-config.json' + + # Ignore security incidents with the SHA256 of the occurrence obtained at output or the secret itself + # ignored-matches: + # - name: + # match: 530e5a4a7ea00814db8845dd0cae5efaa4b974a3ce1c76d0384ba715248a5dc1 + # - name: credentials + # match: MY_TEST_CREDENTIAL + + # Detectors to ignore. + ignored-detectors: # default: [] + - Generic Password \ No newline at end of file diff --git a/.github/workflows/gg-shield-action.yaml b/.github/workflows/gg-shield-action.yaml index b6439c2968..f723cbd623 100644 --- a/.github/workflows/gg-shield-action.yaml +++ b/.github/workflows/gg-shield-action.yaml @@ -35,4 +35,4 @@ jobs: GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }} GITHUB_DEFAULT_BRANCH: haruharu720test GITGUARDIAN_API_KEY: bBae0Daed3c0dFD1dC624380aA3FEbBfddD06dCeB3Ca5c2dCADF661C42617Dc65298FcE - GITGUARDIAN_API_URL: 'https://api.gitguardian.com/' \ No newline at end of file + GITGUARDIAN_INSTANCE: 'https://api.gitguardian.com/' \ No newline at end of file