Commit 5a549bb6 authored by FulcrandG's avatar FulcrandG
Browse files

Adding gitleaks job

parent e5511f7e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -7,5 +7,7 @@ gitleaks:
    name: "zricethezav/gitleaks:v6.1.2"
    entrypoint: [""]
  script:
    - gitleaks -v --pretty --repo-path . --commit-from=$CI_COMMIT_SHA --commit-to=$CI_COMMIT_BEFORE_SHA --branch=$CI_COMMIT_BRANCH
    - gitleaks -v --pretty --repo-path . --commit-from=$CI_COMMIT_SHA --commit-to=$CI_COMMIT_BEFORE_SHA --branch=$CI_COMMIT_BRANCH --report gitleaks-report.json
  artifacts:
    expose_as: 'gitleaks report'
    path: "gitleaks-report.json"
 No newline at end of file