---
title: RuleApplyToOperator enum | Wartiva GraphQL API
description: The comparison applied between an apply-to option's value and the object's corresponding attribute. EQUALS is the default.
url: https://wartiva.com/api-docs/types/rule-apply-to-operator.html
updated: 2026-10-07
---

Policies and findings · GraphQL enum

# `RuleApplyToOperator` enum

The comparison applied between an apply-to option's value and the object's corresponding attribute. EQUALS is the default. Which operators a key accepts depends on the key; for IN and NOT_IN the value is a comma-separated list.

## Values

| Enum Value | Description |
|---|---|
| `EQUALS` | Attribute equals the option value (=). |
| `NOT_EQUAL` | Attribute does not equal the option value (!). |
| `LESS_THAN` | Attribute is less than the option value (<). |
| `LESS_THAN_OR_EQUAL` | Attribute is less than or equal to the option value (<=). |
| `GREATER_THAN` | Attribute is greater than the option value (>). |
| `GREATER_THAN_OR_EQUAL` | Attribute is greater than or equal to the option value (>=). |
| `IN` | Attribute is one of the comma-separated members in the option value. |
| `NOT_IN` | Attribute is none of the comma-separated members in the option value. |

## Used by

- [`RuleApplyToOption`](https://wartiva.com/api-docs/types/rule-apply-to-option.html) type: A single key/operator/value constraint that narrows which objects a rule applies to.
- [`RuleApplyToOptionInput`](https://wartiva.com/api-docs/types/rule-apply-to-option-input.html) input: Input variant of RuleApplyToOption.

## Example

### Example

```json
"EQUALS"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
