applicability

package
v1.12.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunApplicabilityScan

func RunApplicabilityScan(xrayResults []services.ScanResponse, directDependencies []string,
	scanner *jas.JasScanner, thirdPartyContextualAnalysis bool, scanType ApplicabilityScanType, module jfrogappsconfig.Module, threadId int) (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. Return values: map[string]string: A map containing the applicability result of each XRAY CVE. bool: true if the user is entitled to the applicability scan, false otherwise. error: An error object (if any).

Types

type ApplicabilityScanManager

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

func (*ApplicabilityScanManager) Run

func (asm *ApplicabilityScanManager) Run(module jfrogappsconfig.Module) (err error)

type ApplicabilityScanType

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

Jump to

Keyboard shortcuts

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