aquasecurity/trivy
在 GitHub 查看feat: add flag to pass credentials to different Git hosting platforms
Open
#6,833 创建于 2024年5月31日
help wantedkind/featuretarget/repository
描述
Discussed in https://github.com/aquasecurity/trivy/discussions/6832
Originally posted by psg18dhc May 31, 2024
Description
I noticed that when using BitBucket private repositories it's not possible to scan my code repo as i get auth errors.
GITHUB_TOKEN and GITLAB_TOKEN env vars do not work (because it's not a GitHub repo)
Is there a way to do this securely without having to make the repo public ?
i.e can we have a BITBUCKET_TOKEN env var specifically for this purpose ?
Regards Daniel C
Target
Git Repository
Scanner
None