diff --git a/jas/runner/jasrunner.go b/jas/runner/jasrunner.go index 3e284310..54558c82 100644 --- a/jas/runner/jasrunner.go +++ b/jas/runner/jasrunner.go @@ -21,7 +21,7 @@ import ( func AddJasScannersTasks(securityParallelRunner *utils.SecurityParallelRunner, scanResults *utils.Results, directDependencies *[]string, serverDetails *config.ServerDetails, thirdPartyApplicabilityScan bool, scanner *jas.JasScanner, scanType applicability.ApplicabilityScanType, secretsScanType secrets.SecretsScanType, errHandlerFunc func(error), scansToPreform []utils.SubScanType, configProfile *services.ConfigProfile) (err error) { - if serverDetails == nil || len(serverDetails.Url) == 0 { + if serverDetails == nil || len(serverDetails.XrayUrl) == 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.") return }