diff --git a/go.mod b/go.mod index d96004058..f55a4b068 100644 --- a/go.mod +++ b/go.mod @@ -123,4 +123,4 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -replace github.com/jfrog/jfrog-cli-core/v2 => github.com/eyaldelarea/jfrog-cli-core/v2 v2.0.0-20230913063056-eb631dc56d24 +replace github.com/jfrog/jfrog-cli-core/v2 => github.com/eyaldelarea/jfrog-cli-core/v2 v2.0.0-20230913140825-741f55b71e2e diff --git a/go.sum b/go.sum index 8bace2d4d..4b09a931c 100644 --- a/go.sum +++ b/go.sum @@ -133,8 +133,8 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/eyaldelarea/jfrog-cli-core/v2 v2.0.0-20230913063056-eb631dc56d24 h1:slu4/S4GfCqhL1vUA//5//p+jBGVloD5Izb7iED5D4A= -github.com/eyaldelarea/jfrog-cli-core/v2 v2.0.0-20230913063056-eb631dc56d24/go.mod h1:HCMfdtCy2B81EF8YiQlsfbG3CsLk/VeqoWGNYoSUz8Q= +github.com/eyaldelarea/jfrog-cli-core/v2 v2.0.0-20230913140825-741f55b71e2e h1:6pRD2k07WcUnBQ++nco/hXixRWPalmc8s7qbIwmbKKg= +github.com/eyaldelarea/jfrog-cli-core/v2 v2.0.0-20230913140825-741f55b71e2e/go.mod h1:HCMfdtCy2B81EF8YiQlsfbG3CsLk/VeqoWGNYoSUz8Q= github.com/forPelevin/gomoji v1.1.8 h1:JElzDdt0TyiUlecy6PfITDL6eGvIaxqYH1V52zrd0qQ= github.com/forPelevin/gomoji v1.1.8/go.mod h1:8+Z3KNGkdslmeGZBC3tCrwMrcPy5GRzAD+gL9NAwMXg= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= diff --git a/utils/cliutils/commandsflags.go b/utils/cliutils/commandsflags.go index 9eccf0ad8..db8144907 100644 --- a/utils/cliutils/commandsflags.go +++ b/utils/cliutils/commandsflags.go @@ -463,6 +463,7 @@ const ( ExcludeTestDeps = "exclude-test-deps" DepType = "dep-type" // Run applicability scanning on third-party dependencies folders, for example node_modules. + // When on, only applicablity scanner will run. ThirdPartyDepsApplicability = "third-party-contextual-analysis" RequirementsFile = "requirements-file" watches = "watches" @@ -1638,7 +1639,7 @@ var flagsMap = map[string]cli.Flag{ }, ThirdPartyDepsApplicability: cli.BoolFlag{ Name: ThirdPartyDepsApplicability, - Usage: "[Default: false] Applicable for npm only. when set, the 'vulnerability contextual analysis' feature also uses the code of the project dependencies to determine the applicability of the vulnerability ", + Usage: "[Default: false] Applicable for npm only. when set, the 'vulnerability contextual analysis' feature also uses the code of the project dependencies to determine the applicability of the vulnerability. Notice: disables all the scanners expect for applicability scanner.", Hidden: true, }, }