Versions in this module Expand all Collapse all v1 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