Skip to content

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

@EMCP

Description

@EMCP

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

Metadata

Metadata

Labels

Securityaz securityService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionThis issue needs attention from Azure service team or SDK team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions