Fixes and pull requests

Ask the agent for a fix, review it, and open a pull request.

Open a finding from Dashboard → Findings and ask the agent for a fix; you can turn it into a pull request or merge request.

Steps

Open a finding and go to Fix.

Request a fix. The agent proposes changes with a diff.

Include or exclude files, edit the diff, or revert to the agent's suggestion.

Open a pull request on GitHub, GitLab, or Bitbucket.

You can also download the patch instead of opening a PR. Opening PRs needs Starter or above.

To open pull requests for several drafted fixes at once, select AI Fix on the Findings page or on a scan's Findings tab and pick the findings. Each one gets its own branch and pull request.

The Suggested fix tab on a finding.

After the PR opens

A fix PR is titled after its finding, such as "Fix F-A056F2: SQL injection in order search", and opening it moves the finding to In progress.

When a PR is closed without merging, or declined on Bitbucket, its findings go back to Open, and each one's activity says "Pull request #N was closed without merging". A finding someone changed since, or that another open or merged PR covers, keeps its status. The finding's Fix tab then offers Open new PR. Reopening the PR moves its findings back to In progress.

On this page