Azure / Azure/azure-cli

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

Open
#28,725 4 comments 0 reactions 2 assignees Claimed by @keshani-microsoft View on GitHub
act-codegen-extensibility-squad bug customer-reported needs-team-attention Security Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### 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.
...

```

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.