iac

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunIacScan

func RunIacScan(scanner *jas.JasScanner, module jfrogappsconfig.Module, threadId int) (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)

Jump to

Keyboard shortcuts

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