sast

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: 17 Imported by: 1 module, 0 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

This section is empty.

Variables

This section is empty.

Functions

func RunSastScan

func RunSastScan(params SastScanParams, scanner *jas.JasScanner) (vulnerabilitiesResults []*sarif.Run, violationsResults []*sarif.Run, err error)

func SastChangedFilesForTarget added in v1.28.0

func SastChangedFilesForTarget(gitCtx *xscservices.XscGitInfoContext, targetPath, rootDir string) []string

SastChangedFilesForTarget returns absolute paths of changed files under the root directory that belong to the target path.

Types

type SastScanManager

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

func (*SastScanManager) DeprecatedRun added in v1.29.3

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

func (*SastScanManager) Run

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

type SastScanParams added in v1.28.0

type SastScanParams struct {
	SignedDescriptions bool
	SastRules          string
	TargetCount        int
	Target             results.ScanTarget
	ThreadId           int
	SastChangedFiles   []string
	ChangedFilesMode   bool
	ResultsToCompare   []*sarif.Run
}

Jump to

Keyboard shortcuts

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