Closed phutelmyer closed 5 months ago
This update includes several enhancements to the scan_email.py scanner. Changes include:
scan_email.py
test_broken.eml
test_scan_email.py
The following tests were conducted:
{ "elapsed": mock.ANY, "flags": [ "ScanEmail: image_thumbnail_error: Could not generate thumbnail. No HTML found." ], "total": {"attachments": 0, "extracted": 0}, "body": "Hi Placeholder,\n\nCan I have access?\n\nThanks,\nJohn\n\n\nFrom: Placeholder Smith " "<placeholder@acme.com<m...m> shared a file or folder located in Acme Share with you. Delete visitor " "session<https://acme.com>\n", "domains": ["acme.com", "share.acme.com"], "subject": "", "to": [], "from": "", "date_utc": "1970-01-01T00:00:00.000Z", "message_id": "", "received_domain": [], "received_ip": [], }
Describe the change
This update includes several enhancements to the
scan_email.py
scanner. Changes include:test_broken.eml
, for testing the scanner's ability to handle incomplete or corrupted email files.test_scan_email.py
, has been updated to include a scenario that simulates the handling of a broken / incomplete email file.Describe testing procedures
The following tests were conducted:
scan_email.py
to include cases with the newtest_broken.eml
sample.Sample output
Checklist