sast

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

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(changedFilesMode bool, 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) Run

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

type SastScanParams added in v1.28.0

type SastScanParams struct {
	Module             jfrogappsconfig.Module
	SignedDescriptions bool
	SastRules          string
	TargetCount        int
	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