mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
34 lines (33 loc) • 837 B
YAML
rules:
- id: gcp-compute-ip-forward
patterns:
- pattern: resource
- pattern-inside: |
resource "google_compute_instance" "..." {
...
can_ip_forward = true
...
}
message: >-
Ensure that IP forwarding is not enabled on Instances. This lets the instance act as a traffic router
and
receive traffic not intended for it, which may route traffic through unintended passages.
metadata:
owasp:
- A05:2017 - Broken Access Control
- A01:2021 - Broken Access Control
cwe:
- 'CWE-284: Improper Access Control'
category: security
technology:
- terraform
- gcp
references:
- https://docs.bridgecrew.io/docs/google-cloud-policy-index
subcategory:
- audit
likelihood: LOW
impact: LOW
confidence: LOW
languages: [hcl]
severity: INFO