securityevidence

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertNoRawSecrets

func AssertNoRawSecrets(root string, rawSecrets []string) error

func WriteBundle

func WriteBundle(opts BundleOptions, verifierReport *verify.Report, secretsReport *verify.SecretScanReport) error

Types

type BundleManifest

type BundleManifest struct {
	Version              string    `json:"version"`
	GeneratedAt          time.Time `json:"generatedAt"`
	Tool                 string    `json:"tool"`
	Ruleset              string    `json:"ruleset,omitempty"`
	DetectorVersion      string    `json:"detectorVersion"`
	RenderedManifestHash string    `json:"renderedManifestSha256,omitempty"`
	VerifierFindings     int       `json:"verifierFindings"`
	SecretFindings       int       `json:"secretFindings"`
	RedactionEnabled     bool      `json:"redactionEnabled"`
	RawSecretStored      bool      `json:"rawSecretStored"`
	Blocked              bool      `json:"blocked"`
}

type BundleOptions

type BundleOptions struct {
	Dir                  string
	GeneratedAt          time.Time
	RenderedManifestHash string
}

Jump to

Keyboard shortcuts

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