---
title: Templated rules response header and value conditions
summary: null
url: >-
  https://www.fastly.com/documentation/reference/changes/2020/04/templated-rules-response-header-and-value-conditions
---

You can now add optional response header name and value conditions to ATO templated rules, which include:

- `Login Success`
- `Login Failure`
- `Registration Success`
- `Registration Failure `

We’re excited to give you these additional levels to protect your apps against ATO and excessive authentication attempts! If you have any questions about these changes, reach out to us at [support@fastly.com](mailto:support@fastly.com).

Example for the `Login Success` templated rule:

![Example Login Success templated rule](/img/ngwaf/templated-rules-headers.png)
