Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunIacScan ¶
func RunIacScan(scanner *jas.JasScanner) (results []*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. Return values: []utils.SourceCodeScanResult: a list of the iac violations that were found. bool: true if the user is entitled to iac scan, false otherwise. error: An error object (if any).
Types ¶
type IacScanManager ¶
type IacScanManager struct {
// contains filtered or unexported fields
}
func (*IacScanManager) Run ¶
func (iac *IacScanManager) Run(module jfrogappsconfig.Module) (err error)
Click to show internal directories.
Click to hide internal directories.