aquasecurity/trivy

feat: add flag to pass credentials to different Git hosting platforms

Open

#6833 aperta il 31 mag 2024

Vedi su GitHub
 (1 commento) (6 reazioni) (0 assegnatari)Go (371 fork)batch import
help wantedkind/featuretarget/repository

Metriche repository

Star
 (35.000 star)
Metriche merge PR
 (Merge medio 5g 2h) (53 PR mergiate in 30 g)

Descrizione

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

Guida contributor