collie-hub icon indicating copy to clipboard operation
collie-hub copied to clipboard

azure/logging: include default workbooks and alerts

Open JohannesRudolph opened this issue 1 year ago • 1 comments

We should consider including some default queries and alerts/dashboards (via Workbooks, e.g. the "Activity Logs Insights" https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log-insights)

I have no strong opinion whether we should deploy them via TF or leave this to ClickOps/manual exploration. But I think providing one or two useful alerts as starting points would be helpful

JohannesRudolph avatar Feb 08 '24 08:02 JohannesRudolph

Monitoring Service Principal actions would be a good place for starting this.

More concretely: If the meshPlatform module is used, we can set up an alert if one of the service principals tries to access workload level Azure RM APIs (because meshStack does not touch workload by default, hence any activity there indicates a misuse of those service principals).

felixzieger avatar Feb 22 '24 15:02 felixzieger