AI Scan for pull request APIs in public preview
TL;DR
GitHub now offers REST API endpoints at the organization and repository level for managing AI Scan for pull requests in code scanning. Teams can read and update whether the AI-powered security detections are enabled across repositories programmatically instead of configuring each one by hand in the UI. The public preview is available on github. com only, not GitHub Enterprise Server, and requires GitHub Advanced Security.
Nauti's Take
For security teams managing many repositories, this offers a practical opportunity to roll out AI-powered pull request checks centrally and audit by script where they are active. The limit is scope: it is still a public preview, runs on github.
com only and requires Advanced Security, which leaves smaller teams and Enterprise Server customers out for now. Teams already on GHAS can wire the endpoints into existing compliance scripts.