> 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/code-to-cloud-security-and-scanners/code-security/sast/ai-remediation.md).

# AI Remediation

Automated workflow is integrated into Scan Now, enabling security vulnerabilities identified by OpsMx Delivery Shield (DS) during the Software Development Life Cycle (SDLC) to be automatically routed to OpsMx AI Guardian (AIG) for remediation. This integration focuses on code-level fixes for Static Application Security Testing (SAST) and Software Composition Analysis (SCA) findings in supported languages such as Java and Go, helping accelerate the Mean Time to Remediate (MTTR).

### To Enable AI-Based Remediation Details

AI Remediation is integrated in the Scan Now option for Github and Bitbucket repositories.&#x20;

1. Expand the Github or Bitbucket project for which you want to view the remediation details.&#x20;
2. Click **View Reports**.

<figure><img src="/files/xyqDqRKWEASvWLC3rEOH" alt=""><figcaption></figcaption></figure>

3. The scan results page along with the various scan findings are listed.&#x20;
4. Select **SAST**.&#x20;
5. For the component which you want to remediate, expand it and click the **Remediate** option.&#x20;

<figure><img src="/files/s1UJnWmgVhp6wO5uSHk5" alt=""><figcaption></figcaption></figure>

3. The AI Remediation assistant remediates the issue and provides a complete analysis of the issue.&#x20;
4. It provides the explanation, remediation changes and a confident solution for the issue.&#x20;

<figure><img src="/files/0IYBufvcrEJkyL7VYBMq" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/fikeXGHAKag7xGONADNc" alt=""><figcaption></figcaption></figure>

If you wish to proceed with the resolution you can click **Approve**.&#x20;
