---
title: RuleFileOwnership type | Wartiva GraphQL API
description: A FILE rule's ownership check. An empty list leaves that half unchecked. Not available for a Windows glob: Windows collects no file owner.
url: https://wartiva.com/api-docs/types/rule-file-ownership.html
updated: 2026-10-07
---

Policies and findings · GraphQL type

# `RuleFileOwnership` type

A FILE rule's ownership check. An empty list leaves that half unchecked. Not available for a Windows glob: Windows collects no file owner.

## Fields

| Field Name | Description |
|---|---|
| `allowedOwnerUids` - [`[Int!]!`](https://wartiva.com/api-docs/types/int.html) | The user ids that may own the file. |
| `allowedGroupGids` - [`[Int!]!`](https://wartiva.com/api-docs/types/int.html) | The group ids that may own the file. |

## Used by

- [`RuleBodyFile`](https://wartiva.com/api-docs/types/rule-body-file.html) type: The body of a FILE rule.

## Example

### Example

```json
{"allowedOwnerUids": [123], "allowedGroupGids": [987]}

```

---

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