API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
The domain ID The domain ID
A request to create a new advanced rule
The name assigned to the rule
1 - 100Whether or not the rule is enabled
The action that the rule takes when triggered. Only one action can be set per rule.
A CEL syntax expression that contains the rule's conditions. Allowed objects are: request, whois, session, response, tags, user_defined_tags, user_agent, client_data.
More info can be found here: https://gcore.com/docs/waap/waap-rules/advanced-rules
1The description assigned to the rule
100The WAAP request/response phase for applying the rule. Default is "access".
The "access" phase is responsible for modifying the request before it is sent to the origin server.
The "header_filter" phase is responsible for modifying the HTTP headers of a response before they are sent back to the client.
The "body_filter" phase is responsible for modifying the body of a response before it is sent back to the client.
access, header_filter, body_filter Successful Response
An advanced WAAP rule applied to a domain
The name assigned to the rule
1 - 100Whether or not the rule is enabled
The action that the rule takes when triggered. Only one action can be set per rule.
A CEL syntax expression that contains the rule's conditions. Allowed objects are: request, whois, session, response, tags, user_defined_tags, user_agent, client_data.
More info can be found here: https://gcore.com/docs/waap/waap-rules/advanced-rules
1The unique identifier for the rule
The description assigned to the rule
100The WAAP request/response phase for applying the rule. Default is "access".
The "access" phase is responsible for modifying the request before it is sent to the origin server.
The "header_filter" phase is responsible for modifying the HTTP headers of a response before they are sent back to the client.
The "body_filter" phase is responsible for modifying the body of a response before it is sent back to the client.
access, header_filter, body_filter