Skip to main content

ATS — adaptive threat scoring (tuning)

This section uses a single On/Off switch at the top instead of separate Create/Delete/Save buttons and an Enable ATS box. Off = delete the domain's entire ATS configuration (weights + thresholds).

ATS (Adaptive/Automated Threat Scoring) is a set of per-domain tuning settings for threat scoring and DDoS verdicts. It does not block anything itself; it adjusts how scores are calculated. In the console (the ATS Scoring tab), it is split into two collapsible systems:

  • A · Threat scoring: weights (platform coherence, UA spoofing, header fingerprint, TLS coherence, bot score) + UA Spoofing Gate + bot-score thresholds → added to threat_score (blocking happens at the domain's threat threshold, set in the WAF tab).
  • B · Mobile / tablet DDoS tuning: override values for mobile/tablet clients (rate anomaly, velocity, cookie discount and so on) → passed to the DDoS engine.

Important convention: 0 / 0.0 means "use the platform-wide (global) default", not off.

Use it to: reduce false positives for specific groups of clients (many users sharing an IP behind CGNAT/carrier NAT, many TLS1.2/HTTP1.1 clients, mobile apps) while keeping the ability to detect automation. Example: your mobile app is scored unfairly because it uses a valid cookie but has a high request rate. Loosen the mobile rate anomaly multiplier to reduce false blocks.

ATS is not "smart routing". This module does not route to origins. It only affects threat_score and DDoS verdicts.

Before you start​

  • The domain has been added and points to VNIS.
  • The domain must have WAF enabled (and the organization must be granted WAF). Otherwise, the ATS tab is locked in the console, with a prompt to go to the WAF tab to enable it.
  • For the threat-score weights to actually block, threat_score must reach the domain's threat threshold (WAF tab).

How to configure​

This section uses a single On/Off switch at the top: On = create and apply the ATS configuration (saved immediately); Off = delete the domain's ATS configuration (with a confirmation dialog). The fields are shown even when Off, so you can edit them first and then switch On. Any field left empty or set to 0 = use the global default.

Tab layout (top to bottom): the Smart suggest card ("Fit ATS to this domain's traffic") → an introduction to the two systems → A · Threat scoring → B · Mobile / tablet DDoS tuning.

The introduction (primer) explains: A adds signals to each request's threat score, and a client is blocked (not given a JS challenge) only when its score reaches the domain's global threat threshold; B adjusts the DDoS engine's verdicts and only applies to mobile/tablet clients. ATS does not issue JS challenges. For JS challenges, see JS Challenge.

Each system can be collapsed or expanded; its header shows an "All defaults" or "N customized" label. If the domain has no customizations, both systems are collapsed by default; a system with input errors is always expanded so you can see the errors.

  1. Go to Domains → select a domain → ATS Scoring tab. Go to Domains → select a domain → ATS tab
  2. (Recommended) On the Smart suggest card at the top of the tab, click Smart suggest so the system analyzes the last 24 hours of traffic and suggests values.
  3. Review the suggestion table (the System column shows A/B to indicate which system each field belongs to); click Fill the form to load the values into the form (not saved yet). Both systems expand automatically so you can review the loaded values.
  4. Expand A · Threat scoring and/or B · Mobile / tablet DDoS tuning to adjust values manually. Each field shows its effective default value ("default 1", "default 4.5×" and so on); customized fields have a marker dot and a ↺ button to revert to the default; the Reset to defaults button in the system header resets the whole system to defaults.
  5. Switch the On switch at the top of the section (or click Save if it is already On) and wait for the change to sync. While any field is out of the valid range or the bot thresholds are invalid, the Save button and the On switch are disabled.

Configuration fields​

Convention: 0/0.0 (or empty) = use the global default. The "Default" column shows the effective value displayed in the console. Valid weights = 0 or [0.1, 5.0]. Entering a value out of range → the console shows "Must be 0 (default) or min–max" right below the field and disables Save.

FieldDescriptionValuesDefaultNotes
On/Off switch (top of the section)Turns on all of ATS for the domain: On = create, Off = deleteSwitchOff (not configured)Off = no threat_score contribution and no DDoS override, and the configuration is deleted (turning it back on requires configuring it again); cannot be switched On while any field is out of range or the bot thresholds are invalid (medium ≥ high)
A · Threat scoring
Platform coherenceWeight of the platform coherence score0 or 0.1–5.00 (=1.0)Added to threat_score
UA spoofingWeight of the UA spoofing score0 or 0.1–5.00 (=1.0)Only applies when threat_score > UA Spoofing Gate
Header fingerprintWeight of header anomalies0 or 0.1–5.00 (=1.0)—
TLS coherenceWeight of TLS coherence0 or 0.1–5.00 (=1.0)Set to 0.1 to nearly remove the penalty for TLS1.2/HTTP1.1 clients
UA Spoofing Gatethreat_score threshold at which UA spoofing scoring starts0 or 5–1000 (=20)—
Bot score weightWeight of the bot score0 or 0.1–5.00 (=1.0)—
Bot high threshold"High" bot threshold0 or 20–1000 (=70)Must be > medium (effective)
Bot medium threshold"Medium" bot threshold0 or 10–1000 (=40)Must be < high (effective), otherwise → 400
B · Mobile / tablet DDoS tuning — Detection thresholds
Rate anomaly multiplierLoosens the rate gate for mobile0 or 1.0–20.00 (=4.5×)Higher = more requests allowed before mobile traffic is treated as abnormal; only applies to mobile/tablet
Velocity floor (ms)Inter-arrival floor treated as "machine"0 or 10–100000 (=400ms)Mobile/tablet
Regularity CVThreshold for timing regularity0 or (0, 1]0 (=0.08)Mobile/tablet
URI concentrationThreshold for concentration on one path0 or (0, 1]0 (=0.65)Mobile/tablet
Error rateError rate threshold0 or (0, 1]0 (=0.60)Mobile/tablet
Device class flip scoreScore added when an IP changes device class0 or 1–1000 (=20)—
Flip min requestsMinimum requests before flips are counted0 or 5–100000 (=30)—
B — Cookie trust discounts
Mobile cookie discountScore reduction when mobile has a valid cookie0 or (0, 1]0 (=0.3)Lower = more trust
Webview cookie discountScore reduction for webviews with a cookie0 or (0, 1]0 (=0.35)—

The desktop cookie discount is not configurable in the console.

The ASN allowlist (configured in the DDoS tab) also applies, with conditions; see the DDoS page. Smart suggest shows a warning when the domain has an ASN allowlist.

Example: tuning​

Example 1 — Reduce false blocks for TLS1.2 / HTTP1.1 clients.

  • Set TLS coherence = 0.1 (nearly removes the TLS penalty).
  • Result: older clients (TLS1.2, HTTP1.1) get almost no TLS score added → fewer unfair blocks.
  • Verify: compare the threat_score of TLS1.2 requests before and after setting 0.1.

Example 2 — Loosen the rate gate for a mobile app.

  • Set Rate anomaly multiplier = 10.0 (more than twice the default of 4.5×).
  • Result: mobile/tablet clients are allowed a higher rate before the DDoS engine treats them as abnormal.
  • Verify: in the ATS Event Monitoring table, mobile traffic changes verdict only at a higher rate than before.

Example 3 — Use Smart suggest to get suggestions (read-only).

  • Click Smart suggest. The system analyzes 24 hours of traffic and returns a suggestion table + projection + warnings.
  • If there is not enough data (fewer than ~500 unique IPs) → there are no suggestions, but warnings are still shown.
  • Clicking Fill the form only loads the values into the form. You still need to switch the On switch (the first time) or click Save to apply them.
  • Verify: check that Smart suggest does not change the configuration until you Save.

Example 4 — Increase the sensitivity of UA spoofing detection.

  • Set UA spoofing = 2.0, UA Spoofing Gate = 20.
  • Result: when threat_score goes above 20, the UA spoofing score (×2) is added → clients spoofing their UA reach the block threshold more easily.

Order of evaluation​

  • The threat-score group is added to threat_score; it only blocks when the domain has WAF enabled and threat_score reaches the threat threshold. Without WAF → the score does not lead to a 403 through this path.
  • The DDoS group only applies to mobile/tablet clients and takes effect through the DDoS engine (see the DDoS page: the DDoS engine must be enabled for your account and the mode set to enforce).
  • Smart suggest only loosens, it never tightens below the defaults; and it refuses to loosen if doing so would lose too much automation detection (the warning "Rate gate left alone").
  • The On/Off switch = whether the configuration exists: Off = delete the ATS configuration → no more score contribution or overrides (back to the global defaults); turning it back on requires configuring it again.

Troubleshooting​

SymptomCommon causeFix
Saving returns 400Weight ∉ {0}∪[0.1,5]; gate ∉ {0}∪[5,100]; bot high ∉ {0}∪[20,100]; bot medium ∉ {0}∪[10,100]; multiplier ∉ {0}∪[1,20]; ratio ∉ {0}∪(0,1]; or effective medium ≥ effective highFix according to the table in Configuration fields; keep medium < high
Saving returns "invalid config"The request body contains unknown fieldsSend only the documented fields
The console blocks Save / the On switch cannot be turned onA field is out of range (shown in red below the field); or medium ≥ high, high ≤ 40 when medium=0, medium ≥ 70 when high=0The system containing the error expands automatically; fix the field shown in red / adjust the bot thresholds to valid values
Smart suggest returns 500Smart suggest is temporarily unavailableTune manually, or try again later; contact support if it persists
Smart suggest returns 429Too many Smart suggest runs are in progressWait for the Retry-After time and try again
Smart suggest has no suggestionsNot enough data (fewer than ~500 unique IPs)Wait until the domain has more traffic, then run it again
The Desktop cookie discount field is missingDesktop cookie discount is not configurableUse the mobile/webview discounts for mobile clients

FAQ​

  • Does ATS block requests by itself? No. It only adds to the score or adjusts verdicts; blocking is done by the WAF (threat score check) or the DDoS engine. When the score reaches the threshold, the client is blocked (403); the threat gate does not issue JS challenges.
  • Does 0 mean off? No. 0/0.0 means "use the global default". To reduce a penalty, set a small value (for example 0.1), not 0.
  • Does Smart suggest apply the configuration automatically? No, it is entirely read-only. Fill the form only loads values into the form; you must Save (or switch On).
  • Why don't I see more blocking after raising a weight? The domain may not have WAF enabled, or threat_threshold may be set very high (for example 20000), so threat_score never reaches the threshold.
  • Do the mobile_* fields apply to desktop? No, only to mobile/tablet clients.