Skip to content

Start here

OverviewConnect your agentClient onboarding

Guides

WorkspacesScan manualFix ReviewScheduled scans

Reference

CLI guideService API

For agents

docs/agents.mdllms.txt
Apex/Docs
⌘K
Connect your agent

Start here

OverviewConnect your agentClient onboarding

Guides

WorkspacesScan manualFix ReviewScheduled scans

Reference

CLI guideService API

For agents

docs/agents.mdllms.txt
Docs/Running scans/Fix Review workflow

Fix Review workflow

An end-to-end guide for verifying that a proposed fix actually resolves an Apex finding, from single-finding review through bulk and scheduled workflows.

9 min readUpdated Sep 8, 2026Workspace owners
Start from workspace

01What Fix Review answers

Fix Review is a verification workflow for known findings. It does not ask Apex to hunt for every new issue in the repository. It asks a narrower question: does this proposed target close the original finding?

Key idea

Use Fix Review after a fix exists. Use PR Scan when the security question is about a new diff, and use Standard or Audit scans when the system changed beyond the original finding.

02Before you start

  • The finding should be valid, still relevant, and specific enough for Apex to compare the proposed fix against the original issue.
  • The repository connection must still give Apex access to the repository and branch or pull request that contains the fix.
  • The fix should be pushed before review starts. Draft work can use the agent handoff flow, but the review starts after Apex can see the branch, PR, or MR.
  • One PR scan credit is required. PR Scan and Fix Review use the same PR scan credit pool.
  • For linked PR or MR review, keep the change focused on the finding. Unrelated refactors make the result harder to trust.

03Choose the target

The target determines the code Apex reviews. Pick the narrowest target that contains the fix and enough surrounding context to evaluate it.

Linked pull request or merge requestUse when the fix is still in code review and Apex should evaluate the proposed diff before merge.
Current repository branchUse when the fix has already landed or when the branch configured for the workspace is the source of truth.
Selected findingsUse when a triaged set of Todo findings has fixes ready across one or more repositories.
All eligible workspace findingsUse when the workspace has a backlog of Todo findings and Apex should recheck every eligible item it can access.

Fix Review and PR Scan share credits

They run different analyses, but each launch uses one PR scan credit. Before confirming a current-branch review, make sure the fix has been merged; unmerged PR changes are not included.

04Single finding workflow

  1. 1
    Open the finding
    Start from the finding detail view or a row in the workspace findings browser.
  2. 2
    Mark the fix target
    Attach one or more Fix PR or MR URLs when the fix is in review, or leave the selector empty to review the repository's current branch.
  3. 3
    Confirm and start Fix Review
    Confirm the exact PR or current-branch target and the one-credit charge. Apex then queues a fix_review scan with the original finding, evidence, fix instructions, and selected code target.
  4. 4
    Watch the finding card
    The finding shows queued or running state while Apex reviews the target and publishes the terminal result.
  5. 5
    Act on the verdict
    A verified result closes the loop. Issues found, fix not made, failed, or cancelled results should be handled before the finding is treated as resolved.

05Agent handoff workflow

Agent handoff is the path for teams using Codex, Claude Code, or another coding agent to prepare the fix before Apex verifies it.

  1. 1
    Copy the agent fix prompt
    Use the Apex fix instructions when a coding agent is preparing the patch. The prompt includes the security closure criteria, constraints, and validation requirements.
  2. 2
    Prove the regression first
    Before editing production code, the agent adds or identifies a focused regression test, runs it against the vulnerable baseline, and confirms that it fails for the expected security reason.
  3. 3
    Fix, rerun, and document
    The agent applies the smallest root-cause fix, reruns the regression and adjacent checks, and records the exact before-and-after evidence and validation commands in the PR or MR description.
  4. 4
    Create a focused PR or MR
    The agent keeps the change focused, adds "Fix prepared with Cantina Apex." to the description, and does not claim Apex verification before Fix Review completes.
  5. 5
    Add the hidden marker
    When Apex provides a handoff marker, keep it in the PR body exactly as generated so the webhook can match the review request to the finding.
  6. 6
    Post the start comment
    Post the generated Apex fix review command once on the PR or MR after the marker is present and the branch is ready for review.
  7. 7
    Let Apex publish back
    Apex links the review to the finding, runs the scan, and publishes provider comments or checks when that integration is available.

Post the command once

The generated PR or MR comment is the handoff trigger. Posting it repeatedly can create duplicate review attempts, so retry only after checking the finding status or after Apex support asks for a retry.

06Bulk and workspace review

Bulk Fix Review starts many targeted verification runs from one action. Use it after triage, when a set of known Todo findings has fixes ready on visible branches or provider review objects.

  • Use filters first. The bulk action follows the current visible Todo finding set or the explicitly selected rows.
  • Run preflight before starting. Apex checks eligibility, existing active reviews, already verified findings, repository access, and branch targets.
  • Review branch selectors for each repository. Override the default branch when fixes live on a release or integration branch.
  • Reconnect GitHub or GitLab when preflight reports missing access. Apex cannot verify code it cannot fetch.
  • Expect some findings to be skipped. Skips are reported for already verified findings, active reviews, invalid findings, missing repository context, or unavailable connections.

07Scheduled review

  • Turn on Auto-trigger fix review from the workspace schedule dialog when eligible Todo findings should be rechecked automatically.
  • Scheduled Fix Review can run with or without recurring full scans. Use both toggles when you want broad coverage plus fix verification.
  • Choose the branch Apex should inspect for scheduled rechecks. Use Workspace branch when fixes land on the workspace refs, or set a dedicated branch when fixes collect elsewhere.
  • Scheduled runs use the same capacity, eligibility, access checks, and result model as manual Fix Review.

Scheduled review is still targeted

Scheduled Fix Review rechecks eligible existing findings. It does not replace recurring full scans for new vulnerability discovery.

08Read the result

Where results appear
  • Finding detail comments and Fix Review status cards.
  • Workspace scan list and Fix Review scan tab.
  • Provider comments or checks when GitHub or GitLab side effects are available.
  • CLI status and finding views for command-line workflows.
What to do next
  • Merge or close the fix only after the result matches the team's review bar.
  • If issues remain, update the fix target and run Fix Review again.
  • Escalate to PR Scan or a full scan when unrelated security questions appear.
VerifiedApex found that the reviewed target resolves the original finding without an obvious adjacent regression in scope.
Issues foundThe target changed, but Apex still found a security concern that needs follow-up before the finding should be closed.
Fix not madeApex did not find the expected fix in the selected PR, MR, or branch.
Failed or cancelledThe review did not produce a usable verdict. Check repository access, branch selection, scan status, and then retry when the target is ready.

09Troubleshooting

  • No eligible findings: confirm the findings are Todo, valid, not already verified, and not already under active Fix Review.
  • Wrong code target: update the Fix PR or MR URL, clear it to review the current repository branch, or override the bulk branch selector.
  • Reconnect required: refresh the GitHub App installation or GitLab connection for the affected repositories.
  • Provider result missing: read the Apex finding result first. Provider comments and checks are side effects and can lag behind the Apex result.
  • Large unrelated diff: run a PR scan or a full Standard/Audit scan for new security questions outside the original finding.
Was this useful?
Last updated Sep 8, 2026 · v2026.09
← PreviousApex scan manualNext →Scheduled scans

On this page

  1. What Fix Review answers
  2. Before you start
  3. Choose the target
  4. Single finding workflow
  5. Agent handoff workflow
  6. Bulk and workspace review
  7. Scheduled review
  8. Read the result
  9. Troubleshooting

Related

Docs homeApex scan manualScheduled scansApex CLI guide