cisagov / tpt-reports

Process to build and distribute Technical Phishing Test (TPT) reports
Creative Commons Zero v1.0 Universal
4 stars 0 forks source link

Validate JSON_FILE_PATH argument inputs #39

Closed ameliav closed 11 months ago

ameliav commented 1 year ago

💡 Summary

Validate that the argument submitted is a file that exists and that its a JSON file with the correct format.

Motivation and context

Validating JSON_FILE_PATH syntax improves quality control of the TPT report service and validating its existence and possibly gathering other relevant data may help improve upon the report content.

Implementation notes

Acceptance criteria

How do we know when this work is done?