Azure / azure-cli

Azure Command-Line Interface
MIT License
3.98k stars 2.96k forks source link

azcli 2.59 on macOS giving repeated errors/warnings on certain commands #28725

Open EMCP opened 5 months ago

EMCP commented 5 months ago

Describe the bug

if I run a command related to the security area, I see repeatedly these lines and then the rest of the output

$ az security assessment list  --output tsv
Discriminator source is absent or null, use base class ResourceDetails.
Discriminator source is absent or null, use base class ResourceDetails.
Discriminator source is absent or null, use base class ResourceDetails.
Discriminator source is absent or null, use base class ResourceDetails.
Discriminator source is absent or null, use base class ResourceDetails.
...
<and then the rest of the results>

Related command

az security assessment list --output tsv

Errors

Discriminator source is absent or null, use base class ResourceDetails. Discriminator source is absent or null, use base class ResourceDetails. Discriminator source is absent or null, use base class ResourceDetails. Discriminator source is absent or null, use base class ResourceDetails. repeating multiple times in yellow on MacOS terminal

Issue script & Debug output

cannot put this here as there is sensitive information

Expected behavior

expecting now to see all those warnings repeating..

Environment Summary

$~$ az --version                                     
azure-cli                         2.59.0

core                              2.59.0
telemetry                          1.1.0

Dependencies:
msal                              1.27.0
azure-mgmt-resource             23.1.0b2

Python location '/opt/homebrew/Cellar/azure-cli/2.59.0/libexec/bin/python'
Extensions directory '/Users/myusername/.azure/cliextensions'

Python (Darwin) 3.11.9 (main, Apr  2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.3.9.4)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

yonzhan commented 5 months ago

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

microsoft-github-policy-service[bot] commented 5 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @zivraf.

eliagrady commented 2 months ago

Thank you for your patience, we've managed to recreate the issue on our end and it will be addressed soon.

microsoft-github-policy-service[bot] commented 2 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @keren-shani.