Skycloak Cluster Security API

The Cluster Security API from Skycloak — 3 operation(s) for cluster security.

GitHub OpenAPI

Operations 5

GET /clusters/{cluster_id}/security Get security configuration #
PATCH /clusters/{cluster_id}/security Update security configuration #
GET /clusters/{cluster_id}/security/captcha/domains List CAPTCHA domains #
POST /clusters/{cluster_id}/security/captcha/domains Add a CAPTCHA domain #
DELETE /clusters/{cluster_id}/security/captcha/domains/{hostname} Remove a CAPTCHA domain #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/skycloak-io:skycloak-io-cluster-security-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

skycloak-io-cluster-security-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Skycloak Public Cluster Security API
  version: '2026-03-01'
  contact:
    name: Skycloak Support
    url: https://support.skycloak.io
  license:
    name: Proprietary
  description: Programmatic management of Keycloak infrastructure on the Skycloak platform.
servers:
- url: http://localhost:8000
  description: Local development
  variables: {}
tags:
- name: Cluster Security
paths:
  /clusters/{cluster_id}/security:
    get:
      operationId: getClusterSecurity
      summary: Get security configuration
      description: 'Returns the current WAF, bot management, geo-blocking, rate limiting, CAPTCHA,

        and IP access control configuration for the cluster.


        Required scope: `clusters:security:read`'
      parameters:
      - name: cluster_id
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/ClusterId'
      - $ref: '#/components/parameters/CommonParameters'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClusterSecurityConfig'
        '401':
          description: Access is unauthorized.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '403':
          description: Access is forbidden.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '429':
          description: Client error
          headers:
            Retry-After:
              required: false
              schema:
                type: integer
            RateLimit-Limit:
              required: false
              schema:
                type: integer
            RateLimit-Remaining:
              required: false
              schema:
                type: integer
            RateLimit-Reset:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Second:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Second:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Minute:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Minute:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Hour:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Hour:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Day:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Day:
              required: false
              schema:
                type: integer
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '500':
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '501':
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      tags:
      - Cluster Security
      security:
      - ApiKeyAuth: []
      x-scopes:
      - clusters:security:read
    patch:
      operationId: updateClusterSecurity
      summary: Update security configuration
      description: 'Partially updates the cluster security configuration. Any omitted top-level

        section (e.g. `waf`) retains its existing value. Provided top-level sections

        replace the existing configuration for that section.


        Requires a Business or Enterprise plan. Returns `402` when the workspace plan does

        not include security features.


        Required scope: `clusters:security:write`'
      parameters:
      - name: cluster_id
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/ClusterId'
      - $ref: '#/components/parameters/CommonParameters'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClusterSecurityConfig'
        '401':
          description: Access is unauthorized.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '402':
          description: Client error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PlanLimitErrorBody'
        '403':
          description: Access is forbidden.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '422':
          description: Client error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ValidationErrorBody'
        '429':
          description: Client error
          headers:
            Retry-After:
              required: false
              schema:
                type: integer
            RateLimit-Limit:
              required: false
              schema:
                type: integer
            RateLimit-Remaining:
              required: false
              schema:
                type: integer
            RateLimit-Reset:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Second:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Second:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Minute:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Minute:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Hour:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Hour:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Day:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Day:
              required: false
              schema:
                type: integer
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '500':
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '501':
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      tags:
      - Cluster Security
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClusterSecurityConfig'
      security:
      - ApiKeyAuth: []
      x-scopes:
      - clusters:security:write
  /clusters/{cluster_id}/security/captcha/domains:
    get:
      operationId: listClusterCAPTCHADomains
      summary: List CAPTCHA domains
      description: 'Returns the registered hostnames and the per-cluster domain limit.


        Required scope: `clusters:security:read`'
      parameters:
      - name: cluster_id
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/ClusterId'
      - $ref: '#/components/parameters/CommonParameters'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CAPTCHADomainsInfo'
        '401':
          description: Access is unauthorized.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '403':
          description: Access is forbidden.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '429':
          description: Client error
          headers:
            Retry-After:
              required: false
              schema:
                type: integer
            RateLimit-Limit:
              required: false
              schema:
                type: integer
            RateLimit-Remaining:
              required: false
              schema:
                type: integer
            RateLimit-Reset:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Second:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Second:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Minute:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Minute:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Hour:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Hour:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Day:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Day:
              required: false
              schema:
                type: integer
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '500':
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '501':
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      tags:
      - Cluster Security
      security:
      - ApiKeyAuth: []
      x-scopes:
      - clusters:security:read
    post:
      operationId: addClusterCAPTCHADomain
      summary: Add a CAPTCHA domain
      description: 'Registers a hostname for CAPTCHA protection. Returns `409` if the hostname is already registered and `402` if the per-cluster domain limit has been reached.


        Required scope: `clusters:security:write`'
      parameters:
      - name: cluster_id
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/ClusterId'
      - $ref: '#/components/parameters/CommonParameters'
      responses:
        '201':
          description: The request has succeeded and a new resource has been created as a result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CAPTCHADomain'
        '401':
          description: Access is unauthorized.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '402':
          description: Client error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PlanLimitErrorBody'
        '403':
          description: Access is forbidden.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '409':
          description: The request conflicts with the current state of the server.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '422':
          description: Client error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ValidationErrorBody'
        '429':
          description: Client error
          headers:
            Retry-After:
              required: false
              schema:
                type: integer
            RateLimit-Limit:
              required: false
              schema:
                type: integer
            RateLimit-Remaining:
              required: false
              schema:
                type: integer
            RateLimit-Reset:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Second:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Second:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Minute:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Minute:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Hour:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Hour:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Day:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Day:
              required: false
              schema:
                type: integer
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '500':
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '501':
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      tags:
      - Cluster Security
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddCAPTCHADomainRequest'
      security:
      - ApiKeyAuth: []
      x-scopes:
      - clusters:security:write
  /clusters/{cluster_id}/security/captcha/domains/{hostname}:
    delete:
      operationId: removeClusterCAPTCHADomain
      summary: Remove a CAPTCHA domain
      description: 'Deregisters a hostname from CAPTCHA protection. Returns `404` if the hostname is not registered.


        Required scope: `clusters:security:write`'
      parameters:
      - name: cluster_id
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/ClusterId'
      - name: hostname
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/CommonParameters'
      responses:
        '204':
          description: There is no content to send for this request, but the headers may be useful.
        '401':
          description: Access is unauthorized.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '403':
          description: Access is forbidden.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '429':
          description: Client error
          headers:
            Retry-After:
              required: false
              schema:
                type: integer
            RateLimit-Limit:
              required: false
              schema:
                type: integer
            RateLimit-Remaining:
              required: false
              schema:
                type: integer
            RateLimit-Reset:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Second:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Second:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Minute:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Minute:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Hour:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Hour:
              required: false
              schema:
                type: integer
            X-RateLimit-Limit-Day:
              required: false
              schema:
                type: integer
            X-RateLimit-Remaining-Day:
              required: false
              schema:
                type: integer
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '500':
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '501':
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      tags:
      - Cluster Security
      security:
      - ApiKeyAuth: []
      x-scopes:
      - clusters:security:write
components:
  schemas:
    CAPTCHAConfig:
      type: object
      required:
      - enabled
      properties:
        enabled:
          type: boolean
        enabled_realms:
          type: array
          items:
            type: string
            x-oapi-codegen-extra-tags:
              validate: omitnil,max=500
          description: Realm IDs where CAPTCHA challenges are presented during the login flow.
    EndpointRateLimit:
      type: object
      required:
      - path
      - rpm
      properties:
        path:
          type: string
          minLength: 1
          maxLength: 255
          description: URL path to apply the limit to.
        rpm:
          type: integer
          minimum: 1
          description: Maximum requests per minute for this path.
    ClusterSecurityConfig:
      type: object
      properties:
        waf:
          $ref: '#/components/schemas/WAFConfig'
        bot_management:
          $ref: '#/components/schemas/BotManagementConfig'
        geo_blocking:
          $ref: '#/components/schemas/GeoBlockingConfig'
        rate_limiting:
          $ref: '#/components/schemas/RateLimitingConfig'
        captcha:
          $ref: '#/components/schemas/CAPTCHAConfig'
        ip_access_control:
          $ref: '#/components/schemas/IPAccessControlConfig'
      description: Security policy configuration for this cluster.
    WAFConfig:
      type: object
      required:
      - enabled
      - mode
      - paranoia_level
      - preset
      properties:
        enabled:
          type: boolean
        mode:
          $ref: '#/components/schemas/SecurityMode'
        paranoia_level:
          type: integer
          minimum: 1
          maximum: 4
          description: Detection sensitivity. Higher levels add more rules but increase false-positive rates.
        preset:
          $ref: '#/components/schemas/WAFPreset'
        enabled_categories:
          allOf:
          - $ref: '#/components/schemas/WAFCategories'
          description: Active rule categories. Required when `preset` is `custom`.
        exclusions:
          $ref: '#/components/schemas/WAFExclusions'
    IPPathRule:
      type: object
      required:
      - path
      properties:
        path:
          type: string
          minLength: 1
          maxLength: 255
          description: URL path prefix to restrict.
        allowed_ips:
          type: array
          items:
            type: string
            x-oapi-codegen-extra-tags:
              validate: omitnil,max=500
          description: Individual IP addresses (IPv4 or IPv6) to allow.
          x-oapi-codegen-extra-tags:
            validate: dive,ip
        allowed_cidrs:
          type: array
          items:
            type: string
            x-oapi-codegen-extra-tags:
              validate: omitnil,max=500
          description: CIDR ranges to allow.
          x-oapi-codegen-extra-tags:
            validate: dive,cidr
        description:
          type: string
          maxLength: 255
    SecurityMode:
      type: string
      enum:
      - detect
      - block
      description: Action taken when a security rule matches.
    RateLimitingConfig:
      type: object
      required:
      - enabled
      properties:
        enabled:
          type: boolean
        global_rpm:
          type: integer
          minimum: 1
          description: Global requests-per-minute ceiling across all clients.
        per_ip_rpm:
          type: integer
          minimum: 1
          description: Per-source-IP requests-per-minute ceiling.
        endpoint_limits:
          type: array
          items:
            $ref: '#/components/schemas/EndpointRateLimit'
    CAPTCHADomain:
      type: object
      required:
      - hostname
      - created_at
      properties:
        hostname:
          type: string
        created_at:
          type: string
          format: date-time
      description: A hostname registered for CAPTCHA protection.
    GeoBlockingMode:
      type: string
      enum:
      - allowlist
      - blocklist
    ClusterId:
      type: string
      format: uuid
    BotManagementConfig:
      type: object
      required:
      - enabled
      - mode
      - challenge_mode
      properties:
        enabled:
          type: boolean
        mode:
          $ref: '#/components/schemas/SecurityMode'
        challenge_mode:
          $ref: '#/components/schemas/BotChallengeMode'
        whitelisted_agents:
          type: array
          items:
            type: string
            x-oapi-codegen-extra-tags:
              validate: omitnil,max=500
          description: User-agent regex patterns to always allow through.
        blacklisted_agents:
          type: array
          items:
            type: string
            x-oapi-codegen-extra-tags:
              validate: omitnil,max=500
          description: User-agent regex patterns to always block.
    WAFCategories:
      type: object
      required:
      - protocol_enforcement
      - protocol_attacks
      - local_file_inclusion
      - remote_file_inclusion
      - remote_code_execution
      - php_injection
      - cross_site_scripting
      - sql_injection
      - session_fixation
      - java_attacks
      - data_leakage
      - webshell_detection
      properties:
        protocol_enforcement:
          type: boolean
          description: Protocol Enforcement (rules 920xxx, ~30–40 rules) — HTTP protocol violations and malformed requests.
        protocol_attacks:
          type: boolean
          description: Protocol Attacks (rules 921xxx, ~25–30 rules) — CRLF injection, HTTP request smuggling, and header attacks.
        local_file_inclusion:
          type: boolean
          description: Local File Inclusion (rules 930xxx, ~15–20 rules) — Path traversal attacks and directory access attempts.
        remote_file_inclusion:
          type: boolean
          description: Remote File Inclusion (rules 931xxx, ~10–15 rules) — Remote URL inclusion and SSRF attacks.
        remote_code_execution:
          type: boolean
          description: Remote Code Execution (rules 932xxx, 60+ rules) — Command injection, shell attacks, and code execution.
        php_injection:
          type: boolean
          description: PHP Injection (rules 933xxx, ~30–40 rules) — PHP function exploitation and serialization attacks.
        cross_site_scripting:
          type: boolean
          description: Cross-Site Scripting (rules 941xxx, ~50–60 rules) — Script injection, event handlers, and DOM-based XSS.
        sql_injection:
          type: boolean
          description: SQL Injection (rules 942xxx, ~55–65 rules) — Database query manipulation and blind SQLi attacks.
        session_fixation:
          type: boolean
          description: Session Fixation (rules 943xxx, ~15–20 rules) — Session manipulation, JWT attacks, and cookie poisoning.
        java_attacks:
          type: boolean
          description: Java/JVM Attacks (rules 944xxx, ~20–30 rules) — Log4Shell, Spring4Shell, and Java deserialization.
        data_leakage:
          type: boolean
          description: Data Leakage Prevention (rules 950–954xxx, 50+ rules) — Credit cards, SSNs, stack traces, and error messages.
        webshell_detection:
          type: boolean
          description: Webshell Detection (rules 955xxx, ~20–30 rules) — Backdoor scripts and malicious shell detection.
      description: OWASP CRS rule categories available for selection when `preset` is `custom`.
    Versions:
      type: string
      enum:
      - 2026-06-01.beta
    ErrorBody:
      type: object
      required:
      - type
      - title
      - status
      - detail
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
          format: uri
      description: RFC 9457 Problem Details object.
    WAFPreset:
      type: string
      enum:
      - full_crs
      - owasp_top_10
      - custom
    PlanLimitErrorBody:
      type: object
      required:
      - type
      - title
      - status
      - detail
      - current_plan
      - required_plan
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
          format: uri
        current_plan:
          type: string
        required_plan:
          type: string
        code:
          type: string
          description: 'Machine-readable identifier of the quota that was hit, so a client can tell

            quotas apart without parsing `detail`. Known values include `cluster_limit`

            (the workspace''s total cluster allowance), `cluster_size_quota` (the

            allowance for the requested cluster size) and `cluster_size` (the requested

            size is not offered on the plan at all). New values may be added.'
        current_usage:
          type: integer
          description: How many of the resource the workspace currently has.
        current_limit:
          type: integer
          description: Maximum allowed by the current plan. `0` means the plan does not include the resource at all.
      description: Returned when a workspace plan quota would be exceeded. `required_plan` indicates the minimum plan needed to complete the request.
    ValidationErrorBody:
      type: object
      required:
      - type
      - title
      - status
      - detail
      - errors
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
          format: uri
        errors:
          type: array
          items:
            $ref: '#/components/schemas/FieldError'
          minItems: 1
    IPAccessControlConfig:
      type: object
      required:
      - path_rules
      properties:
        enabled:
          type: boolean
          description: Whether IP access control is enabled. When false, no path rules are enforced.
        path_rules:
          type: array
          items:
            $ref: '#/components/schemas/IPPathRule'
    AddCAPTCHADomainRequest:
      type: object
      required:
      - hostname
      properties:
        hostname:
          type: string
          minLength: 1
          maxLength: 253
          x-oapi-codegen-extra-tags:
            validate: hostname_rfc1123
    FieldError:
      type: object
      required:
      - field
      - detail
      properties:
        field:
          type: string
        detail:
          type: string
        code:
          type: string
        value: {}
    BotChallengeMode:
      type: string
      enum:
      - none
      - javascript
      - captcha
    WAFExclusions:
      type: object
      properties:
        paths:
          type: array
          items:
            type: string
            x-oapi-codegen-extra-tags:
              validate: omitnil,max=500
          description: URL paths exempt from WAF inspection.
        rules:
          type: array
          items:
            $ref: '#/components/schemas/WAFRuleExclusion'
    GeoBlockingConfig:
      type: object
      required:
      - enabled
      - mode
      - countries
      properties:
        enabled:
          type: boolean
        mode:
          $ref: '#/components/schemas/GeoBlockingMode'
        countries:
          type: array
          items:
            type: string
            x-oapi-codegen-extra-tags:
              validate: omitnil,max=500
          minItems: 1
          description: 'ISO 3166-1 alpha-2 country codes. Overseas territories have their own codes, distinct from their mainland: for example `GP` (Guadeloupe), `MQ` (Martinique) and `RE` (Réunion) are not covered by `FR`, so an allowlist for France and its overseas territories must list them explicitly.'
          x-oapi-codegen-extra-tags:
            validate: dive,iso3166_1_alpha2
    WAFRuleExclusion:
      type: object
      required:
      - rule_ids
      properties:
        rule_ids:
          type: array
          items:
            type: string
            x-oapi-codegen-extra-tags:
              validate: omitnil,max=500
          minItems: 1
          description: OWASP CRS rule identifiers to disable.
        paths:
          type: array
          items:
            type: string
            x-oapi-codegen-extra-tags:
              validate: omitnil,max=500
          description: Restrict this exclusion to specific URL paths. Applies globally when omitted.
    CAPTCHADomainsInfo:
      type: object
      required:
      - domains
      - max_allowed
      properties:
        domains:
          type: array
          items:
            $ref: '#/components/schemas/CAPTCHADomain'
        max_allowed:
          type: integer
          description: Maximum number of domains that can be registered for this cluster.
  parameters:
    CommonParameters:
      name: API-Version
      in: header
      required: true
      schema:
        $ref: '#/components/schemas/Versions'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: API-Key