Help us shape the future of Go! Take the 2026 Go Developer Survey

applicability

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunApplicabilityScan

func RunApplicabilityScan(params ContextualAnalysisScanParams, scanner *jas.JasScanner) (results []*sarif.Run, err error)

The getApplicabilityScanResults function runs the applicability scan flow, which includes the following steps: Creating an ApplicabilityScanManager object. Checking if the scanned project is eligible for applicability scan. Running the analyzer manager executable. Parsing the analyzer manager results.

Types

type ApplicabilityScanManager

type ApplicabilityScanManager struct {
	// contains filtered or unexported fields
}

func (*ApplicabilityScanManager) DeprecatedRun added in v1.29.3

func (asm *ApplicabilityScanManager) DeprecatedRun(module jfrogappsconfig.Module, centralConfigExclusions []string) (vulnerabilitiesSarifRuns []*sarif.Run, violationsSarifRuns []*sarif.Run, err error)

func (*ApplicabilityScanManager) Run

func (asm *ApplicabilityScanManager) Run(target results.ScanTarget) (vulnerabilitiesSarifRuns []*sarif.Run, violationsSarifRuns []*sarif.Run, err error)

type ApplicabilityScanType

type ApplicabilityScanType string
const (
	ApplicabilityScannerType         ApplicabilityScanType = "analyze-applicability"
	ApplicabilityDockerScanScanType  ApplicabilityScanType = "analyze-applicability-docker-scan"
	ApplicabilityGenericScanScanType ApplicabilityScanType = "analyze-applicability-generic-scan"
)

type ContextualAnalysisScanParams added in v1.20.0

type ContextualAnalysisScanParams struct {
	DirectDependenciesCves       []string
	IndirectDependenciesCves     []string
	IndirectCvePaths             map[string]catalogServices.IndirectContextualResponse
	ScanType                     ApplicabilityScanType
	ThirdPartyContextualAnalysis bool
	ThreadId                     int
	TargetCount                  int
	Target                       results.ScanTarget
}

Jump to

Keyboard shortcuts

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