You need Go (Golang) installed to run this tool.
- Mac:
brew install go - Windows/Linux: Download Go Here
- Clone the repository:
git clone https://github.com/slavicadev/vault-analyzer-audit.git cd vault-analyzer-audit - Run the tool directly with Go:
go run main.go path/to/audit.log
- Default Rules: The tool comes with built-in rules (embedded in the code), so it works out-of-the-box.
- Custom Rules: To override the defaults, simply create a
rules.jsonfile in this folder. The tool will automatically prioritize your local file.
If you found a new error pattern, you can help by adding it.
The Easy Way (Browser only):
- Open
rules.jsonin this repository. - Click the (Pencil Icon) in the top right to edit the file.
- Add your new rule to the list following this format:
{ "pattern": "unique error string from log", "advice": "Actionable advice on how to fix it." },