---
title: AuditExpireAfterOperator enum | Wartiva GraphQL API
description: Logical operator used when an expire-after specification combines an age condition with a disk-space condition.
url: https://wartiva.com/api-docs/types/audit-expire-after-operator.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `AuditExpireAfterOperator` enum

Logical operator used when an expire-after specification combines an age condition with a disk-space condition. See audit_control(5) for the expiration specification format.

## Values

| Enum Value | Description |
|---|---|
| `AND` | Both the age condition and the disk-space condition must be met before a log file is removed. Example: expire-after: 60d AND 1G removes files older than 60 days only when aggregate log size exceeds 1 GB. |
| `OR` | Either the age condition or the disk-space condition alone is sufficient to expire a log file. |

## Used by

- [`AuditExpireAfter`](https://wartiva.com/api-docs/types/audit-expire-after.html) type: Expiration policy for audit trail files, corresponding to the expire-after parameter in audit_control(5).

## Example

### Example

```json
"AND"

```

---

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