Skip to content

Commit 80ee3ec

Browse files
osv: re-enable transitive scanning without pypi (#4848)
Plugins are a new osv-scanner/osv-scalibr way of disabling specific features, which give us finer control over what features to toggle. Signed-off-by: Spencer Schrock <[email protected]>
1 parent 1cefd43 commit 80ee3ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clients/osv.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ func (v osvClient) ListUnfixedVulnerabilities(
6161
GitCommits: gitCommits,
6262
CompareOffline: v.local,
6363
DownloadDatabases: v.local,
64+
// swap out the transitive requirements scanning for offline extractor
6465
ExperimentalScannerActions: osvscanner.ExperimentalScannerActions{
65-
TransitiveScanningActions: osvscanner.TransitiveScanningActions{
66-
Disabled: true,
67-
},
66+
PluginsEnabled: []string{"python/requirements"},
67+
PluginsDisabled: []string{"python/requirementsenhanceable"},
6868
},
6969
}) // TODO: Do logging?
7070

0 commit comments

Comments
 (0)