mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
43 lines (42 loc) • 914 B
YAML
rules:
- id: azure-containergroup-deployed-into-virtualnetwork
message: >-
Ensure that Azure Container group is deployed into virtual network
patterns:
- pattern: resource
- pattern-not-inside: |
resource "azurerm_container_group" "..." {
...
container {
...
}
network_profile_id = "..."
...
}
- pattern-inside: |
resource "azurerm_container_group" "..." {
...
container {
...
}
...
}
metadata:
owasp:
- A05:2017 - Broken Access Control
- A01:2021 - Broken Access Control
cwe:
- 'CWE-284: Improper Access Control'
category: security
technology:
- terraform
- azure
references:
- https://owasp.org/Top10/A01_2021-Broken_Access_Control
subcategory:
- audit
likelihood: LOW
impact: LOW
confidence: LOW
languages: [hcl]
severity: WARNING