Add Image filter to the group/security center Operational vulnerabilities vulnerability report

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Why are we doing this work

  • users want to see operational vulnerabilities and filter by the image they come from at the group/security center level

Relevant links

Non-functional requirements

  • Documentation
  • Testing:

Implementation plan

  • frontend extend the image_filter

    • group-level (with a GraphQL request similar to Project.vulnerabilityImages)
      • update the vulnerability request to filter by image: [String!]
      • modify Group.vulnerabilitySeveritiesCount to be used with image
    • security center (with a GraphQL request similar to Project.vulnerabilityImages)
      • update the vulnerability request to filter by image: [String!]
      • modify Group.vulnerabilitySeveritiesCount to be used with image
  • backend

    • group
      • update the group vulnerability request to filter by image: [String!]
      • modify Group.vulnerabilitySeveritiesCount to be used with image
    • security center
      • update the vulnerability request to filter by image: [String!]
      • modify InstanceSecurityDashboard.vulnerabilitySeveritiesCount to be used with image

Verification steps

  1. Ensure your GDK has a GitLab Ultimate license
  2. Ensure your GDK is connected to the GitLab Runner
  3. Follow these docs to set up the kubernetes agent
  4. Clone test-cis-with-agentid and run the pipeline
  5. Link the agent to a project
  6. Run the pipeline to generate vulnerabilities
  7. Navigate to the agent/group/security center vulnerability report
  8. View the vulnerabilities
Edited by 🤖 GitLab Bot 🤖