【发布时间】:2022-08-05 02:02:56
【问题描述】:
我正在尝试将 Trufflehog 与 circleci 集成以对每个 PR 进行秘密扫描。我使用了一个安装了 Trufflehog-3.6.11 二进制文件的 docker 镜像。我的 circleci 配置如下。
scan_trufflehog:
docker:
- image: gcr.io/********/trufflehog:3.6.11
auth:
username: ********
password: ********
steps:
- checkout
- run:
command: |
trufflehog filesystem --directory=. --debug -j
作业失败并出现错误:
{\"level\":\"debug\",\"msg\":\"running version 3.6.11\",\"time\":\"2022-07-28T12:40:02Z\"}
2022/07/28 12:40:02 [updater parent] run
{\"error\":\"cannot move binary (exit status 1)\",\"level\":\"fatal\",\"msg\":\"error occured with trufflehog updater ????\",\"time\":\"2022-07-28T12:40:02Z\"}
Exited with code exit status 1
如果我使用 git/github 选项而不是文件系统,我会得到同样的错误。 有什么建议我可能会出错吗?
标签: docker go security circleci scanning