get_security_advisories
Retrieve security advisories and recommendations for a specific customer to identify potential vulnerabilities and implement protective measures.
Instructions
Get security advisories for a specific customer. Returns security alerts and recommendations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | The customer ID |
Implementation Reference
- src/index.ts:379-393 (handler)Handler for get_security_advisories tool: validates customerId, calls the /product-alerts/security-advisories API endpoint via makeApiCall, and returns the JSON response as text.case "get_security_advisories": { const customerId = args?.customerId as string; if (!customerId) { throw new Error("customerId is required"); } const data = await makeApiCall("/product-alerts/security-advisories", customerId); return { content: [ { type: "text", text: JSON.stringify(data, null, 2), }, ], }; }
- src/index.ts:206-219 (schema)Tool schema definition including name, description, and input schema requiring customerId.{ name: "get_security_advisories", description: "Get security advisories for a specific customer. Returns security alerts and recommendations.", inputSchema: { type: "object", properties: { customerId: { type: "string", description: "The customer ID", }, }, required: ["customerId"], }, },
- src/index.ts:223-228 (registration)Registration of the tools list handler that exposes the get_security_advisories tool via ListTools.server.setRequestHandler(ListToolsRequestSchema, async () => { logger.debug('ListTools request received'); return { tools, }; });