Update vulnerabilities query to be agent-specific
What does this MR do and why?
Update vulnerabilities query to be agent-specific
- before the agent details page security tab would show all cluster image vulnerabilities now it will only show vulnerabilites found in that particular agent
- add clusterAgentID field to filter out vulnerabilities by agent
Screenshots or screen recordings
Project Vulnerability Report | Agent Vulnerability Report |
---|---|
![]() |
![]() |
How to set up and validate locally
- Ensure your GDK has a GitLab Ultimate license
- Ensure your GDK is connected to the GitLab Runner
- Follow these docs to set up the kubernetes agent
- Navigate to a project
- Link the agent to a project
- Enable the
:cluster_vulnerabilities
feature flag - Navigate to the agent
- View the vulnerabilities
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #343912 (closed)
Edited by Alexander Turinske