-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Is your feature request related to a problem? Please describe.
STIX 2.1 requires that the Common Data Type of External Reference (external_references) have their url field be RFC3986 compliant (link to STIX 2.1 reference). Ensuring this in the ATT&CK Data Model would help ensure that URLs stay in compliance with STIX 2.1 requirements.
Describe the solution you'd like
This could be added to the zod schema here: https://github.com/mitre-attack/attack-data-model/blob/main/src/schemas/common/property-schemas/stix-external-references.ts
Describe alternatives you've considered
Alternatively we could not bother with this enhancement since it is STIX 2.1 specific, but if not here, then where!?
Additional context
This has bitten the ATT&CK dataset in the past, e.g. here: mitre-attack/attack-stix-data#16
The referenced issue has some good examples of what was historically included in the STIX bundles before they were manually corrected