Versions in this module Expand all Collapse all v1 v1.9.0 Nov 8, 2026 v1.8.0 Oct 19, 2026 v1.7.3 Sep 4, 2026 v1.7.2 Aug 25, 2026 v1.7.1 Aug 22, 2026 v1.7.0 Aug 10, 2026 v1.6.0 Jul 17, 2026 v1.5.0 Apr 21, 2026 Changes in this version type RiskSummary + func SummarizeScored(risks []ScoredRisk) RiskSummary + type ScoredRisk struct + Description string + Impact string + Path string v1.4.0 Apr 3, 2026 v1.3.0 Mar 23, 2026 v1.2.2 Feb 12, 2026 Changes in this version + type ChangeInput struct + Description string + Path string + Section string + SecurityImpact string + Type string + type Pattern struct + ChangeType string + Description string + Impact string + Name string + PathRegex *regexp.Regexp + Section string + func DefaultPatterns() []Pattern + type RiskItem struct + Description string + Impact string + Path string + type RiskSummary struct + High int + Low int + Medium int + Score int + TopRisks []RiskItem + func (r *RiskSummary) HasRisks() bool + type Scorer struct + func NewScorer() *Scorer + func NewScorerWithPatterns(patterns []Pattern) *Scorer + func (s *Scorer) Score(change ChangeInput) string + func (s *Scorer) ScoreAll(changes []ChangeInput) RiskSummary