pub struct Finding {
pub subject: String,
pub severity: String,
pub evidence: String,
pub suggested_fix: String,
pub class: String,
pub rule: Option<RuleCitation>,
}Expand description
A finding emitted by a validator (scrutiny or functional).
Fields§
§subject: StringAssertion id or feature criterion this finding is about.
severity: String“critical” | “major” | “minor”
evidence: String§suggested_fix: String§class: StringFree-form finding class, e.g. “out-of-contract-write”; default “” for existing scrutiny/functional/gate findings.
rule: Option<RuleCitation>The Flight Rules standards rule this finding cites (ticket
flight-rules-finding-provenance, KRZ-343; design D-H): the stable
rule/revision join key plus the pinned source identity, carried as
structured data so provenance joins never parse subject or
evidence prose. Additive: None on every pre-KRZ-343 finding and
on every finding that does not cite a rule, and
skip_serializing_if keeps those findings byte-identical on the
wire. subject stays the human/assertion handle for old consumers;
rule provenance is never smuggled into it.