AWS WAF log analysis report generator
Project description
About
Accomapnist - It's an accompanist on WAF log analysis.
You can generate WAF log analysis report with only 2 CLI commands.
Prerequisition
-
WAF
- AWS WAFv2
- Logging: CloudWatch Logs
- Action: BLOCK or COUNT
- Third Party WAF
- Logging: CloudWatch Logs
- Action: BLOCK or COUNT
- AWS WAFv2
-
Client Environment
- OS: macOS
- IAM Role/User: including permissions to execute
- (1)
start_query
of Logs Insights - (2)
get_query_result
of Logs Insights
- (1)
Install
pip install accompanist
Usage
- Create configuration file (JSON format) including 3 elements below
(e.g.) config.json
{
"log_group": "aws-waf-logs-foo-bar",
"target_uri": [
"/foo",
"/bar"
],
"comment": [
"- note 1",
"- note 2",
"-",
"-",
"-"
]
}
- Get query result
accompanist listen --action BLOCK --days 3
- Generate report (PDF format)
accompanist play
Uninstall
pip uninstall accompanist
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for accompanist-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd0459b9b4e1cfa40e001ba2250ef411de489f6a7a78da7e25931ee284da9eb6 |
|
MD5 | 947e07a3137786dabe6cd0454ff8114e |
|
BLAKE2b-256 | ef86213eaabcd74b017dfdb3a061131280ab90777939f97323c3937f12ed4322 |