A Converter for McAfee SIEM Rule Export Files to Markdown Documents
Go to file
Michael Clemens 43266302b3 added copyright information 2018-03-17 17:13:14 +01:00
GPL.txt added copyright information 2018-03-17 17:13:14 +01:00
README.md Update README.md 2018-03-16 10:33:12 +01:00
esm2markdown.py added copyright information 2018-03-17 17:12:08 +01:00

README.md

esm2markdown

This python script is intended to be used to automatically generate use case / correlation rule documentation in Markdown format for the McAfee Enterprise Sceurity Manager (ESM). It accepts a XML file that has been exported from the correlation rule editor of the ESM, converts its contents to Markdown format and writes it into a new file. If you need any other format, you might want to use pandoc to convert to e.g. pdf, docx or HTML.

Requirements

This tool requires lxml (https://github.com/lxml/lxml). On Debian you can install it with "sudo apt-get install python3-lxml"

Usage

python esm2markdown <rule xml file> <markdown output file>

Example

python esm2markdown RuleExport_2018_03_01_12_36_37.xml documentation.mk