Commit 2e021628 authored by FulcrandG's avatar FulcrandG
Browse files

Adding expose_as feature for MRW

parent f57f1028
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -7,4 +7,8 @@ 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
 No newline at end of file
    - 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"
    paths: ["gitleaks-report.json"]
    when: always
 No newline at end of file