Azure/azure-monitor-baseline-alerts

[Question/Feedback]: Stop deploying email action if the parameter is empty

Closed this issue · 6 comments

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Description

Hi!

If I omit ALZMonitorActionGroupEmail within policyAssignmentParametersNotificationAssets in alzArm.param.json (because I don't want notifications by email), then an email notification to action@mail.com is still configured in the action group.

Is it possible to stop this from happening?

Thanks!

Hello @jaywithersbrewin ,
thanks for your feedback. Could you please elaborate more on the reason why you would like to omit the ALZMonitorActionGroupEmail? is it because you only need other notification assets or because you really don't need any?

Thanks,
Bruno.

hey @Brunoga-MS.

I only want to use ALZWebhookServiceUri.

Thanks!

Perfect. I will investigate.

Perfect. I will investigate.

Thanks!

Hello @jaywithersbrewin ,
as a quick update, we are working on a solution to allow empty email address parameter so it will not deploy any email action with bogus addresses when not needed.

As soon as the code is ready, the merging of the corresponding PR will close this issue and you will get a notification.

Thanks,
Bruno.

Hello @jaywithersbrewin , as a quick update, we are working on a solution to allow empty email address parameter so it will not deploy any email action with bogus addresses when not needed.

As soon as the code is ready, the merging of the corresponding PR will close this issue and you will get a notification.

Thanks, Bruno.

Hey, @Brunoga-MS. thanks for the update!