Describe the bug
The list search appears to default to "$rg*".
Should wildcard/like searches not be explicit?
It is duplicating tasks as one resource group is the same name as another with a string appended.
I.e.
- ResourceGroupName: marketing-rg
- ResourceGroupName: marketing-rg-mngd
Running a list for 1. would return tasks for both resource groups.
Related command
az security task list
Errors
N/A
Issue script & Debug output
N/A
Expected behavior
When --resource-group is included, it only returns tasks for that resource group.
Environment Summary
azure-cli 2.62.0
core 2.62.0
telemetry 1.1.0
Extensions:
automation 1.0.0b1
Dependencies:
msal 1.28.1
azure-mgmt-resource 23.1.1
Python location '...\AzCLI\python.exe'
Extensions directory '....azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response
Describe the bug
The list search appears to default to "$rg*".
Should wildcard/like searches not be explicit?
It is duplicating tasks as one resource group is the same name as another with a string appended.
I.e.
Running a list for 1. would return tasks for both resource groups.
Related command
az security task list
Errors
N/A
Issue script & Debug output
N/A
Expected behavior
When
--resource-groupis included, it only returns tasks for that resource group.Environment Summary
azure-cli 2.62.0
core 2.62.0
telemetry 1.1.0
Extensions:
automation 1.0.0b1
Dependencies:
msal 1.28.1
azure-mgmt-resource 23.1.1
Python location '...\AzCLI\python.exe'
Extensions directory '....azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response