`projects.setIamPolicy` API call does not modify `auditConfigs` but modifies `bindings`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- gcp, nodejs, typescript
- 領域
- api, authorization
調査の方向性
まず、REST ドキュメントにある projects.setIamPolicy リクエストを、bindings と auditConfigs の両方に変更を加え、exemptedMembers も含めて再現します。API の結果を、正常に動作する gcloud およびコンソールの挙動と比較します。auditConfigs の変更が、クライアントライブラリの API 呼び出しと bindings の両方に反映されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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!
- 主要言語
- TypeScript
- スター
- 12.3k
- フォーク
- 2k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 21
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleapis/google-api-nodejs-client のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 32/100
googleapis/google-api-nodejs-client#3932 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Discovery Engine] streamAnswer is typed as one AnswerQueryResponse, but REST returns frame arraysオープン
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
googleapis/google-api-nodejs-client#3930 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
googleapis/google-api-nodejs-client#3927 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
size: l type: feature request
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
googleapis/google-api-nodejs-client#3926 ·
メンテナーはふだん 1 日以内に返信
-
type: feature request
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
googleapis/google-api-nodejs-client#3903 ·
メンテナーはふだん 1 日以内に返信
googleapis/google-api-nodejs-client の issue をすべて見る
似ている issue
-
needs:triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
ai-discovered
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
jessepollak/home#1627 ·
メンテナーはふだん 1 日以内に返信
-
agent-canvas bug llm priority:low ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
OpenHands/OpenHands#17806 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
radius-project/ai-extensions#923 ·
メンテナーはふだん 1 日以内に返信