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

Vulnerability Data Does not Load #272

Open
billabongrob opened this issue Mar 13, 2024 · 3 comments
Open

Vulnerability Data Does not Load #272

billabongrob opened this issue Mar 13, 2024 · 3 comments

Comments

@billabongrob
Copy link

billabongrob commented Mar 13, 2024

All images show as having None for the vulnerability.
Screenshot 2024-03-13 at 9 30 57 AM

@xuancan1997
Copy link

@billabongrob I found that harbor get api to version 1.1
so change line 60 of file /node_modules/@backsellerit/backstage-plugin-harbor-backed/dist/index.cjs.js
to const vulnKey = "application/vnd.security.vulnerability.report; version=1.1";
Then it will work

@xuancan1997
Copy link

Another issue is Learn More link is wrong.
You can change this line of file HarborRepository-4d269d63.esm.js (backstage-plugin-harbor/dist/esm)
Line 59: to: ${rowData.repoUrl}/artifacts-tab/artifacts/${rowData.tag},

@johanhammar
Copy link
Contributor

@billabongrob I found that harbor get api to version 1.1 so change line 60 of file /node_modules/@backsellerit/backstage-plugin-harbor-backed/dist/index.cjs.js to const vulnKey = "application/vnd.security.vulnerability.report; version=1.1"; Then it will work

Sounds like the issue I reported in the backend plugin. See

container-registry/backstage-plugin-harbor-backend#59

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

No branches or pull requests

3 participants