Skip to content

Enable updating discovery state via CLI #316

@keithlai124

Description

@keithlai124

Currently the credentialdigger cli has the module for get_discoveries. However there should ideally be a way for users to also update a discovery to another state (such as false_positive) via the CLI. This functionality is already available via the UI but not via the CLI.

There should also be an optional flag where you can specify whether when updating the discovery whether you want to also update similar discoveries with the same state (to take advantage of the similarity model).

Ideally it should also return a basic response to let users know whether the action was successful (eg. output number of discoveries that were updated).

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalAsk/propose a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions