Versions in this module Expand all Collapse all v0 v0.1.0 Oct 4, 2026 Changes in this version + func DetailAs[T any](f Finding) (T, error) + type Confidence string + const ConfidenceHigh + const ConfidenceLow + const ConfidenceMedium + func (c Confidence) Valid() bool + type Domain string + const DomainA11y + const DomainCompliance + const DomainI18n + const DomainObservability + const DomainQE + const DomainSecurity + func Domains() []Domain + func (d Domain) Valid() bool + type Evidence struct + Data string + Kind string + MediaType string + Summary string + URI string + type Finding struct + Confidence Confidence + Description string + Detail json.RawMessage + DetectedAt *time.Time + Domain Domain + Evidence []Evidence + ID string + Location *Location + References []Reference + Remediation *Remediation + RuleID string + Severity Severity + Source Source + Status Status + Tags []string + Title string + Type string + func (f *Finding) SetDetail(v any) error + func (f Finding) Validate() error + type FindingSet struct + Findings []Finding + func NewFindingSet(findings ...Finding) *FindingSet + func (s *FindingSet) Add(findings ...Finding) + func (s *FindingSet) CountBy(key func(Finding) string) map[string]int + func (s *FindingSet) CountByDomain() map[Domain]int + func (s *FindingSet) CountByFile() map[string]int + func (s *FindingSet) CountByRepo() map[string]int + func (s *FindingSet) CountBySeverity() map[Severity]int + func (s *FindingSet) CountBySource() map[string]int + func (s *FindingSet) CountByStatus() map[Status]int + func (s *FindingSet) Domain(d Domain) *FindingSet + func (s *FindingSet) Len() int + func (s *FindingSet) Open() *FindingSet + func (s *FindingSet) Severity(sev Severity) *FindingSet + func (s *FindingSet) SortBySeverity() + func (s *FindingSet) Summary() Summary + type Location struct + Column int + Component string + DocFormat string + File string + Line int + Pointer string + Repo string + Selector string + Snippet string + URL string + func (l Location) Empty() bool + type Reference struct + Title string + URL string + type Remediation struct + AgentPrompt string + Detail string + Effort string + References []Reference + Summary string + type Severity string + const SeverityCritical + const SeverityHigh + const SeverityInformational + const SeverityLow + const SeverityMedium + func ParseSeverity(s string) (Severity, bool) + func Severities() []Severity + func SeverityFromCVSS(score float64) Severity + func (s Severity) Abbreviation() string + func (s Severity) Actionable() bool + func (s Severity) MoreSevereThan(other Severity) bool + func (s Severity) Name() string + func (s Severity) Rank() int + func (s Severity) Valid() bool + type Source struct + RuleSet string + Tool string + Version string + type Status string + const StatusAccepted + const StatusConfirmed + const StatusFalsePositive + const StatusOpen + const StatusRemediated + const StatusResolved + func Statuses() []Status + func (s Status) Open() bool + func (s Status) Valid() bool + type Summary struct + Actionable int + ByDomain map[Domain]int + ByRepo map[string]int + BySeverity map[Severity]int + ByStatus map[Status]int + Open int + Total int