[CS For Registry] Add tag details to list vulnerabilities page

Description

Include tag details on the show vulnerabilities page following the design at https://gitlab.com/groups/gitlab-org/-/uploads/05661a938d83a646c96e70e837a0e2ee/Option_3-newtab-vulnerability-unfiltered.png

Note:

  1. Explore options like linking to the registry image or utilizing existing information due to potential cost implications of adding tag details.
  2. Given the significance of this issue, consider breaking it down into multiple sub-issues.
  3. This could potentially be elevated to an epic.

User Impact

Users should be able to view tag details as depicted in the design at https://gitlab.com/groups/gitlab-org/-/uploads/05661a938d83a646c96e70e837a0e2ee/Option_3-newtab-vulnerability-unfiltered.png for vulnerabilities identified by CS for the registry.

Non-functional requirements

  • FF: This feature should be toggleable via a feature flag.
  • Testing: Incorporate unit tests/specs.

Implementation plan

Add the container repository url to graphql field.

Verification steps

  1. Activate the feature flag.
  2. Enable the CS for registry feature.
  3. Confirm the presence of tag details on vulnerability page.
Edited by Aditya Tiwari