Add allowed vulnerabilities number information to policy drawer
What does this MR do and why?
This MR updates the policy drawer and adds an information about the allowed vulnerabilities in the summary.
Screenshots or screen recordings
Any number:
More than:
How to set up and validate locally
- Ensure the GitLab Ultimate license is enabled
- Navigate to a project/group => Security & Compliance => Policies => New policy => Scan result policy
- Create a new policy, setting either
0
or any non-zero value as allowed vulnerabilities - Click on the new policy in the policies list
- Depending on the value of allowed vulnerabilities, ensure the summary is showing either
any
ormore than X
in the policy drawer
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 #396992 (closed)
Edited by Martin Čavoj