Skip to content

Commit

Permalink
validate xray url before jas scans
Browse files Browse the repository at this point in the history
  • Loading branch information
hadarshjfrog committed Aug 30, 2024
1 parent a4caee5 commit 9878122
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 @@ -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
}
Expand Down

0 comments on commit 9878122

Please sign in to comment.