Skip to content

feat: implement Azure Resource Health monitoring for AKS clusters #60

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

Merged
merged 2 commits into from
Jul 11, 2025

Conversation

thomas1206
Copy link
Contributor

  • Add az_monitor_activity_log_resource_health MCP tool

Addresses requirements in prompts/azure-resource-health.md:
Retrieve resource health events for specific AKS clusters
Filter by time range and health status
Handle time zone and date format conversion
Provide meaningful error messages for invalid parameters
Integrate with existing MCP tool framework

- Add az_monitor_activity_log_resource_health MCP tool
- Implement resource health event retrieval with time filtering
- Add comprehensive parameter validation (RFC3339 timestamps, health status)
- Support optional end_time and status filtering
- Return raw Azure CLI JSON output as specified
- Integrate with existing security validation framework
- Add tool registration to MCP server
- Update security validator to allow monitor activity-log commands

Addresses requirements in prompts/azure-resource-health.md:
 Retrieve resource health events for specific AKS clusters
 Filter by time range and health status
 Return raw Azure CLI JSON output
 Handle time zone and date format conversion
 Provide meaningful error messages for invalid parameters
 Integrate with existing MCP tool framework
@thomas1206 thomas1206 requested a review from gossion July 10, 2025 09:24
@thomas1206 thomas1206 merged commit 907916e into main Jul 11, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants