UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

34 lines (33 loc) 754 B
rules: - id: azure-customrole-definition-subscription-owner message: >- Ensure that no custom subscription owner roles are created patterns: - pattern: | ["*"] - pattern-inside: | resource "azurerm_role_definition" "..." { permissions { ... } } - pattern-inside: actions = ... 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