Set the policy

Choose a template, set the action of each category and policy key, override single bots, and switch between log and enforce mode.

On this page

The policy has one action per key: the six configurable categories and the five extra keys. The decision for a request is the bot's own override if it has one; otherwise the strongest action among the keys that apply to it.

Defaults

Every key is log, except ai_search, ai_user_agent and search_engine, which are allow. Humans are always allowed.

Templates

A template replaces the whole policy. Mode, spoofed_challenge and bot overrides stay as they are. Policy keys sent in the same change apply on top of the template.

Keysearch_ok_block_trainingverified_onlyblock_unverified_automation
Dashboard nameAllow search engines and AI search, block trainingVerified onlyBlock all unverified automation
ai_trainingblockallowlog
ai_searchallowallowallow
ai_user_agentallowallowallow
search_engineallowallowallow
unverified_automationlogchallengeblock
spoofedchallengeblockblock
unverified_botlogblocklog
trap_hitlogchallengeblock
secret_probelogblockblock
robots_violationloglogblock
agent_burstlogchallengeblock

Change the policy

AI Crawl Control → Overview → Settings: Templates → Apply, then adjust Action per category. Review and save shows the diff before saving.

Per-bot overrides

bot_overrides (up to 100 {bot_id, action} entries) sets the action of one catalog bot, whatever its category. The list is replaced whole.

Settings → Crawler overrides → Add crawler, pick the crawler and its action.

Log and enforce

modeEffect
log (default)Decisions are computed and counted with enforced: false; traffic passes. Reports show them as "would".
enforceDecisions are applied.

The tarpit action needs tarpit.enabled; see Trap and tarpit.

One name, its own policy

hosts.<name>.ai_agents replaces the zone's settings for that name as a whole; the first change to a name starts from the zone's settings. In the dashboard use Applies to in the settings; in MCP pass host; in the CLI use --host:

openwaf-cloud ctl zones set example.com --host shop.example.com ai_agents.mode=enforce --reason "Enforce on the shop"

Last updated:

↑↓ to navigate↵ to openesc to close