File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ module github.com/jfrog/jfrog-cli-security
22
33go 1.24.6
44
5- // TODO: update xray-scan lib to latest version that supports CycloneDX v0.9.3 (not yet released)
6- replace github.com/CycloneDX/cyclonedx-go => github.com/CycloneDX/cyclonedx-go v0.9.2
7-
85require (
96 github.com/CycloneDX/cyclonedx-go v0.9.3
107 github.com/beevik/etree v1.4.0
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ dario.cat/mergo v1.0.2 h1:85+piFYR1tMbRrLcDwR18y4UKJ3aH1Tbzi24VRW1TK8=
44dario.cat/mergo v1.0.2 /go.mod h1:E/hbnu0NxMFBjpMIE34DRGLWqDy0g5FuKDhCb31ngxA =
55github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg =
66github.com/BurntSushi/toml v1.5.0 /go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho =
7- github.com/CycloneDX/cyclonedx-go v0.9.2 h1:688QHn2X/5nRezKe2ueIVCt+NRqf7fl3AVQk+vaFcIo =
8- github.com/CycloneDX/cyclonedx-go v0.9.2 /go.mod h1:vcK6pKgO1WanCdd61qx4bFnSsDJQ6SbM2ZuMIgq86Jg =
7+ github.com/CycloneDX/cyclonedx-go v0.9.3 h1:Pyk/lwavPz7AaZNvugKFkdWOm93MzaIyWmBwmBo3aUI =
8+ github.com/CycloneDX/cyclonedx-go v0.9.3 /go.mod h1:vcK6pKgO1WanCdd61qx4bFnSsDJQ6SbM2ZuMIgq86Jg =
99github.com/Microsoft/go-winio v0.5.2 /go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY =
1010github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY =
1111github.com/Microsoft/go-winio v0.6.2 /go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU =
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const (
5757
5858type JasDiffScanEnvValue string
5959
60- var scannersRequiredInstalledSoftwares = []string {
60+ var scannersRequiredInstalledSoftware = []string {
6161 "git" , "unzip" , "curl" ,
6262}
6363
@@ -218,7 +218,7 @@ func DownloadAnalyzerManagerIfNeeded(threadId int) error {
218218}
219219
220220func ValidateRequiredInstalledSoftware () (err error ) {
221- for _ , software := range scannersRequiredInstalledSoftwares {
221+ for _ , software := range scannersRequiredInstalledSoftware {
222222 if softwarePath , e := exec .LookPath (software ); e != nil || softwarePath == "" {
223223 err = errors .Join (err , fmt .Errorf ("could not find the required '%s' executable in the system PATH to run the Advanced Security Scans" , software ))
224224 }
You can’t perform that action at this time.
0 commit comments