change N/A to unknown to avoid confusion

This commit is contained in:
Son 2022-03-25 18:00:49 +01:00
parent 75da6d7027
commit 159d30820e
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ def apply_dmarc_policy(
if dmarc_result:
newrelic.agent.record_custom_event("DmarcCheck", {"result": dmarc_result.name})
else:
newrelic.agent.record_custom_event("DmarcCheck", {"result": "N/A"})
newrelic.agent.record_custom_event("DmarcCheck", {"result": "unknown"})
if not DMARC_CHECK_ENABLED or not dmarc_result:
return None