Documentation
¶
Index ¶
Constants ¶
View Source
const ManifestSchemaVersion = "agentprovenance.evidence_manifest/v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type Manifest struct {
SchemaVersion string `json:"schema_version"`
RunID string `json:"run_id"`
ResultSetID string `json:"result_set_id"`
PageHash string `json:"page_hash"`
QueryRefs []ManifestQueryRef `json:"query_refs,omitempty"`
Summary observability.Summary `json:"summary"`
Timeline ManifestTimelineRef `json:"timeline"`
Objects ManifestObjectSummary `json:"objects"`
Security ManifestSecuritySummary `json:"security"`
RecommendedViews []string `json:"recommended_views"`
}
func BuildManifest ¶
func BuildManifest(db *sql.DB, opts ManifestOptions) (Manifest, error)
type ManifestObjectRef ¶
type ManifestObjectSummary ¶
type ManifestObjectSummary struct {
SchemaVersion string `json:"schema_version"`
ObjectCount int `json:"object_count"`
HasMore bool `json:"has_more"`
NextCursor string `json:"next_cursor,omitempty"`
ResultSetID string `json:"result_set_id"`
PageHash string `json:"page_hash"`
TotalBytes int64 `json:"total_bytes"`
ByType map[string]int `json:"by_type"`
TopRefs []ManifestObjectRef `json:"top_refs,omitempty"`
}
type ManifestOptions ¶
type ManifestQueryRef ¶
type ManifestQueryRef struct {
Kind string `json:"kind"`
SchemaVersion string `json:"schema_version,omitempty"`
Command string `json:"command"`
ResultSetID string `json:"result_set_id,omitempty"`
PageHash string `json:"page_hash,omitempty"`
HasMore bool `json:"has_more,omitempty"`
NextCursor string `json:"next_cursor,omitempty"`
}
type ManifestSecuritySummary ¶
type ManifestSecuritySummary struct {
RisksResultSetID string `json:"risks_result_set_id,omitempty"`
RisksPageHash string `json:"risks_page_hash,omitempty"`
RiskCount int `json:"risk_count"`
ResponsesResultSetID string `json:"responses_result_set_id,omitempty"`
ResponsesPageHash string `json:"responses_page_hash,omitempty"`
ResponseCount int `json:"response_count"`
}
type ManifestTimelineRef ¶
type MaterializedManifest ¶
type ProcessResult ¶
type ProcessResult struct {
Processed int
}
Click to show internal directories.
Click to hide internal directories.