check_compliance
Validate system architecture against compliance frameworks including PCI-DSS, HIPAA, GDPR, ISO27001, SOC2, and NIST to identify security gaps and ensure regulatory adherence.
Instructions
Check architecture against compliance framework (PCI-DSS, HIPAA, GDPR, ISO27001, SOC2, NIST). Cost: $0.015 USDC. Service: threatmodel.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| architecture | Yes | ||
| framework | Yes |
Implementation Reference
- src/index.ts:166-223 (handler)The `CallToolRequestSchema` request handler dynamically handles tool execution by looking up the tool name in a fetched registry and proxying the request to the tool's defined endpoint. The tool 'check_compliance' would be executed through this generic handler if present in the registry.
server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; let registry: Registry; try { registry = await fetchRegistry(); } catch (error) { return { content: [ { type: "text", text: JSON.stringify({ error: "Failed to fetch tool registry", detail: String(error) }), }, ], }; } const tool = registry.tools.find((t) => t.name === name); if (!tool) { return { content: [ { type: "text", text: JSON.stringify({ error: `Tool '${name}' not found`, available_tools: registry.tools.map((t) => t.name), }), }, ], }; } try { const result = await callTool(tool, args as Record<string, unknown>); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; } catch (error) { return { content: [ { type: "text", text: JSON.stringify({ error: "Tool call failed", tool: name, service: tool.service, detail: String(error), }), }, ], }; } });