Add "explain this vulnerability" feature to vuln details page
What does this MR do and why?
This MR adds the "Explain this vulnerability" feature to the vulnerability details page:
How to set up and validate locally
- Enable the
openai_experimentation
,ai_experimentation_api
, andexplain_vulnerability
feature flags. - Clone this project: https://gitlab.com/gitlab-examples/security/security-reports
- Run a pipeline against the master branch.
- Go to Security -> Vulnerability report.
- Click on a vulnerability to go to the details page.
- Click on the "Explain this vulnerability" button.
- Verify that the AI response is loaded after several seconds.
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 #406633 (closed)
Edited by Daniel Tian