goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.

Home Page:https://goharbor.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notation/Cosign accessory icon not matching in artifact details page

MinerYang opened this issue · comments

Coisgn and Notation signatures icon mapping properly when list accessories
Screenshot 2024-05-27 at 17 18 25

However it's not matching when click into artifact details page due to it populate purely by artifact type when get artifact itself
Screenshot 2024-05-27 at 17 22 28

GET /api/v2.0/projects/test/repositories/golang/artifacts/sha256:739a25d452fa86aaa5194ca3b26daf71667d61bebeebd8adaefc2d90c14c8d00?with_tag=false&with_scan_overview=true&with_sbom_overview=true&with_label=true&with_immutable_status=true

icon: "sha256:0048162a053eef4d4ce3fe7518615bef084403614f8bca43b40ae2e762e11e06"

Will add this as a follow-up issue in 2.12 since would like to add an option as withIcon to avoid performance issue