Skip to content

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

PropertyModifierTypeDescriptionDefined in
attribute?readonlystring-packages/observability/src/redaction/types.ts:36
declaredTier?readonlySensitivityTier declared by the upstream caller.packages/observability/src/redaction/types.ts:42
origin?readonlystring-packages/observability/src/redaction/types.ts:38
patterns?readonlyreadonly string[]Pattern names that fired (if applicable).packages/observability/src/redaction/types.ts:40
reasonreadonly| "sensitivity-tier-exceeded" | "pii-pattern-match" | "secret-pattern-match" | "unredacted-secret-value" | "invalid-input"-packages/observability/src/redaction/types.ts:30
spanType?readonlystring-packages/observability/src/redaction/types.ts:37