Skip to content

GitHub Advanced Security

GitHub Advanced Security is now two paid add-ons for GitHub repositories. Secret Protection blocks credentials at push time and scans history, pull requests, issues and wikis using detectors built with 150+ token issuers, and Code Security runs CodeQL static analysis, dependency review and Dependabot, with Copilot proposing fixes and, since October 2026, opening draft pull requests that rerun CodeQL to confirm the alert closes. GitHub, Inc., a Microsoft subsidiary, sells both at $19 and $30 per active committer per month.

Updated 2026-11-21 · GHAS alternatives · github.com

What GHAS does

Secret blocking, CodeQL scanning and Copilot fixes built into GitHub repositories.

Blocks secrets at push time before they reach a repository

github.com

Scans for exposed secrets across git history, pull requests, issues and wikis; checks whether found secrets are still valid

github.com

Detects leaked secrets anywhere on public GitHub and attributes them to the customer's enterprise (public monitoring)

github.blog

Static analysis of code with CodeQL, with SARIF upload so findings from other scanners sit in one alert list

github.com

Reviews pull requests for vulnerable dependencies by comparing base and head branches

github.com

Groups alerts into security campaigns to track and burn down backlog across repositories and teams

github.com

Lets admins approve or reject developer requests to bypass push protection or dismiss alerts

github.com

Ranks Dependabot alerts with EPSS exploit-likelihood scores

github.com

Where AI does the work

Features as GitHub, Inc. names them.

Good fit

Engineering organizations already on GitHub Team or Enterprise Cloud that want secret blocking, SAST and dependency checks inside the pull request flow, with AI fixes from Copilot.

  • Push protection stops secrets before they land, with partner detectors from AWS, Azure, OpenAI and 150+ others
  • Agentic autofix takes up to 25 alerts, edits code, reruns CodeQL and opens a draft PR
  • AI Scan covers PHP, Shell, Terraform and Dockerfiles that CodeQL misses
  • Published per-committer prices, and many features are free on public repositories

Look elsewhere if

Teams on GitLab or Bitbucket, or on GitHub Enterprise Server who need the newest AI features, since the paid products require Team or Enterprise Cloud and several AI scans are github.com only.

  • AI Scan findings are advisory and cannot block merges; fork and Dependabot PRs are skipped
  • AI features draw on AI Credits billed separately from the per-committer fee
  • Code scanning for AI applications is a preview and not on Enterprise Server
  • Public leak monitoring is Enterprise-only; no compliance attestations listed in this profile

GHAS pricing

Plans and list prices as published.

PlanPriceBillingSource
GitHub Secret Protection$19 per active committer per monthmonthlygithub.blog 2026-11-21
GitHub Code Security$30 per active committer per monthmonthlygithub.blog 2026-11-21

Many features (CodeQL, secret scanning, push protection, Copilot Autofix, dependency review) are free on public repositories; dependency graph and Dependabot updates are free generally

Coverage, deployment and compliance

What it watches, where it runs, and what it connects to.

Covers

Source code in 10+ languages via CodeQLPHP, Shell, Terraform, Dockerfiles via AI ScanSecrets from 150+ provider partnersCustom and generic secret patternsDependencies via manifests and lock filesGitHub Actions workflowsAI apps: prompt injection, excessive agency

Runs as

SaaS on github.comGitHub Team (metered billing)GitHub Enterprise CloudEnterprise Cloud with data residencyGitHub Enterprise Server (fewer AI features)

Integrations

GitHub CopilotDependabotAzure DevOpsSARIF third-party scannersSecret scanning partners

Documented limits

  • Paid products require GitHub Team or Enterprise Cloud; on Team they are metered pay-as-you-go github.blog
  • AI Scan findings are advisory: they do not fail the check or block merges, and it skips fork and Dependabot PRs github.blog
  • Code scanning for AI applications is github.com only (not GitHub Enterprise Server) and in preview github.blog
  • AI Scan for pull requests consumes Code Security AI Credits (metered separately from the per-committer fee) github.blog
  • Public monitoring is Enterprise-plan only; not on Team github.com
  • CodeQL does not support Objective-C, Objective-C++, C++/CLI or C++/CX codeql.github.com

GHAS changes since 2025

Launches, deals and renames, newest first.

Alternatives to GHAS

Compare all 6 side by side

Should you shortlist GHAS?

If your code already lives on GitHub, price the two add-ons separately: Secret Protection at $19 is the cheaper first step, and Code Security at $30 adds CodeQL plus Copilot fixes. Budget AI Credits on top for AI Scan and agentic autofix, and treat the AI-app scanner and repository scan as previews. Teams outside GitHub, or needing deeper SCA reachability, should compare Snyk, Semgrep or Endor Labs.

Sources (13)
  1. docs.github.com/en/get-started/learning-about-github/about-github-advanced-security
  2. github.com/security/advanced-security/secret-protection
  3. github.com/security/plans
  4. github.blog/changelog/2026-10-28-public-monitoring-for-enterprises-generally-available
  5. github.com/security/advanced-security/code-security
  6. github.blog/changelog/2026-10-15-agentic-autofix-for-code-scanning-alerts-general-availability
  7. github.blog/changelog/2026-10-15-ai-scan-for-pull-requests-generally-available
  8. github.blog/changelog/2026-10-28-ai-scan-for-repositories-in-public-preview
  9. github.blog/changelog/2026-10-28-code-scanning-for-ai-applications-in-public-preview
  10. codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/
  11. docs.github.com/en/enterprise-server@latest/admin/overview/about-github-enterprise-server
  12. github.blog/changelog/2025-03-04-introducing-github-secret-protection-and-github-code-security/
  13. en.wikipedia.org/wiki/GitHub

Spotted something out of date? [email protected]