apps

Add App WAF Rule

Add a WAF rule to an App

post/app/{app_id}/waf/rules

Request

  • Base URL: https://api.faable.com
  • URL: https://api.faable.com/app/{app_id}/waf/rules
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://faable.auth.faable.link/authorize, token URL https://faable.auth.faable.link/oauth/token)
    • HTTP bearer
    • OAuth 2 (client credentials, token URL https://faable.auth.faable.link/oauth/token)
    • HTTP bearer
    • HTTP basic
    • API key in query parameter apikey

Path parameters

app_idstring required

Request body

patternstring

RE2 path-regex fragment, e.g. ^/robots.txt$

user_agentstring

RE2 fragment matched against User-Agent. With pattern, BOTH must match.

querystring

LITERAL query parameter name, e.g. rest_route (never a regex). With pattern, BOTH must match.

descriptionstring
forceboolean

Accept a user-agent pattern that also matches a known search/AI crawler or uptime monitor, or a query parameter that carries an auth flow

Response

Default Response

enabledboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.