Supported Cortex XSOAR versions: 6.1.0 and later.
Use this script to delete a reported phishing email from the mailbox it was reported to.
|Cortex XSOAR Version||6.1.0|
|delete_type||The type of deletion - soft allows restoring, hard doesn't. Not relevant for O365 and Search & Compliance.|
|delete_from_brand||The brand for which to delete this email from. The default value is the incident using the brand.|
|search_name||Argument used for the generic polling flow within the security and compliance search.|
|polling||Use the Cortex XSOAR built-in polling to retrieve the result when it's ready.|
|interval_in_seconds||Interval in seconds between each poll.|
|DeleteReportedEmail.result||Whether the deletion operation was successful, skipped, or failed||String|
|DeleteReportedEmail.deletion_failure_reason||The reason of failure if the deletion operation failed or skipped||String|
|DeleteReportedEmail.delete_type||Whether the deletion operation was hard or soft.||String|
|DeleteReportedEmail.using_brand||The email service that was used to delete the email.||String|
|DeleteReportedEmail.email_subject||The subject of the deleted email.||String|
|DeleteReportedEmail.message_id||The message ID of the deleted email.||String|