mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
fix: main mod pseudo version default off (#1894)
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
This commit is contained in:
parent
46865680f5
commit
316c0e9a11
2 changed files with 3 additions and 2 deletions
|
@ -855,7 +855,8 @@ match:
|
|||
using-cpes: false
|
||||
# even if CPE matching is disabled, make an exception when scanning for "stdlib".
|
||||
always-use-cpe-for-stdlib: true
|
||||
allow-main-module-pseudo-version-comparison: true
|
||||
# allow main module pseudo versions, which may have only been "guessed at" by Syft, to be used in vulnerability matching
|
||||
allow-main-module-pseudo-version-comparison: false
|
||||
stock:
|
||||
using-cpes: true
|
||||
```
|
||||
|
|
|
@ -34,7 +34,7 @@ func defaultGolangConfig() golangConfig {
|
|||
UseCPEs: false,
|
||||
},
|
||||
AlwaysUseCPEForStdlib: true,
|
||||
AllowMainModulePseudoVersionComparison: true,
|
||||
AllowMainModulePseudoVersionComparison: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue