Skip to main content

WAF AI Profiles — AI scoring profiles

WAF AI Profiles are the AI stage of the WAF: a set of AI/scoring rules that detect attacks missed by fixed signature rules. You group AI rules into a profile, then attach the profile to a domain (the AI profile field in the WAF tab). You can also override the behavior of a specific AI rule on each domain.

Use it to: tighten or relax specific AI rules for a single domain without touching the whole ruleset. Example: an AI rule keeps blocking your search page by mistake. Instead of turning off the WAF, create an override that sets that rule to monitor for this domain only.

AI Profiles run last, after managed rules, platform rules and Custom Rules. See the WAF page for the order of evaluation.

Before you start​

  • WAF is enabled for the organization (otherwise WAF actions return 403; see the WAF page).
  • WAF is enabled for the domain and an AI profile is attached in the AI profile field.

How to configure​

  1. Create or edit a profile in the WAF area (AI profile section): set a name (unique within the organization), choose the enabled rule IDs, and optionally turn on whitelist mode and set score overrides.
  2. Attach the profile to a domain: go to Domains → select a domain → waf tab and set AI profile to the profile you created.
  3. Per-domain override (optional): in the waf → Advanced Rules tab, for a specific AI rule, choose an action (dropdown: Enable = block / Monitor = monitor / Disable = off) and/or a score override, and add a note if needed.
  4. Click Save and wait a few seconds for the change to sync.

Configuration fields​

Per-rule override (per domain):

FieldDescriptionValuesNotes
ActionOverrides the AI rule's behaviorConsole: Enable (block) / Monitor (monitor) / Disable (off); the API also accepts shadowshadow behaves exactly like monitor, and the console shows it as Monitor (with a "shadow" label). Saving again from the console writes it as monitor. off = turn the rule off for the domain
Score overrideOverrides the score the rule contributes0–255Higher = the rule weighs more in the total score
NoteReason for the override≤1024 charactersRecommended, so you know later why it was added

Override limit: at most 500 overrides per domain. Going over returns 403.

Profile (organization level):

FieldDescriptionValuesNotes
NameProfile nameRequired, unique within the organizationDuplicate name → 409
Whitelist modeRun only the enabled rulesOn/offWhen on, it requires at least one enabled_rule_ids entry, and the list must include every AI rule marked critical. If any are missing → 400 with the list of dropped rules
Enabled rule IDsList of enabled AI rules≤8192 entries—
Score overridesPer-rule score overrides≤8192 entries, each value 0–255—

Built-in profiles are immutable and cannot be edited.

Configuration examples​

Example 1 — Downgrade an AI rule that causes false positives to observe only.

  • Override rule AI-XXX: action Monitor (monitor), note false positive on /search.
  • Result: the rule no longer blocks legitimate visitors on this domain; it only logs so you can monitor it.
  • How to verify: repeat a request that was previously blocked → no more 403; the Events tab shows the rule in observe mode.

Example 2 — Turn off an AI rule completely for an internal domain.

  • Override rule AI-YYY: action off.
  • Result: rule AI-YYY does not apply to this domain (it still applies to other domains that use the same profile without an override).
  • How to verify: a request matching the AI-YYY pattern is not handled by that rule.

Example 3 — A "strict" profile that runs only a few rules (whitelist mode).

  • Create profile strict-api: turn on whitelist mode and set enabled_rule_ids to the list of rules you trust for APIs.
  • Attach strict-api to the API domain.
  • Result: only the rules in the list run (other rules are excluded), which reduces unwanted false positives.
  • How to verify: Events shows only rules from the whitelist firing.

Order of evaluation​

  • AI Profile is the last WAF stage: it runs after managed rules, platform rules and Custom Rules.
  • A per-domain override takes precedence over the profile configuration for that rule (on that domain).
  • In terms of letting traffic through, off > monitor/shadow > block: off turns the rule off completely, monitor/shadow only observe, and block blocks.

Troubleshooting​

SymptomCauseFix
Creating a profile returns 409Duplicate name within the organizationUse a different name
Turning on whitelist mode returns an errorNo enabled_rule_ids yet, or the list is missing critical AI rules ("would drop N critical AI rule(s)")Add at least one rule, or add the critical rules listed in the error message, then save
Adding an override returns 403The limit of 500 overrides per domain has been reachedRemove some old overrides
A built-in profile cannot be editedBuilt-in profiles are immutableCreate a new profile (copy the idea) instead of editing the built-in one

FAQ​

  • Is shadow different from monitor? No. shadow == monitor: both only observe and log, without blocking. The dropdown shows only Monitor; shadow can only be sent through the API.
  • Does an override on one domain affect other domains? No. Overrides are per domain; only the profile is shared.
  • Can I write my own AI rules? No. You can only enable, disable or override the existing AI rules.
  • How do I make one AI rule count more or less? Use the per-rule score override.