Documentation
¶
Index ¶
Constants ¶
View Source
const SchemaVersion = "1.0"
Variables ¶
This section is empty.
Functions ¶
func ComputeHash ¶
Types ¶
type Controls ¶
type Controls struct {
PermissionsEnforced bool `json:"permissions_enforced"`
ApprovedScope string `json:"approved_scope,omitempty"`
WithinScope *bool `json:"within_scope,omitempty"`
GuardrailsActive []GuardrailStatus `json:"guardrails_active,omitempty"`
HumanOversight *HumanOversight `json:"human_oversight,omitempty"`
}
type GuardrailStatus ¶
type HumanOversight ¶
type Record ¶
type Record struct {
RecordID string `json:"record_id"`
RecordVersion string `json:"record_version"`
Timestamp time.Time `json:"timestamp"`
Source string `json:"source"`
SourceProduct string `json:"source_product"`
AgentID string `json:"agent_id,omitempty"`
RecordType string `json:"record_type"`
Event map[string]any `json:"event"`
Controls Controls `json:"controls"`
Metadata map[string]any `json:"metadata,omitempty"`
Integrity Integrity `json:"integrity"`
}
func New ¶
func New(opts RecordOpts) (*Record, error)
Click to show internal directories.
Click to hide internal directories.