code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A frame decoded to bytes that do not hash to its address.
The address is taken from the decoded frame, so this can only mean the stored bytes changed under us or the index row describes a different object than the key holds. Either way the content is not what it claims to be, and silently accepting it would write wrong data into a live site during a restore.
check(array $observation) : \Drupal\strata\Health\Finding|null
Evaluates the check against one observation.
| array | $observation | Scalars the caller already had in hand. A tripwire reads from this and nothing else. |
A finding when the symptom is present, or NULL when the check is satisfied.