Missing admin reports scopes in picker
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 88/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- rust
- 領域
- authentication, cli
調査の方向性
auth_commands.rs から始め、gws auth login で使用される静的な SCOPE_ENTRIES リストを調べます。そのエントリを組み込みの admin-reports サービスに必要なスコープと比較し、続いてインタラクティブピッカーと、提供されている admin-reports のアクティビティ一覧コマンドを実行して、両方のスコープを選択して使用できることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Environment:
- CLI Version: 0.22.5 installed via homebrew
- OS: macOS
- Auth method: OAuth desktop app
Description:
The interactive scope picker shown by gws auth login does not include the scopes required for the admin-reports service.
The missing scopes are:
https://www.googleapis.com/auth/admin.reports.audit.readonly
https://www.googleapis.com/auth/admin.reports.usage.readonly
These are missing from the static SCOPE_ENTRIES list in auth_commands.rs.
Steps to reproduce:
- Run:
gws auth login
- Inspect the interactive scope picker.
- There is no visible Admin Reports audit/usage option.
- Run:
gws admin-reports activities list \
--params '{"userKey":"all","applicationName":"login","maxResults":1}'
Observed:
The scope needed by admin-reports activities list cannot be selected from the interactive picker.
Expected:
The interactive picker should include the scopes needed by the built-in admin-reports service.
Suggested fix:
Add these scopes to SCOPE_ENTRIES:
https://www.googleapis.com/auth/admin.reports.audit.readonly
https://www.googleapis.com/auth/admin.reports.usage.readonly
- 主要言語
- Rust
- スター
- 31.1k
- フォーク
- 1.8k
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleworkspace/cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
googleworkspace/cli#921 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
googleworkspace/cli#920 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
googleworkspace/cli#914 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
googleworkspace/cli#882 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
googleworkspace/cli#858 ·
googleworkspace/cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
bug core
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW オープンfuzz
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ClickHouse/ClickHouse#122114 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
linebender/vello_svg#90 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100