cli icon indicating copy to clipboard operation
cli copied to clipboard

Highlight packages

Open clemgbld opened this issue 2 months ago • 0 comments

The latest version of the NodeSecure scanner can highlight a given list of packages (see the highlight.packages option in the cwd / from commands and highlighted.packages in the result payload).

However, this feature is not yet exposed in the CLI or the UI.

I see several possible improvements:

  • Add a new CLI argument to provide packages to the auto and cwd commands. These commands expect a record, so we need to define a convenient CLI format (for example: key value key value key value). We would also need to validate the semver values provided as input. In the future, we could allow passing a path to a CSV or JSON file, which would be more convenient for long lists of packages.

  • add an option in the search to retrieve the highlighted packages.

Image

clemgbld avatar Dec 15 '25 21:12 clemgbld