UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

38 lines (37 loc) 877 B
rules: - id: aws-ebs-volume-encrypted-with-cmk patterns: - pattern: | resource "aws_ebs_volume" $ANYTHING { ... encrypted = true ... } - pattern-not-inside: | resource "aws_ebs_volume" $ANYTHING { ... encrypted = true kms_key_id = ... ... } message: >- Ensure EBS Volume is encrypted at rest using KMS CMKs. CMKs gives you control over the encryption key in terms of access and rotation. metadata: category: security technology: - terraform - aws owasp: - A03:2017 - Sensitive Data Exposure cwe: - 'CWE-320: CWE CATEGORY: Key Management Errors' references: - https://owasp.org/Top10/A02_2021-Cryptographic_Failures subcategory: - audit likelihood: LOW impact: LOW confidence: LOW languages: [hcl] severity: WARNING