bundle

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(dir, scanID, version string, findings []finding.Finding) error

Types

type FileEntry

type FileEntry struct {
	Name   string `json:"name"`
	SHA256 string `json:"sha256"`
	SHA512 string `json:"sha512"`
}

type Manifest

type Manifest struct {
	ScanID           string      `json:"scan_id"`
	ScanTimestampUTC string      `json:"scan_timestamp_utc"`
	Files            []FileEntry `json:"files"`
	FilesRootHash    string      `json:"files_root_hash"`
}

type ScanMetadata

type ScanMetadata struct {
	ScanID           string `json:"scan_id"`
	ScanTimestampUTC string `json:"scan_timestamp_utc"`
	Version          string `json:"version"`
	TotalFindings    int    `json:"total_findings"`
}

type VerifyResult

type VerifyResult struct {
	File   string
	Passed bool
	Reason string
}

func Verify

func Verify(dir string) ([]VerifyResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL