针对本地工作流和流水线中秘密扫描的定制化 gitleaks 构建。
podman pull registry.gitlab.com/niclas-zone/ctr/gitleaks:latest
podman run --rm \
-v $(pwd):/repo \
-w /repo \
registry.gitlab.com/niclas-zone/ctr/gitleaks:latest \
detect --source . --verbose
secret-detection:
image: registry.gitlab.com/niclas-zone/ctr/gitleaks:latest
script:
- gitleaks detect --source . --verbose
Niclas Heinz
欢迎贡献!如果您有任何建议或改进,请提交问题或合并请求。
本项目采用 MIT 许可证。详情请参阅 LICENSE。