vincenzocaputo / obsidian-mitre-attack

Parse MITRE ATT&CK to markdown for Obsidian
GNU General Public License v3.0
19 stars 4 forks source link

ValueError: campaign--7e21077d-2589-43a7-a5f9-490061289526 'last_seen' must be greater than or equal to 'first_seen' #9

Open senya1111 opened 3 weeks ago

senya1111 commented 3 weeks ago

Yo, i've booted up a fresh & updated install of Ubuntu 20.04 to test this out, but i ran into an error reading as ValueError: campaign--7e21077d-2589-43a7-a5f9-490061289526 'last_seen' must be greater than or equal to 'first_seen'

The full command history/ output is: obsidian-mitre-attack-error-log.txt

Plz lmk why i'm dumb.. 😅

vincenzocaputo commented 3 weeks ago

Hi @senya1111, thank you for the catch. There is an error in the JSON data source in the repository from which the data is pulled. The issue is tracked here: https://github.com/mitre-attack/attack-stix-data/issues/51.

As a workaround, I've added a config option to select a specific version to pull. Until the error is fixed, I suggest using version 15.1.

senya1111 commented 3 weeks ago

Thanks man, appreciate your work! ;)