Versions in this module Expand all Collapse all v0 v0.4.2 Nov 16, 2026 v0.4.1 Nov 15, 2026 Changes in this version type EndpointCounts + func (c *EndpointCounts) Add(state string) v0.4.0 Nov 15, 2026 Changes in this version + const FindingEndpointAnonymousPublic + const NarrowingKept + const NarrowingNarrowed type CIImage + Excluded []string + Narrowed []string + Narrowing Narrowing + type EndpointAuth struct + Markers []string + Policy string + State string + type EndpointCounts struct + Anonymous int + Required int + Total int + Unknown int + type EndpointRow struct + Auth EndpointAuth + Endpoint string + Framework string + From []string + Link string + Method string + Path string + Public bool + Routes []string + Service string type Link + Excluded []string + Narrowed []string + Narrowing Narrowing type Map + Endpoints []EndpointRow + type Narrowing struct + Reason string + State string + type Rewrite struct + Kind string + Prefix string + To string type RouteEdge + Rewrite *Rewrite type ServiceItems + Endpoints []string type ServiceMetrics + Endpoints *EndpointCounts v0.3.0 Nov 14, 2026 Changes in this version + const ConfirmDriver + const ConfirmHost + const ConfirmParty + const ConfirmStackRole + const DeploymentNotSeen + const FindingDriverWithoutStore + const FindingImagePinning + const FindingLinkConflict + const FindingNoCodeLink + const FindingPartyUnconfirmed + const FindingProductionUnconfirmed + const GateSchemaID + const GradeConfirmed + const GradeSingle + const RendersOnly + const RoleNone + const RoleProduction + const RoleUnconfirmed + const SchemaID + const StatusApplied + const StatusIgnored + const StatusNoSubject + const StatusOverridden + const ValueApproved + const ValueNotSupplier + const ValueNotUsed + const ValueOwn + const ValueStorePrefix + const Version + var SensitiveWords = []string + func LicenceDenied(expr string, deny []string) (hit []string, ok bool) + func NameSegments(name string) []string + func SensitiveWord(name, typ string) string + func Transitive(f fact.Fact) bool + func ValidConfirmation(kind, subject, value string) bool + type AITool struct + Files int + From []string + Name string + Tool string + type Attached struct + Fact string + From []string + Internal string + Kind string + Scope string + Service string + Source string + type CIBuild struct + Branches []string + Build string + Events []string + Job string + JobLine int + JobName string + Line int + TestJob *TestJob + Workflow string + type CIImage struct + Builds []CIBuild + Contexts []string + Deployment string + Detail string + Dockerfile string + From []string + Image string + ImageRepos []string + Precision string + Pushes []Push + Recipe string + Sources []string + Target string + TestOnly bool + type Catalogue struct + Entries []Entry + Version string + func LoadCatalogue() Catalogue + type ConfirmRef struct + At string + By string + ID int64 + Overridden bool + Value string + type Confirmation struct + At string + By string + ID int64 + Issuer string + Kind string + Person string + Reason string + Subject string + Value string + type ConfirmationUse struct + Status string + type Coupling struct + Cycles int + Depth int + Imports int + MaxFanIn int + MaxFanOut int + Packages int + type Declarant struct + By string + Line int + type Dismissed struct + Confirmed ConfirmRef + From []string + Kind string + Name string + Subject string + type Entry struct + Category string + Checked string + EnvPrefixes []string + Hosts []string + ID string + Images []string + InternalEngines []string + Kind string + Name string + ResolvedBy []string + Review string + SDKs []SDK + Sources []string + type Finding struct + Detail string + From []string + Grade string + Image string + Rule string + Subject string + type GateFinding struct + Detail string + Evidence []fact.Evidence + From []string + Level string + Rule string + Subject string + type GatePolicy struct + By string + Level string + Licences []string + Line int + Rule string + func Policy(s *fact.Scan) []GatePolicy + type GateResult struct + Base ScanRef + Blocked bool + Findings []GateFinding + Head ScanRef + Policy []GatePolicy + RulesVersion string + Schema string + func Gate(base, head *fact.Scan, bm, hm *Map) *GateResult + type Image struct + Class string + From []string + ImageRepo string + Service string + type ImportCycle struct + From []string + Packages []string + type ImportEdge struct + Facts []string + From string + Lines int + To string + type InternalUse struct + Datastore string + From []string + ID string + Service string + type Items struct + ProductionStacks []string + type JobRef struct + Job string + Workflow string + type LanguageSize struct + Files int + Language string + Lines int + type Link struct + Contexts []string + From []string + Precision string + Recipe string + Service string + Sources []string + Via []string + type Map struct + AITools []AITool + Attached []Attached + CIImages []CIImage + CatalogueVersion string + Confirmations []ConfirmationUse + Dismissed []Dismissed + Findings []Finding + Images []Image + Internal []InternalUse + Links []Link + Metrics *Metrics + Modules *ModuleGraph + Own []OwnHost + Parties []Party + Routes []RouteEdge + RulesVersion string + Scan ScanRef + Schema string + Settings Settings + Stacks []StackRole + Tables []Table + Tests []TestPresence + Unknown []UnknownHost + func Derive(s *fact.Scan, sha256 string, set Settings) *Map + func DeriveWith(s *fact.Scan, sha256 string, set Settings, cat Catalogue) *Map + type Metrics struct + Production Surface + Services []ServiceMetrics + Total Surface + type ModuleGraph struct + Cycles []ImportCycle + Edges []ImportEdge + Packages []Package + Services []ServiceModules + type OwnHost struct + Confirmed *ConfirmRef + Declared *Declarant + Domain string + From []string + Host string + ServedBy []string + type Package struct + Cycle bool + Depth int + Dir string + FanIn int + FanOut int + Language string + Module string + Package string + type Party struct + Category string + Confirmed *ConfirmRef + Grade string + ID string + Kind string + Name string + Services []string + Signals []Signal + type Pin struct + Detail string + Subject string + type Push struct + Build string + By string + Job string + Line int + Target string + Workflow string + type Reason struct + Detail string + Job string + Role string + TestJob *TestJob + Unreadable []string + Workflow string + type RouteEdge struct + Action string + From []string + Match string + Route string + Sites []string + Stack string + To string + Upstream string + Via string + type SDK struct + Ecosystem string + Name string + type ScanRef struct + Commit string + Extractor string + Repo string + SHA256 string + Schema string + type SensitiveColumn struct + Column string + From []string + Word string + type ServiceItems struct + ColumnsToCheck []string + DataStores []string + OutsideParties []string + Routes []string + UnpinnedImages []Pin + type ServiceMetrics struct + ColumnsToCheck int + Coupling *Coupling + DataStores int + Items ServiceItems + OutsideParties int + Role string + Routes int + Service string + Size Size + UnpinnedImages int + type ServiceModules struct + From []string + Packages []string + Reach string + Roots []string + Service string + type Settings struct + Confirmations []Confirmation + DefaultBranch string + type Signal struct + Fact string + Kind string + type Size struct + Files int + Languages []LanguageSize + Lines int + TestFiles int + TestLines int + type StackRole struct + Confirmed *ConfirmRef + Declared *Declarant + DerivedRole string + Manual bool + Name string + Reasons []Reason + Role string + Stack string + type Surface struct + ColumnsToCheck int + Coupling *Coupling + DataStores int + Items Items + OutsideParties int + ProductionStacks int + Routes int + Size Size + UnpinnedImages int + type Table struct + Check []SensitiveColumn + From []string + Schema string + Table string + type TestJob struct + By string + Line int + Match string + type TestPresence struct + Files int + Framework string + From []string + Jobs []JobRef + Language string + Runs []string + Service string + Suite string + type UnknownHost struct + Confirmed *ConfirmRef + From []string + Host string + Usage string