fix: Explicitly state stix binding
parent
9b7448cfca
commit
8ae5ce723d
|
@ -84,8 +84,9 @@ while True:
|
||||||
i.version = version
|
i.version = version
|
||||||
|
|
||||||
try:
|
try:
|
||||||
cli.push(pkg.to_xml().decode("utf-8"),
|
log.info("Using binding %s", "urn:stix.mitre.org:xml:{}".format(version))
|
||||||
"urn:stix.mitre.org:xml:{}".format(version),
|
cli.push(content=pkg.to_xml().decode("utf-8"),
|
||||||
|
content_binding="urn:stix.mitre.org:xml:{}".format(version),
|
||||||
uri="{}://{}/services/inbox".format(config.get("protocol", "http"),
|
uri="{}://{}/services/inbox".format(config.get("protocol", "http"),
|
||||||
config["domain"]),
|
config["domain"]),
|
||||||
collection_names=config["taxii"].get("collections", ["collection"]))
|
collection_names=config["taxii"].get("collections", ["collection"]))
|
||||||
|
|
Loading…
Reference in New Issue