Skip to content

feat(ui): add MongoDB Atlas provider support#9253

Merged
danibarranqueroo merged 10 commits intomasterfrom
PROWLER-294-mongo-db-atlas-ui-integration
Nov 27, 2025
Merged

feat(ui): add MongoDB Atlas provider support#9253
danibarranqueroo merged 10 commits intomasterfrom
PROWLER-294-mongo-db-atlas-ui-integration

Conversation

@danibarranqueroo
Copy link
Member

Context

This PR brings full MongoDB Atlas coverage to the Prowler UI. Until now Atlas was only available via the CLI/API; UI users couldn’t add or manage Atlas organizations or upload API keys. With these changes, the web onboarding flow and provider management screens now treat MongoDB Atlas as a first-class provider, enabling credentials management through the browser.

Description

Complete MongoDB Atlas UI integration:

  • Adds MongoDB Atlas as an option throughout the provider workflow: radio selector, enhanced lists, filters, overview cards, and badges (including a dedicated Atlas SVG logo centered within the standard 256×256 badge frame).
  • Implements the Atlas credential form with Public Key / Private Key fields, validation, and FormData wiring so secrets are encoded correctly and sent to the backend via the existing provider secret pipeline.
  • Updates provider schemas, types, and default values so Atlas UIDs/aliases validate alongside AWS/Azure/etc., and the onboarding step prompts for the Atlas Organization ID with the correct hinting.
  • Extends the providers list/filtering/enhanced selectors so MongoDB Atlas accounts can be filtered and displayed consistently (accounts selector, overview cards, filters, etc.).
  • Hooks Atlas into the global provider help text so “Read the docs” points to the MongoDB Atlas onboarding guide.

Authentication method:

  • MongoDB Atlas API Key (public key + private key scoped to an organization ID)

This gives UI parity with the API: you can now connect MongoDB Atlas organizations, upload API keys, and see Atlas providers everywhere in the interface.

Steps to review

Review the code and test the changes.

Checklist

UI

  • All issue/task requirements work as expected on the UI
  • Screenshots/Video of the functionality flow (if applicable) - Mobile (X < 640px)
  • Screenshots/Video of the functionality flow (if applicable) - Table (640px > X < 1024px)
  • Screenshots/Video of the functionality flow (if applicable) - Desktop (X > 1024px)
  • Ensure new entries are added to CHANGELOG.md, if applicable.

API

  • Verify if API specs need to be regenerated.
  • Check if version updates are required (e.g., specs, Poetry, etc.).
  • Ensure new entries are added to CHANGELOG.md, if applicable.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2025

Conflict Markers Resolved

All conflict markers have been successfully resolved in this pull request.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2025

✅ All necessary CHANGELOG.md files have been updated.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2025

🔒 Container Security Scan

Image: prowler-ui:e5142c4
Last scan: 2025-11-27 11:33:29 UTC

✅ No Vulnerabilities Detected

The container image passed all security checks. No known CVEs were found.

📋 Resources:

danibarranqueroo and others added 5 commits November 25, 2025 12:20
- Remove MongoDB provider filters from scans, findings, and providers actions
- Remove EXCLUDED_PROVIDERS filter from sankey adapter
- Fix error styling in test-connection-form to use theme variables
- Fix provider-info connection failed icon to use theme colors
- Add mongodbatlas to PROVIDER_DISPLAY_NAMES
- Fix React.FC usage and any type violations
@danibarranqueroo danibarranqueroo merged commit ed5f6b3 into master Nov 27, 2025
33 checks passed
@danibarranqueroo danibarranqueroo deleted the PROWLER-294-mongo-db-atlas-ui-integration branch November 27, 2025 11:37
Hamza-abughazaleh pushed a commit to Raed-sh/prowler that referenced this pull request Feb 11, 2026
Co-authored-by: Alan Buscaglia <gentlemanprogramming@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants