Tampered

data class Tampered(val atSeq: Long, val expected: String, val actual: String) : AuditResult

A tamper, corruption, or precondition failure was detected.

Returned for all conditions covered by ca.acendas.kstate.saga.journal.VerifyResult.Broken: payload/metadata modification, invalid range, hashing disabled, no codec attached, etc.

Constructors

Link copied to clipboard
constructor(atSeq: Long, expected: String, actual: String)

Properties

Link copied to clipboard

Description of the actual stored or observed value.

Link copied to clipboard
val atSeq: Long

Sequence number of the first bad entry (sentinel: -1L for range failures, 0L for configuration failures).

Link copied to clipboard

Description of the expected value (recomputed hash, "valid range", …).