I added code to generate JSON summary reports from the command line today. This allows a user to manually generate these reports when needed. Included are options to specify the report to generate, folder to output the report and paths for the logs to read. At the moment the "PII data report" and "Event summery report" can be generated.
See merged change for futher details: https://github.com/mkenne11/nogotofail-pii/blob/e03d03807e476ad68afa613bdf48d7b56f484358/nogotofail/mitm/report/generate_report.py
Tomorrow I will add user documentation describing how to use the report generation function. I will also explore whether this function should be auto triggered when the user stops the mitm daemon.