> For the complete documentation index, see [llms.txt](https://waf-doc.inext.checkpoint.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://waf-doc.inext.checkpoint.com/additional-security-engines/genai-security/usage-guard-coming-soon.md).

# Usage Guard (Coming Soon)

The Usage Control policy protects GenAI applications from excessive resource consumption by enforcing limits on request frequency and request size. This helps mitigate abusive usage patterns, including prompt flooding, excessive token consumption, and AI Denial-of-Service (AI DoS) attempts.

<figure><img src="https://2760087783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWA4nfgNrSRL8dA6Kap7%2Fuploads%2FeUMehDXiycc8EXP0FX0t%2Fimage.png?alt=media&amp;token=8c4d287f-daff-4caa-bfe4-448c9d10cdca" alt=""><figcaption></figcaption></figure>

To configure Usage Control:

1. Navigate to the **Usage Control** practice.
2. Select the enforcement **Mode**:
   * **Detect** – Log violations without blocking requests.
   * **Prevent** – Block requests that exceed the configured limits.
3. Add one or more rules:
   * **Rate** – Limit the number of requests allowed within a specified time window.
   * **Size** – Limit the maximum request payload size.
4. (Optional) Configure additional conditions to scope the rule to specific applications or traffic.
5. Save and publish the policy.

{% hint style="info" %}
**Match priority**&#x20;

A request is enforced against a single matched rule per limit type.

* **Rate** — Rate rules are enforced by the CloudGuard WAF Rate Limit engine. For how it matches requests and resolves overlapping rules, see the [Rate Limit documentation](https://waf-doc.inext.checkpoint.com/additional-security-engines/rate-limit).
* **Size** — A rule set to **Prevent** takes precedence and blocks immediately; otherwise (**Detect**) the exceeded rule with the **smallest (strictest) limit** is the one reported. AI Guard emits at most one size event per direction (so up to two per transaction — request and response).
  {% endhint %}

{% hint style="info" %}
For more information regarding Rate Limit configurartion read the dedicated page - [here](/additional-security-engines/rate-limit.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://waf-doc.inext.checkpoint.com/additional-security-engines/genai-security/usage-guard-coming-soon.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
