fix(policy): deploy --enforcement-mode through CDK
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- aws, typescript
- Lĩnh vực
- cli, cloud, infrastructure
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện agentcore add policy --enforcement-mode LOG_ONLY, sau đó chạy agentcore deploy hoặc tạo project CDK được cung cấp và kiểm tra resource AWS::BedrockAgentCore::Policy. Truy vết cách giá trị trong agentcore.json đến package @aws/agentcore-cdk đã được ghim; công việc được hoàn tất khi construct đã phát hành phát ra EnforcementMode: LOG_ONLY, CLI cập nhật đúng dependency đó và các snapshot được cập nhật.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 291
- Fork
- 96
- Merge trung bình
- 20 giờ 50 phút
- Pull request đã merge (30 ngày)
- 214
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws/agentcore-cli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
aws/agentcore-cli#2395 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
aws/agentcore-cli#2392 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aws/agentcore-cli#2267 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aws/agentcore-cli#2258 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aws/agentcore-cli#2176 ·
Tất cả issue của aws/agentcore-cli
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
motiondivision/motion#3849 ·
-
Add: S Play Event HD Đang mởcheck:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Improvement for contact popover Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
LiteLLM proxy response_cost (x-litellm-response-cost) is never applied to ChatModelOutput.cost Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
i-am-bee/beeai-framework#1697 · 1 reaction ·
-
Support bun dedupe Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
antfu/node-modules-inspector#214 ·