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.
SubscribeRelated
shieldShieldOptionsArcjetModedecisionArcjetRuleResultprotectArcjetReason