Available in all subroutines.
True if this backend, or recursively any of the backends under this director, is a shield backend. False otherwise.
Try it out
req.backend.is_shield is used in the following solution recipes, which show real world use cases. Click RUN to provision a Fastly service, execute the code on Fastly, and see how the function behaves.
Custom condition for triggering WAF
The web application firewall runs only on traffic to your origin, but you can further refine when it should be invoked.
User contributed notes
We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.