feat(ui): add cloud-gated custom alerts#11003
Merged
Merged
Conversation
Contributor
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
6 tasks
Contributor
🔒 Container Security ScanImage: 📊 Vulnerability Summary
2 package(s) affected
|
6 tasks
Alan-TheGentleman
previously approved these changes
May 8, 2026
Alan-TheGentleman
approved these changes
May 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
This PR is the umbrella for the cloud-gated custom alerts UI stack. Chained PRs target this feature branch and merge here first. The final merge to
mastershould only happen after all chained PRs are reviewed and merged into this branch.Description
The branch delivers the custom alerts management UI for Prowler Cloud, gated so OSS builds keep the feature hidden:
/alertspage with list, create, edit, enable/disable, delete and live preview of alert rules./alertsroute redirects to/.handleApiResponse/handleApiErrorpattern fromui/lib/server-actions-helper.ts, no custom wrapper.CloudFeatureBadgeinto a reusableMenuFeatureBadge(variantscloud/new, sizesdefault/sm) consumed by sidebar items.Chain Overview
Steps to review
no-mergeuntil the full chain is merged.no-mergeonly when the feature branch contains all chained PRs and CI is green.NEXT_PUBLIC_IS_CLOUD_ENV=true):/alertslists alerts, edit modal saves, dropdown enables/disables, seed from/findingsopens the create modal with prefilled chips.NEXT_PUBLIC_IS_CLOUD_ENV=false): sidebar shows Alerts disabled with tooltip,/alertsredirects to/, public confirm/unsubscribe pages return 404.cd ui && pnpm run healthcheckon the final feature branch.Checklist
cd ui && pnpm run healthcheckpasses in final feature branchLicense
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.