> For the complete documentation index, see [llms.txt](https://docs.opsmx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opsmx.com/remediation-agents/code-agent/user-interface-overview/fixing-vulnerabilities-with-ai.md).

# Fixing Vulnerabilities with AI

AI Guardian helps you fix security issues using AI-generated suggestions.

### **To Remediate an Issue**

1. Select the issue you want to fix.
2. Click **Remediate**. Remediation views include an interactive chat to review and refine fixes.
3. Review the fix suggested by AI Guardian.&#x20;
4. Review the code changes.
5. Click **Approve**.

Once approved, AI Guardian creates a **Pull Request** in GitHub.

### **To Review and Merge the Pull Request**

1. Open the **Pull Request** created by AI Guardian.
2. Review the code changes in GitHub.&#x20;
3. If the changes look good, merge the **Pull Request**.

The fix is now applied to your repository.

### Rescan Anytime

After merging the Pull Request:

* You can rescan the project at any time.
* This helps confirm that the issue is fixed.
* It also checks for any new vulnerabilities.
