UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

40 lines (39 loc) 827 B
rules: - id: azure-functionapps-enable-auth message: >- Ensure that function apps enables Authentication patterns: - pattern: resource - pattern-not-inside: | resource "azurerm_function_app" "..." { ... auth_settings { ... enabled = true ... } ... } - pattern-inside: | resource "azurerm_function_app" "..." { ... } 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