Developer Tools · head to head
Cortex Xpanse vs Sourcegraph

Cortex Xpanse
Developer Tools
External attack surface management that scans the whole internet for your exposed assets
- From
- On request
- Free plan
- No

Sourcegraph
Developer Tools
Code search and intelligence platform for large codebases with Cody AI assistant
- From
- $16000/year
- Free plan
- No
The short version
- Sourcegraph is an enterprise code intelligence platform.
- Sourcegraph starts at $16000/yr; Cortex Xpanse prices on request.
- Where Cortex Xpanse falls short: pricing is not published, so budget and trial terms require a sales conversation.
- Where Sourcegraph falls short: enterprise pricing starting at $16k annually creates significant barrier for small teams.
How do Cortex Xpanse and Sourcegraph differ?
Cortex Xpanse and Sourcegraph differ on starting price (On request against $16000/year), pricing model (Quote against Subscription) and platforms (Web against Web, Self-hosted). Only the attributes on which Cortex Xpanse and Sourcegraph actually diverge.
| Attribute | Cortex Xpanse | Sourcegraph |
|---|---|---|
| Starting price | On request | $16000/year |
| Pricing model | Quote | Subscription |
| Platforms | Web | Web, Self-hosted |
Identical on both: free tier (No).
Not yet recorded: category for Cortex Xpanse, founded for Cortex Xpanse.
Which features does each one have?
They share no listed features; 6 appear only for Cortex Xpanse. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Cortex Xpanse
- Internet-wide discovery
- Asset attribution
- Risk prioritisation
- Automated playbooks
- CVE response
- M&A assessment
Only in Sourcegraph
Nothing recorded that Cortex Xpanse does not also cover.
What is each one used for?
Cortex Xpanse is most often brought in for an enterprise finding forgotten cloud assets and shadow IT; Sourcegraph for large-scale code migrations across hundreds of repositories. The jobs each tool is most often brought in to do.
Cortex Xpanse
- An enterprise finding forgotten cloud assets and shadow ITnot Sourcegraph
- An acquirer assessing the exposure of a target companynot Sourcegraph
- A security team responding to a new CVE across internet-facing assetsnot Sourcegraph
- A risk team reducing exposures flagged by cyber insurersnot Sourcegraph
Sourcegraph
- Large-scale code migrations across hundreds of repositoriesnot Cortex Xpanse
- Enterprise governance and code ownership trackingnot Cortex Xpanse
- AI-assisted bug hunting and security pattern detectionnot Cortex Xpanse
- Onboarding engineers into large unfamiliar codebasesnot Cortex Xpanse
- Regulatory compliance and code audit trailsnot Cortex Xpanse
Where do Cortex Xpanse and Sourcegraph fall short?
Cortex Xpanse's most cited limit: pricing is not published, so budget and trial terms require a sales conversation. Sourcegraph's: enterprise pricing starting at $16k annually creates significant barrier for small teams. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Cortex Xpanse
- Pricing is not published, so budget and trial terms require a sales conversation
- It only sees the external surface; internal asset and vulnerability coverage needs other tools
- Attribution of discovered assets can be wrong, so analysts still verify ownership
- Automated remediation needs integrations and approvals that take time to set up
- Palo Alto Networks sells overlapping Cortex Exposure Management, so the product boundary and licensing can be unclear
Sourcegraph
- Enterprise pricing starting at $16k annually creates significant barrier for small teams
- No free tier or standard plan published; all options require custom sales engagement
- Complex enterprise-only positioning limits adoption compared to GitHub Copilot's pervasiveness
- Requires indexing entire codebase; not suitable for small or ephemeral projects
How much do Cortex Xpanse and Sourcegraph cost?
Cortex Xpanse is priced on request; Sourcegraph starts at $16000/yr. Plan by plan below, from each vendor's own pricing page.
Cortex Xpanse
On request- Cortex XpanseOn request
- Subscription sized by organisation attack surface
- Automated remediation playbooks
- Quote only
Sourcegraph
$16000/year- Enterprise$16,000/yr
- Scales with team size
- Credits for AI features per user
- Deep Search
Which should you pick?
Choose Cortex Xpanse if
- You need internet-wide discovery.
- You also want asset attribution.
Questions people ask
- Is Cortex Xpanse or Sourcegraph better?
- It depends on the job. Cortex Xpanse fits an enterprise finding forgotten cloud assets and shadow IT; Sourcegraph fits large-scale code migrations across hundreds of repositories. Cortex Xpanse starts at On request and Sourcegraph at $16000/year.
- Which is cheaper, Cortex Xpanse or Sourcegraph?
- Cortex Xpanse starts at On request and Sourcegraph at $16000/year.
- Does Cortex Xpanse or Sourcegraph run on more platforms?
- Cortex Xpanse runs on Web. Sourcegraph runs on Web, Self-hosted.
- What is Cortex Xpanse best used for?
- Cortex Xpanse is most often used for an enterprise finding forgotten cloud assets and shadow it, an acquirer assessing the exposure of a target company, a security team responding to a new cve across internet-facing assets, a risk team reducing exposures flagged by cyber insurers. Of those, an enterprise finding forgotten cloud assets and shadow it and an acquirer assessing the exposure of a target company are not what Sourcegraph is typically brought in for.
- What can Cortex Xpanse do that Sourcegraph cannot?
- Cortex Xpanse covers Internet-wide discovery, Asset attribution, Risk prioritisation, Automated playbooks.
Answered from the vendors’ own pages
Cortex Xpanse: What is Xpanse used for?
Discovering and reducing risks on internet-facing assets, including ones you did not know existed.
Sourcegraph: How much does Sourcegraph cost?
Sourcegraph's pricing page lists a single Enterprise plan starting at $16K, which it describes as a minimum annual contract. The price includes credits for AI features and scales with team size. Volume pricing is available through sales.
SourceCortex Xpanse: Is it a vulnerability scanner?
It overlaps, but it scans the internet continuously and discovers assets, rather than scanning a list you provide.
Sourcegraph: Does Sourcegraph have a free plan?
The pricing page lists only the Enterprise plan and a Contact sales button, with no free or self-serve tier shown. Its FAQ includes a question about a free trial, but the answer was not visible in the page text. Sourcegraph does offer a public code search across more than 1M public repositories.
SourceCortex Xpanse: Does it fix issues?
It can run automated playbooks for remediation.
Sourcegraph: Can Sourcegraph be self-hosted?
Yes. The Enterprise plan includes single-tenant cloud, and the page also lists self-hosted as a deployment option. Enterprise admin and security controls are part of the plan.
SourceCortex Xpanse: Is the price published?
No.
Sourcegraph: How do Sourcegraph AI credits work?
Credits for AI features are included per user and can be pooled across the organisation. The pricing page states there is no monthly credit expiry, that purchased credit buckets roll over on renewal, and that larger volume credit buckets are an add-on.
SourceSourcegraph: Does Sourcegraph work with AI coding agents?
Sourcegraph offers a full MCP server, plus GraphQL and REST APIs and a CLI. The pricing page says it works with Claude Code, Cursor, Codex, Amp and more, giving agents context from the indexed codebase.
SourceRelated pages
More on Cortex Xpanse
More on Sourcegraph
Other head to heads
- Cortex Xpanse vs Tenable
- Cortex Xpanse vs Recorded Future
- Cortex Xpanse vs Qualys VMDR
- Cortex Xpanse vs ServiceNow Security Operations
- Cortex Xpanse vs ManageEngine Vulnerability Manager Plus
- Cortex Xpanse vs BigID
- Cortex Xpanse vs Jamf Pro
- Cortex Xpanse vs Osano
- Cortex Xpanse vs Orca Security
- Cortex Xpanse vs Omada Identity
- Cortex Xpanse vs Spot AI
- Cortex Xpanse vs Arnica
- Cortex Xpanse vs RoboForm
- Cortex Xpanse vs Securiti
- Cortex Xpanse vs Tanium
- Cortex Xpanse vs Varonis Data Security Platform
- Cortex Xpanse vs CyberGhost VPN
- Cortex Xpanse vs DataGrail
- Cortex Xpanse vs GitHub Copilot
- Cortex Xpanse vs Cody
- Cortex Xpanse vs Sweep
- Cortex Xpanse vs Bazel
- Cortex Xpanse vs Moonrepo
- Cortex Xpanse vs Nixpacks
- Cortex Xpanse vs Pieces for Developers
- Cortex Xpanse vs Sonatype Nexus Repository
- Cortex Xpanse vs Claude Code
- Cortex Xpanse vs Harness
- Cortex Xpanse vs HCP Terraform
- Cortex Xpanse vs Bitbucket
- Cortex Xpanse vs CodeSandbox
- Cortex Xpanse vs Depot
- Cortex Xpanse vs Neovim
- Cortex Xpanse vs Turborepo
- Cortex Xpanse vs Arduino Cloud
- Cortex Xpanse vs Daytona
- Sourcegraph vs Tenable
- Sourcegraph vs Recorded Future
- Sourcegraph vs Qualys VMDR
- Sourcegraph vs ServiceNow Security Operations
- Sourcegraph vs ManageEngine Vulnerability Manager Plus
- Sourcegraph vs BigID
- Sourcegraph vs Jamf Pro
- Sourcegraph vs Osano
- Sourcegraph vs Orca Security
- Sourcegraph vs Omada Identity
- Sourcegraph vs Spot AI
- Sourcegraph vs Arnica
- Sourcegraph vs RoboForm
- Sourcegraph vs Securiti
- Sourcegraph vs Tanium
- Sourcegraph vs Varonis Data Security Platform
- Sourcegraph vs CyberGhost VPN
- Sourcegraph vs DataGrail
- Sourcegraph vs GitHub Copilot
- Sourcegraph vs Cody
- Sourcegraph vs Sweep
- Sourcegraph vs Bazel
- Sourcegraph vs Moonrepo
- Sourcegraph vs Nixpacks
- Sourcegraph vs Pieces for Developers
- Sourcegraph vs Sonatype Nexus Repository
- Sourcegraph vs Claude Code
- Sourcegraph vs Harness
- Sourcegraph vs HCP Terraform
- Sourcegraph vs Bitbucket
- Sourcegraph vs CodeSandbox
- Sourcegraph vs Depot
- Sourcegraph vs Neovim
- Sourcegraph vs Turborepo
- Sourcegraph vs Arduino Cloud
- Sourcegraph vs Daytona
