esm2markdown/README.md

21 lines
782 B
Markdown
Raw Normal View History

2018-03-15 16:40:16 +00:00
# esm2markdown
2018-03-15 16:50:41 +00:00
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.
2018-03-16 09:32:21 +00:00
## Requirements
2018-03-19 20:23:55 +00:00
This tool requires Python 3 and lxml (https://github.com/lxml/lxml).
2018-03-16 09:33:12 +00:00
On Debian you can install it with "sudo apt-get install python3-lxml"
2018-03-16 09:32:21 +00:00
2018-03-15 16:50:41 +00:00
## Usage
```
python esm2markdown <rule xml file> <markdown output file>
```
## Example
```
python esm2markdown RuleExport_2018_03_01_12_36_37.xml documentation.mk
```