[frontend] Add resolve limit info message
Why are we doing this work
Initally, we will have a limit of the amount of vulnerabilities that can be auto-resolved per pipeline run. To make sure the user who configures the policy is aware of this, show an info message in the policy editor.
Non-functional requirements
-
Documentation: -
Feature flag: vulnerability_management_policy_type -
Performance: -
Testing: unit tests
Design
Implementation plan
- Add message to policy editor
Verification steps
- Go to https://gitlab.com/gitlab-org/govern/threat-insights-demos/verification-projects/vulnerability-management-policy/security-reports/-/security/policies
- Click "New policy"
- Click "Select policy" on the vulnerability management policy tile
- Verify there is an info alert, that is not dismissable, in the rules section of the policy editor, which mentions: "In each pipeline, a maximum of 1000 vulnerabilities that are no longer detected will be set to status Resolved until all have been auto-resolved."
Edited by Lorenz van Herwaarden