rabobank-cdc/DeTTECT

Specifying a local-stix-path leads to the CLI doing nothing

Cappycot opened this issue · 1 comments

Adding a --local-stix-path <path> argument to the CLI makes the program exit without doing anything, which is probably not intended.

The removal of sub-techniques affected the control flow in dettect.py since the subsequent subparser branches were not changed accordingly.

The elif on line 234 of dettect.py (elif args.subparser in ['editor', 'e']:) should be changed to an if.

hi @Cappycot

Thanks for reporting this bug! You are completely right and I just commited the fix.

Regards,
Ruben