Mappings Explorer enables cyber defenders to understand how security controls and capabilities map onto the adversary behaviors catalogued in the MITRE ATT&CK® knowledge base. These mappings form a bridge between the threat-informed approach to cybersecurity and the traditional security controls perspective.
When trying to import the NIST Mappings as a custom extension into the python stix2 library, I got an error about the id for the "attack-pattern" objects
raise InvalidValueError(
stix2.exceptions.InvalidValueError: Invalid value for AttackPattern 'id': must start with 'attack-pattern--'.
Describe the bug
When trying to import the NIST Mappings as a custom extension into the python stix2 library, I got an error about the id for the "attack-pattern" objects
My python script is as follows:
I used the stix2 bundle available at https://center-for-threat-informed-defense.github.io/mappings-explorer/data/nist_800_53/attack-14.1/nist_800_53-rev5/enterprise/nist_800_53-rev5_attack-14.1-enterprise_stix.json
To Reproduce Here are the instructions to reproduce on linux:
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install stix2
test.py
as an example)Expected behavior Nothing, script exits with happy exit code.
Desktop (please complete the following information):
Thanks for taking the time to look at this