Skip to content
masterclass Buddy

Arcjet · Method

reason.isShield

Arcjet Shield WAF checks Next.js requests for common attacks. Configure it with LIVE or DRY_RUN, then inspect the decision to detect Shield denials.

Last updated

Syntax

shield(options: ShieldOptions)
type ShieldOptions = { mode?: ArcjetMode | undefined }
type ArcjetMode = "LIVE" | "DRY_RUN"

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • shield
  • ShieldOptions
  • ArcjetMode
  • decision
  • ArcjetRuleResult
  • protect
  • ArcjetReason

Source: Shield WAF reference for Next.js | Arcjet Docs. Checked 2026-11-03.