---
name: CLI Policy Audit
slug: cli-policy-audit
category: DevOps
description: CLI Policy Audit inspects audit logs, manages access policies, views telemetry data, and reviews request history from the command line. Use it to filter by event type, user, or time range for compliance workflows.
github: "https://github.com/diegosouzapw/OmniRoute/tree/release/v3.8.50/skills/cli-policy-audit"
language: TypeScript
stars: 46795
forks: 6310
install: "npx degit https://github.com/diegosouzapw/OmniRoute/tree/release/v3.8.50/skills/cli-policy-audit ~/.claude/skills/cli-policy-audit"
installs_to: ~/.claude/skills/cli-policy-audit
source_path: skills/cli-policy-audit/SKILL.md
collection_size: 25
category_size: 798
collection_url: "https://dirskills.com/collections/diegosouzapw/OmniRoute"
added: 2026-08-13T07:36:51.465Z
last_synced: 2026-08-13T07:36:51.465Z
canonical_url: "https://dirskills.com/skills/cli-policy-audit"
---

# CLI Policy Audit

CLI Policy Audit inspects audit logs, manages access policies, views telemetry data, and reviews request history from the command line. Use it to filter by event type, user, or time range for compliance workflows.

**Install:**

```bash
npx degit https://github.com/diegosouzapw/OmniRoute/tree/release/v3.8.50/skills/cli-policy-audit ~/.claude/skills/cli-policy-audit
```

## README

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

## Overview

Inspect audit logs, manage access policies, view telemetry data, and review request history from the CLI. Filter by event type, user, or time range for compliance workflows.

## Quick install

```bash
npm install -g omniroute   # or: npx omniroute
omniroute --version
```

## Subcommands

### `audit`

**Example:**

```bash
omniroute audit
```

### `audit tail`

**Flags:**

- `--source <s>`
- `--follow`
- `--limit <n>`

**Example:**

```bash
omniroute audit tail
```

### `audit search <query>`

**Flags:**

- `--source <s>`
- `--since <ts>`
- `--until <ts>`
- `--limit <n>`
- `--actor <id>`
- `--action <a>`

**Example:**

```bash
omniroute audit search <query>
```

### `audit export <file>`

**Flags:**

- `--source <s>`
- `--format <f>`
- `--since <ts>`
- `--until <ts>`

**Example:**

```bash
omniroute audit export <file>
```

### `audit stats`

**Flags:**

- `--source <s>`
- `--period <p>`

**Example:**

```bash
omniroute audit stats
```

### `audit get <id>`

**Flags:**

- `--source <s>`

**Example:**

```bash
omniroute audit get <id>
```

### `logs`

**Flags:**

- `--follow`
- `--filter <level>`
- `--lines <n>`
- `--timeout <ms>`
- `--base-url <url>`
- `--request-id <id>`
- `--api-key <key>`
- `--combo <name>`
- `--status <code>`
- `--duration-min <ms>`
- `--duration-max <ms>`
- `--export <path>`

**Example:**

```bash
omniroute logs
```

### `policy`

**Example:**

```bash
omniroute policy
```

### `policy list`

**Flags:**

- `--kind <k>`
- `--scope <s>`

**Example:**

```bash
omniroute policy list
```

### `policy get <id>`

**Example:**

```bash
omniroute policy get <id>
```

### `policy create`

**Example:**

```bash
omniroute policy create
```

### `policy update <id>`

**Example:**

```bash
omniroute policy update <id>
```

### `policy delete <id>`

**Flags:**

- `--yes`

**Example:**

```bash
omniroute policy delete <id>
```

### `policy evaluate`

**Flags:**

- `--resource <r>`
- `--context <json>`

**Example:**

```bash
omniroute policy evaluate
```

### `policy export <file>`

**Example:**

```bash
omniroute policy export <file>
```

### `policy import <file>`

**Flags:**

- `--overwrite`

**Example:**

```bash
omniroute policy import <file>
```

### `telemetry`

**Example:**

```bash
omniroute telemetry
```

### `telemetry summary`

**Flags:**

- `--period <p>`
- `--compare-to <p>`

**Example:**

```bash
omniroute telemetry summary
```

### `telemetry export`

**Flags:**

- `--out <path>`
- `--period <p>`

**Example:**

```bash
omniroute telemetry export
```
