Overview
WAAP domains enable Web Application and API Protection for monitoring and defending web applications against security threats. Each domain functions autonomously with its own set of rules and configurations.Domain Service Structure
The Domain service includes:- Policies - Security policy management
- Settings - Domain-level configuration
- APIPaths - API endpoint protection
- APIPathGroups - Group API paths for bulk operations
- APIDiscovery - Automatic API endpoint discovery
- Insights - Security insights and recommendations
- InsightSilences - Manage silenced security insights
- Statistics - Domain-level security statistics
- CustomRules - Domain-specific custom rules
- FirewallRules - Network firewall rules
- AdvancedRules - CEL-based advanced rules
List
Retrieve a list of domains associated with your account.Method
Parameters
Number of items to return (pagination)
Number of items to skip (pagination)
Filter domains by name. Supports ’*’ as a wildcard character
Filter domains by their IDs
Filter domains by statusAvailable values:
active, bypass, monitor, lockedSort the response by the given fieldAvailable values:
id, name, status, created_at, -id, -name, -status, -created_atPrefix with - for descending orderResponse
The domain ID
The domain name
The domain status:
active, bypass, monitor, or lockedThe date and time the domain was created in ISO 8601 format
The ID of the custom page set used for this domain
Example
Get
Retrieve detailed information about a specific domain.Method
Parameters
The domain ID
Response
The domain ID
The domain name
The domain status:
active, bypass, monitor, or lockedThe date and time the domain was created
The ID of the custom page set
Example
Update
Update a domain’s configuration.Method
Parameters
The domain ID
The new status for the domainAvailable values:
active, monitorExample
Delete
Delete an inactive domain. Only domains with status ‘bypass’ can be deleted.Method
Parameters
The domain ID to delete
Example
Only domains with status ‘bypass’ can be deleted. Ensure the domain is in bypass mode before attempting deletion.
ListRuleSets
Retrieve all rule sets linked to a domain.Method
Parameters
The domain ID
Response
Identifier of the rule set
Name of the rule set
Detailed description of the rule set
Indicates if the rule set is currently active
The resource slug associated with the rule set
Individual rules within the rule set
Unique identifier for the rule
Name of the rule
Detailed description of the rule
Action taken by the rule:
Allow, Block, Captcha, Gateway, Handshake, Monitor, or CompositeIndicates if the rule is active
The rule group name
Identifier of the parent rule set
Example
Domain Settings
Domains support various settings for API protection and DDoS mitigation:API Settings
The API URLs for a domain. Set a common base URL for all API paths
Indicates if the domain is an API domain. All requests are treated as API requests when true. If set,
api_urls is ignoredDDoS Settings
Detects sudden rises in traffic. If met and requests are at least 5x the last 2-second interval, DDoS protection activates. Default: 1000
Identifies DDoS attacks with slow traffic rises. If met and current requests are at least 2x the previous 10-second window, DDoS protection activates. Default: 5000
Protects against traffic bursts. When reached, DDoS mode activates on the affected WAAP server. Default: 50
