Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunSecretsScan ¶
func RunSecretsScan(scanner *jas.JasScanner, scanType SecretsScanType, module jfrogappsconfig.Module, threadId int) (results []*sarif.Run, err error)
The getSecretsScanResults function runs the secrets scan flow, which includes the following steps: Creating an SecretScanManager object. Running the analyzer manager executable. Parsing the analyzer manager results. Return values: []utils.IacOrSecretResult: a list of the secrets that were found. error: An error object (if any).
Types ¶
type SecretScanManager ¶
type SecretScanManager struct {
// contains filtered or unexported fields
}
func (*SecretScanManager) Run ¶
func (ssm *SecretScanManager) Run(module jfrogappsconfig.Module) (err error)
type SecretsScanType ¶
type SecretsScanType string
const ( SecretsScannerType SecretsScanType = "secrets-scan" // #nosec SecretsScannerDockerScanType SecretsScanType = "secrets-docker-scan" // #nosec )
Click to show internal directories.
Click to hide internal directories.