Skip to content

API protection policy Since v0.2 ​

The policy.api section is the largest in the file. Paths are relative to one entry of applications. Most children are optional lists, and an unset section is off.

For the structure of the file, see Configuration file. Defaults of limits are also listed in Limits and defaults. A dash in Default means the code sets no default value (the setting is empty or off).

API protection ​

KeyTypeDefaultAllowed values / rangeMeaningGuide page
applications[].policy.apiobject——Group of settings: api.API protection
applications[].policy.api.enabledboolean——default true when the section is presentAPI protection
applications[].policy.api.modestring—detect, blockempty: same as the applicationAPI protection
applications[].policy.api.limitsobject——Group of settings: limits.API protection
applications[].policy.api.limits.jsonobject——Group of settings: json.API protection
applications[].policy.api.limits.json.depthinteger——Sets depth.API protection
applications[].policy.api.limits.json.keysinteger——Names of the keys.API protection
applications[].policy.api.limits.json.key_lengthsize——Sets key length.API protection
applications[].policy.api.limits.json.string_lengthsize——Sets string length.API protection
applications[].policy.api.limits.json.array_lengthinteger——Sets array length.API protection
applications[].policy.api.limits.xmlobject——Group of settings: xml.API protection
applications[].policy.api.limits.xml.depthinteger——Sets depth.API protection
applications[].policy.api.limits.xml.elementsinteger——Sets elements.API protection
applications[].policy.api.limits.xml.attributesinteger——Sets attributes.API protection
applications[].policy.api.limits.xml.name_lengthsize——Sets name length.API protection
applications[].policy.api.limits.xml.value_lengthsize——Sets value length.API protection
applications[].policy.api.specs[]list of object——Group of settings: specs.Schema enforcement
applications[].policy.api.specs[].namestring——The name that identifies this entry.Schema enforcement
applications[].policy.api.specs[].filestring——stored with the version, like certificatesSchema enforcement
applications[].policy.api.specs[].base_pathstring——default: the description's first server URL pathSchema enforcement
applications[].policy.api.specs[].unknown_pathsstring—block, log, allowWhat to do with each kind of violation: block (default), log, or allow (not checked).Schema enforcement
applications[].policy.api.specs[].unknown_methodsstring—block, log, allowSets unknown methods.Schema enforcement
applications[].policy.api.specs[].parametersstring—block, log, allowSets parameters.Schema enforcement
applications[].policy.api.specs[].request_bodiesstring—block, log, allowSets request bodies.Schema enforcement
applications[].policy.api.specs[].unsupported_patternsstring——unsupported_patterns: error (default) refuses a description with schema patterns Go's RE2 cannot run; ignore skips those patterns (listed by waap api check and in traces).Schema enforcement
applications[].policy.api.graphqlobject——Group of settings: graphql.Schema enforcement
applications[].policy.api.graphql.pathslist of string——exact, or a prefix ending in *; empty: offSchema enforcement
applications[].policy.api.graphql.depthinteger——Sets depth.Schema enforcement
applications[].policy.api.graphql.aliasesinteger——Sets aliases.Schema enforcement
applications[].policy.api.graphql.fieldsinteger——Sets fields.Schema enforcement
applications[].policy.api.graphql.costinteger——Sets cost.Schema enforcement
applications[].policy.api.graphql.batchinteger——Sets batch.Schema enforcement
applications[].policy.api.graphql.tokensinteger——Sets tokens.Schema enforcement
applications[].policy.api.graphql.introspectionboolean——Sets introspection.Schema enforcement
applications[].policy.api.authobject——Group of settings: auth.Authentication
applications[].policy.api.auth.jwt[]list of object——Group of settings: jwt.Authentication
applications[].policy.api.auth.jwt[].namestring——The name that identifies this entry.Authentication
applications[].policy.api.auth.jwt[].pathslist of string——Request paths the setting applies to.Authentication
applications[].policy.api.auth.jwt[].locationstring——header:NAME (Bearer), cookie:NAME, query:NAMEAuthentication
applications[].policy.api.auth.jwt[].issuerslist of string——Sets issuers.Authentication
applications[].policy.api.auth.jwt[].audienceslist of string——Sets audiences.Authentication
applications[].policy.api.auth.jwt[].algorithmslist of stringRS256—default RS256, ES256Authentication
applications[].policy.api.auth.jwt[].jwks_urlstring——fetched by the active nodeAuthentication
applications[].policy.api.auth.jwt[].jwks_filestring——stored with the versionAuthentication
applications[].policy.api.auth.jwt[].refreshduration1h—URL refresh, default 1hAuthentication
applications[].policy.api.auth.jwt[].required_claimsmap of string——Group of settings: required claims.Authentication
applications[].policy.api.auth.jwt[].clock_skewduration30s—default 30sAuthentication
applications[].policy.api.auth.api_keys[]list of object——Group of settings: api keys.Authentication
applications[].policy.api.auth.api_keys[].namestring——The name that identifies this entry.Authentication
applications[].policy.api.auth.api_keys[].pathslist of string——Request paths the setting applies to.Authentication
applications[].policy.api.auth.api_keys[].locationstring——default header:X-API-KeyAuthentication
applications[].policy.api.consumers[]list of object——Group of settings: consumers.Authentication
applications[].policy.api.consumers[].namestring——The name that identifies this entry.Authentication
applications[].policy.api.consumers[].pathslist of string——Request paths the setting applies to.Authentication
applications[].policy.api.consumers[].methodslist of string——HTTP methods the setting applies to.Authentication
applications[].policy.api.consumers[].source_networkslist of string——Sets source networks.Authentication
applications[].policy.api.consumers[].subjectslist of string——JWT sub (or client_id) valuesAuthentication
applications[].policy.api.consumers[].rateobject——Group of settings: rate.Authentication
applications[].policy.api.consumers[].rate.limitinteger——Sets limit.Authentication
applications[].policy.api.consumers[].rate.perduration——Sets per.Authentication
applications[].policy.api.discoveryobject——Group of settings: discovery.API protection
applications[].policy.api.discovery.enabledbooleantrue with API protection on—default true with API protection onAPI protection
applications[].policy.api.discovery.mcpbooleantrue—recognise MCP traffic; default trueAPI protection
applications[].policy.api.discovery.agentsbooleantrue—recognise AI agent traffic; default trueAPI protection
applications[].policy.api.discovery.flag_unknownstring——log (default) | offAPI protection
applications[].policy.api.discovery.flag_agentsstring——log | off (default)API protection
applications[].policy.api.discovery.known_serverslist of string——acknowledged MCP server pathsAPI protection
applications[].policy.api.grpcobject——Group of settings: grpc.Protocols
applications[].policy.api.grpc.descriptorsstring——FileDescriptorSet file, stored with the version; empty: offProtocols
applications[].policy.api.grpc.methodslist of string——allowed (/pkg.Service/Method, or /pkg.Service/* ); empty: every described methodProtocols
applications[].policy.api.grpc.message_sizesize4MiB—per message, default 4MiBProtocols
applications[].policy.api.websocketobject——Group of settings: websocket.Protocols
applications[].policy.api.websocket.pathslist of string——where upgrades are allowed and messages inspected; empty: offProtocols
applications[].policy.api.websocket.originslist of string——allowed Origin values; empty: anyProtocols
applications[].policy.api.websocket.message_sizesize——Sets message size.Protocols
applications[].policy.api.websocket.formatslist of string——text, binary; empty: textProtocols
applications[].policy.api.websocket.inspect_textbooleantrue—text messages through the signatures; default trueProtocols
applications[].policy.api.mcpobject——Group of settings: mcp.LLM endpoints
applications[].policy.api.mcp.pathslist of string——empty: offLLM endpoints
applications[].policy.api.mcp.toolslist of string——allowed tools/call names; empty: anyLLM endpoints
applications[].policy.api.mcp.message_sizesize——Sets message size.LLM endpoints
applications[].policy.api.mcp.batchinteger——Sets batch.LLM endpoints
applications[].policy.api.mcp.servers[]list of object——Tool lists per MCP server.LLM endpoints
applications[].policy.api.mcp.servers[].namestring——The name that identifies this entry.LLM endpoints
applications[].policy.api.mcp.servers[].pathslist of string——Request paths the setting applies to.LLM endpoints
applications[].policy.api.mcp.servers[].toolslist of string——allowed tools/call names; empty: anyLLM endpoints
applications[].policy.api.mcp.servers[].message_sizesize——0: mcp.message_sizeLLM endpoints
applications[].policy.api.mcp.servers[].batchinteger——0: mcp.batchLLM endpoints
applications[].policy.api.xmlobject——XML and SOAP checks. Off when the section is absent or its list is empty.XML and SOAP
applications[].policy.api.xml.modestring—detect, blockempty: same as api.mode (the application's detect wins)XML and SOAP
applications[].policy.api.xml.budgetduration——Sets budget.XML and SOAP
applications[].policy.api.xml.max_documentsize——Sets max document.XML and SOAP
applications[].policy.api.xml.on_unavailablestring——inherit, open, closedXML and SOAP
applications[].policy.api.xml.contracts[]list of object——Group of settings: contracts.XML and SOAP
applications[].policy.api.xml.contracts[].namestring——The name that identifies this entry.XML and SOAP
applications[].policy.api.xml.contracts[].pathslist of string——Request paths the setting applies to.XML and SOAP
applications[].policy.api.xml.contracts[].kindstring——wsdl, xsd, dtdXML and SOAP
applications[].policy.api.xml.contracts[].filestring——stored with the versionXML and SOAP
applications[].policy.api.xml.contracts[].importslist of string——more files, resolved by name onlyXML and SOAP
applications[].policy.api.xml.contracts[].rootstring——xsd: {namespace}local of the rootXML and SOAP
applications[].policy.api.xml.contracts[].soap_actionstring——wsdl: check (default) or ignoreXML and SOAP
applications[].policy.api.xml.contracts[].operationslist of string——wsdl: allowed; empty: allXML and SOAP
applications[].policy.api.xml.contracts[].on_violationstring——Sets on violation.XML and SOAP
applications[].policy.api.ws_securityobject——WS-Security checks on SOAP messages.WS-Security
applications[].policy.api.ws_security.modestring—detect, blockempty: same as api.mode (the application's detect wins)WS-Security
applications[].policy.api.ws_security.pathslist of string——Request paths the setting applies to.WS-Security
applications[].policy.api.ws_security.requirelist of string——signature, timestamp. Not set: both.WS-Security
applications[].policy.api.ws_security.signed_partslist of string——body, timestamp, header:Local[:namespace]. Not set: body and timestamp.WS-Security
applications[].policy.api.ws_security.trusted_certslist of string——Sets trusted certs.WS-Security
applications[].policy.api.ws_security.algorithmslist of string——Not set: rsa-sha256, rsa-sha512, ecdsa-sha256, ecdsa-sha384.WS-Security
applications[].policy.api.ws_security.max_clock_skewduration——Sets max clock skew.WS-Security
applications[].policy.api.ws_security.max_ageduration——Longest age accepted.WS-Security
applications[].policy.api.ws_security.replay_windowduration——Sets replay window.WS-Security
applications[].policy.api.ws_security.decryptboolean——Sets decrypt.WS-Security
applications[].policy.api.ws_security.decrypt_keystring——Sets decrypt key.WS-Security
applications[].policy.api.ws_security.sign_responsesboolean——Sets sign responses.WS-Security
applications[].policy.api.ws_security.sign_keystring——Sets sign key.WS-Security
applications[].policy.api.ws_security.sign_certstring——Sets sign cert.WS-Security
applications[].policy.api.ws_security.encrypt_responsesboolean——Sets encrypt responses.WS-Security
applications[].policy.api.ws_security.wrappingbooleanon—Checks against signature-wrapping attacks. On by default.WS-Security
applications[].policy.api.learnedobject——Group of settings: learned.API protection
applications[].policy.api.learned.modestring—detect, blockempty: same as api.mode (the application's detect wins)API protection
applications[].policy.api.learned.unknown_fieldsstring——log | refuse: fields a schema does not nameAPI protection
applications[].policy.api.learned.responsesstring——off | detect: answers checked against response schemasAPI protection
applications[].policy.api.learned_schemaslist of object——Sets learned schemas.Learned schema
applications[].policy.api.attestationobject——Group of settings: attestation.App attestation
applications[].policy.api.attestation.modestring—detect, blockempty: same as api.mode (the application's detect wins)App attestation
applications[].policy.api.attestation.pathslist of string——Request paths the setting applies to.App attestation
applications[].policy.api.attestation.methodslist of string——HTTP methods the setting applies to.App attestation
applications[].policy.api.attestation.headerstring——Name of the header.App attestation
applications[].policy.api.attestation.on_missingstring——refuse | logApp attestation
applications[].policy.api.attestation.verifiers[]list of object——Group of settings: verifiers.App attestation
applications[].policy.api.attestation.verifiers[].namestring——The name that identifies this entry.App attestation
applications[].policy.api.attestation.verifiers[].platformstring——play_integrity | app_attest | jwtApp attestation
applications[].policy.api.attestation.verifiers[].package_nameslist of string——Play Integrity.App attestation
applications[].policy.api.attestation.verifiers[].certificate_digestslist of string——Sets certificate digests.App attestation
applications[].policy.api.attestation.verifiers[].device_verdictslist of string——Sets device verdicts.App attestation
applications[].policy.api.attestation.verifiers[].app_verdictstring——Sets app verdict.App attestation
applications[].policy.api.attestation.verifiers[].licensedboolean——Play Integrity only: require the app's licensing verdict from Google Play to be licensed.App attestation
applications[].policy.api.attestation.verifiers[].team_idstring——App Attest.App attestation
applications[].policy.api.attestation.verifiers[].bundle_idslist of string——Sets bundle ids.App attestation
applications[].policy.api.attestation.verifiers[].environmentstring——production | developmentApp attestation
applications[].policy.api.attestation.verifiers[].key_setstring——Signed JWT (custom SDKs).App attestation
applications[].policy.api.attestation.verifiers[].issuerstring——Sets issuer.App attestation
applications[].policy.api.attestation.verifiers[].audiencestring——Sets audience.App attestation
applications[].policy.api.attestation.verifiers[].algorithmslist of string——Sets algorithms.App attestation
applications[].policy.api.attestation.verifiers[].claimsmap of string——Group of settings: claims.App attestation
applications[].policy.api.attestation.verifiers[].bindingstring——Every platform.App attestation
applications[].policy.api.attestation.verifiers[].max_ageduration——Longest age accepted.App attestation
applications[].policy.api.attestation.verifiers[].single_usebooleantrue—single_use refuses a Play Integrity or JWT token seen before on this node (default true).App attestation
applications[].policy.api.rewrites[]list of object——Group of settings: rewrites.Call rewriting
applications[].policy.api.rewrites[].namestring——The name that identifies this entry.Call rewriting
applications[].policy.api.rewrites[].matchobject——Group of settings: match.Call rewriting
applications[].policy.api.rewrites[].match.prefixstring——whole segments: /api/v1 matches /api/v1 and /api/v1/x, not /api/v10Call rewriting
applications[].policy.api.rewrites[].match.pathstring——exactCall rewriting
applications[].policy.api.rewrites[].match.regexstring——RE2, must match the whole pathCall rewriting
applications[].policy.api.rewrites[].match.templatestring——/users/{id}: whole-segment variablesCall rewriting
applications[].policy.api.rewrites[].methodslist of string——HTTP methods the setting applies to.Call rewriting
applications[].policy.api.rewrites[].tostring——Sets to.Call rewriting
applications[].policy.api.rewrites[].hoststring——Host name this entry applies to or connects to.Call rewriting
applications[].policy.api.rewrites[].request_headersobject——Group of settings: request headers.Call rewriting
applications[].policy.api.rewrites[].request_headers.setmap of string——Group of settings: set.Call rewriting
applications[].policy.api.rewrites[].request_headers.removelist of string——Sets remove.Call rewriting
applications[].policy.api.rewrites[].responseobject——Group of settings: response.Call rewriting
applications[].policy.api.rewrites[].response.locationbooleantrue—default trueCall rewriting
applications[].policy.api.rewrites[].response.linkslist of string——JSON pointers; * is any member or indexCall rewriting
applications[].policy.api.ownershipobject——Group of settings: ownership.Object ownership
applications[].policy.api.ownership.enabledboolean——Turns the feature on or off.Object ownership
applications[].policy.api.ownership.modestring—detect, blockempty: same as api.mode (the application's detect wins)Object ownership
applications[].policy.api.ownership.learn_fromstring——responses | requests | bothObject ownership
applications[].policy.api.ownership.endpoints[]list of object——Group of settings: endpoints.Object ownership
applications[].policy.api.ownership.endpoints[].endpointstring——METHOD /template, as positive.rulesObject ownership
applications[].policy.api.ownership.endpoints[].idslist of string——path:NAME, query:NAME, json:/pointer, header:NAMEObject ownership
applications[].policy.api.ownership.endpoints[].namespacestring——empty: derived from the namesObject ownership
applications[].policy.api.ownership.endpoints[].hands_outlist of string——json:/pointer (* for any element or member)Object ownership
applications[].policy.api.ownership.id_nameslist of string——Not set: id, *_id, *Id, uuid, *_uuid.Object ownership
applications[].policy.api.ownership.id_shapeslist of string——Not set: integer, uuid, hex, alphanumeric.Object ownership
applications[].policy.api.ownership.public_namespaceslist of string——never flagged, never storedObject ownership
applications[].policy.api.ownership.shared_afterinteger——Sets shared after.Object ownership
applications[].policy.api.ownership.ignore_kindslist of string——Not set: ip, ip_ja4.Object ownership
applications[].policy.api.ownership.foreignstring——log | refuseObject ownership
applications[].policy.api.ownership.enumerationobject——Group of settings: enumeration.Object ownership
applications[].policy.api.ownership.enumeration.distinctinteger——Sets distinct.Object ownership
applications[].policy.api.ownership.enumeration.windowduration——Time window the count covers.Object ownership
applications[].policy.api.ownership.enumeration.sequentialinteger——Sets sequential.Object ownership
applications[].policy.api.ownership.enumeration.actionstring——log | refuseObject ownership
applications[].policy.api.ownership.ttlduration——How long the value is kept.Object ownership
applications[].policy.api.ownership.max_objectsinteger——Sets max objects.Object ownership
applications[].policy.api.ownership.max_responsesize——Sets max response.Object ownership
applications[].policy.api.ownership.learningduration——warm-up: learn only, flag nothingObject ownership
applications[].policy.api.flowsobject——Group of settings: flows.Business flows
applications[].policy.api.flows.modestring—detect, blockempty: same as api.mode (the application's detect wins)Business flows
applications[].policy.api.flows.state_ttlduration——how long an identity's progress is kept after its last stepBusiness flows
applications[].policy.api.flows.max_identitiesinteger——identities followed at once on a node (least recent dropped)Business flows
applications[].policy.api.flows.definitions[]list of object——Group of settings: definitions.Business flows
applications[].policy.api.flows.definitions[].namestring——The name that identifies this entry.Business flows
applications[].policy.api.flows.definitions[].steps[]list of object——Group of settings: steps.Business flows
applications[].policy.api.flows.definitions[].steps[].namestring——The name that identifies this entry.Business flows
applications[].policy.api.flows.definitions[].steps[].endpointstring——METHOD /templateBusiness flows
applications[].policy.api.flows.definitions[].steps[].afterlist of stringthe previous step—default: the previous stepBusiness flows
applications[].policy.api.flows.definitions[].steps[].min_gapduration——Sets min gap.Business flows
applications[].policy.api.flows.definitions[].max_durationduration30m—default 30mBusiness flows
applications[].policy.api.flows.definitions[].once[]list of object——Group of settings: once.Business flows
applications[].policy.api.flows.definitions[].once[].stepstring——Sets step.Business flows
applications[].policy.api.flows.definitions[].once[].valuestring——json:/pointer, query:name, form:name, header:Name, path:varBusiness flows
applications[].policy.api.flows.definitions[].once[].scopestring——identity (default) | globalBusiness flows
applications[].policy.api.flows.definitions[].once[].ttlduration30 days—default 30 daysBusiness flows
applications[].policy.api.flows.definitions[].on_violationstring——log (default) | refuseBusiness flows
applications[].policy.api.flows.learningobject——Group of settings: learning.Business flows
applications[].policy.api.flows.learning.enabledboolean——Turns the feature on or off.Business flows
applications[].policy.api.flows.learning.min_identitiesinteger——Sets min identities.Business flows
applications[].policy.api.llmobject——Group of settings: llm.LLM endpoints
applications[].policy.api.llm.modestring—detect, blockempty: same as api.mode (the application's detect wins)LLM endpoints
applications[].policy.api.llm.budgetduration——Sets budget.LLM endpoints
applications[].policy.api.llm.discoveryboolean——Sets discovery.LLM endpoints
applications[].policy.api.llm.heuristicsboolean——Sets heuristics.LLM endpoints
applications[].policy.api.llm.crs_exceptionbooleanon—crs_exception ignores the CRS rules that flag ordinary chat text (LLMCRSRules) in the message content of the endpoints; default on.LLM endpoints
applications[].policy.api.llm.classifierobject——Group of settings: classifier.LLM endpoints
applications[].policy.api.llm.classifier.enabledboolean——Turns the feature on or off.LLM endpoints
applications[].policy.api.llm.classifier.thresholdinteger——percentLLM endpoints
applications[].policy.api.llm.classifier.budgetduration——Sets budget.LLM endpoints
applications[].policy.api.llm.classifier.on_unavailablestring——Sets on unavailable.LLM endpoints
applications[].policy.api.llm.outputobject——Group of settings: output.LLM endpoints
applications[].policy.api.llm.output.dlpboolean——Sets dlp.LLM endpoints
applications[].policy.api.llm.output.actionstring——What happens on a match.LLM endpoints
applications[].policy.api.llm.output.hold_backsize——answer text held back in streams so split values are still foundLLM endpoints
applications[].policy.api.llm.endpoints[]list of object——Group of settings: endpoints.LLM endpoints
applications[].policy.api.llm.endpoints[].namestring——The name that identifies this entry.LLM endpoints
applications[].policy.api.llm.endpoints[].pathslist of string——Request paths the setting applies to.LLM endpoints
applications[].policy.api.llm.endpoints[].formatstring——Sets format.LLM endpoints
applications[].policy.api.llm.endpoints[].promptstring——generic: JSON pointer of the user textLLM endpoints
applications[].policy.api.llm.endpoints[].outputstring——generic: JSON pointer of the answer textLLM endpoints
applications[].policy.api.llm.endpoints[].classify_roleslist of string——Sets classify roles.LLM endpoints
applications[].policy.api.llm.endpoints[].system_prompt_markerslist of string——Sets system prompt markers.LLM endpoints
applications[].policy.api.llm.endpoints[].max_request_tokensinteger——Sets max request tokens.LLM endpoints
applications[].policy.api.llm.endpoints[].tokens_per_minuteinteger——Sets tokens per minute.LLM endpoints
applications[].policy.api.llm.endpoints[].tokens_per_dayinteger——Sets tokens per day.LLM endpoints
applications[].policy.api.llm.endpoints[].cost_per_dayinteger——micro-units of the operator's currency; 0: no limitLLM endpoints
applications[].policy.api.llm.endpoints[].models[]list of object——Group of settings: models.LLM endpoints
applications[].policy.api.llm.endpoints[].models[].namestring——exact, or a prefix ending in *LLM endpoints
applications[].policy.api.llm.endpoints[].models[].input_priceinteger——Sets input price.LLM endpoints
applications[].policy.api.llm.endpoints[].models[].output_priceinteger——Sets output price.LLM endpoints
applications[].policy.api.llm.endpoints[].on_injectionstring——log | refuseLLM endpoints
applications[].policy.api.postureobject——Thresholds for the authentication posture labels.API protection
applications[].policy.api.posture.min_callsinteger——calls before the unauthenticated and mixed labels applyAPI protection
applications[].policy.api.posture.unauthenticated_shareinteger——percent of calls without credentialsAPI protection
applications[].policy.api.posture.mixed_shareinteger——percent of each kind for mixed_authAPI protection
applications[].policy.api.posture.sensitive_shareinteger——percent of answers with sensitive dataAPI protection
applications[].policy.api.posture.stale_daysinteger——not seen for this many daysAPI protection
applications[].policy.api.endpoint_notes[]list of object——Notes on endpoints, for example that one is public by design.Inventory
applications[].policy.api.endpoint_notes[].endpointstring——METHOD /templateInventory
applications[].policy.api.endpoint_notes[].publicboolean——Sets public.Inventory
applications[].policy.api.endpoint_notes[].notestring——Free-text note for operators.Inventory
applications[].policy.api.volume_baselineobject——Settings for learning per-endpoint request volume.Inventory
applications[].policy.api.volume_baseline.enabledboolean——Turns the feature on or off.Inventory
applications[].policy.api.volume_baseline.learning_periodduration——Sets learning period.Inventory
applications[].policy.api.volume_baseline.factorinteger——Sets factor.Inventory
applications[].policy.api.volume_baseline.floorinteger——Sets floor.Inventory
applications[].policy.api.volume_baseline.min_samplesinteger——Sets min samples.Inventory
applications[].policy.api.volume_baseline.windowduration——Time window the count covers.Inventory
applications[].policy.api.volume_baseline.actionstring——log (default) | blockInventory
applications[].policy.api.volume_baseline.auto_applyboolean——Sets auto apply.Inventory
applications[].policy.api.volume_baselineslist of object——Approved per-endpoint volume limits.API protection

Example ​

yaml
version: 2
listeners:
  - {name: web, address: "0.0.0.0:8080", protocol: http}
server_pools:
  - name: shop
    servers:
      - {address: "127.0.0.1:9000", weight: 1, state: active}
applications:
  - name: shop
    hostnames: [shop.example.com]
    listeners: [web]
    server_pool: shop
    policy:
      api:
        mode: detect
        limits:
          json: {depth: 16}