atc-project / atomic-threat-coverage

Actionable analytics designed to combat threats
Apache License 2.0
962 stars 155 forks source link

Custom template directory #221

Closed andurin closed 3 years ago

andurin commented 3 years ago

If one would like to change the output style without conflicting the defaults it would be nice to see this PR upstream.

This includes:

  1. A new configuration directive templates_directory
  2. Hints for the README file(s)
  3. Using the new configuration directive but falling back to defaults if not found.
yugoslavskiy commented 3 years ago

Hello @andurin! Thank you for your contribution (:

@sn0w0tter, could you please check this PR? I remember we had problems with the templates directory and not sure if it will work without issues.

sn0w0tter commented 3 years ago

sure. as far as I remember there was an issue when the templates directory was stored outside of scripts folder. will check if this is still an issue, if so there should be some check for the location stored in config and a warning message

yugoslavskiy commented 3 years ago

Done! Thank you, guys! Happy easter! (: