Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

源码检测,配置gitlab地址报错 #421

Open
ahahaen opened this issue Jun 6, 2023 · 2 comments
Open

源码检测,配置gitlab地址报错 #421

ahahaen opened this issue Jun 6, 2023 · 2 comments

Comments

@ahahaen
Copy link

ahahaen commented Jun 6, 2023

2023-04-26 13:38:01 system 异常: 2023-04-26T05:38:01.285Z �[34mINFO�[0m Loaded trivy.yaml 2023-04-26T05:38:01.294Z �[34mINFO�[0m Vulnerability scanning is enabled 2023-04-26T05:38:01.329Z �[31mFATAL�[0m repository scan error: scan error: unable to initialize a scanner: unable to initialize a repository scanner: git clone error: authentication required 2023-04-26T05:38:01.285Z �[34mINFO�[0m Loaded trivy.yaml 2023-04-26T05:38:01.294Z �[34mINFO�[0m Vulnerability scanning is enabled 2023-04-26T05:38:01.329Z �[31mFATAL�[0m repository scan error: scan error: unable to initialize a scanner: unable to initialize a repository scanner: git clone error: authentication required

@alvin5840
Copy link
Collaborator

alvin5840 commented Jun 6, 2023

可以检查一下 gitlab 的认证凭据是否正确,例如是否存在空格

@harris1943
Copy link
Collaborator

git clone error: authentication required。
代码没有拉下来,gitlab属于私有仓库,需要填写凭据。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants