From a73846697fb2ffadfa1b62d395f28f72bc9844bc Mon Sep 17 00:00:00 2001 From: Sean Whalen Date: Wed, 26 Sep 2018 14:51:03 -0400 Subject: [PATCH] 4.0.1 --- _modules/parsedmarc/elastic.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_modules/parsedmarc/elastic.html b/_modules/parsedmarc/elastic.html index 8fffe13..9985639 100644 --- a/_modules/parsedmarc/elastic.html +++ b/_modules/parsedmarc/elastic.html @@ -164,6 +164,7 @@ class _PublishedPolicy(InnerDoc): + domain = Text() adkim = Text() aspf = Text() p = Text() @@ -195,7 +196,6 @@ report_id = Text() date_range = DateRange() errors = Text() - domain = Text() published_policy = Object(_PublishedPolicy) source_ip_address = Ip() source_country = Text() @@ -372,6 +372,7 @@ begin_date_human, end_date_human)) published_policy = _PublishedPolicy( + domain=aggregate_report["policy_published"]["domain"], adkim=aggregate_report["policy_published"]["adkim"], aspf=aggregate_report["policy_published"]["aspf"], p=aggregate_report["policy_published"]["p"], @@ -389,7 +390,6 @@ report_id=metadata["report_id"], date_range=date_range, errors=metadata["errors"], - domain=aggregate_report["policy_published"]["domain"], published_policy=published_policy, source_ip_address=record["source"]["ip_address"], source_country=record["source"]["country"],