You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
We are from IAM Policy Analyzer team and we've recently found that the python client library does not seems to surface the details in the Error Status properly. We've tried using gcloud and it works as expected. The comparison is as below:
$ gcloud beta asset analyze-iam-policy --project=cai-playground
ERROR: (gcloud.beta.asset.analyze-iam-policy) INVALID_ARGUMENT: Some specified value(s) are invalid.
- '@type': type.googleapis.com/google.rpc.BadRequest
fieldViolations:
- description: At least one of resource selector, identity selector or access selector
needs to be specified.
field: analysis_query