-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az security task list --resource-group $rg returns tasks like "$rg*" #29684
Copy link
Copy link
Open
Labels
Auto-ResolveAuto resolve by botAuto resolve by botSecurityaz securityaz securityService AttentionThis issue is responsible by Azure service team.This 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.This 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.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Auto-ResolveAuto resolve by botAuto resolve by botSecurityaz securityaz securityService AttentionThis issue is responsible by Azure service team.This 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.This 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.Issues that are reported by GitHub users external to the Azure organization.
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