UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

40 lines (39 loc) 902 B
rules: - id: eks-public-endpoint-enabled patterns: - pattern: | resource - pattern-inside: | resource "aws_eks_cluster" "..." {...} - pattern-not-inside: | resource "aws_eks_cluster" "..."{ ... vpc_config{ ... endpoint_public_access = false ... } ... } languages: - hcl message: >- The vpc_config resource inside the eks cluster has not explicitly disabled public endpoint access severity: WARNING metadata: category: security cwe: - 'CWE-200: Exposure of Sensitive Information to an Unauthorized Actor' technology: - terraform - aws owasp: - A01:2021 - Broken Access Control references: - https://owasp.org/Top10/A01_2021-Broken_Access_Control cwe2021-top25: true subcategory: - audit likelihood: LOW impact: LOW confidence: LOW