check_encryption
Verify encryption status of cloud storage, databases, and instances across AWS, Azure, and GCP to ensure data security compliance.
Instructions
Check encryption status of cloud resources
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Cloud provider | |
| resourceId | Yes | Resource ID to check | |
| resourceType | Yes | Resource type |
Implementation Reference
- src/tools/security.ts:169-181 (handler)Handler function for the 'check_encryption' tool within the handleSecurityTool switch statement. Returns a static response indicating the resource is unencrypted.case 'check_encryption': { const resourceId = params.resourceId as string; const resourceType = params.resourceType as string; return { provider, resourceId, resourceType, encrypted: false, encryptionType: 'none', recommendation: 'Enable encryption for this resource', }; }
- src/tools/security.ts:64-83 (schema)Input schema definition for the 'check_encryption' tool, specifying parameters like provider, resourceId, and resourceType.inputSchema: { type: 'object', properties: { provider: { type: 'string', enum: ['aws', 'azure', 'gcp'], description: 'Cloud provider', }, resourceId: { type: 'string', description: 'Resource ID to check', }, resourceType: { type: 'string', enum: ['storage', 'database', 'instance'], description: 'Resource type', }, }, required: ['provider', 'resourceId', 'resourceType'], },
- src/tools/security.ts:61-84 (registration)Registration of the 'check_encryption' tool in the securityTools array, including name, description, and schema.{ name: 'check_encryption', description: 'Check encryption status of cloud resources', inputSchema: { type: 'object', properties: { provider: { type: 'string', enum: ['aws', 'azure', 'gcp'], description: 'Cloud provider', }, resourceId: { type: 'string', description: 'Resource ID to check', }, resourceType: { type: 'string', enum: ['storage', 'database', 'instance'], description: 'Resource type', }, }, required: ['provider', 'resourceId', 'resourceType'], }, },
- src/server.ts:76-77 (registration)Registration and dispatching logic in the main server handler that routes calls to security tools, including 'check_encryption', to handleSecurityTool.} else if (securityTools.some((t) => t.name === name)) { result = await handleSecurityTool(name, args || {});
- src/server.ts:26-26 (registration)Inclusion of securityTools (containing 'check_encryption') into the allTools array used for listing available tools....securityTools,