Azure Advisor Operational Excellence category not supported by the CLI
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
az advisor recommendation list --category
**Is your feature request related to a problem? Please describe.**
Problem: Not able to retrieve Operational Excellence findings through the CLI.
The Azure advisor GUI consist of:
- Cost
- Security
- Reliability
- Operational Excellence
- Performance
The Azure api support the same
https://learn.microsoft.com/en-us/rest/api/advisor/recommendations/list?view=rest-advisor-2023-01-01&tabs=HTTP#category
The cli supports:
- Cost
- Security
- HighAvailability (similar to Reliability)
- Performance
**Describe the solution you'd like**
Support of Operational Excellence finding through the CLI
**Describe alternatives you've considered**
Using kql to get findings
**Additional context**
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/advisor/_params.py
` with self.argument_context('advisor recommendation list') as c:
c.argument('ids', ids_arg_type, validator=validate_ids_or_resource_group)
c.argument('category', options_list=['--category', '-c'], help='Name of recommendation category.',
arg_type=get_enum_type(['Cost', 'HighAvailability', 'Performance', 'Security']))`
I hope it's as easy as adding it here :D
Contributor guide
Assessment
This issue has not been assessed yet.