Closed m0jtaba closed 5 years ago
The issue has been resolved and for completeness the issue was with the mongodb creation: Before:
api_root_db = add_api_root(
client,
url="http://127.0.0.1:5000/mitre/collections/",
title="MITRE’s Adversarial Tactics, Techniques, and Common Knowledge (ATT&CK™)",
description="MITRE’s Adversarial Tactics, Techniques, and Common Knowledge (ATT&CK™) is a curated knowledge base and model for cyber adversary behavior, reflecting the various phases of an adversary’s lifecycle and the platforms they are known to target. ATT&CK is useful for understanding security risk against known adversary behavior, for planning security improvements, and verifying defenses work as expected.",
max_content_length=9765625,
default=True)
After:
api_root_db = add_api_root(
client,
url="http://127.0.0.1:5000/mitre/",
title="MITRE’s Adversarial Tactics, Techniques, and Common Knowledge (ATT&CK™)",
description="MITRE’s Adversarial Tactics, Techniques, and Common Knowledge (ATT&CK™) is a curated knowledge base and model for cyber adversary behavior, reflecting the various phases of an adversary’s lifecycle and the platforms they are known to target. ATT&CK is useful for understanding security risk against known adversary behavior, for planning security improvements, and verifying defenses work as expected.",
max_content_length=9765625,
default=True)
I was adding collection to the api root which is wrong.........
Used to be able to POST bundle via the method below but the last time I ran the config below was last year so something has changed but I cannot see what, any suggestions would be gratefully received.
I am able to hit and get response for: "http://127.0.0.1:5000/taxii/"
Traceback:
Medallion:
taxii_backend_mongo.json:
Mongo Collection:
import data: