firewall_schemas-configuration

The configuration object for the current rule.

APIs.ioEngineeringPlatform

Properties

Name Type Description
target string The configuration target for this rule. You must set the target to `ua` for User Agent Blocking rules.
value string The exact user agent string to match. This value will be compared to the received `User-Agent` HTTP header value.
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-firewall-schemas-configuration-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/firewall_schemas-configuration",
  "title": "firewall_schemas-configuration",
  "description": "The configuration object for the current rule.",
  "properties": {
    "target": {
      "description": "The configuration target for this rule. You must set the target to `ua` for User Agent Blocking rules.",
      "example": "ua",
      "type": "string"
    },
    "value": {
      "description": "The exact user agent string to match. This value will be compared to the received `User-Agent` HTTP header value.",
      "example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4",
      "type": "string"
    }
  },
  "type": "object"
}