The RPT has updated the format of their JSON data that provides input to TPT-Reports. The source for TPT-Reports has been updated to reflect these changes. The payloads list has been nested under the phishing_assessment property. In addition, the assessment ID number is provided in the new format, so it is no longer necessary as a command line argument and has been removed.
All test cases have been updated to reflect these new changes. Resolves issue #66
π Motivation and context
This change is required so the PCA team can use TPT-Reports with the latest RPT JSON format.
π§ͺ Testing
Test cases have been updated and verified with PyTest.
β Pre-approval checklist
[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
π£ Description
The RPT has updated the format of their JSON data that provides input to TPT-Reports. The source for TPT-Reports has been updated to reflect these changes. The
payloads
list has been nested under thephishing_assessment
property. In addition, the assessment ID number is provided in the new format, so it is no longer necessary as a command line argument and has been removed.All test cases have been updated to reflect these new changes. Resolves issue #66
π Motivation and context
This change is required so the PCA team can use TPT-Reports with the latest RPT JSON format.
π§ͺ Testing
Test cases have been updated and verified with PyTest.
β Pre-approval checklist
β Pre-merge checklist
β Post-merge checklist