xrayplugin

package
v1.27.0 Latest Latest
Warning

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

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

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 WithIgnorePatterns

func WithIgnorePatterns(ignorePatterns []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

func WithTotalTargets added in v1.23.0

func WithTotalTargets(totalTargets int) bom.SbomGeneratorOption

Types

type XrayLibBomGenerator

type XrayLibBomGenerator struct {
	// 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