Skip to content

Commit

Permalink
Fix naming to docker scan like in applicable docker scan jfrog#1035
Browse files Browse the repository at this point in the history
  • Loading branch information
guyshe-jfrog committed Dec 10, 2023
1 parent 2bfd658 commit 15a9abb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions xray/commands/audit/jas/secrets/secretsscanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
)

const (
secretsScanCommand = "sec"
SecretsScannerType = "secrets-scan" // #nosec
SecretsScannerDockerType = "secrets-docker-scan" // #nosec
secretsDocsUrlSuffix = "secrets"
secretsScanCommand = "sec"
SecretsScannerType = "secrets-scan" // #nosec
SecretsScannerDockerScanType = "secrets-docker-scan" // #nosec
secretsDocsUrlSuffix = "secrets"
)

type SecretScanManager struct {
Expand Down
2 changes: 1 addition & 1 deletion xray/commands/scan/jasrunner_cves.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func runJasScannersAndSetResults(scanResults *utils.Results, cveList []string,
return
}

scanResults.ExtendedScanResults.SecretsScanResults, err = secrets.RunSecretsScan(scanner, secrets.SecretsScannerDockerType)
scanResults.ExtendedScanResults.SecretsScanResults, err = secrets.RunSecretsScan(scanner, secrets.SecretsScannerDockerScanType)
if err != nil {
return
}
Expand Down

0 comments on commit 15a9abb

Please sign in to comment.