center-for-threat-informed-defense/attack-workbench-frontend

Unable to create custom collection

davidribyrne opened this issue · 3 comments

This appears to be very similar to the bug described in #287. When I attempt to create a new collection, there is a browser exception because the attackType for data source records is set to data-source, but the results object is created using data_source.

image

image

image

It looks like this only happens if I use docker-compose.

Hi @davidribyrne,

It sounds like your docker images may have been built with an older version of the repository. I'd suggest taking the following steps:

  1. Pull the latest code from each of the repositories: ATT&CK Workbench Frontend, ATT&CK Workbench REST API, and the ATT&CK Workbench Collection Manager.
  2. Run docker-compose build frontend rest-api collection-manager to rebuild the images for each of the Workbench services.
  3. Then run docker-compose up -d to recreate and start new containers using the new images.

This will prevent the removal of your MongoDB instance and preserve any existing data you may have.

Closing due to inactivity.