mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
36 lines (35 loc) • 889 B
YAML
rules:
- id: aws-fsx-lustre-filesystem-encrypted-with-cmk
patterns:
- pattern: |
resource "aws_fsx_lustre_file_system" $ANYTHING {
...
}
- pattern-not-inside: |
resource "aws_fsx_lustre_file_system" $ANYTHING {
...
kms_key_id = ...
...
}
message: >-
Ensure FSX Lustre file system 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
- A04:2021 - Insecure Design
cwe:
- 'CWE-311: Missing Encryption of Sensitive Data'
references:
- https://owasp.org/Top10/A04_2021-Insecure_Design
subcategory:
- audit
likelihood: LOW
impact: LOW
confidence: LOW
languages: [hcl]
severity: WARNING