Currently there is no CLI flag/command to view supported plugins, nor whether a plugin is enabled by default. This leads to confusion such as google/osv-scalibr#618 (comment), in which I saw .csproj file detection was supported, but only if you explicitly enable it.
Perhaps a plugin command could solve this? For example:
$ osv-scanner plugin ls
javascript/packagejson (enabled)
dotnet/csproj (disabled)
Or, if --experimental-plugins is used without a value, it could list the available plugins:
$ osv-scanner --experimental-plugins
Available plugins:
...
$ osv-scanner --experimental-no-default-plugins --experimental-plugins
No plugins available
Currently there is no CLI flag/command to view supported plugins, nor whether a plugin is enabled by default. This leads to confusion such as google/osv-scalibr#618 (comment), in which I saw
.csprojfile detection was supported, but only if you explicitly enable it.Perhaps a
plugincommand could solve this? For example:Or, if
--experimental-pluginsis used without a value, it could list the available plugins: