mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
28 lines (27 loc) • 677 B
YAML
rules:
- id: azure-functionapp-http-version-latest
message: >-
Ensure that HTTP Version is the latest if used to run the Function app
patterns:
- pattern: resource
- pattern-not-inside: |
resource "azurerm_function_app" "..." {
...
site_config {
...
http2_enabled = true
...
}
...
}
- pattern-inside: |
resource "azurerm_function_app" "..." {
...
}
metadata:
category: best-practice
technology:
- terraform
- azure
languages: [hcl]
severity: WARNING