lastpassreportingcli package

Subpackages

Submodules

lastpassreportingcli.lastpassreportingcli module

Main code for lastpassreportingcli.

lastpassreportingcli.lastpassreportingcli.authenticate_lastpass(username, password, mfa)[source]
lastpassreportingcli.lastpassreportingcli.create_csv_payload(folders, cutoff_date, warning_whitelist)[source]
lastpassreportingcli.lastpassreportingcli.create_report(folder_metrics, report_on, sort_on, reverse_sort)[source]
lastpassreportingcli.lastpassreportingcli.export_secret_state(folders, filename, cutoff_date, warning_whitelist)[source]
lastpassreportingcli.lastpassreportingcli.final_report_data(folder_metrics)[source]
lastpassreportingcli.lastpassreportingcli.get_arguments()[source]

Gets us the cli arguments.

Returns the args as parsed from the argsparser.

lastpassreportingcli.lastpassreportingcli.get_folder_metrics(secrets, folders, cutoff_date, warning_whitelist, details, filter_folders)[source]
lastpassreportingcli.lastpassreportingcli.setup_logging(level, config_file=None)[source]

Sets up the logging.

Needs the args to get the log level supplied

Parameters:
  • level – At which level do we log

  • config_file – Configuration to use

lastpassreportingcli.lastpassreportingcliexceptions module

Custom exception code for lastpassreportingcli.

Module contents

lastpassreportingcli package.

Import all parts from lastpassreportingcli here