Cybersecurity · head to head
AWS Security Hub vs Semgrep

AWS Security Hub
Cybersecurity
Unified cloud security posture and findings across AWS, Azure and Google Cloud
- From
- $3.75/resource unit per month
- Free plan
- No

Semgrep
Cybersecurity
Open-source static analysis tool for finding security bugs and enforcing code standards.
- From
- Free
- Free plan
- Yes
The short version
- Semgrep has a free plan, then $30/mo; AWS Security Hub starts at $3.75/mo.
- Only AWS Security Hub lists findings aggregation; only Semgrep lists static code scanning.
- Where AWS Security Hub falls short: its most useful findings come from other paid services such as GuardDuty and Inspector, so Security Hub alone is not detection.
- Where Semgrep falls short: free tier caps out at 10 contributors and 10 repositories.
How do AWS Security Hub and Semgrep differ?
AWS Security Hub and Semgrep differ on starting price, pricing model and free tier (No against Yes). Only the attributes on which AWS Security Hub and Semgrep actually diverge.
| Attribute | AWS Security Hub | Semgrep |
|---|---|---|
| Starting price | $3.75/resource unit per month | Free |
| Pricing model | Per resource unit per month, plus add-ons | Freemium |
| Free tier | No | Yes |
| Platforms | Web | Web, API, Linux, macOS, Windows |
Not yet recorded: category for AWS Security Hub, founded for AWS Security Hub.
Which features does each one have?
They share no listed features; 6 appear only for AWS Security Hub and 6 only for Semgrep. 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 AWS Security Hub
- Findings aggregation
- Posture management
- Exposure and risk analytics
- Inspector scans included
- Automation rules
- Multicloud coverage
Only in Semgrep
- Static code scanning
- Supply chain scanning
- Secrets detection
- Cross-file analysis
- AI-powered triage and remediation
- CI/CD integration
What is each one used for?
AWS Security Hub is most often brought in for one place for an AWS-centric security team to triage findings across accounts; Semgrep for scanning code for security vulnerabilities in CI/CD. The jobs each tool is most often brought in to do.
AWS Security Hub
- One place for an AWS-centric security team to triage findings across accountsnot Semgrep
- Continuous benchmark compliance for auditsnot Semgrep
- Prioritising vulnerabilities by actual exposurenot Semgrep
- Routing findings to a SIEM or ticketing systemnot Semgrep
Semgrep
- Scanning code for security vulnerabilities in CI/CDnot AWS Security Hub
- Detecting vulnerable open-source dependenciesnot AWS Security Hub
- Finding hardcoded secrets before code shipsnot AWS Security Hub
- Enforcing custom code standards with rule setsnot AWS Security Hub
- Prioritizing findings with AI-assisted triagenot AWS Security Hub
Where do AWS Security Hub and Semgrep fall short?
AWS Security Hub's most cited limit: depth for Azure and Google Cloud is shallower than a purpose-built multicloud CNAPP. Semgrep's: free tier caps out at 10 contributors and 10 repositories. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS Security Hub
- The per resource unit model scales with the size of the estate, so large fleets of instances and container images can cost more than expected
- Its most useful findings come from other paid services such as GuardDuty and Inspector, so Security Hub alone is not detection
- Depth for Azure and Google Cloud is shallower than a purpose-built multicloud CNAPP
- The pricing changed to a new model, so older guidance and calculators based on per check pricing no longer apply
- Partner Extended plan products are billed through AWS, which ties spending to AWS agreements rather than direct negotiation
Semgrep
- Free tier caps out at 10 contributors and 10 repositories
- Secrets scanning is priced as a separate module ($15/contributor) from Code and Supply Chain
- Self-managed repositories and custom CI/CD require the Enterprise tier
- AI credits are limited per tier and additional usage requires upgrading
How much do AWS Security Hub and Semgrep cost?
AWS Security Hub starts at $3.75/mo; Semgrep has a free plan, with paid plans from $30/mo. Plan by plan below, from each vendor's own pricing page.
AWS Security Hub
$3.75/resource unit per month- Essentials$3.75
- Posture management, risk analytics, and Inspector scans for EC2, ECR and Lambda
- Covers AWS, Azure and Google Cloud resources
- 30-day free trial
- Threat Analytics add-onOn request
- $4.00 per million CloudTrail management events
- Volume-based rates for data events, network logs and runtime activity
- ExtendedOn request
- Curated partner solutions billed per partner, see the pricing page
Semgrep
Free- FreeFree
- Up to 10 contributors
- Code and Supply Chain scanning
- 60 AI credits total
- Teams$30/mo
- Code, Supply Chain, or Secrets scanning per contributor
- Pro rules
- AI-powered triage and remediation
- EnterpriseOn request
- On-prem support
- Custom CI/CD
- 50 AI credits per developer/month
Which should you pick?
Choose AWS Security Hub if
- You need findings aggregation.
- You also want posture management.
Choose Semgrep if
- You need static code scanning.
- You want to start without paying.
- You work on Web, API, Linux, macOS, Windows.
- You also want supply chain scanning.
Questions people ask
- Is AWS Security Hub or Semgrep better?
- It depends on the job. AWS Security Hub fits one place for an AWS-centric security team to triage findings across accounts; Semgrep fits scanning code for security vulnerabilities in CI/CD. AWS Security Hub starts at $3.75/resource unit per month and Semgrep at Free.
- Which is cheaper, AWS Security Hub or Semgrep?
- Semgrep has a free tier; the other does not. Paid plans start at $3.75/resource unit per month for AWS Security Hub and Free for Semgrep.
- Does AWS Security Hub or Semgrep run on more platforms?
- AWS Security Hub runs on Web. Semgrep runs on Web, API, Linux, macOS, Windows.
- Can I use Semgrep for free?
- Yes. Semgrep has a free tier, so you can try it without paying. AWS Security Hub starts at $3.75/resource unit per month.
- What is AWS Security Hub best used for?
- AWS Security Hub is most often used for one place for an aws-centric security team to triage findings across accounts, continuous benchmark compliance for audits, prioritising vulnerabilities by actual exposure, routing findings to a siem or ticketing system. Of those, one place for an aws-centric security team to triage findings across accounts and continuous benchmark compliance for audits are not what Semgrep is typically brought in for.
- What can AWS Security Hub do that Semgrep cannot?
- AWS Security Hub covers Findings aggregation, Posture management, Exposure and risk analytics, Inspector scans included. Semgrep covers Static code scanning, Supply chain scanning, Secrets detection, Cross-file analysis.
Answered from the vendors’ own pages
AWS Security Hub: How much does Security Hub cost?
The AWS example prices the Essentials plan at $3.75 per resource unit per month, with a 30-day free trial.
Semgrep: What does Semgrep cost?
The Free edition covers up to 10 contributors; Teams starts at $30/contributor/month for Code scanning (Supply Chain also $30, Secrets $15); Enterprise is custom-priced.
SourceAWS Security Hub: What is a resource unit?
An EC2 instance counts as one; Lambda functions count at one twelfth, per AWS.
Semgrep: Is there a free plan, and what are its limits?
Yes, the Free edition supports up to 10 contributors and 10 repositories with Code and Supply Chain scanning plus 60 AI credits total.
SourceAWS Security Hub: Does it replace GuardDuty?
No. GuardDuty detects threats; Security Hub aggregates and prioritises findings.
Semgrep: How is usage metered?
Pricing is per contributor, defined as someone who made at least one commit to a scanned private repository in the past 90 days.
SourceSemgrep: Is there special pricing for startups?
Yes, Semgrep offers special startup pricing upon request for early-stage companies.
SourceRelated pages
More on AWS Security Hub
Other head to heads
- AWS Security Hub vs Palo Alto Networks Prisma Cloud
- AWS Security Hub vs Microsoft Sentinel
- AWS Security Hub vs CrowdStrike Falcon Cloud Security
- AWS Security Hub vs Tenable
- AWS Security Hub vs DataGrail
- AWS Security Hub vs ZenGRC
- AWS Security Hub vs OneTrust
- AWS Security Hub vs JumpCloud
- AWS Security Hub vs Genetec Security Center
- AWS Security Hub vs Veracode
- AWS Security Hub vs BigID
- AWS Security Hub vs ConnectWise Automate
- AWS Security Hub vs CookieYes
- AWS Security Hub vs Cortex Xpanse
- AWS Security Hub vs Microsoft Defender for Cloud
- AWS Security Hub vs CrowdStrike Falcon Complete
- AWS Security Hub vs Cortex XSIAM
- AWS Security Hub vs CrowdStrike Falcon Next-Gen SIEM
- AWS Security Hub vs Snyk
- AWS Security Hub vs Checkmarx One
- AWS Security Hub vs Arnica
- AWS Security Hub vs Aikido
- AWS Security Hub vs Socket
- AWS Security Hub vs Cycode
- AWS Security Hub vs Apiiro
- AWS Security Hub vs Trivy
- AWS Security Hub vs Grype
- AWS Security Hub vs Bitwarden
- AWS Security Hub vs Infisical
- AWS Security Hub vs Swimlane
- AWS Security Hub vs Thoropass
- AWS Security Hub vs Transmit Security
- AWS Security Hub vs Wordfence
- AWS Security Hub vs Abnormal AI
- AWS Security Hub vs Addigy
- Semgrep vs Palo Alto Networks Prisma Cloud
- Semgrep vs Microsoft Sentinel
- Semgrep vs CrowdStrike Falcon Cloud Security
- Semgrep vs Tenable
- Semgrep vs DataGrail
- Semgrep vs ZenGRC
- Semgrep vs OneTrust
- Semgrep vs JumpCloud
- Semgrep vs Genetec Security Center
- Semgrep vs Veracode
- Semgrep vs BigID
- Semgrep vs ConnectWise Automate
- Semgrep vs CookieYes
- Semgrep vs Cortex Xpanse
- Semgrep vs Microsoft Defender for Cloud
- Semgrep vs CrowdStrike Falcon Complete
- Semgrep vs Cortex XSIAM
- Semgrep vs CrowdStrike Falcon Next-Gen SIEM
- Semgrep vs Snyk
- Semgrep vs Checkmarx One
- Semgrep vs Arnica
- Semgrep vs Aikido
- Semgrep vs Socket
- Semgrep vs Cycode
- Semgrep vs Apiiro
- Semgrep vs Trivy
- Semgrep vs Grype
- Semgrep vs Bitwarden
- Semgrep vs Infisical
- Semgrep vs Swimlane
- Semgrep vs Thoropass
- Semgrep vs Transmit Security
- Semgrep vs Wordfence
- Semgrep vs Abnormal AI
- Semgrep vs Addigy
