Skip to content

feat: add MongoDB Atlas webhook provider#6302

Open
selenaalpha77-sketch wants to merge 1 commit intokeephq:mainfrom
selenaalpha77-sketch:feat/mongodb-atlas-provider
Open

feat: add MongoDB Atlas webhook provider#6302
selenaalpha77-sketch wants to merge 1 commit intokeephq:mainfrom
selenaalpha77-sketch:feat/mongodb-atlas-provider

Conversation

@selenaalpha77-sketch
Copy link
Copy Markdown

Closes #1839

Summary

Adds a MongoDB Atlas provider that receives alert webhooks from Atlas monitoring. Follows Keep's webhook provider pattern (same as Checkmk, SNMP, Wazuh).

Files added:

  • keep/providers/mongodbatlas_provider/mongodbatlas_provider.py — webhook provider, _format_alert maps Atlas payload to AlertDto
  • keep/providers/mongodbatlas_provider/alerts_mock.py — 3 sample payloads (OPEN, CLOSED, ACKNOWLEDGED)
  • keep/providers/mongodbatlas_provider/__init__.py
  • docs/providers/documentation/mongodbatlas-provider.mdx — setup guide with payload reference

Status mapping: OPEN/TRACKING → FIRING, CLOSED/CANCELLED → RESOLVED, ACKNOWLEDGED → ACKNOWLEDGED

Severity mapping: inferred from typeName + eventTypeName keywords (e.g. NO_PRIMARY → CRITICAL, HOST_DOWN → HIGH)

No external dependencies required.

Adds a MongoDB Atlas provider that receives alert webhooks from Atlas
monitoring. Follows Keep's webhook provider pattern (same as Checkmk,
SNMP, Wazuh). Maps Atlas status (OPEN/CLOSED/ACKNOWLEDGED) to Keep
AlertStatus and infers severity from typeName/eventTypeName keywords.

Closes keephq#1839
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Apr 26, 2026
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


evan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dosubot dosubot Bot added Documentation Improvements or additions to documentation Feature A new feature Provider Providers related issues labels Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements or additions to documentation Feature A new feature Provider Providers related issues size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🔌 Provider]: Add Mongo Atlas provider

2 participants