Skip to content

Commit

Permalink
fixed warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
eranturgeman committed Sep 22, 2024
1 parent acd2986 commit 61b0e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jas/runner/jasrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func AddJasScannersTasks(securityParallelRunner *utils.SecurityParallelRunner, s
serverDetails *config.ServerDetails, thirdPartyApplicabilityScan bool, scanner *jas.JasScanner, scanType applicability.ApplicabilityScanType,
secretsScanType secrets.SecretsScanType, errHandlerFunc func(error), scansToPreform []utils.SubScanType, configProfile *services.ConfigProfile, scansOutputDir string) (err error) {
if serverDetails == nil || len(serverDetails.Url) == 0 {
log.Warn("To incorporate the ‘Advanced Security’ scan into the audit output:\n1) If using the ‘audit’ command via CLI, make sure to run jf c add’ beforehand.\n2) When using Frogbot, ensure that JF_URL is correctly defined and provided in the CI.")
log.Warn("To incorporate the ‘Advanced Security’ scans into the audit output make sure platform url is provided and valid (run 'jf c add' prior to 'jf audit' via CLI, or provide JF_URL via Frogbot)")
return
}
// For docker scan we support only secrets and contextual scans.
Expand Down

0 comments on commit 61b0e2e

Please sign in to comment.