Open
Description
I tested with 6.1.0 and 8.0.0b2. Neither appear to be able to perform transformation on items/sections within the .ini config file, like in the docs.
[aprscot]
COT_URL = tcp://takserver.example.com:8088
[W2GMD-9]
COT_TYPE = a-f-G-U-C
COT_STALE = 600
COT_NAME = Medic 52
[NB6F-2]
COT_NAME = Transport 2
It seems this functionality was lost around the timeframe when the other pytak clients were making use of known_craft.csv. The issue lies in how the configuration is being passed to create_tasks. The pytak.cli() function is responsible for loading the configuration and passing it to create_tasks, but it seems to be passing a SectionProxy object instead of the full ConfigParser object. Only the first(aprscot) section is used.
It seems that aprscot needs to be updated to operate in the same way as aiscot and adsbcot, with the use of known_craft for custom transformations.
Metadata
Metadata
Assignees
Labels
No labels