atc-project / atomic-threat-coverage

Actionable analytics designed to combat threats
Apache License 2.0
970 stars 157 forks source link

Inconsistency in es_index_export.py and config file #215

Closed andrazjelenc closed 3 years ago

andrazjelenc commented 3 years ago

Hi guys.

In es_index_export.py in line 30 we load enrichments directory from config: en_path = ATCconfig.get('enrichments_directory')

But in config file enrichments directory is defined as enrichments_dir, not enrichments_directory.

Therefore loading enrichments directory fails.

yugoslavskiy commented 3 years ago

Hello @andrazjelenc! Thank you very much for your help! Will fix it in a few minutes (: