Features

Edge protection

GA & BetaFree+ (edge rules), Hobby+ (challenge), Pro+ (WAF)

Block OWASP attacks and scrapers at the edge before your app even wakes

In-path OWASP Core Rule Set WAF blocking, adaptive proof-of-work browser challenges, declarative edge caching, and replayable trace tests that reject hostile traffic before waking parked compute.

Updated

Trace and test edge rules locally or against a live project environment

On scale-to-zero platforms without edge enforcement, every scanner probe or credential-stuffing burst wakes a container and bills compute. Gregale evaluates WAF rules, rate limits, IP/country/token checks, and browser challenges in the public edge path so blocked requests receive 403 at $0 compute cost.

bash
# Replay a versioned edge-rule scenario from a JSON file
gregale edge rule trace my-api --file ./edge-trace.json

# Or trace a live project environment against its effective policy
gregale edge rule trace my-api --project shop --environment staging --url https://staging.shop.gregale.app/search

Key capabilities

In-path OWASP WAF blocking

kind=waf rules on Pro and Scale inspect matched headers and URLs against the OWASP Core Rule Set (SQLi, XSS, path traversal, scanners). Block mode rejects with 403 before waking your app at paranoia level 1; paranoia level 2 runs in observe-only preview.

Zero-third-party browser challenge

kind=challenge stops scrapers with a lightweight proof-of-work check and signed pass cookie on custom domains too, while verified API keys, consumer keys, and JWTs pass without friction.

Replayable edge rule trace & rollback

Verify how a request matches your rules before pushing changes using gregale edge rule trace scenarios, and inspect rule revision history or roll back anytime.

Declarative edge response cache

Cache selected GET and HEAD responses at the edge with bounded freshness, stale-while-revalidate, and explicit purges so repeated reads never wake an instance.

Typical PaaS vs. Gregale

CapabilityTypical PaaSGregale
Requests blocked before app wakeTraffic reaches container or requires external WAF proxyRefused at the edge (403); parked microVM stays at $0
OWASP Core Rule Set WAFUsually an enterprise add-on or external CDN layerBuilt-in kind=waf rules with observe, warn, and block modes
Scraper challenge without CAPTCHA SaaSExternal CAPTCHA scripts or Cloudflare enterprise configNative proof-of-work pass cookie that exempts API keys & JWTs

Deep-dive guides (3)

Runnable starters & integrations (2)

Browse all templates

Documentation references

Questions

Do blocked requests wake a parked Gregale app or count toward my bill?

No. Requests refused at the edge by WAF block rules, browser challenges, rate limits, or access controls never wake your Firecracker microVM and cost nothing.

Which plans include WAF and browser challenge rules?

General edge rules and rate limits are available across plans including Free. Browser challenges (kind=challenge) unlock on Hobby, Pro, and Scale (up to 3, 10, and 25 rules). OWASP WAF rules (kind=waf) unlock on Pro and Scale, with observe/warn/block available per account rollout at paranoia level 1.

Will browser challenge rules break API clients calling my backend?

No. Requests carrying a verified API key, consumer key, or JWT bypass the browser challenge automatically so programmatic clients keep working.