---
title: "EqualsCondition"
description: "The target is the value."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: WAF API

The target is the value.

## Fields

- `EqualsCondition.caseSensitive` (boolean, required) — Default false.
- `EqualsCondition.negate` (boolean, required) — Match when the condition doesn't hold. Default false.
- `EqualsCondition.target` (string, required) — path, query, method, body (the inspected part), header:<name> or cookie:<name>; a name is 1-64 letters, digits, - and _.
  - pattern `^(path|query|method|body|(header|cookie):[A-Za-z0-9_-]{1,64})$`
- `EqualsCondition.type` (unknown, required)
- `EqualsCondition.value` (string, required) — At most 1,024 bytes.
  - maxLength 1024


Source: https://docs.ezghcloud.com/waf-api/schemas/EqualsCondition/index.md
