---
updatedAt: 2025-09-16T00:25:44.000Z
agentTools:
  projectIndex: https://docs.cgn.portal.checkpoint.com/llms.txt
---

# Get All

Get all rules by filter

# OpenAPI definition

```json
{
  "info": {
    "title": "Risk Management",
    "version": "v2"
  },
  "openapi": "3.0.0",
  "servers": [
    {
      "url": "https://api.dome9.com/",
      "description": "US region"
    },
    {
      "url": "https://api.{region}.dome9.com/",
      "description": "Other regions",
      "variables": {
        "region": {
          "enum": [
            "eu1",
            "ap1",
            "ap2",
            "ap3",
            "cace1"
          ],
          "default": "eu1"
        }
      }
    }
  ],
  "paths": {
    "/v2/security-graph/rules": {
      "get": {
        "operationId": "RuleController_getAll_get_/v2/security-graph/rules",
        "summary": "Get All",
        "parameters": [
          {
            "name": "ids",
            "required": true,
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "platforms",
            "required": true,
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "default": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SecurityGraphRuleViewModel"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Rules"
        ],
        "description": "Get all rules by filter"
      }
    }
  },
  "tags": [
    {
      "name": "Rules",
      "description": "The rules endpoint provides APIs to get the security rules data"
    }
  ],
  "components": {
    "schemas": {
      "SecurityGraphRuleViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "severity": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "critical"
            ]
          },
          "systemLabels": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "High IAM Privileges",
                "IAM Exposure",
                "Network Exposure",
                "Sensitive Data",
                "Third-Party",
                "Vulnerabilities",
                "WAF Advised",
                "Security Event",
                "Malware"
              ]
            }
          },
          "entityLabels": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AutoScalingGroup",
                "Bucket",
                "ContainerImage",
                "ContainerWorkload",
                "Cve",
                "Database",
                "Function",
                "IamRole",
                "IamUser",
                "KubernetesService",
                "Malware",
                "SecurityEvent",
                "VirtualMachine"
              ]
            }
          },
          "platforms": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "aws",
                "azure",
                "kubernetes"
              ]
            }
          },
          "frameworks": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "remediation": {
            "type": "string"
          },
          "concatRemediation": {
            "type": "boolean"
          },
          "metadata": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "severity",
          "systemLabels",
          "entityLabels",
          "platforms",
          "frameworks"
        ]
      }
    },
    "securitySchemes": {
      "basic": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basic": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```