fix(policy): deploy --enforcement-mode through CDK
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- aws, typescript
- 領域
- cli, cloud, infrastructure
調査の方向性
まず agentcore add policy --enforcement-mode LOG_ONLY を再現し、次に agentcore deploy を実行するか、提供された CDK プロジェクトを生成して AWS::BedrockAgentCore::Policy リソースを調べます。agentcore.json の値が固定された @aws/agentcore-cdk パッケージに到達するまでの経路を追跡します。完了の条件は、公開された construct が EnforcementMode: LOG_ONLY を出力し、CLI がその正確な依存関係を更新し、スナップショットが更新されていることです。
索引モデルが issue の本文から書いたものです。
説明
Description
agentcore add policy --enforcement-mode LOG_ONLY persists the selected mode in agentcore.json, but the pinned @aws/agentcore-cdk package does not emit EnforcementMode on AWS::BedrockAgentCore::Policy. CloudFormation therefore uses the service default, ACTIVE, and a policy intended for shadow testing is enforced.
Steps to Reproduce
- Create an AgentCore project with a policy engine and gateway.
- Add a policy with
--enforcement-mode LOG_ONLY. - Run
agentcore deployor synthesize the vended CDK project. - Inspect the
AWS::BedrockAgentCore::Policyresource.
Expected Behavior
The synthesized policy contains EnforcementMode: LOG_ONLY.
Actual Behavior
EnforcementMode is omitted, so the service defaults the policy to ACTIVE.
CLI Version
0.25.0
Operating System
Linux
Additional Context
The L3 construct needs to model and synthesize per-policy enforcement mode first. After that fix is published, the CLI must bump its exact @aws/agentcore-cdk asset dependency and update snapshots.
- 主要言語
- TypeScript
- スター
- 291
- フォーク
- 96
- 平均マージ
- 20時間 50分
- マージ済み PR(30日)
- 214
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/agentcore-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
aws/agentcore-cli#2395 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
aws/agentcore-cli#2392 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/agentcore-cli#2267 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/agentcore-cli#2258 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/agentcore-cli#2176 ·
メンテナーはふだん 1 日以内に返信
aws/agentcore-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
diegosouzapw/OmniRoute#14869 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
メンテナーはふだん 1 日以内に返信
-
status: waiting triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
freeCodeCamp/freeCodeCamp#70412 ·
メンテナーはふだん 1 日以内に返信
-
Mend: dependency security vulnerability untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
opensearch-project/OpenSearch-Dashboards#12816 ·
メンテナーはふだん 1 日以内に返信