Skip to content

Commit

Permalink
Allow pass msi as env
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Aug 31, 2023
1 parent 6822658 commit 59e8b9e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions xray/scan/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,9 @@ func createScanGraphQueryParams(scanParams XrayGraphScanParams) string {
params = append(params, watchesQueryParam+watch)
}
}
case scanParams.MultiScanId != "":
params = append(params, multiScanIdParam+scanParams.MultiScanId)
case scanParams.XscGitInfoContext != nil:
if scanParams.MultiScanId != "" {
params = append(params, multiScanIdParam+scanParams.MultiScanId)
}
if len(scanParams.XscGitInfoContext.Technologies) > 0 {
params = append(params, scanTechQueryParam+scanParams.XscGitInfoContext.Technologies[0])
}
Expand Down

0 comments on commit 59e8b9e

Please sign in to comment.