Adaptive Defense

Adaptive Defense is Atomic Edge’s AI-powered threat detection system. It analyzes traffic patterns from your WAF and access logs to identify malicious actors and can automatically block them before they cause damage.

How It Works

Adaptive Defense continuously monitors your site’s traffic and builds behavioral profiles for each IP address:

  1. Log Aggregation: Every 15 minutes, the system analyzes your WAF violations and access logs
  2. Actor Profiling: For each IP, it tracks request patterns, error rates, WAF violations, and unique paths accessed
  3. AI Threat Scoring: When an IP crosses suspicious activity thresholds, AI analyzes the behavioral profile and assigns a threat score (0-100)
  4. Automated Response: Based on your settings, high-threat IPs are either flagged for review or automatically blocked

Enabling Adaptive Defense

  1. Navigate to your site’s Edit page
  2. Click the Adaptive Defense tab
  3. Toggle Enable Adaptive Defense to on
  4. Choose your operating mode and sensitivity
  5. Settings auto-save as you make changes

Operating Modes

Monitor Only

In Monitor mode, Adaptive Defense:

  • ✓ Scores threats using AI
  • ✓ Sends you notifications for high-threat detections
  • ✗ Does NOT automatically block any IPs

This is the recommended starting mode. Review detections and build confidence in the system before enabling auto-blocking.

Auto-Enforce

In Auto-Enforce mode, Adaptive Defense:

  • ✓ Scores threats using AI
  • ✓ Sends you notifications
  • Automatically blocks IPs that exceed your auto-block threshold with high confidence

Blocks are temporary (default: 24 hours) and automatically expire. You can unblock IPs manually at any time.

⚠️ Recommendation: Start with Monitor mode for at least a week to understand your traffic patterns before enabling Auto-Enforce.


Detection Sensitivity

Sensitivity controls how aggressively the system looks for threats:

Sensitivity Best For Behavior
Low High-traffic sites Only obvious attacks trigger scoring. Minimizes false positives but may miss subtle attacks.
Medium Most sites (recommended) Balanced detection. Catches most attacks while keeping false positives low.
High High-security sites Aggressive early detection. More alerts but better coverage of potential threats.
Custom Advanced users Set your own thresholds for complete control.

Sensitivity Thresholds

Each sensitivity level defines when an IP qualifies for AI scoring:

Setting Low Medium High
Min Requests 100 30 15
Min WAF Hits 10 5 3
Min Error Rate 40% 25% 15%
Alert Threshold 75 60 50
Auto-Block Threshold 95 85 75

An IP must have either the minimum WAF hits or the minimum error rate (plus minimum requests) to be scored.


Custom Thresholds

When sensitivity is set to Custom, you can configure:

  • Minimum Requests Before Scoring: IP must have at least this many requests
  • Minimum WAF Hits Before Scoring: IP must have at least this many WAF rule violations
  • Minimum Error Rate Before Scoring: IP must have at least this error rate (4xx/5xx responses)
  • Alert Threshold: Generate notification when threat score reaches this level
  • Auto-Block Threshold: Automatically block when score reaches this level (Auto-Enforce mode)

Behavior Settings

Honor IP Whitelist

When enabled, IPs in your global whitelist are never scored or blocked by Adaptive Defense. This ensures trusted IPs (like your office, VPN, or monitoring services) are always exempt.

Auto-Block Duration

How long automatically blocked IPs remain blocked (1-8760 hours). After this time, the block expires automatically.

  • Short (1-6 hours): For minor threats or if you want frequent re-evaluation
  • Medium (24-48 hours): Recommended for most sites
  • Long (168+ hours): For persistent attackers

Notifications

  • Notify on Auto-Block: Receive email and dashboard notification when an IP is automatically blocked
  • Notify on High-Score Detection: Receive notification when a high-threat IP is detected (useful in Monitor mode)

AI Budget

Adaptive Defense uses AI to analyze threat patterns. Each plan tier includes a daily AI scoring budget:

Plan Daily AI Budget
Free 50 requests/day
Pro 200 requests/day
Enterprise Unlimited

The budget resets daily at midnight UTC. If exhausted, scoring pauses until the next day but existing blocks remain active.

💡 Tip: The budget is per-site. If you have multiple sites, each has its own allocation.


Understanding the Dashboard

Settings Tab

Configure all Adaptive Defense options including mode, sensitivity, thresholds, and notification preferences.

Detections Tab

View all threat detections with:

  • IP Address: The detected threat actor
  • Threat Score: AI-assigned risk score (0-100)
  • Confidence: How confident the AI is in its assessment
  • Status: Pending review, auto-blocked, user-blocked, dismissed, or expired
  • Detection Reasons: Why the AI flagged this IP

Click on any detection to see full details including the behavioral analysis.

Actor Profiles Tab

View all tracked IP addresses and their activity:

  • Total Requests: How many requests from this IP
  • WAF Hits: How many WAF rule violations
  • Error Rate: Percentage of 4xx/5xx responses
  • Current Score: Latest threat score (if scored)
  • Blocked Status: Whether currently blocked

Use the search to find specific IPs or filter by score.

Blocked IPs Tab

View and manage all Adaptive Defense blocks:

  • Active Blocks: Currently blocked IPs with expiration times
  • Expired Blocks: Previously blocked IPs (for audit trail)

You can manually unblock any IP from this tab.


Taking Action on Detections

Reviewing Detections

For each detection, you can:

  1. View Details: See the full behavioral analysis, including request patterns, WAF violations, and error rates
  2. Block IP: Manually add to blacklist (permanent until removed)
  3. Dismiss: Mark as false positive (won’t be auto-blocked again during this detection window)

Manual Blocking

From the Detections or Actor Profiles tab, you can manually block an IP. This adds it to your IP blacklist and takes effect immediately across all Atomic Edge endpoints.

Unblocking

To unblock an IP:

  1. Go to the Blocked IPs tab
  2. Find the IP in the list
  3. Click Unblock

The IP will be removed from the Adaptive Defense block list. If you also added it to your manual IP blacklist, you’ll need to remove it there separately.


Best Practices

Getting Started

  1. Start in Monitor mode for at least one week
  2. Review detections daily to understand your traffic patterns
  3. Dismiss false positives to train your intuition
  4. Adjust sensitivity based on your false positive rate
  5. Enable Auto-Enforce once you’re confident

Tuning Sensitivity

  • Too many false positives? Lower sensitivity or increase thresholds
  • Missing obvious attacks? Raise sensitivity or lower thresholds
  • High-traffic site with many alerts? Use Low sensitivity and higher auto-block threshold

Working with IP Whitelists

Add these to your IP whitelist to prevent Adaptive Defense from blocking them:

  • Your office/home IP addresses
  • VPN exit nodes you use
  • Monitoring services (Pingdom, UptimeRobot, etc.)
  • API integrations that access your site
  • CI/CD systems that deploy to your site

Troubleshooting

No Detections Appearing

  1. Is Adaptive Defense enabled? Check the toggle is on
  2. Is there traffic? Check Analytics & Logs tab for recent activity
  3. Are thresholds too high? Lower sensitivity or custom thresholds
  4. Is AI budget exhausted? Check the budget display in settings

Too Many False Positives

  1. Lower your sensitivity level (High → Medium → Low)
  2. Increase minimum thresholds in Custom mode
  3. Add known-good IPs to your whitelist
  4. Review and dismiss false positives to identify patterns

Blocks Not Expiring

Blocks should automatically expire after the configured duration. If they persist:

  1. Check the block expiration time in the Blocked IPs tab
  2. Verify server time is correct
  3. Contact support if blocks aren’t expiring as expected

AI Budget Running Out Too Fast

  1. Increase minimum thresholds to reduce scoring candidates
  2. Use Low sensitivity for high-traffic sites
  3. Consider upgrading to Pro or Enterprise for higher budgets

Plan Limits

Feature Free Pro Enterprise
Adaptive Defense
Daily AI Budget 50 200 Unlimited
Auto-Enforce Mode
Custom Thresholds
Notifications

Frequently Asked Questions