Veto

data class Veto(val reason: String) : PolicyVerdict

The entry must not be written.

Parameters

reason

short stable identifier for which rule fired, surfaced on CacheEvent.WriteVetoed.reason and usable as a metrics tag. Keep it low-cardinality ("iban", "pii.email"), not a message containing the matched text — a reason that quotes the data it vetoed puts that data straight into your logs and metrics.

Constructors

Link copied to clipboard
constructor(reason: String)

Properties

Link copied to clipboard