Overview
The Attack Protection API is organized into sub-clients:- BotDetection - Configure bot detection settings
- BreachedPasswordDetection - Manage breached password detection
- BruteForceProtection - Configure brute force protection
- Captcha - Manage CAPTCHA settings
- SuspiciousIPThrottling - Configure suspicious IP throttling
Accessing Attack Protection
Bot Detection
Manage bot detection settings to identify and block automated attacks.Get Bot Detection Settings
Update Bot Detection Settings
Breached Password Detection
Detect and prevent the use of passwords that have been exposed in known data breaches.Get Breached Password Detection Settings
Update Breached Password Detection Settings
Brute Force Protection
Protect against brute force attacks by limiting failed login attempts.Get Brute Force Protection Settings
Update Brute Force Protection Settings
CAPTCHA
Manage CAPTCHA requirements for authentication flows.Get CAPTCHA Settings
Update CAPTCHA Settings
Suspicious IP Throttling
Throttle requests from IP addresses that exhibit suspicious behavior.Get Suspicious IP Throttling Settings
Update Suspicious IP Throttling Settings
Complete Example
Best Practices
- Enable Multiple Layers - Use multiple attack protection features together for defense in depth
- Monitor Logs - Regularly review security logs to identify attack patterns
- Test Changes - Test attack protection settings in a development environment first
- Maintain Allow Lists - Keep IP allow lists up to date to prevent blocking legitimate traffic
- Configure Notifications - Set up admin notifications for security events
Related Resources
- Security Best Practices
- Anomaly Detection
- Logs - View security event logs