Generate SAST remediation guidance with (Beta)

Use to generate remediation guidance (including an issue summary, code analysis, and fix suggestion) for a SAST issue with a large language model (LLM).

Overview

When you run , it formulates prompts using:

  • The issue's Common Weakness Enumeration (CWE) identifier
  • The issue's description
  • The line number on which the issue was found
  • A code snippet that includes the issue (approximately 10 lines of code)

... that are sent to a private LLM service to generate remediation guidance that appears in , including:

  • Issue Summary: A short description of the issue.
  • Code Analysis: An analysis of the code in which the issue is identified.
  • Fix Suggestion: A revision (in code) that may remediate the issue.
Note: The guidance generates is not preserved or shared with other users in your organization. If you navigate to a different page or sign out of , the remediation guidance you generated previously is discarded.

is compatible with SAST issues (and all the languages in the SAST Language Support table).

Accuracy and completeness

Warning: generates results created by artificial intelligence (AI) or other automated technologies. Such results are provided for informational purposes only and should not be relied upon for any specific purpose without verification of its accuracy or completeness.

Enable

is disabled by default and can only be enabled by an Organization Administrator. To enable , follow these steps:
  1. Go to My Organization > General.
  2. Select Enable Polaris Assist.

Use

To use , follow these steps:
  1. Go to Portfolio, open an application, and open a SAST & SCA project.
  2. Select a SAST issue.
    The Issue Details panel appears.
  3. Select AI Insight powered by Polaris Assist.

    The Contributing Code Events panel opens, and generates an Issue Summary, Code Analysis, and Fix Suggestion that you may be able to use to remediate the issue.

    Warning: generates results created by AI or other automated technologies. Such results are provided for informational purposes only and should not be relied upon for any specific purpose without verification of its accuracy or completeness.

    Select Copy to copy an Issue Summary, Code Analysis, or Fix Suggestion to your clipboard.

  4. (Optional) Use the feedback buttons to submit positive () or negative () feedback.
    Tip: To run again (and generate new remediation guidance), refresh the page and repeat these steps.