xrayplugin

package
v1.41.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 13 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const SnippetDetectionFeatureId = "curation"

SnippetDetectionFeatureId is "curation" because snippet detection is gated by the curation entitlement on the Xray server.

Variables

This section is empty.

Functions

func WithBinaryPath

func WithBinaryPath(binaryPath string) bom.SbomGeneratorOption

func WithCentralRemoteReleasesDetails added in v1.29.3

func WithCentralRemoteReleasesDetails(serverDetails *config.ServerDetails, dependenciesRepository string) bom.SbomGeneratorOption

func WithSnippetDetection added in v1.26.3

func WithSnippetDetection(snippetDetection bool) bom.SbomGeneratorOption

func WithSpecificTechnologies added in v1.26.5

func WithSpecificTechnologies(technologies []string) bom.SbomGeneratorOption

Types

type XrayLibBomGenerator

type XrayLibBomGenerator struct {

	// Artifactory Repository params
	DownloadServerDetails  *config.ServerDetails
	DependenciesRepository string
	// contains filtered or unexported fields
}

func NewXrayLibBomGenerator

func NewXrayLibBomGenerator() *XrayLibBomGenerator

func (*XrayLibBomGenerator) CleanUp

func (sbg *XrayLibBomGenerator) CleanUp() (err error)

func (*XrayLibBomGenerator) GenerateSbom

func (sbg *XrayLibBomGenerator) GenerateSbom(target results.ScanTarget) (sbom *cyclonedx.BOM, err error)

func (*XrayLibBomGenerator) PrepareGenerator

func (sbg *XrayLibBomGenerator) PrepareGenerator() (err error)

func (*XrayLibBomGenerator) WithOptions

func (sbg *XrayLibBomGenerator) WithOptions(options ...bom.SbomGeneratorOption) bom.SbomGenerator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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