Azure / Azure/azure-devops-cli-extension

[Feature Request] "az devops security group list" Need ability to filter groups

Open
#1,478 0 comments 0 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

**Is your feature request related to a problem? Please describe.**
I am part of large organization that has thousands of groups. The `az devops security group list` command does not have filters. It supports standard `--query` parameter. Combine that with the fact that the result is paginated. the filters work only on data in first page.

This is what I tried:
`az devops security group list --query "graphGroups[?displayName=='my group name']" --scope project`

**Describe the solution you'd like**
Support using the query parameters for server side filternting. alternative would be to add a `--filter` parameter that would let user pass the desired conditions. Something like `az devops security group list --filter "[?displayName=='my group name']" --scope project`.

**Additional context**
Add any other context or screenshots about the feature request here.

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.