Skip to content

Update AI generated MR text

Samantha Ming requested to merge 434887-update-ai-mr-text into master

What does this MR do and why?

This text update includes legal disclaimers to the AI generated MR per proposal > #434887 (comment 1703167068)

## AI GENERATED PATCH

The suggested code changes were generated by GitLab Duo Vulnerability Resolution, an AI feature.  **Use this feature with caution.** Before you apply the code changes, carefully review and test them, to ensure that they solve the vulnerability, don't harm the functional behavior of your application or introduce new vulnerabilities.

The large language model that generated the suggested code changes was only provided with the affected lines of code, and the vulnerability in that code. It is not aware of any functionality outside of this context.

Please see [our documentation](https://docs.gitlab.com/ee/user/application_security/vulnerabilities/#vulnerability-resolution) for more information about this feature.  We'd love to hear [your feedback](https://gitlab.com/gitlab-org/gitlab/-/issues/435721) so we can improve on this feature as we work to bring it to general availability.

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

image

How to set up and validate locally

  1. Fork https://gitlab.com/gitlab-org/security-products/tests/webgoat.net
  2. Run a pipeline against the default branch. It will generate vulnerabilities.
  3. Go to the project vulnerability report page
  4. Click on the SAST vulnerability
  5. You will see the "Resolve with AI" button
  6. When clicked, it will create the AI-generated MR
  7. Ensure the text has the updated text

Related to #434887 (closed)

Edited by Samantha Ming

Merge request reports