get_top_vulnerable_images
Identify and retrieve the most vulnerable container images from your RAD Security account to prioritize security remediation in Kubernetes and cloud environments.
Instructions
Get the most vulnerable images from your account
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/operations/images.ts:103-115 (handler)The core handler function implementing the tool logic by calling the RAD Security API endpoint for top vulnerable images.export async function getTopVulnerableImages( client: RadSecurityClient ): Promise<any> { return client.makeRequest( `/accounts/${client.getAccountId()}/reports/top_vulnerable_images`, {}, { headers: { "Accept": "application/json", }, } ); }
- src/index.ts:298-301 (registration)Tool registration in the listTools handler, defining name, description, and empty input schema.name: "get_top_vulnerable_images", description: "Get the most vulnerable images from your account", inputSchema: zodToJsonSchema(z.object({})), },
- src/index.ts:1038-1045 (handler)MCP callToolRequest dispatch handler that invokes the getTopVulnerableImages operation and formats the response.case "get_top_vulnerable_images": { const response = await images.getTopVulnerableImages(client); return { content: [ { type: "text", text: JSON.stringify(response, null, 2) }, ], }; }
- src/index.ts:300-300 (schema)Inline Zod schema for empty input parameters.inputSchema: zodToJsonSchema(z.object({})),