Skip to content

Commit

Permalink
Improved JAS inclusion warning log (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
eranturgeman authored Sep 23, 2024
1 parent 8306f5b commit d87f379
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 include 'Advanced Security' scan as part of the audit output, please run the 'jf c add' command before running this command.")
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 d87f379

Please sign in to comment.