You want to find inbound emails which were flagged by the SPF or DMARC checks under the Antispam detection settings but delivered.
Email Security.cloud Splunk app.
This can happen if the action for SPF/DMARC is set as log only, The Email Security.cloud service stores the SPF/DMARC check decision passively in logs to help get better understanding of the email traffic, this can help while you are in testing mode for SPF/DMARC and want to move towards blocking emails failing these checks.
The Splunk search query below will give emails which had:
sourcetype="symantec:email:cloud:atp" earliest=-15d
message_info="Inbound"
action!="blocked"
(
emailInfo.authResults.spf!="SPF_PASS" AND emailInfo.authResults.spf!="SPF_NONE"
OR emailInfo.authResults.dmarc!="DMARC_PASS" AND emailInfo.authResults.dmarc!="DMARC_NONE"
)
| table _time sender recipient subject senderIp action emailInfo.authResults.spf emailInfo.authResults.dmarc
| sort - _time