UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

35 lines (34 loc) 947 B
rules: - id: aws-workspaces-root-volume-unencrypted patterns: - pattern: | resource "aws_workspaces_workspace" $ANYTHING { ... } - pattern-not-inside: | resource "aws_workspaces_workspace" $ANYTHING { ... root_volume_encryption_enabled = true ... } message: The AWS Workspace root volume is unencrypted. The AWS KMS encryption key protects root volume. To create your own, create a aws_kms_key resource or use the ARN string of a key in your account. languages: [hcl] severity: WARNING metadata: owasp: - A03:2017 - Sensitive Data Exposure - A02:2021 - Cryptographic Failures cwe: - 'CWE-326: Inadequate Encryption Strength' technology: - aws - terraform category: security references: - https://owasp.org/Top10/A02_2021-Cryptographic_Failures subcategory: - audit likelihood: LOW impact: LOW confidence: LOW