Cybersecurity · head to head
AWS WAF vs Cosign

AWS WAF
Cybersecurity
Managed web application firewall for CloudFront, load balancers and APIs on AWS
- From
- $5/month
- Free plan
- No

Cosign
Cybersecurity
Signs and verifies container images and artifacts, with or without managing keys
- From
- Free
- Free plan
- Yes
The short version
- Cosign is free; AWS WAF starts at $5/mo.
- Only AWS WAF lists web ACLs and rules; only Cosign lists keyless signing.
- Where AWS WAF falls short: it only attaches to a fixed list of AWS resources, so applications hosted outside AWS or behind another CDN cannot use it.
How do AWS WAF and Cosign differ?
AWS WAF and Cosign differ on starting price ($5/month against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS WAF and Cosign actually diverge.
Not yet recorded: category for AWS WAF.
Which features does each one have?
They share no listed features; 6 appear only for AWS WAF and 6 only for Cosign. 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 WAF
- Web ACLs and rules
- Managed rule groups
- Bot Control
- Fraud Control
- Rate-based rules
- Logging
Only in Cosign
- Keyless signing
- Key and KMS signing
- Registry-native storage
- In-toto attestations
- Offline verification
- Trusted root and signing config
What is each one used for?
AWS WAF is most often brought in for rate limiting login and API endpoints that sit behind CloudFront; Cosign for meeting a customer or regulatory requirement for signed artifacts. The jobs each tool is most often brought in to do.
AWS WAF
- Blocking SQL injection, cross-site scripting and known bad inputs in front of an Application Load Balancernot Cosign
- Rate limiting login and API endpoints that sit behind CloudFrontnot Cosign
- Adding bot detection to a retail site already hosted on AWSnot Cosign
- Applying one set of WAF rules across many accounts through AWS Firewall Managernot Cosign
Cosign
- Signing container images in a build pipeline without managing long-lived private keysnot AWS WAF
- Attaching a signed bill of materials to a release so consumers can verify its provenancenot AWS WAF
- Meeting a customer or regulatory requirement for signed artifactsnot AWS WAF
- Verifying third-party images before they enter an internal registrynot AWS WAF
Where do AWS WAF and Cosign fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS WAF
- It only attaches to a fixed list of AWS resources, so applications hosted outside AWS or behind another CDN cannot use it
- Charges come from several meters at once (web ACL, rules, rule groups, requests, logging, and per-feature fees), so predicting a bill needs a worksheet rather than a single price
- Account Takeover Prevention and Fraud Control start at $1,000 per million requests, so protecting a busy login endpoint can cost more than the web ACL itself
- Managed rules ship in count-first workflows and generate false positives on unusual payloads, so someone has to review logs and tune exclusions
- Request body inspection is capped by default, and inspecting beyond the limit or using more than the default capacity units carries extra per-request charges
Cosign
- Keyless signing inherits every weakness of the identity provider behind it. Sigstore’s own threat model states that if an identity provider is compromised, Sigstore will issue certificates to those identities, so a compromised account produces perfectly valid signatures
- A signature proves who signed, never whether they should have. The documentation is explicit that Sigstore cannot determine authorisation, so every consumer must write and maintain their own identity and issuer policy or verification means nothing
- Nothing is enforced without an admission controller. Signing changes what you can prove, not what runs, and the official policy controller has a small maintainer base for a component sitting in a cluster admission path
- Upgrades break pipelines. Version 3 changed defaults, version 4 is announced as removing legacy functionality and roughly half the command line flags, and two official client libraries still lacked support for the new log format as of mid 2026
- Signatures do not expire. An artifact signed before a maintainer account was compromised and one signed after are indistinguishable unless somebody is actively monitoring the transparency log, and almost nobody is
How much do AWS WAF and Cosign cost?
AWS WAF starts at $5/mo; Cosign is free to use. Plan by plan below, from each vendor's own pricing page.
AWS WAF
$5/month- Pay-as-you-go$5/mo
- $5.00 per web ACL per month
- $1.00 per rule and $1.00 per rule group per month
- $0.60 per million requests
- Bot Control$10/mo
- $10.00 per web ACL per month subscription
- Common: $1.00 per million requests, first 10 million free
- Targeted: $10.00 per million requests, first million free
- Account Takeover and Fraud Control$10/mo
- $10.00 per web ACL per month per rule group
- $1,000 per million requests for the first 2 million, falling to $50 per million at the highest tier
Cosign
Free- CosignFree
- Apache-2.0
- Public Sigstore infrastructure free to use
- No usage limits published
Which should you pick?
Choose Cosign if
- You need keyless signing.
- You want to start without paying.
- You work on macOS, Linux, Windows, Self-hosted.
- You also want key and kms signing.
Questions people ask
- Is AWS WAF or Cosign better?
- It depends on the job. AWS WAF fits blocking SQL injection, cross-site scripting and known bad inputs in front of an Application Load Balancer; Cosign fits signing container images in a build pipeline without managing long-lived private keys. AWS WAF starts at $5/month and Cosign at Free.
- Which is cheaper, AWS WAF or Cosign?
- Cosign has a free tier; the other does not. Paid plans start at $5/month for AWS WAF and Free for Cosign.
- Does AWS WAF or Cosign run on more platforms?
- AWS WAF runs on Web. Cosign runs on macOS, Linux, Windows, Self-hosted.
- Can I use Cosign for free?
- Yes. Cosign has a free tier, so you can try it without paying. AWS WAF starts at $5/month.
- What is AWS WAF best used for?
- AWS WAF is most often used for blocking sql injection, cross-site scripting and known bad inputs in front of an application load balancer, rate limiting login and api endpoints that sit behind cloudfront, adding bot detection to a retail site already hosted on aws, applying one set of waf rules across many accounts through aws firewall manager. Of those, blocking sql injection, cross-site scripting and known bad inputs in front of an application load balancer and rate limiting login and api endpoints that sit behind cloudfront are not what Cosign is typically brought in for.
- What can AWS WAF do that Cosign cannot?
- AWS WAF covers Web ACLs and rules, Managed rule groups, Bot Control, Fraud Control. Cosign covers Keyless signing, Key and KMS signing, Registry-native storage, In-toto attestations.
Answered from the vendors’ own pages
AWS WAF: How much does AWS WAF cost per month?
On pay-as-you-go pricing it is $5.00 per web ACL and $1.00 per rule per month, plus $0.60 per million requests, per the AWS pricing page. Bot Control, fraud rules, CAPTCHA and logging are billed on top.
Cosign: Does Cosign tell me if an image is vulnerable?
No. It has no vulnerability knowledge whatsoever. It can carry an SBOM as a signed attestation but never reads it. Pair it with a scanner.
AWS WAF: Does AWS WAF work outside AWS?
No. It protects supported AWS resources such as CloudFront, Application Load Balancer and API Gateway. Origins elsewhere can be covered if they sit behind CloudFront.
Cosign: Is signing alone enough?
No. Verification is a command somebody runs. Without an admission controller enforcing it, an unsigned image still runs.
AWS WAF: Is AWS WAF included with Shield Advanced?
Shield Advanced includes WAF usage for protected resources, up to 50 billion requests per month and 1,500 capacity units per web ACL, per the Shield pricing page.
Cosign: What does a bare cosign verify actually prove?
Very little. Without a pinned certificate identity and OIDC issuer, it accepts a valid signature from any identity at all.
Cosign: What is the risk of keyless signing?
Your OIDC provider becomes the root of trust. Compromise of that account yields genuine, verifiable signatures, so account security is the control that matters.
Cosign: Should we expect breaking changes?
Yes. Version 4 is announced to remove roughly half the flags, and a post-quantum migration is named as a further breaking change after that.
Related pages
Other head to heads
- AWS WAF vs Imperva
- AWS WAF vs FortiWeb
- AWS WAF vs Sucuri
- AWS WAF vs Wordfence
- AWS WAF vs Sophos Firewall
- AWS WAF vs Clerk
- AWS WAF vs Transcend
- AWS WAF vs Hanwha Vision
- AWS WAF vs Apiiro
- AWS WAF vs Baffle
- AWS WAF vs Cisco Secure Firewall
- AWS WAF vs Exabeam
- AWS WAF vs FortiMail
- AWS WAF vs FortiAnalyzer
- AWS WAF vs FortiNAC
- AWS WAF vs FortiSASE
- AWS WAF vs FortiSIEM
- AWS WAF vs FortiSOAR
- AWS WAF vs Sigstore
- AWS WAF vs Syft
- AWS WAF vs Chainguard
- AWS WAF vs HashiCorp Vault
- AWS WAF vs Infisical
- AWS WAF vs Wireshark
- AWS WAF vs OWASP ZAP
- AWS WAF vs Kali Linux
- AWS WAF vs Bitwarden
- AWS WAF vs ProtonVPN
- AWS WAF vs Semgrep
- AWS WAF vs MalCare
- AWS WAF vs ManageEngine ADAudit Plus
- AWS WAF vs Mandiant
- AWS WAF vs Menlo Security
- AWS WAF vs Micro Snitch
- AWS WAF vs Grype
- AWS WAF vs ManageEngine Vulnerability Manager Plus
- Cosign vs Imperva
- Cosign vs FortiWeb
- Cosign vs Sucuri
- Cosign vs Wordfence
- Cosign vs Sophos Firewall
- Cosign vs Clerk
- Cosign vs Transcend
- Cosign vs Hanwha Vision
- Cosign vs Apiiro
- Cosign vs Baffle
- Cosign vs Cisco Secure Firewall
- Cosign vs Exabeam
- Cosign vs FortiMail
- Cosign vs FortiAnalyzer
- Cosign vs FortiNAC
- Cosign vs FortiSASE
- Cosign vs FortiSIEM
- Cosign vs FortiSOAR
- Cosign vs Sigstore
- Cosign vs Syft
- Cosign vs Chainguard
- Cosign vs HashiCorp Vault
- Cosign vs Infisical
- Cosign vs Wireshark
- Cosign vs OWASP ZAP
- Cosign vs Kali Linux
- Cosign vs Bitwarden
- Cosign vs ProtonVPN
- Cosign vs Semgrep
- Cosign vs MalCare
- Cosign vs ManageEngine ADAudit Plus
- Cosign vs Mandiant
- Cosign vs Menlo Security
- Cosign vs Micro Snitch
- Cosign vs Grype
- Cosign vs ManageEngine Vulnerability Manager Plus
