rabobank-cdc/DeTTECT

error converting YAML to JSON

macarongbadessy opened this issue · 5 comments

Thank you so much for making this tool. However, I am getting an error message when trying to convert YAML to JSON.

I used the command inside the folder where DETTECT is:

python dettect.py ds -fd a.yaml -l

a.yaml is what I named the file

The error message I get is:

[!] Cannot connect to MITRE's CTI TAXII Server

I've used this command last week and it worked great. I guess with the MITRE changes something happened.

Can you please help?

Thank you.

It seemed like when you ran this command the CTI TAXII server from MITRE was down or you had an internet connection problem: [!] Cannot connect to MITRE's CTI TAXII Server

I do not encounter any issues with the command you provided and the TAXII server is up now.

Hmm. I still get that same error. It is possible something may be blocked on our firewall. Is there a particular URL that needs to be allowed? I tried it again on another laptop and this is the error message I get now.

image

I tried reinstalling DETTECT, but that didn't help

URL for the TAXII server: https://cti-taxii.mitre.org/stix/collections/

The exception you get in the shared screenshot is a bug: KeyError: 'PRE'. I pushed a fix.

It works now. Thank you so much!