Skip to content
A Akamai Security Reference

Product deep dive

App & API Protector (AAP)

Akamai's core web and API protection: a WAF, DDoS controls, API protections and bot visibility delivered on the edge platform and driven by the Adaptive Security Engine rather than by hand-maintained signatures.

What AAP actually contains

CapabilityPurpose
Adaptive Security Engine (ASE)Scoring-based WAF detections organised into attack groups, with automatically updated rulesets.
Rate ControlsStatic request-rate thresholds (average and burst) per client identifier and policy scope.
Slow POST protectionDetects and terminates connections that dribble request bodies to exhaust worker pools.
Client ReputationRisk scores derived from observed client behaviour across the whole Akamai platform.
IP/Geo controls and Network ListsAllow, deny or bypass by address, CIDR, ASN or geography.
Custom rulesCustomer-authored conditional logic over request attributes.
API constraintsPer-endpoint request-body size, element count and JSON/XML depth limits; specification-based validation.
Bot visibilityBaseline bot detection, extended by Bot Manager Premier.
Behavioral DDoS EngineML-driven per-hostname anomaly mitigation (see its dedicated page).

The configuration model

Security Configuration
  |- Match Targets            (WHICH traffic: hostnames, paths, file extensions, APIs)
  |    -> binds traffic to ->  Security Policy
  |- Security Policy A                (production, blocking)
  |     |- Attack Groups + risk thresholds
  |     |- Rate policies (associated + action)
  |     |- Slow POST settings
  |     |- Client Reputation profiles
  |     |- Custom rules
  |     |- Exceptions / conditions / advanced overrides
  |- Security Policy B                (staging, alert only)
  |- Network lists, reusable across policies
  |- Versions -> activate to STAGING -> activate to PRODUCTION

Two rules save most teams from outages. First, match target order matters: the most specific match target that applies wins, so a broad /* target placed above a narrow /api/* target will swallow API traffic into the wrong policy. Second, always activate on staging first and replay representative traffic; the staging network uses the same code path as production.

Evaluation order within a request

  1. Network list allow/deny and geo controls
  2. Client Reputation evaluation
  3. Rate controls / Slow POST / Behavioral DDoS
  4. Custom rules
  5. Adaptive Security Engine attack groups (WAF)
  6. API constraints and specification validation
  7. Bot detections and their actions

The practical consequence: a bypass at an earlier stage prevents later inspection. Putting an over-broad partner CIDR in an allow list disables the WAF for that partner — a common and painful finding in security reviews.

The Adaptive Security Engine

Traditional WAFs match a request against a list of regular expressions and block on the first hit, which produces both false positives and trivial bypasses. The ASE instead scores: each rule that fires contributes a weighted amount of risk to an attack group, and the action is taken when the accumulated score for that group crosses the configured threshold.

Attack groups

GroupCovers
SQL Injection (SQL)Union-based, boolean-based, time-based and stacked-query injection
Cross-Site Scripting (XSS)Reflected, stored and DOM-adjacent payload patterns
Command Injection (CMD)Shell metacharacters, chained commands, interpreter invocation
Local File Inclusion (LFI)Traversal sequences, sensitive path access
Remote File Inclusion (RFI)Remote URL inclusion in parameters
Platform / Web Attack (PLATFORM, WAT)Known platform CVEs, scanner signatures, protocol abuse
Web Policy Violation (POLICY)Disallowed methods, malformed protocol usage, restricted file types

Risk levels and actions

Each group is set to a sensitivity or risk tolerance and an action — Alert, Deny, or a custom deny page. Start every group in Alert, run for one to two weeks, then promote group by group. Promote the low-noise, high-confidence groups (CMD, LFI, RFI) first; SQL and XSS on rich, user-generated content applications generate the most tuning work.

Tuning without disabling protection

Automatic rule updates are the point of the ASE. If you pin rulesets to avoid change, you inherit the maintenance burden the engine was designed to remove. Prefer automatic updates plus a staging soak.

Rate Controls

Rate policies count requests from a client identifier within a scope and act when a threshold is exceeded.

Rate Controls remain the correct tool for high-volume URL fuzzing and scraping, and for endpoints too volatile for behavioural baselining. They are a blunt instrument: the counting scope is usually shared across hostnames at the policy level, so a trigger can affect more traffic than intended. Where possible, pair them with BDE, which narrows counting and mitigation to method + hostname + path.

Slow POST protection

Configure a minimum acceptable body transfer rate and a grace period. Requests that fall below the rate after the grace period are aborted or denied. This is the specific defence against R-U-Dead-Yet and slowloris-style body attacks, which bandwidth-based monitoring never sees.

Client Reputation

Client Reputation scores IP addresses 1–10 based on behaviour observed across the entire Akamai platform, in categories such as Web Attackers, DoS Attackers, Scanning Tools, and Web Scrapers. Scores of 9–10 indicate very high confidence of malicious intent.

Recommended pattern: deny at 9–10 for the Web Attackers and DoS Attackers categories, alert at 7–8 and use those alerts to inform custom rules or bot actions. Reputation runs early in evaluation, so it removes obvious noise before the WAF spends CPU on it — and, importantly, before behavioural baselines learn from it.

API protections in AAP

For discovery of undocumented APIs, sensitive-data classification and runtime behavioural incidents, AAP is complemented by API Security.

Operating model

  1. Onboard in alert mode across all engines; nothing blocks on day one.
  2. Baseline for 1–2 weeks and build a WSA dashboard per attack group and per rate policy.
  3. Enable blocking progressively: reputation → high-confidence attack groups → remaining groups → rate controls → behavioural mitigation.
  4. Review weekly: top triggering rules, top offending paths, top false-positive candidates, and any exception older than its justification.
  5. Rehearse: keep a pre-built emergency policy version that raises sensitivity and enables aggressive rate limits, tested in staging, ready to activate.

Reference documentation compiled from Akamai TechDocs, Akamai blog/newsroom material and Cloudflare Learning Center fundamentals. Product behaviour and limits change — validate against current vendor documentation before production use.