secrets

package
v1.21.8 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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, resultsToCompare ...*sarif.Run) (vulnerabilitiesResults []*sarif.Run, violationsResults []*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.

Types

type SecretScanManager

type SecretScanManager struct {
	// contains filtered or unexported fields
}

func (*SecretScanManager) Run

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

type SecretsScanType

type SecretsScanType string
const (
	SecretsScannerType            SecretsScanType = "secrets-scan"         // #nosec
	SecretsScannerDockerScanType  SecretsScanType = "secrets-docker-scan"  // #nosec
	SecretsScannerGenericScanType SecretsScanType = "secrets-generic-scan" // #nosec
)

Jump to

Keyboard shortcuts

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