`projects.setIamPolicy` API call does not modify `auditConfigs` but modifies `bindings`
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- gcp, nodejs, typescript
- Ambito
- api, authorization
Direzione di ricerca
Iniziare riproducendo la richiesta projects.setIamPolicy dalla documentazione REST con modifiche sia a bindings sia a auditConfigs, incluso exemptedMembers. Confrontare il risultato dell’API con il comportamento corretto di gcloud e della console. Il lavoro è completato quando le modifiche ad auditConfigs vengono riflesse sia dalla chiamata all’API della libreria client sia in bindings.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
-
Is this a client library issue or a product issue?
This is the client library for . We will only be able to assist with issues that pertain to the behaviors of this library. If the issue you're experiencing is due to the behavior of the product itself, please visit the Support page to reach the most relevant engineers. -
Did someone already solve this?
- Search the issues already opened: https://github.com/googleapis/google-api-nodejs-client/issues
- Search the issues on our "catch-all" repository: https://github.com/googleapis/google-cloud-node
- Search or ask on StackOverflow (engineers monitor these tags): http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js
- Do you have a support contract?
Please create an issue in the support console to ensure a timely response.
If the support paths suggested above still do not result in a resolution, please provide the following details.
Environment details
- OS:
- Node.js version: v20.14.0
- npm version: 10.7.0
googleapisversion: 118.0.0
Steps to reproduce
- Go to the rest API > https://cloud.google.com/resource-manager/reference/rest/v1/projects/setIamPolicy
- Enter your <projects/project-name> in the resources
- Add the request body including changes in both
auditConfigsandbindings. Make sure we addexemptedMembersto the config with service asallServices - The changes in
bindingswill be updated but the changes inauditConfigswill not be updated
When we try to update auditConfigs using the projects.setIamPolicy API any change is not reflected however when using the console or the CLI (gcloud projects set-iam-policy parker-aac policy.json where we have a file policy.json with the updated request body) we are able to update it especially when changing the exemptedMembers parameter.
We do have a documentation supporting this > https://cloud.google.com/resource-manager/reference/rest/v1/projects/setIamPolicy
Since we are able to update it using the CLI or from the console we should be able to do with the API as well.
Also the API is able to update the bindings then why not the auditConfigs
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
- Lingua principale
- TypeScript
- Stelle
- 12.3k
- Fork
- 2k
- Merge medio
- 1g 4h
- PR unite (30g)
- 18
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di googleapis/google-api-nodejs-client
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 32/100
googleapis/google-api-nodejs-client#3932 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Discovery Engine] streamAnswer is typed as one AnswerQueryResponse, but REST returns frame arraysForse già presa @AmariahAK l’ha presa 93 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
googleapis/google-api-nodejs-client#3930 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
googleapis/google-api-nodejs-client#3927 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
size: l type: feature request
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
googleapis/google-api-nodejs-client#3926 ·
I maintainer di solito rispondono entro 1 giorno
-
type: feature request
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
googleapis/google-api-nodejs-client#3903 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di googleapis/google-api-nodejs-client
Issue simili
-
area: aria/combobox gemini-triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
angular/components#33973 ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: P2
Difficoltà 1/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
[bug] status, list and push crash with an uncaught NotInitializedError stack trace when teamai is not initializedForse già presa @jay23606 l’ha presa oggi. Apertabug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Tencent/teamai-cli#1227 ·
I maintainer di solito rispondono entro 1 giorno
-
[Tool]: YapAperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 62/100
withkarann/aifoxx#417 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
sindresorhus/eslint-plugin-unicorn#3921 ·
I maintainer di solito rispondono entro 1 giorno