ResolverErrorMode

How DefaultMaskingEngine reacts when the policy resolver throws — a policy-store outage or a misconfiguration. Scoped to the resolver-error path only: a missing principal always masks fail-closed regardless of this mode. See ../../../../../../../docs/adr/0011-configurable-fail-request-on-resolver-error.md.

Entries

Link copied to clipboard

Mask the whole resource fail-closed ({}) and continue — the safe default; the response stays 200.

Link copied to clipboard

Notify the failure sink, then throw MaskingResolverException so the request fails (e.g. a 5xx), turning a silent outage into an alertable signal. Best-effort — see the committed-response caveat in ADR 0011.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.