HTTP runtime gateway targets cannot configure schema for policy guardrails
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- aws, typescript
调研方向
从 --schema 选项的 CLI 验证和部署处理入手,然后跟踪 HTTP 运行时目标在 agentcore.json 中的表示方式。验证 schema 是否针对 http-runtime 被接受和验证、是否持久化到 agentcore.json、是否在 deploy 过程中传递,并确保策略允许的良性请求能够成功。
由索引模型根据 Issue 内容生成。
描述
Description
AgentCore Gateway HTTP runtime targets support an optional API schema. However, AWS documentation states that HTTP runtime agents are required provide this schema when using guardrails.
The CLI exposes --schema for gateway targets, but currently rejects it for --type http-runtime. Consequently, users cannot configure policy guardrails correctly for HTTP runtime targets.
Steps to Reproduce
Reproduce --schema validation rejection
- create HTTP runtime with a policy engine
- Add an HTTP runtime target while passing
--schemaflag
Reproduce deploy failure
- create HTTP runtime with a policy engine
- Add an HTTP runtime target without passing
--schemaflag - Deploy the target and apply guardrail policies
- Attempt to invoke the target
Expected Behavior
- The CLI should accept a schema for HTTP runtime targets
- benign requests permitted by policy should succeed
Actual Behavior
- CLI rejects
--schemafor HTTP runtime targets - benign requests permitted by policy are rejected due to missing schema
CLI Version
No response
Operating System
macOS
Additional Context
- Accept and validate
--schemafor http-runtime in CLI - persist schema source in agentcore.json
- persist schema through deploy
- 主要语言
- TypeScript
- 星标
- 291
- 派生
- 96
- 平均合并
- 20 小时 50 分钟
- 30 天内合并 PR
- 214
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/agentcore-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
aws/agentcore-cli#2395 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
aws/agentcore-cli#2392 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
aws/agentcore-cli#2267 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/agentcore-cli#2258 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/agentcore-cli#2176 ·
查看 aws/agentcore-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
receptron/mulmoterminal#2264 ·
-
documentation
难度 2/5 1-3 小时 新手友好度 78/100
components-web-app/docs#96 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 68/100
simonsobs/tileviewer#114 ·
-
难度 2/5 1-3 小时 新手友好度 75/100