aws / aws/amazon-q-developer-cli
[Feature Request] Customizing bash command permissions.
- 主要言語
- Rust
- スター
- 2k
- フォーク
- 439
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
In Q CLI, you are given two tool trust options: trust on a per-command basis, and trust on every command basis. However, for the execute_bash tool, it is very hard for developers to provide full trust to this tool, since there are a wide variety of bash commands. However, the user may want to give trust to some bash commands (for example, mkdir and cd for file navigation and directory creation). Giving the user customization options over which bash commands are acceptable will help increase developer trust with using Q CLI tools, especially in agent script usage where they trust certain parts of the script to run autonomously using bash commands, but don't trust every command.
If needed, I can help take a look at adding this functionality. I had done a small pr for Q CLI a month ago, and am eager to learn more about the codebase as well.
Thank you!
コントリビューションガイド
調査の方向性
この issue では Q CLI、execute_bash ツール、および既存のコマンド単位と全コマンドの trust オプションが挙げられていますが、ファイルやテストは示されていません。まず execute_bash とそれらの trust 処理のパスを特定してください。定義済みの設定とテスト可能なルールによって、すべてのコマンドを信頼することなく、選択した bash コマンドを許可できるようになれば作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- bash, rust
- 領域
- cli, security
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100