Versions structure in config.json is too picky about version names #370
Labels
bug
Something isn't working
Points: 3
3 agile story points
timescale/imminent
Ready to be assigned to developers
Milestone
As a user of ATT&CK Workbench, I want to be able to load custom data to my Navigator, and I want to be able to name this data with descriptive names. For example, I want to be able to connect ATT&CK Navigator to ATT&CK Workbench under the verison name
"Custom ATT&CK Workbench Data"
.The current implementation of ATT&CK Navigator is extremely picky about version and domain names, making it difficult to configure with custom data. Because of how objects are filtered by domain, the version name and domain name must match a very specific pattern:
name
must not be more than two words (separated by a single space)name
must start with"ATT&CK"
.name
must exactly match the domain of the data, e.g"Enterprise"
,"Mobile"
or"ICS"
For example, if the following version is used:
The Navigator will construct the domain identifier as
"example-domain-example"
(roughly transformed from[domain name] + [version name's first word]
). This won't match thex_mitre_domains
field of any of the input objects, and the Navigator will filter them all out, leaving the user with a blank screen.The solution should likely be a revision to the format of the config file:
the
name
field of the version and domain are no longer used to construct the domain identifier, and can be any string the user desires. Those fields are only used in the UI and not affect data loading in any way.The following additional fields should be added:
Together these fields should be able to replicate the domain-version identifier used internally in the application.
The text was updated successfully, but these errors were encountered: