---
title: RuleSource enum | Wartiva GraphQL API
description: Where a rule came from: provided by Wartiva, or created or modified by the organization. Distinct from RuleType, which describes what the rule does.
url: https://wartiva.com/api-docs/types/rule-source.html
updated: 2026-10-07
---

Policies and findings · GraphQL enum

# `RuleSource` enum

Where a rule came from: provided by Wartiva, or created or modified by the organization. Distinct from [RuleType](https://wartiva.com/api-docs/types/rule-type.html), which describes what the rule does.

## Values

| Enum Value | Description |
|---|---|
| `VENDOR` | Provided by Wartiva with content updates applied automatically. Enabling or disabling the rule does not change its source. |
| `USER` | Created by the organization, or a Wartiva-provided rule whose content the organization modified. Automatic content updates no longer apply. |

## Used by

- [`Rule`](https://wartiva.com/api-docs/types/rule.html) type: A policy rule evaluated against graph objects.

## Example

### Example

```json
"VENDOR"

```

---

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