Versions in this module Expand all Collapse all v0 v0.3.0 Nov 18, 2026 Changes in this version type Meta + PathPrefix string type ProviderInfo + EnvVar string v0.2.0 Nov 17, 2026 Changes in this version + const BaselineSchemaVersion + const CodeBaselineMissing + const GenericValueClass + const ReasonIgnoreDetector + const ReasonIgnoreID + const ReasonIgnoreLoc + const ReasonIgnorePath + const ReasonImportedAllowlist + const ReasonInlineAllow + const ReasonTestMarker + func SuppressionReasons() []string + type Baseline struct + Findings []BaselineFinding + RegistrySnapshot string + SchemaVersion int + ToolVersion string + func (b Baseline) MarshalJSON() ([]byte, error) + type BaselineFinding struct + Detector string + ID string + Provider string + Redacted string + type CredentialPart struct + Name string + Redacted string type Finding + CredentialParts []CredentialPart + type FixKind string + const FixCheckUsage + const FixPurge + const FixReplace + const FixRevoke + const FixScopeKeeper + func (k FixKind) Valid() bool type FixStep + Detail string + Locations []Location + N int + Title string + type IgnoreKind string + const IgnoreDetector + const IgnoreID + const IgnoreLoc + const IgnorePath + func (k IgnoreKind) Valid() bool + type IgnoreRule struct + Kind IgnoreKind + Line int + Pattern string + Scope IgnoreScope + Source string + SourceLine int + type IgnoreScope string + const IgnoreScopeMachine + const IgnoreScopeProject + func (s IgnoreScope) Valid() bool v0.1.0 Nov 14, 2026 Changes in this version + const CodeConfigPathOutsideRoot + const CodeDecodeDepthLimit + const CodeFileTooLarge + const CodeFileUnreadable + const CodeGitNotFound + const CodeInternalError + const CodeNotebookParseFailed + const CodeReadFailed + const CodeRegistryEntrySkipped + const CodeSurfaceParseFailed + const CodeTimeout + const CodeUntrustedConfigKey + const DetectorGenericHighEntropy + const DetectorGenericHighEntropyName + const ProviderGeneric + const ProviderGenericName + const SchemaVersion + const SurfaceFound + const SurfaceNotInstalled + const SurfaceNotVisited + const SurfaceUnreadable + const VerificationOff + const VerificationOn + func SurfaceRank(status string) int + func WarningCodes() []string + type Confidence string + const ConfidenceHigh + const ConfidenceLow + const ConfidenceMedium + func (c Confidence) Valid() bool + type DetectorInfo struct + Name string + Provider string + type DollarsMethod struct + Assumed bool + CapUSDPerDay *USD + Formula string + LimitPerMin int64 + LimitSource string + LimitUnit string + Model string + PriceUnitSize int64 + SpendAsOf string + Tier string + TierSource string + UnitPriceUSD USD + type Event struct + Detector string + ID string + Kind EventKind + Location *Location + Provider string + Redacted string + type EventKind string + const EventFindingDetected + const EventLocationAdded + const EventStatusUpdated + type Finding struct + AgeDays *int + AlsoMatchedBy []string + Confidence Confidence + Detector string + DollarsAtRiskPerDay *USD + DollarsMethod *DollarsMethod + FirstSeen *FirstSeen + FixPlan *FixPlan + ID string + Locations []Location + NewVsBaseline *bool + Org string + PotentialDollarsAtRiskPerDay *USD + Provider string + Redacted string + Scopes []string + Status Status + StatusReason string + Suppressed bool + SuppressionReason string + Tier string + Verified bool + VerifyEvidence *VerifyEvidence + func (f Finding) MarshalJSON() ([]byte, error) + type FirstSeen struct + Author string + Commit string + Date Timestamp + type FixPlan struct + Steps []FixStep + func (p FixPlan) MarshalJSON() ([]byte, error) + type FixStep struct + Command string + Kind string + Text string + URL string + type Grade string + const GradeA + const GradeB + const GradeC + const GradeD + const GradeF + func (g Grade) Valid() bool + type Location struct + Author string + Branch string + Cell int + Column int + Commit string + Date Timestamp + Field string + Kind LocationKind + Layer string + Line int + Path string + SurfaceID string + Target Target + type LocationKind string + const LocationArchive + const LocationCommit + const LocationFile + const LocationImage + const LocationNotebook + const LocationStaged + const LocationStdin + const LocationSurface + func (k LocationKind) Valid() bool + type Meta struct + BinarySkipped int + CommitsScanned int + DurationMS int64 + FilesScanned int + GeneratedAt Timestamp + HistoryScanned bool + RegistrySnapshot string + SchemaVersion int + ToolVersion string + Verification string + type ProviderInfo struct + Name string + RevokeURL string + RotateDoc string + VerifyHost string + VerifyNote string + type Report struct + Detectors map[string]DetectorInfo + Findings []Finding + Grade Grade + GradeReasons []string + Grades []TargetGrade + Meta Meta + Providers map[string]ProviderInfo + SurfacesChecked []SurfaceStatus + Targets []Target + Warnings []Warning + func (r Report) MarshalJSON() ([]byte, error) + type Status string + const StatusDead + const StatusLive + const StatusNotVerified + const StatusRateLimited + const StatusUnknown + func (s Status) Class() StatusClass + func (s Status) Valid() bool + type StatusClass string + const ClassDead + const ClassLive + const ClassUnverified + type SurfaceStatus struct + Status string + SurfaceID string + type Target struct + ID string + Kind TargetKind + Visibility Visibility + type TargetGrade struct + Grade Grade + Reasons []string + Target Target + func (g TargetGrade) MarshalJSON() ([]byte, error) + type TargetKind string + const TargetImage + const TargetMachine + const TargetOrgRepo + const TargetRepo + const TargetStdin + func (k TargetKind) Valid() bool + type Timestamp time.Time + func (t *Timestamp) UnmarshalJSON(b []byte) error + func (t Timestamp) IsZero() bool + func (t Timestamp) MarshalJSON() ([]byte, error) + func (t Timestamp) Time() time.Time + type USD float64 + func (u USD) MarshalJSON() ([]byte, error) + type VerifyEvidence struct + Limits map[string]string + Org string + Project string + Scopes []string + Tier string + type Visibility string + const VisibilityPrivate + const VisibilityPublic + const VisibilityUnknown + func (v Visibility) Valid() bool + type Warning struct + Code string + DetailCode string + Location string