CLI option stix_2.1 not interpreted
RaphaelMemmi opened this issue · 2 comments
RaphaelMemmi commented
When I add {"stix_2.1": true}
at the end of my CLI request I get
usage: stix-shifter [-h] [-d] {translate,configs,modules,mapping,transmit,execute,host} ...
stix-shifter: error: unrecognized arguments: {"stix_2.1": True}
I am trying to use this command with elastic_ecs
mdazam1942 commented
@0gee can you post your full command? Are you trying results translation CLI command?
mdazam1942 commented
If you are running execute then you need to specify {"stix_2.1": true}
inside connection object. It only works in translate results CLI options: https://stix-shifter.readthedocs.io/en/latest/OVERVIEW.html#translating-results-into-stix-2-1
Closing this since. You can reopen if you have further details.