https://github.com/dysnomia-studio/dmarc-parser
A simple job that query, parse and save to database dmarc aggregate reports
https://github.com/dysnomia-studio/dmarc-parser
dashboard database dmarc dmarc-parser parser
Last synced: 5 months ago
JSON representation
A simple job that query, parse and save to database dmarc aggregate reports
- Host: GitHub
- URL: https://github.com/dysnomia-studio/dmarc-parser
- Owner: Dysnomia-Studio
- License: mit
- Created: 2022-08-27T18:20:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T19:28:29.000Z (almost 2 years ago)
- Last Synced: 2023-07-05T20:43:24.003Z (almost 2 years ago)
- Topics: dashboard, database, dmarc, dmarc-parser, parser
- Language: JavaScript
- Homepage: https://hub.docker.com/r/dysnomiastudio/dmarc-parser
- Size: 227 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dmarc-parser
[](https://sonar.dysnomia.studio/dashboard?id=dmarc-parser) [](https://sonar.dysnomia.studio/dashboard?id=dmarc-parser) [](https://sonar.dysnomia.studio/dashboard?id=dmarc-parser)
[](https://sonar.dysnomia.studio/dashboard?id=dmarc-parser) [](https://sonar.dysnomia.studio/dashboard?id=dmarc-parser)A simple job that query, parse and save to database dmarc aggregate reports.

## How to use ?
- Create a config.js file, using [config.default.js](https://github.com/Dysnomia-Studio/dmarc-parser/blob/main/config.default.js) as a model.
- Create postgresql database, and fill it using [this script](https://github.com/Dysnomia-Studio/dmarc-parser/blob/main/database/createDB.sql). 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](https://github.com/Dysnomia-Studio/dmarc-parser/blob/main/grafana/dashboard.json) on the repository.