output

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DependencyNode

type DependencyNode struct {
	PURL         string                 `json:"package_url,omitempty"`
	Metadata     map[string]interface{} `json:"metadata,omitempty"`
	Relationship string                 `json:"relationship,omitempty"`
	Scope        string                 `json:"scope,omitempty"`
	Dependencies []string               `json:"dependencies,omitempty"`
}

DependencyNode DependencyGraph Metadata

type DependencySnapshot

type DependencySnapshot struct {
	Version   int                    `json:"version"`
	Job       Job                    `json:"job,omitempty"`
	Sha       string                 `json:"sha,omitempty"`
	Ref       string                 `json:"ref,omitempty"`
	Detector  Detector               `json:"detector,omitempty"`
	Metadata  map[string]interface{} `json:"metadata,omitempty"`
	Manifests PackageManifests       `json:"manifests,omitempty"`
	Scanned   string                 `json:"scanned,omitempty"`
}

DependencySnapshot Model

type Detector

type Detector struct {
	Name    string `json:"name,omitempty"`
	URL     string `json:"url,omitempty"`
	Version string `json:"version,omitempty"`
}

Detector Model

type FileInfo

type FileInfo struct {
	SourceLocation string `json:"source_location,omitempty"`
}

FileInfo PackageManifest File Model

type Job

type Job struct {
	Name    string `json:"correlator,omitempty"`
	ID      string `json:"id,omitempty"`
	HTMLURL string `json:"html_url,omitempty"`
}

Job Model

type PackageManifest

type PackageManifest struct {
	Name     string                    `json:"name"`
	File     FileInfo                  `json:"file"`
	Metadata map[string]interface{}    `json:"metadata,omitempty"`
	Resolved map[string]DependencyNode `json:"resolved,omitempty"`
}

PackageManifest: A collection of related dependencies, either declared in a file, or representing a logical group of dependencies.

type PackageManifests

type PackageManifests map[string]PackageManifest

PackageManifests: manifests metadata from sbom packages

Jump to

Keyboard shortcuts

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