---
title: RuleVulnerabilityGranularity enum | Wartiva GraphQL API
description: How many records a VULNERABILITY rule raises per object. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/rule-vulnerability-granularity.html
updated: 2026-10-07
---

Policies and findings · GraphQL enum

# `RuleVulnerabilityGranularity` enum

How many records a VULNERABILITY rule raises per object.

## Values

| Enum Value | Description |
|---|---|
| `PER_CVE` | A finding and issue for each CVE matched on an object, so each vulnerability is triaged and resolved on its own. An object matching more CVEs than the deployment's per-object limit gets one finding and issue instead, listing the most severe up to that limit and the total matched. |
| `PER_OBJECT` | One finding and issue per object, rated by the most severe CVE matched on it. It lists the most severe CVEs up to the deployment's per-object limit and the total matched. |

## Used by

- [`RuleBodyVulnerability`](https://wartiva.com/api-docs/types/rule-body-vulnerability.html) type: The body of a VULNERABILITY rule: how its records are grouped, and which known CVEs it raises.
- [`RuleBodyVulnerabilityInput`](https://wartiva.com/api-docs/types/rule-body-vulnerability-input.html) input: Input variant of RuleBodyVulnerability.

## Example

### Example

```json
"PER_CVE"

```

---

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