az security task list --resource-group $rg returns tasks like "$rg*"
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### 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.
1. ResourceGroupName: marketing-rg
2. 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_
Contributor guide
Assessment
This issue has not been assessed yet.