Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Role Management Policy Assignments - List For Scope: missing $filter #31995

Open
simongottschlag opened this issue Jan 5, 2025 · 1 comment
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@simongottschlag
Copy link

simongottschlag commented Jan 5, 2025

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/RoleManagementPolicyAssignment.json

API Spec version

2020-10-01

Describe the bug

The parameter $filter is missing in the specification and EffectiveRules is missing from the response.

Expected behavior

They work and should most likely be present.

Actual behavior

They are missing from the spec but I can see that the portal are using them. I have created a small client to handle it myself until the spec is updated and a new version of the SDK is generated: https://github.com/co-native-ab/pimctl/blob/main/internal/azurerm/roleManagementPolicyAssignmentsClient.go

Reproduction Steps

Use the Go SDK, when trying to List you can’t provide a filter nor does the response contain the EffectiveRules.

Environment

Not applicable

@simongottschlag simongottschlag added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jan 5, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Jan 5, 2025
@v-jiaodi v-jiaodi added the Mgmt This issue is related to a management-plane library. label Jan 7, 2025
@v-jiaodi
Copy link
Member

v-jiaodi commented Jan 7, 2025

@amanswaika Please help take a look, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants