Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/observability / / RedactionViolation
Interface: RedactionViolation
Defined in: packages/observability/src/redaction/types.ts:29
Sanitized record describing a single redaction event. Never carries the secret value itself; only metadata that is safe to log.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
attribute? | readonly | string | - | packages/observability/src/redaction/types.ts:36 |
declaredTier? | readonly | Sensitivity | Tier declared by the upstream caller. | packages/observability/src/redaction/types.ts:42 |
origin? | readonly | string | - | packages/observability/src/redaction/types.ts:38 |
patterns? | readonly | readonly string[] | Pattern names that fired (if applicable). | packages/observability/src/redaction/types.ts:40 |
reason | readonly | | "sensitivity-tier-exceeded" | "pii-pattern-match" | "secret-pattern-match" | "unredacted-secret-value" | "invalid-input" | - | packages/observability/src/redaction/types.ts:30 |
spanType? | readonly | string | - | packages/observability/src/redaction/types.ts:37 |