credential-digger
credential-digger copied to clipboard
Enable updating discovery state via CLI
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).