{"slug": "code-scanning-ai-scan-no-longer-requires-codeql-default-setup", "title": "Code scanning AI Scan no longer requires CodeQL default setup", "summary": "GitHub announced that AI Scan for pull requests now runs on repositories without CodeQL default setup enabled, removing the previous requirement that CodeQL default setup be configured. The change is in public preview for organization-owned and personal repositories on github.com for GitHub Advanced Security customers, while GitHub Enterprise Server is not supported for this release. Code scanning and AI Scan for pull requests must still be enabled at the repository, organization, or enterprise level, and no new setup step is required.", "body_md": "# Code scanning AI Scan no longer requires CodeQL default setup\n\nYou can now use AI Scan for pull requests to find security vulnerabilities, even when CodeQL default setup isn’t enabled on a repository. Previously, AI Scan for pull requests only ran on repositories where CodeQL default setup was configured.\n\n## [What’s changed](#whats-changed)\n\nCode scanning and AI Scan for pull requests must still be enabled at the repository, organization, or enterprise level, if the organization belongs to an enterprise. The same permission hierarchy still applies. There’s no new setup step. If you’ve already enabled GitHub code scanning’s AI Scan for your organization, it now runs more broadly across your eligible repositories, regardless of whether CodeQL default setup is configured.\n\nThis change is now in public preview for organization-owned and personal repositories on github.com for GitHub Advanced Security customers. GitHub Enterprise Server is not supported for this release.\n\nTo learn more, see [our docs about AI-powered security detections](https://docs.github.com/code-security/concepts/code-scanning/ai-powered-security-detections).\n\nJoin the discussion and leave feedback on [GitHub Community](https://github.com/orgs/community/discussions/201543).", "url": "https://wpnews.pro/news/code-scanning-ai-scan-no-longer-requires-codeql-default-setup", "canonical_source": "https://github.blog/changelog/2026-09-16-code-scanning-ai-scan-no-longer-requires-codeql-default-setup", "published_at": "2026-09-16 13:26:06+00:00", "updated_at": "2026-09-16 14:15:10.833666+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-products"], "entities": ["GitHub", "AI Scan", "CodeQL", "GitHub Advanced Security", "GitHub Enterprise Server"], "alternates": {"html": "https://wpnews.pro/news/code-scanning-ai-scan-no-longer-requires-codeql-default-setup", "markdown": "https://wpnews.pro/news/code-scanning-ai-scan-no-longer-requires-codeql-default-setup.md", "text": "https://wpnews.pro/news/code-scanning-ai-scan-no-longer-requires-codeql-default-setup.txt", "jsonld": "https://wpnews.pro/news/code-scanning-ai-scan-no-longer-requires-codeql-default-setup.jsonld"}}