Versions in this module Expand all Collapse all v0 v0.3.1 Jul 13, 2026 Changes in this version + const MaxAttestationBytes + const MaxSBOMBytes + const MaxVEXBytes + type APIError struct + Message string + StatusCode int + func (e *APIError) Error() string + func (e *APIError) TooManyRequests() bool v0.3.0 Jul 12, 2026 Changes in this version + type Attestation struct + Binding string + CertIdentity string + FailureReason string + KeyID string + Mode string + OIDCIssuer string + PolicyVersion string + PredicateType string + Result string + SubjectDigest string + TransparencyLogRef string + VerifiedAt string + VerifierVersion string type Client + func (c *Client) ArchiveSBOM(ctx context.Context, id string) error + func (c *Client) Events(ctx context.Context, id string, opts ListOptions) (*EventsPage, error) + func (c *Client) Failures(ctx context.Context, id string, limit int) ([]Failure, error) + func (c *Client) Findings(ctx context.Context, id string, opts FindingsOptions) (*FindingsPage, error) + func (c *Client) FleetLicenses(ctx context.Context) (*FleetLicenseStats, error) + func (c *Client) GetSBOM(ctx context.Context, id, minSeverity string) (*SBOMDetail, error) + func (c *Client) ImageSBOMs(ctx context.Context, repo string, opts ListOptions) (*ImageSBOMsPage, error) + func (c *Client) Images(ctx context.Context, opts ImagesOptions) (*ImagesPage, error) + func (c *Client) Licenses(ctx context.Context, id string) ([]PackageLicense, error) + func (c *Client) ListVEX(ctx context.Context) ([]map[string]any, error) + func (c *Client) SubmitVEX(ctx context.Context, doc []byte) (*VEXResult, error) + func (c *Client) Timeline(ctx context.Context, repo string, opts ListOptions) (*TimelinePage, error) + type Event struct + Cause string + EventType string + Exposure string + OccurredAt string + Package string + Scanner string + Score float64 + Severity string + type EventsPage struct + Events []Event + type Failure struct + Error string + OccurredAt string + Scanner string + Stage string + type Finding struct + EPSS float64 + EPSSPct float64 + Exposure string + IsFixed bool + KEV bool + Package string + Scanner string + Score float64 + Severity string + VEXStatus string + Version string + type FindingsOptions struct + Fixable bool + Suppressed bool + type FindingsPage struct + Findings []Finding + type FleetLicenseStats struct + Categories []LicenseCount + Families []LicenseCount + Packages int + Unlicensed int + Violations int + type Image struct + Counts SeverityCounts + Digest string + Failures int + Format string + ImageRef string + SBOMID string + SubmittedAt string + type ImageSBOMsPage struct + Repository string + SBOMs []Image + type ImagesOptions struct + Label string + Query string + type ImagesPage struct + Images []RepoImage + type LicenseCount struct + Count int + Key string + type ListOptions struct + Cursor string + Dir string + Limit int + MinSeverity string + Sort string + type PackageLicense struct + Category string + Licenses []string + PURL string + Package string + Reason string + Version string + Violation bool + type RepoImage struct + Counts SeverityCounts + DigestCount int + Failures int + Fixable int + LatestAt string + Repository string + SBOMCount int + Versions []string + type SBOMDetail struct + Attestation *Attestation + Counts SeverityCounts + Digest string + Format string + GeneratedAt string + ImageRef string + SBOMID string + SpecVersion string + Status string + SubmittedAt string + Tool string + ToolVersion string + VerificationStatus string + type SeverityCounts struct + Critical int + High int + Low int + Medium int + Negligible int + Relevant int + Total int + Unknown int + type TimelineEvent struct + Cause string + Digest string + EventType string + Exposure string + OccurredAt string + Package string + SBOMID string + Scanner string + Score float64 + Severity string + type TimelinePage struct + Repository string + Timeline []TimelineEvent + type VEXResult struct + DocumentID string + Matched int + Note string + Skipped int + Statements int + Unmatched int v0.2.1 Jul 12, 2026 v0.2.0 Jul 12, 2026 Changes in this version type SubmitRequest + Attestation []byte type SubmitResponse + VerificationStatus string v0.1.3 Jul 9, 2026 Changes in this version type SubmitRequest + Labels []string v0.1.2 Jul 9, 2026 v0.1.1 Jul 8, 2026 v0.1.0 Jul 8, 2026 Changes in this version + const DefaultBaseURL + type Client struct + func New(baseURL, token string) *Client + func (c *Client) Submit(ctx context.Context, in SubmitRequest) (*SubmitResponse, error) + type SubmitRequest struct + ImageRef string + SBOM []byte + Tags []string + Version string + type SubmitResponse struct + Digest string + Existing bool + Format string + ImageRef string + SBOMID string