Deleted setProxy logic from audit files and changed flow to use new function in cli-core #89
analysis.yml
on: pull_request
Static-Check
1m 9s
Go-Sec
1m 41s
Annotations
20 errors and 2 warnings
Static-Check:
commands/audit/scarunner.go#L18
could not import github.com/jfrog/jfrog-cli-security/commands/audit/sca/npm (-: # github.com/jfrog/jfrog-cli-security/commands/audit/sca/npm
|
Static-Check:
commands/audit/sca/npm/npm.go#L118
cannot use coreXray.BuildXrayDependencyTree(treeMap, utils.NpmPackageTypeIdentifier + packageInfo.BuildInfoModuleId()) (value of type map[string][]string) as []string value in return statement
|
Static-Check:
commands/audit/sca/npm/npm.go#L118
cannot use treeMap (variable of type map[string][]string) as map[string]"github.com/jfrog/jfrog-cli-core/v2/utils/xray".DepTreeNode value in argument to coreXray.BuildXrayDependencyTree) (typecheck)
|
Static-Check:
commands/audit/scarunner.go#L19
could not import github.com/jfrog/jfrog-cli-security/commands/audit/sca/nuget (-: # github.com/jfrog/jfrog-cli-security/commands/audit/sca/nuget
|
Static-Check:
commands/audit/sca/nuget/nuget.go#L228
cannot use treeMap (variable of type map[string][]string) as map[string]"github.com/jfrog/jfrog-cli-core/v2/utils/xray".DepTreeNode value in argument to coreXray.BuildXrayDependencyTree
|
Static-Check:
commands/audit/sca/nuget/nuget.go#L231
cannot use uniqueDep (variable of type []string) as string value in argument to uniqueDepsSet.Add) (typecheck)
|
Static-Check:
commands/audit/scarunner.go#L21
could not import github.com/jfrog/jfrog-cli-security/commands/audit/sca/yarn (-: # github.com/jfrog/jfrog-cli-security/commands/audit/sca/yarn
|
Static-Check:
commands/audit/sca/yarn/yarn.go#L213
cannot use coreXray.BuildXrayDependencyTree(treeMap, rootXrayId) (value of type map[string][]string) as []string value in return statement
|
Static-Check:
commands/audit/sca/yarn/yarn.go#L213
cannot use treeMap (variable of type map[string][]string) as map[string]"github.com/jfrog/jfrog-cli-core/v2/utils/xray".DepTreeNode value in argument to coreXray.BuildXrayDependencyTree) (typecheck)
|
Static-Check:
commands/audit/scarunner.go#L205
too many arguments in call to java.BuildDependencyTree
|
Go-Sec:
commands/audit/sca/npm/npm.go#L118
cannot use coreXray.BuildXrayDependencyTree(treeMap, utils.NpmPackageTypeIdentifier + packageInfo.BuildInfoModuleId()) (value of type map[string][]string) as []string value in return statement
|
Go-Sec:
commands/audit/sca/npm/npm.go#L118
cannot use treeMap (variable of type map[string][]string) as map[string]"github.com/jfrog/jfrog-cli-core/v2/utils/xray".DepTreeNode value in argument to coreXray.BuildXrayDependencyTree
|
Go-Sec:
commands/audit/sca/npm/npm.go#L118
cannot use coreXray.BuildXrayDependencyTree(treeMap, utils.NpmPackageTypeIdentifier + packageInfo.BuildInfoModuleId()) (value of type map[string][]string) as []string value in return statement
|
Go-Sec:
commands/audit/sca/npm/npm.go#L118
cannot use treeMap (variable of type map[string][]string) as map[string]"github.com/jfrog/jfrog-cli-core/v2/utils/xray".DepTreeNode value in argument to coreXray.BuildXrayDependencyTree
|
Go-Sec:
commands/audit/sca/common_test.go#L70
cannot use treeHelper (variable of type map[string][]string) as map[string]"github.com/jfrog/jfrog-cli-core/v2/utils/xray".DepTreeNode value in argument to coreXray.BuildXrayDependencyTree
|
Go-Sec:
commands/audit/sca/yarn/yarn.go#L213
cannot use coreXray.BuildXrayDependencyTree(treeMap, rootXrayId) (value of type map[string][]string) as []string value in return statement
|
Go-Sec:
commands/audit/sca/yarn/yarn.go#L213
cannot use treeMap (variable of type map[string][]string) as map[string]"github.com/jfrog/jfrog-cli-core/v2/utils/xray".DepTreeNode value in argument to coreXray.BuildXrayDependencyTree
|
Go-Sec:
commands/audit/sca/yarn/yarn.go#L213
cannot use coreXray.BuildXrayDependencyTree(treeMap, rootXrayId) (value of type map[string][]string) as []string value in return statement
|
Go-Sec:
commands/audit/sca/yarn/yarn.go#L213
cannot use treeMap (variable of type map[string][]string) as map[string]"github.com/jfrog/jfrog-cli-core/v2/utils/xray".DepTreeNode value in argument to coreXray.BuildXrayDependencyTree
|
Go-Sec:
commands/audit/sca/nuget/nuget.go#L228
cannot use treeMap (variable of type map[string][]string) as map[string]"github.com/jfrog/jfrog-cli-core/v2/utils/xray".DepTreeNode value in argument to coreXray.BuildXrayDependencyTree
|
Static-Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Go-Sec
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|