Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
384 stars 1.25k forks source link

Kusto cli extension does not support AllDatabasesMonitor role #6876

Open cchildress opened 1 year ago

cchildress commented 1 year ago

Describe the bug

Kusto has a role assignment called AllDatabasesMonitor (docs here). The --role argument is only accepting AllDatabasesAdmin and AllDatabasesViewer.

Related command

az kusto cluster-principal-assignment create --role AllDatabasesMonitor

Errors

az kusto cluster-principal-assignment create: 'AllDatabasesMonitor' is not a valid value for '--role'. Allowed values: AllDatabasesAdmin, AllDatabasesViewer.

Issue script & Debug output

N/A

Expected behavior

The cli should assign the valid role to the specified principal.

Environment Summary

azure-cli 2.53.0

core 2.53.0 telemetry 1.1.0

Extensions: kusto 0.4.0 resource-graph 2.1.0

Dependencies: msal 1.24.0b2 azure-mgmt-resource 23.1.0b2

Python location '/opt/az/bin/python3' Extensions directory '/home/${user}/.azure/cliextensions'

Python (Linux) 3.10.10 (main, Sep 20 2023, 06:08:04) [GCC 9.4.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

yonzhan commented 1 year ago

Thank you for opening this issue, we will look into it.

microsoft-github-policy-service[bot] commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ilayrn, @orhasban, @zoharHenMicrosoft, @sagivf, @Aviv-Yaniv.