Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Reference a bring your own action group per landing zone #510

Open
1 task done
donk-msft opened this issue Jan 29, 2025 · 1 comment
Open
1 task done
Assignees
Labels
enhancement New feature or request Pattern: ALZ 🚁 Issues / PR's related to the ALZ Pattern

Comments

@donk-msft
Copy link

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

Feature Request

Description

Without the Bring Your Own (BYO) Action Group (AG) and Alert Processing Rule (APR), the ALZ pattern creates an action group and APR in every landing zone. The downside of this setup is that the email addresses provided as parameters for the policy assignment apply universally to all landing zones.

I initially considered using the BYO action group as a solution; however, it requires specifying a single resourceId explicitly.

To improve flexibility, I suggest providing only the name of the action group while dynamically constructing the resourceId in the same way the default action group ID is generated. For example:

concat(subscription().Id, '/resourceGroups/', parameters('ALZMonitorResourceGroupName'), '/providers/Microsoft.Insights/actionGroups/', parameters('varAGName'))

This approach allows action groups to be deployed as part of ALZ vending, enabling the AMBA policy to reference them dynamically.

@donk-msft donk-msft added the Pattern: ALZ 🚁 Issues / PR's related to the ALZ Pattern label Jan 29, 2025
@donk-msft donk-msft changed the title [General workload issue]: [Festure Request]: Reference a bring your own action group per landing zone Jan 29, 2025
@tagolovina tagolovina added the enhancement New feature or request label Jan 29, 2025
@tagolovina
Copy link
Contributor

Hello @donk-msft,
Thank you for the feedback. This has been noted as a potential enhancement for consideration in a future releases.

@Brunoga-MS Brunoga-MS changed the title [Festure Request]: Reference a bring your own action group per landing zone [Feature Request]: Reference a bring your own action group per landing zone Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Pattern: ALZ 🚁 Issues / PR's related to the ALZ Pattern
Projects
None yet
Development

No branches or pull requests

3 participants