Documentation
¶
Overview ¶
Package evidence defines the portable, independently verifiable artifact produced by runeward after an agent run.
Index ¶
Constants ¶
View Source
const Format = "runeward-evidence/v1"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Document ¶
type Document struct {
Format string `json:"format"`
GeneratedAt time.Time `json:"generated_at"`
RunewardVersion string `json:"runeward_version"`
Policy PolicySnapshot `json:"policy"`
Chronicle ledger.Bundle `json:"chronicle"`
}
Document combines policy context with the signed Chronicle audit bundle. The embedded ledger public key verifies event integrity; organizations can pin that key out-of-band when they need identity assurance as well.
type Finding ¶
type Finding struct {
Severity string `json:"severity"`
Field string `json:"field"`
Message string `json:"message"`
}
Finding is a portable policy-lint finding captured at export time.
type PolicySnapshot ¶
type PolicySnapshot struct {
Name string `json:"name"`
Source string `json:"source,omitempty"`
Image string `json:"image,omitempty"`
Resolved string `json:"resolved"`
SHA256 string `json:"sha256"`
Findings []Finding `json:"findings,omitempty"`
}
PolicySnapshot records the resolved, secret-redacted policy that governed a run. SHA256 makes accidental or malicious edits independently detectable.
Click to show internal directories.
Click to hide internal directories.