Documentation
¶
Overview ¶
Package score derives a relative blast-radius score and tier for a Note.
The score is composed from the intrinsic signals Geiger already collects — capability class (flags), reach (counts), and sensitivity tags (prod/pii/…) — because without externally-supplied context that is the most honest ranking available. Supplying a context (crown-jewel account IDs, prod hosts, critical repos) boosts matching findings: intrinsic signal ranks relative danger, context ranks danger to *you*.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlastRadius ¶
BlastRadius returns a relative score (0 = dead/invalid). Higher is worse.
Types ¶
type Context ¶
type Context struct {
Terms []string // e.g. account IDs, prod hostnames, critical repo names
}
Context is optional operator-supplied criticality: substrings whose presence in a finding marks the credential as touching a crown-jewel asset.
type Tier ¶
type Tier string
Tier is a coarse, honest bucket (we deliberately avoid a fake-precise 0-100).