mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
22 lines (21 loc) • 561 B
YAML
rules:
- id: azure-waf-specificed-mode-app-gw
message: >-
Ensure that Application Gateway uses WAF in “Detection” or “Prevention” modes
patterns:
- pattern: resource
- pattern-inside: |
resource "azurerm_web_application_firewall_policy" "..." {
...
policy_settings {
enabled = false
}
...
}
metadata:
category: best-practice
technology:
- terraform
- azure
languages: [hcl]
severity: WARNING