rulesets_ExecuteRule

APIs.ioEngineeringPlatform
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-rulesets-executerule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/rulesets_ExecuteRule",
  "title": "rulesets_ExecuteRule",
  "allOf": [
    {
      "$ref": "#/components/schemas/rulesets_Rule"
    },
    {
      "properties": {
        "action": {
          "enum": [
            "execute"
          ]
        },
        "action_parameters": {
          "properties": {
            "id": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/rulesets_RulesetId"
                },
                {
                  "description": "The ID of the ruleset to execute.",
                  "example": "4814384a9e5d4991b9815dcfc25d2f1f"
                }
              ]
            },
            "matched_data": {
              "description": "The configuration to use for matched data logging.",
              "properties": {
                "public_key": {
                  "description": "The public key to encrypt matched data logs with.",
                  "example": "iGqBmyIUxuWt1rvxoAharN9FUXneUBxA/Y19PyyrEG0=",
                  "minLength": 1,
                  "title": "Public key",
                  "type": "string"
                }
              },
              "required": [
                "public_key"
              ],
              "title": "Matched data",
              "type": "object"
            },
            "overrides": {
              "description": "A set of overrides to apply to the target ruleset.",
              "minProperties": 1,
              "properties": {
                "action": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/rulesets_RuleAction"
                    },
                    {
                      "description": "An action to override all rules with. This option has lower precedence than rule and category overrides.",
                      "example": "log"
                    }
                  ]
                },
                "categories": {
                  "description": "A list of category-level overrides. This option has the second-highest precedence after rule-level overrides.",
                  "items": {
                    "description": "A category-level override",
                    "minProperties": 2,
                    "properties": {
                      "action": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/rulesets_RuleAction"
                          },
                          {
                            "description": "The action to override rules in the category with.",
                            "example": "log"
                          }
                        ]
                      },
                      "category": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/rulesets_RuleCategory"
                          },
                          {
                            "description": "The name of the category to override."
                          }
                        ]
                      },
                      "enabled": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/rulesets_RuleEnabled"
                          },
                          {
                            "description": "Whether to enable execution of rules in the category."
                          }
                        ]
                      },
                      "sensitivity_level": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/rulesets_ExecuteSensitivityLevel"
                          },
                          {
                            "description": "The sensitivity level to use for rules in the category."
                          }
                        ]
                      }
                    },
                    "required": [
                      "category"
                    ],
                    "title": "Category override",
                    "type": "object"
                  },
                  "minItems": 1,
                  "title": "Category overrides",
                  "type": "array",
                  "uniqueItems": true
                },
                "enabled": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/rulesets_RuleEnabled"
                    },
                    {
                      "description": "Whether to enable execution of all rules. This option has lower precedence than rule and category overrides."
                    }
                  ]
                },
                "rules": {
                  "description": "A list of rule-level overrides. This option has the highest precedence.",
                  "items": {
                    "description": "A rule-level override",
                    "minProperties": 2,
                    "properties": {
                      "action": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/rulesets_RuleAction"
                          },
                          {
                            "description": "The action to override the rule with.",
                            "example": "log"
                          }
                        ]
                      },
                      "enabled": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/rulesets_RuleEnabled"
                          },
                          {
                            "description": "Whether to enable execution of the rule."
                          }
                        ]
                      },
                      "id": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/rulesets_RuleId"
                          },
                          {
                            "description": "The ID of the rule to override.",
                            "example": "8ac8bc2a661e475d940980f9317f28e1"
                          }
                        ]
                      },
                      "score_threshold": {
                        "description": "The score threshold to use for the rule.",
                        "title": "Score threshold",
                        "type": "integer"
                      },
                      "sensitivity_level": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/rulesets_ExecuteSensitivityLevel"
                          },
                          {
                            "description": "The sensitivity level to use for the rule."
                          }
                        ]
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "title": "Rule override",
                    "type": "object"
                  },
                  "minItems": 1,
                  "title": "Rule overrides",
                  "type": "array",
                  "uniqueItems": true
                },
                "sensitivity_level": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/rulesets_ExecuteSensitivityLevel"
                    },
                    {
                      "description": "A sensitivity level to set for all rules. This option has lower precedence than rule and category overrides and is only applicable for DDoS phases."
                    }
                  ]
                }
              },
              "title": "Overrides",
              "type": "object"
            }
          },
          "required": [
            "id"
          ]
        },
        "description": {
          "example": "Execute the OWASP ruleset when the IP address is not 1.1.1.1"
        }
      },
      "title": "Execute rule"
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/apis-io-engineering-platform-rulesets-executerule"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.