A simple job that query, parse and save to database dmarc aggregate reports.
-
Create a config.js file, using config.default.js as a model.
-
Create postgresql database, and fill it using this script. Beware of permissions, by default it will have creating user permissions
-
Then, start the container:
docker run -tid --name dmarc-parser -v "$PWD/config.js:/usr/src/app/config.js" dysnomiastudio/dmarc-parser:latest
-
Finally, add datasource and dashboard on Grafana. Check out my model on the repository.