Versions in this module Expand all Collapse all v0 v0.1.0 Aug 7, 2026 Changes in this version + var ErrNoAnnouncedKey = errors.New("no key in announced state") + var ErrNoPrivateKey = errors.New("issuer does not control its private key") + var ErrNotFound = errors.New("not found") + var ErrUnsupported = errors.New("operation unsupported for this issuer") + type Attribution struct + Actor string + Confidence float64 + Kind string + Ref string + Team string + Timestamp time.Time + type BehaviorSource string + const SrcConfig + const SrcLibraryDefault + const SrcObserved + const SrcProbed + type ChangeClass string + const ChangeNarrowed + const ChangeNeutral + const ChangeUnknown + const ChangeWidened + type ChangeEvent struct + Attribution *Attribution + Class ChangeClass + Confidence float64 + ConsumerID string + DetectedAt time.Time + Evidence []string + Field string + FromVersion string + ID string + NewValue any + OldValue any + Severity Severity + ToVersion string + type ClaimObs struct + FirstSeen time.Time + LastSeen time.Time + Name string + PresenceRate float64 + type Consumer struct + Aliases []string + Confidence map[string]float64 + Endpoints []Endpoint + Expects Expectations + ID string + JWKSBehavior JWKSBehavior + Kind ConsumerKind + Library *LibraryInfo + Name string + Namespace string + OwnerTeam string + Probeable bool + Provenance map[string][]ProvenanceRecord + StableID string + type ConsumerKind string + const ConsumerClient + const ConsumerEdgeFunction + const ConsumerGatewayRoute + const ConsumerService + type ContractVersion struct + Consumers []Consumer + CreatedAt time.Time + Edges []Edge + Hash string + ID string + IsBaseline bool + Issuers []Issuer + TriggerKind string + TriggerRef string + type Edge struct + ConsumerID string + Expects Expectations + IssuerID string + LastVerified *time.Time + VerifyState EdgeState + type EdgeState string + const EdgeDivergent + const EdgeUnverified + const EdgeVerified + type Endpoint struct + Method string + SafeProbePath string + URL string + type Expectations struct + Algorithms []string + Audiences []string + ClockSkewSec int + Issuers []string + RequiredClaims []string + type Issuer struct + ClaimSchema []ClaimObs + ControlsPrivateKey bool + DiscoveryDoc json.RawMessage + ID string + IssuerURL string + JWKSURI string + Keys []Key + Name string + Type IssuerType + type IssuerType string + const IssuerAuth0 + const IssuerEntra + const IssuerGenericOIDC + const IssuerK8sSA + const IssuerKeycloak + const IssuerOkta + type JWKSBehavior struct + CacheTTLSec *int + JWKSURI string + LastObservedRefresh *time.Time + RefreshIntervalSec *int + RefreshesOnUnknownKID *bool + Source BehaviorSource + type Key struct + Alg string + FirstSeenInJWKS time.Time + InSigningUseSince *time.Time + KID string + PublicKeyPEM string + RetiredAt *time.Time + Status KeyStatus + Use string + type KeyStatus string + const KeyActive + const KeyAnnounced + const KeyRetired + const KeyRetiring + type LibraryInfo struct + Lang string + Name string + Version string + type ProbeResult struct + ConsumerID string + EndpointURL string + ID string + LatencyMs int + Passed bool + ProbeID string + RawResponse string + RunAt time.Time + StatusCode int + type ProvenanceRecord struct + Confidence float64 + Locator string + ObservedAt time.Time + Source string + type Severity string + const SeverityCritical + const SeverityHigh + const SeverityInfo + const SeverityLow + const SeverityMedium