Documentation
¶
Index ¶
- func RunIacScan(scanner *jas.JasScanner, params IacScanParams) (vulnerabilitiesResults []*sarif.Run, violationsResults []*sarif.Run, err error)
- type IacScanManager
- func (iac *IacScanManager) DeprecatedRun(module jfrogappsconfig.Module, centralConfigExclusions []string) (vulnerabilitiesSarifRuns []*sarif.Run, violationsSarifRuns []*sarif.Run, ...)
- func (iac *IacScanManager) Run(target results.ScanTarget) (vulnerabilitiesSarifRuns []*sarif.Run, violationsSarifRuns []*sarif.Run, ...)
- type IacScanParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunIacScan ¶
func RunIacScan(scanner *jas.JasScanner, params IacScanParams) (vulnerabilitiesResults []*sarif.Run, violationsResults []*sarif.Run, err error)
The getIacScanResults function runs the iac scan flow, which includes the following steps: Creating an IacScanManager object. Running the analyzer manager executable. Parsing the analyzer manager results.
Types ¶
type IacScanManager ¶
type IacScanManager struct {
// contains filtered or unexported fields
}
func (*IacScanManager) DeprecatedRun ¶ added in v1.29.3
func (iac *IacScanManager) DeprecatedRun(module jfrogappsconfig.Module, centralConfigExclusions []string) (vulnerabilitiesSarifRuns []*sarif.Run, violationsSarifRuns []*sarif.Run, err error)
func (*IacScanManager) Run ¶
func (iac *IacScanManager) Run(target results.ScanTarget) (vulnerabilitiesSarifRuns []*sarif.Run, violationsSarifRuns []*sarif.Run, err error)
type IacScanParams ¶ added in v1.29.3
Click to show internal directories.
Click to hide internal directories.