Skip to content

Add vulnerability-resolve GA to vulnerabilities details

David Pisek requested to merge 474047-add-dropdown-to-frontend into master

What does this MR do and why?

Vulnerabilty Resolve: GA

Per the latest designs, the actions that can be performed around on a vulnerability, should be inside a standard dropdown instead of our custom split-button.

When an AI-resolution is not available for the given vulnerability, the related action should also be disabled.

It also hides the "Explain Vulnerability" action that is embedded within the vulnerability details section, when the vulnerability_resolution_ga FF is enabled.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Description Before After
all actions available Screenshot_2024-08-01_at_3.17.00_PM Screenshot_2024-08-01_at_10.56.13_AM
AI-actions only Screenshot_2024-08-01_at_3.15.02_PM Screenshot_2024-08-01_at_10.55.27_AM
Resolution unavailable N/A Screenshot_2024-08-01_at_2.51.56_PM
Single action available Screenshot_2024-08-01_at_3.18.08_PM Screenshot_2024-08-01_at_2.52.47_PM
details section Screenshot_2024-08-01_at_3.20.52_PM Screenshot_2024-08-01_at_3.22.15_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #474047

Edited by David Pisek

Merge request reports

Loading