Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Missing admin reports scopes in picker

オープン 初心者向け
#765 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
88/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
rust

調査の方向性

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:

  1. Run:
gws auth login
  1. Inspect the interactive scope picker.
  2. There is no visible Admin Reports audit/usage option.
  3. 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 はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleworkspace/cli のほかの issue

googleworkspace/cli の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。