AWS bedrock-agentcore documentation change
Summary
Removed section about testing OpenAPI targets including example requests/responses and access token usage
Security assessment
Removal of testing documentation does not indicate a security fix. The deleted content included standard API testing procedures but no evidence of addressing vulnerabilities.
Diff
diff --git a/bedrock-agentcore/latest/devguide/gateway-schema-openapi.md b/bedrock-agentcore/latest/devguide/gateway-schema-openapi.md index d83f105e0..c240806a9 100644 --- a//bedrock-agentcore/latest/devguide/gateway-schema-openapi.md +++ b//bedrock-agentcore/latest/devguide/gateway-schema-openapi.md @@ -5 +5 @@ -Understanding OpenAPI TargetsRequired PermissionsKey considerations and limitationsOpenAPI Specification and Feature SupportCreating an OpenAPI targetUpdating an OpenAPI targetTesting your OpenAPI targetInline OpenAPI specifications +Understanding OpenAPI TargetsRequired PermissionsKey considerations and limitationsOpenAPI Specification and Feature SupportCreating an OpenAPI targetUpdating an OpenAPI targetInline OpenAPI specifications @@ -595,51 +594,0 @@ You can update an existing OpenAPI target using the `UpdateGatewayTarget` API: -## Testing your OpenAPI target - -After adding an OpenAPI target to your Gateway, you can test it by making requests to the Gateway endpoint: - - * **Obtain an access token** from your identity provider (as described in the "Set Up Gateway" guide) - - * **Make a request to the Gateway endpoint** : - - curl -sS -X POST https://{gatewayId}.gateway.{region}.amazonaws.com/mcp \ - --header 'Content-Type: application/json' \ - --header "Authorization: Bearer {access_token}" \ - --data '{ - "jsonrpc": "2.0", - "id": 1, - "method": "tools/call", - "params": { - "name": "searchContent", - "arguments": { - "query": "example search", - "limit": 5 - } - } - }' - - - * **Verify the response** from the API: - - { - "jsonrpc": "2.0", - "id": 1, - "result": { - "results": [ - { - "title": "Example Result 1", - "url": "https://example.com/result1", - "snippet": "This is an example search result" - }, - { - "title": "Example Result 2", - "url": "https://example.com/result2", - "snippet": "Another example search result" - } - ], - "total": 2 - } - } - - - - -