compliance

package
v0.0.0-...-3ec4577 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSBOM

func GenerateSBOM(artifactPath string) error

func PerformComplianceCheck

func PerformComplianceCheck(artifactPath string) error

Types

type Component

type Component struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Type    string `json:"type"`
	License string `json:"license"`
}

type SBOM

type SBOM struct {
	Name        string      `json:"name"`
	Version     string      `json:"version"`
	Description string      `json:"description"`
	Components  []Component `json:"components"`
	CreatedAt   time.Time   `json:"created_at"`
}

Jump to

Keyboard shortcuts

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