Since I am required to document all correlation rules for our customers, I wrote a python script that converts a rule export as XML file to Markdown. Afterwards its easy to convert Markdown to e.g. PDF, docs, HTML or even variuous wiki-formats with e.g. pandoc or typora (Windows Markdown Editor). This way it's possible to generate a PDF documentation of all rules with just a few clicks.
I'm not fully satisfied with the output since I only get the IDs for e.g. Normalization. Is anyone aware of any kind of information about those internal IDs? I'd love to improve the script with a mapping capability that automatically translates those IDs into the corresponding name, e.g. "Malware" instead of 12345678/3.
Any tips, information or improvements will be highly appreciated.
The script looks like exactly what I would like to use to document SIEM Rules. I got it to work with the demo xml. When using the export from ESM, the script runs without error, but only generates the title page. The exported xml is large'ish 32mb. I am running on an Ubuntu system.