microsoft / mdatp-devicecontrol

Microsoft Defender for Endpoint Device Control tools, samples, and resources.
https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/device-control-removable-storage-protection?view=o365-worldwide
MIT License
45 stars 36 forks source link

Added better handing of template directories to dcdoc util #43

Closed j0shbregman closed 6 months ago

j0shbregman commented 6 months ago

Added these options to provide user configurable templates and paths for readme and reporting

-t TEMPLATE, --template TEMPLATE Jinja2 template to use to generate output Jinja2 template to use to generate
output. Defaults to dcutil.j2.
-rt README_TEMPLATE, --readme_template README_TEMPLATE
Jinja2 template to use for the
readme. Defaults to readme.j2.
-r README_FILE, --readme README_FILE The readme file to generate. Defaults to readme.md. -tp TEMPLATES_PATH, --templates_path TEMPLATES_PATH path to Jinja2 templates. Defaults
to templates.