diff --git a/scripts/push_published_to_taxii.py b/scripts/push_published_to_taxii.py index 148de7b..ed9a2f5 100644 --- a/scripts/push_published_to_taxii.py +++ b/scripts/push_published_to_taxii.py @@ -83,6 +83,9 @@ while True: if hasattr(i, "version"): i.version = version + # Set the top-level + pkg.version = version + try: log.info("Using binding %s", "urn:stix.mitre.org:xml:{}".format(version)) cli.push(content=pkg.to_xml().decode("utf-8"),