17 lines
404 B
YAML
17 lines
404 B
YAML
---
|
|
gitleaks_scan:
|
|
image:
|
|
name: zricethezav/gitleaks:latest
|
|
entrypoint: [""]
|
|
stage: test
|
|
tags: [gitleaks, scan]
|
|
script:
|
|
- gitleaks detect --source=. --config=gitleaks.toml --report-format=json --report-path=gitleaks-report.json
|
|
allow_failure: false
|
|
only: [main, testing, merge_requests]
|
|
|
|
artifacts:
|
|
when: always
|
|
paths:
|
|
- gitleaks-report.json
|
|
expire_in: 1 week |