Skip to content

Highlight packages #635

@clemgbld

Description

@clemgbld

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions