Add comment to AI feedback
What does this MR do and why?
This MR adds support for including comments in the AI feedback submission to explain vulnerability.
Note: There is an issue to standardize the feedback component, so this solution serves as an interim until that issue is resolved.
Screenshots or screen recordings
Before | After |
---|---|
With selection |
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 "Try it out" to open "Explain this vulnerability" 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 #413693 (closed)
Edited by Samantha Ming