// AI Platform Drift
GitHub agentic autofix for code scanning now GA, requires enterprise policy enablement
GitHub Copilot changelog · published 2026-10-15 17:04 UTC
WHAT CHANGEDGitHub's agentic autofix for code scanning alerts moved from preview to general availability on 15 October 2026. It requires enterprise administrators to enable a new "Agentic autofix" policy in Advanced Security policies before organization or repository administrators can turn it on. The feature replaces the free "Generate Fix" option with "Assign to Copilot" and works only on default branch alerts, not pull requests or other branches. Access via REST API uses assignee "copilot-swe-agent[bot]". Available only to GitHub Code Security and Advanced Security customers on Enterprise Cloud.
WHY IT MATTERSIf your enterprise administrator has not enabled the policy, your teams cannot use this feature even if they previously had access to code scanning autofix. The billing model changed: this now consumes AI Credits from your Code Security budget plus GitHub Actions minutes, displayed under "Advanced Security" product in enterprise billing. The free Generate Fix option is gone once this is enabled.
WHAT TO DOCheck with your enterprise administrator whether the "Agentic autofix" policy is enabled in Advanced Security policies. If you use code scanning alerts and want this capability, request enablement and verify a Copilot billing method is defined. If you have SKU-level budgets for Code Security AI credits, review whether current allocations account for autofix consumption.
Model-reported confidence 85% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## Agentic autofix for code scanning alerts general availability +https://github.blog/changelog/2026-10-15-agentic-autofix-for-code-scanning-alerts-general-availability +Thu, 15 Oct 2026 13:49:20 +0000 + +Agentic autofix for code scanning alerts is now generally available. It remediates alerts by working across your codebase the way a developer would: it explores relevant files, proposes a fix, and reruns CodeQL to confirm the fix closes the alert before opening a pull request for your review. Agentic autofix is available to GitHub Code Security and GitHub Advanced Security customers on GitHub Enterprise Cloud, including GitHub Enterprise Cloud with data residency. +How it works +When you assign a code scanning alert to Copilot, it: + +Explores relevant files across your codebase. +Generates a proposed fix. +Validates the fix works by rerunning CodeQL. +Iterates if needed, then opens a draft pull request ready for your review. + +The pull request includes a summary of the fix, why it closes the alert, and the validation steps Copilot took to confirm that it works. When the pull request containing the fix is ready, you can instruct Copilot to make further changes to it by commenting on the pull request or interacting with the session in the Agents tab of your repository. +How to use it +When enabled, agentic autofix replaces the free Generate Fix option on individual code scanning alerts with an Assign to Copilot button. +You can use agentic autofix: + +From any code scanning alert on the repository’s default branch, by assigning the alert to Copilot. +In the list of security alerts in your repository or security campaign, by selecting up to 25 alerts for Copilot to fix together in a single pull request. +Via the Update a Code Scanning Alert REST API by setting assignees to ["copilot-swe-agent[bot]"]. + +Agentic autofix supports code scanning alerts on the repository’s default branch. Alerts detected only on pull requests or other branches cannot be assigned to Copilot. +Access +Agentic autofix requires an enterprise administrator to enable access to it via the new “Agentic autofix” policy in Advanced Security policies. +Once the policy is enabled by an enterprise administrator, an organization or repository administrator can turn on agentic autofix in the Code Security settings for the organization or the repository. +Access also requires a Copilot billing method to be defined. +Billing +Agentic autofix for code scanning alerts consumes AI Credits from your Code Security budget and GitHub Actions minutes. AI Credit usage will be displayed in the “AI usage” section of enterprise billing and licensing as the “Advanced Security” product. You can also set SKU level budgets for Code Security AI credits. Learn more about Copilot usage-based billing. +Learn more +Learn more about agentic autofix in the documentation. +Join the discussion within the GitHub Community. + +The post Agentic autofix for code scanning alerts general availability appeared first on The GitHub Blog.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | New GA feature with billing implications, access controls, and API integration points for engineering teams. |
| signals | new feature general availability announcement · access control requirement: enterprise admin policy enablement · billing model: consumes AI Credits from Code Security budget · API change: REST API endpoint accepts copilot-swe-agent[bot] assignee · scope limitation: default branch only, not pull requests or other branches · customer tier requirement: GitHub Code Security and Advanced Security customers on Enterprise Cloud |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |