diff --git a/jas/runner/jasrunner.go b/jas/runner/jasrunner.go index 39a72f12..923d62bb 100644 --- a/jas/runner/jasrunner.go +++ b/jas/runner/jasrunner.go @@ -20,7 +20,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) (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 }