aquasecurity/trivy
Auf GitHub ansehenfeat: add flag to pass credentials to different Git hosting platforms
Open
#6.833 geöffnet am 31. Mai 2024
help wantedkind/featuretarget/repository
Repository-Metriken
- Stars
- (35.000 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 5T 2h) (53 gemergte PRs in 30 T)
Beschreibung
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