bedrock_agentcore_search succeeds even with default-deny in effect
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- security
調査の方向性
First confirm the intended behavior with a maintainer, since the issue itself leaves open whether to document the exemption or put the built-in search under the policy engine. Start by locating where x_amz_bedrock_agentcore_search is dispatched and where the policy engine's ENFORCE/default-deny path raises "Tool call not allowed due to policy enforcement"; check whether the search tool is registered as a gateway tool at all. Done means either the tool catalogue is gated by the same default-deny rule with a passing test, or the docs state explicitly that search metadata is exempt. Read the existing policy-enforcement tests to see how denials are asserted.
索引モデルが issue の本文から書いたものです。
説明
With a policy engine attached in ENFORCE mode and default-deny in effect, x_amz_bedrock_agentcore_search succeeds even though no policy permits it, and returns the full input schemas of every tool on the gateway. Verified in the same session: a target tool absent from every permit is correctly denied with "Tool call not allowed due to policy enforcement [No policy applies to the request (denied by default).]", while the built-in search tool returns results. This may be intended - it is metadata rather than data, and the caller still needs bedrock-agentcore:InvokeGateway - but "default-deny" reads as covering everything on the gateway and it does not cover the tool catalogue. Either document that explicitly or make the built-in policy-governed like any other tool.
version: AgentCoreCLI/0.24.2 (darwin 25.5.0; node/v22.18.0)
- 主要言語
- TypeScript
- スター
- 339
- フォーク
- 129
- 平均マージ
- 19時間 21分
- マージ済み PR(30日)
- 125
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/agentcore-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
aws/agentcore-cli#2940 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
aws/agentcore-cli#2939 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
aws/agentcore-cli#2938 ·
メンテナーはふだん 1 日以内に返信
-
invoke: CUSTOM_JWT runtime errors discard the response body and error type (e.g. "Token has expired")対応中かも @n1dhruv が 6 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aws/agentcore-cli#2875 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
--debug has no effect; service error name, HTTP status and request ID never reach the terminal対応中かも @abhiramshaji-cyber が 3 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
aws/agentcore-cli#2874 ·
メンテナーはふだん 1 日以内に返信
aws/agentcore-cli の issue をすべて見る
似ている issue
-
triage
難易度 1/5 1時間未満 初心者へのやさしさ 64/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
ranxianglei/billion-context#7860 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
agent-oc-find-bugs api complexity → simple payment-methods recurring contributions reviewed stripe
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opencollective/opencollective#9177 ·