Use AI to get triage suggestions on issues with your SAST projects. Manually accept or reject automated suggestions, and use filters to display triaged issues based on their status or the confidence level of the AI assessment.
Introduction
Polaris enables you to use AI-assisted triaging with issues found on SAST projects. This can be done on up to 20 issues at a time. The Black Duck LLM is used to assess the selected issues and provide recommendations, each of which are given a confidence rating. You can examine the AI-generated suggestions and either accept or reject them as needed. Each accepted suggestion initiates the standard approval workflow for the project. Canceling an ongoing AI triage job will stop incomplete triages on that job, but any completed triages in the job will retain their AI suggestions.
Please note, AI-assisted triage:
- Requires a minimum Coverity version of 2026.6.0. Attempting to use the feature with an earlier version of Coverity will cause an error.
- Is only available on SAST projects during its initial launch.
- Can be used by anyone who has permission to manually triage issues.
- Can only be used on tests that were run after the feature was enabled.
- Can't be used on local scans.
- Can only be performed on tests run in the past 30 days, due to how long source code is retained. You can still accept or reject a triage on scans older than 30 days, but you can't request a new AI-assisted triage if the source code is no longer available.
- Records all accepted or rejected AI suggestions in the relevant issue history.
Data sent to the LLM
The Polaris AI-assisted triage sends the following data to the LLM endpoint for analysis:
- Issue details such as checker name, merge key, function name, language, type / subtype, and all events in the defect trace (event descriptions, event tags, line numbers, and file paths).
- Relevant source code and code context.
- No historical triage data or version control information is sent to the LLM.
Suggestion confidence levels
| Confidence | Issue description |
|---|---|
| High |
|
| Medium | C or C++ issue found by a checker other than the 10 listed below. |
| Low | Any scenario not covered by high or medium confidence. |
The 10 checkers capable of returning an AI triage suggestion with high confidence are:
DEADCODEFORWARD_NULLMISSING_LOCKNULL_FIELDNULL_RETURNSOVERRUNRESOURCE_LEAKUNCAUGHT_EXCEPTUNINITUNINIT_CTOR
Enable or disable AI-assisted triage for your organization
If you've successfully requested access to the AI triage feature, you can enable or disable it across your organization. Doing this will change whether the feature is available to all applications and projects in your organization by default, but it can be independently enabled or disabled for applications and projects as needed.
To enable or disable AI-assisted triage for your organization, follow these steps:
Lock or unlock AI-assisted triage settings for your organization
As an organization admin, you can lock AI triage settings to prevent anyone who isn't an organization admin from making changes to them for applications and projects. This lasts until you decide to unlock the settings.
To lock or unlock AI-assisted triage settings for your organization, follow these steps:
Enable or disable AI-assisted triage for an application
If you've successfully requested access to the AI triage feature and you want to change the default availability of the feature for a specific application, you can enable or disable it for that application. Doing this will make the feature available to all projects in the application by default, but it can be independently enabled or disabled for projects as needed.
To enable AI-assisted triage for an application, follow these steps:
AI triage actions and reporting are now available on the application and affected projects.
The word Modified now appears in the AI Triage setting section for the application. You can remove the override by selecting Reset and confirming the action when prompted.
Enable or disable AI-assisted triage for a project
If you've successfully requested access to the AI triage feature and you want to change the default availability of the feature for a specific project, you can enable or disable it for that project.
To enable AI-assisted triage for a project, follow these steps:
AI triage actions and reporting are now available on the project.
The word Modified now appears in the AI Triage setting section for the project. You can remove the override by selecting Reset and confirming the action when prompted.
Run AI triage on project issues
If AI triage is enabled for a SAST project, you can use it to get AI suggestions for triaging issues. This can be done on up to 20 issues at a time, after which a new button appears in the row for each triaged issue. You can use this button to take action based on the AI-generated suggestions for each issue.
To run AI triage on project issues, follow these steps:
Cancel an in-progress AI triage job
If you want to stop an ongoing AI triage job before all issues have been triaged, you can cancel the job. Doing this has the following effects on issues in the job:
- Any in-progress triage is terminated. There might be a brief delay while the request is processed.
- Not-started triages are canceled.
- Completed triages are unaffected, and their AI suggestions are retained.
To cancel an in-progress AI triage job, follow these steps:
Filter a project's issues based on AI triage status
To make it easier to work with issues that have been triaged using AI, there are two specific filters available in the Issues tab for projects with AI triage enabled. The first lets you display issues that have pending AI suggestions, and the second lets you filter out issues based on the confidence score (High, Medium, or Low) of those suggestions.
To filter a project's issues based on AI triage status, follow these steps:
- Go to Portfolio.
- Select the name of the application containing the project you want to view.
- Select the name of the project.
- Select the filter (
) button.
- If you want to filter based on whether issues have an AI triage suggestion, under AI Triage Suggestion select either Yes or No.
- If you want to filter based on the confidence score of AI triaged suggestions, under AI Confidence Level select any of High, Medium, or Low.
- To remove any of the applied filters, deselect the corresponding checkbox or click Clear Filters.
Inspect an AI triage suggestion
After running an AI triage on an issue, a star icon next to its name indicates that there is an AI-generated suggestion awaiting a decision. Inspecting the suggestion provides more information about the nature of the issue, the recommended actions, and the confidence of the AI's assessment. You can accept or reject the suggestion here, as needed.
Accepting an AI triage suggestion will remove it, initiate the standard triage approval workflow for the project, and change the issue's Triage Status according to the result of the AI triage. For example, if the triage determines the issue to be a bug, accepting the suggestion updates its status to To Be Fixed, whereas a false positive or intentional behavior is updated to Dismissed.
Rejecting a suggestion will remove it but otherwise have no effect on the status of the issue.
To inspect the AI suggestion for an issue, follow these steps:
Accept or reject AI suggestions in bulk
After running an AI triage, a star icon next to an issue's name indicates that there is an AI-generated suggestion awaiting a decision. If you're ready to accept or reject the suggestions on multiple issues, you can do this in bulk to save time.
Accepting an AI triage suggestion will remove it, initiate the standard triage approval workflow for the project, and change the issue's Triage Status according to the result of the AI triage. For example, if the triage determines the issue to be a bug, accepting the suggestion updates its status to To Be Fixed, whereas a false positive or intentional behavior is updated to Dismissed.
Rejecting a suggestion will remove it but otherwise have no effect on the status of the issue.
To accept or reject AI suggestions in bulk, follow these steps:
- Go to Portfolio.
- Select the name of the application containing the project you want to view.
- Select the name of the project.
- Select the checkboxes of the issues you want to modify.
- Select Pending AI Triage Suggestions, then either Accept or Reject to update all selected issues.