From 065aba7f6f83ed11e3a935a1ada8c65068ce409d Mon Sep 17 00:00:00 2001 From: Sean Whalen Date: Fri, 29 Mar 2019 17:10:09 -0400 Subject: [PATCH] 3.6.1 - Fix `strip_attachment_payloads` option --- CHANGELOG.md | 5 +++++ README.rst | 2 +- parsedmarc/cli.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3afa1cce..6bb90728 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +6.3.1 +----- + +- Fix `strip_attachment_payloads` option + 6.3.0 ----- diff --git a/README.rst b/README.rst index 083bf3a6..d725132e 100644 --- a/README.rst +++ b/README.rst @@ -131,7 +131,7 @@ The full set of configuration options are: - ``general`` - ``save_aggregate`` - bool: Save aggregate report data to the Elasticsearch and/or Splunk - ``save_forensic`` - bool: Save forensic report data to the Elasticsearch and/or Splunk - - ``strip_attachments_payloads`` - bool: Remove attachment payloads from results + - ``strip_attachment_payloads`` - bool: Remove attachment payloads from results - ``output`` - str: Directory to place JSON and CSV files in - ``nameservers`` - str: A comma separated list of DNS resolvers (Default: `Cloudflare's public resolvers`_) - ``dns_timeout`` - float: DNS timeout period diff --git a/parsedmarc/cli.py b/parsedmarc/cli.py index 85cdfa39..8e9827c3 100644 --- a/parsedmarc/cli.py +++ b/parsedmarc/cli.py @@ -232,7 +232,7 @@ def _main(): config.read(args.config_file) if "general" in config.sections(): general_config = config["general"] - if "strip_attachments_payloads" in general_config: + if "strip_attachment_payloads" in general_config: opts.strip_attachment_payloads = general_config[ "strip_attachment_payloads"] if "output" in general_config: