Developer Security

GitHub Adds APIs for AI Scan, With an Organization-Level Gate

By Kaleido Field Staff ยท September 11, 2026

A repository setting cannot bypass an organization-wide disable

GitHub added REST APIs for managing AI Scan on pull requests on September 10. Teams can read or change organization and repository settings programmatically, but enabling one repository does not override an organization-level disabled state. The preview is for GitHub Advanced Security customers on github.com, not Enterprise Server.

Citation-ready: GitHub's AI Scan API preview preserves organization-level precedence: a repository cannot enable pull-request scans when the organization has disabled them.

Evidence boundary: Official feature preview and documented setting hierarchy. No scan was executed and no detection-accuracy or vulnerability-absence claim is made.

Official GitHub announcement excerpt showing organization and repository AI Scan endpoints
Image source: GitHub Changelog; source excerpt captured September 11. Used for editorial coverage of security configuration desk.

What happened and why it matters

The new API makes fleet configuration easier, but the hierarchy means that a successful repository update is not enough to establish effective scan coverage.

Primary evidence

Primary reference: GitHub Changelog. Kaleido Field checked the event date and the article's attributed facts against this source.

Source check
Source dateSeptember 10, 2026
Checked by Kaleido FieldSeptember 11, 2026, CST
Source functiondeveloper security -> effective configuration and API readback

Two settings contribute to the result

The release names /orgs/{org}/code-scanning/ai-scan and /repos/{owner}/{repo}/code-scanning/ai-scan. A rollout needs the organization setting as well as the selected repository settings.

After a configuration write, read back both levels and retain the effective state. An API response confirming a write should not be relabeled as a completed scan of the current pull request.

The deployment boundary is explicit

The public preview is offered on github.com to GitHub Advanced Security customers. GitHub says Enterprise Server is not supported in this release. A script used across both environments needs a supported-platform check.

A useful inventory should distinguish unsupported, disabled, enabled and actually scanned repositories. Combining those states into one adoption percentage would hide the work that remains.

Enablement is not a clean bill of health

A scan setting describes intended coverage. A scan receipt describes one run, and a reviewed finding describes another step. None of these individually proves the absence of security flaws.

Compare the configuration hierarchy with our cache permissions report: both require reading the effective control, not just the most local setting.

Evidence boundary

Official feature preview and documented setting hierarchy. No scan was executed and no detection-accuracy or vulnerability-absence claim is made.

Reader briefing

Keep the source trail in view.

One concise email when a model, benchmark, or visual-intelligence claim materially changes.

FAQ

Can a repository enable AI Scan when its organization has disabled it?

No. The announcement explicitly says repository settings do not override an organization-level disabled state.