# Interface PolicyViolation

A specific policy violation.

interface PolicyViolation {
type: "resource" | "path" | "command" | "env" | "capability";
denied: string;
reason: string;
}

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:118

##### Index

### Properties

type
denied
reason

## Properties

### `Readonly` type

type: "resource" | "path" | "command" | "env" | "capability"

Type of violation.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:120

### `Readonly` denied

denied: string

What was denied.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:122

### `Readonly` reason

reason: string

Explanation.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:124