credential-digger icon indicating copy to clipboard operation
credential-digger copied to clipboard

Enable updating discovery state via CLI

Open keithlai124 opened this issue 7 months ago • 0 comments

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).

keithlai124 avatar Jul 08 '24 00:07 keithlai124