Describes each field in Web Application Firewall (WAF) access logs.
|
Field |
Description |
|
__topic__ |
Log topic. Fixed value: waf_access_log. |
|
owner_id |
Alibaba Cloud account ID. |
|
account_action |
Action when a request matches an account security rule. Only block (request blocked). WAF actions. |
|
account_rule_id |
The ID of the account security rule that the request matches. |
|
account_test |
Prevention mode for the account security rule that the request matches. Valid values:
|
|
acl_action |
Action when a request matches an IP address blacklist or custom ACL rule. Valid values: block, captcha_strict, captcha, js, captcha_strict_pass, captcha_pass, and js_pass. WAF actions. |
|
acl_rule_id |
The ID of the IP address blacklist rule or custom mitigation policy (Accurate Access Control) rule that the request matches. |
|
acl_rule_type |
The type of the IP address blacklist rule or custom mitigation policy (Accurate Access Control) rule that the request matches. Valid values:
|
|
acl_test |
Prevention mode for the IP address blacklist rule or custom mitigation policy (Accurate Access Control) rule that the request matches. Valid values:
|
|
algorithm_rule_id |
The ID of the bot behavior detection rule that the request matches. |
|
antiscan_action |
Action when a request matches a scan protection rule. Only block (request blocked). WAF actions. |
|
antiscan_rule_id |
The ID of the scan protection rule that the request matches. |
|
antiscan_rule_type |
The type of the scan protection rule that the request matches. Valid values:
|
|
antiscan_test |
Prevention mode for the scan protection rule that the request matches. Valid values:
|
|
block_action |
WAF protection module that blocked the request. Important
This field is deprecated due to a WAF feature upgrade. The final_plugin field is used instead. If you use block_action in your services, replace it with final_plugin as soon as possible.
|
|
body_bytes_sent |
Size of the request body in bytes. |
|
bypass_matched_ids |
IDs of WAF rules that allow the request to pass, including whitelist rules and custom mitigation policies with the Allow action. If multiple rules match, all rule IDs are recorded, separated by commas (,). |
|
cc_action |
Action when a request matches an HTTP flood protection or custom HTTP flood mitigation rule. Valid values: block, captcha, js, captcha_pass, and js_pass. WAF actions. |
|
cc_blocks |
Whether HTTP flood protection blocked the request. Valid values:
|
|
cc_rule_id |
The ID of the HTTP flood protection rule or custom mitigation policy (HTTP flood protection) rule that the request matches. |
|
cc_rule_type |
The type of the HTTP flood protection rule or custom mitigation policy (HTTP flood protection) rule that the request matches. Valid values:
|
|
cc_test |
Prevention mode for the HTTP flood protection rule or custom mitigation policy (HTTP flood protection) rule that the request matches. Valid values:
|
|
content_type |
Content type of the request. |
|
deeplearning_action |
Action when a request matches a Big Data Deep Learning Engine rule. Only block (request blocked). WAF actions. |
|
deeplearning_rule_id |
The ID of the Big Data Deep Learning Engine rule that the request matches. |
|
deeplearning_rule_type |
The type of the Big Data Deep Learning Engine rule that the request matches. Valid values:
|
|
deeplearning_test |
Prevention mode for the Big Data Deep Learning Engine rule that the request matches. Valid values:
|
|
dlp_rule_id |
The ID of the data leakage prevention rule that the request matches. |
|
dlp_test |
Prevention mode for the data leakage prevention rule that the request matches. Valid values:
|
|
final_rule_type |
The subtype of the protection rule (final_rule_id) that WAF finally applies to the client request. For example, the |
|
final_rule_id |
The ID of the protection rule that WAF finally applies to the client request. This is the ID of the rule that corresponds to the final_action. |
|
final_action |
Final action WAF applies to the request. Valid values: block, captcha_strict, captcha, and js. WAF actions. Not recorded if no protection module is triggered, including when a rule allows the request or the client passes a slider or JavaScript (JS) challenge. If multiple protection modules trigger, only the final action is recorded. Priority (descending): Block (block) > Strict slider challenge (captcha_strict) > Normal slider challenge (captcha) > JS challenge (js). |
|
final_plugin |
Protection module corresponding to the final action (final_action) applied to the request. Valid values:
Not recorded if no protection module is triggered, including when a rule allows the request or the client passes a slider or JS challenge. If multiple protection modules trigger, only the module for the final action (final_action) is recorded. |
|
host |
Host header value, indicating the accessed domain name. Can also be an IP address depending on your configuration. |
|
http_cookie |
Cookie header from the client request. |
|
http_referer |
Referer header, indicating the source URL of the request. Displays a hyphen (-) if no source URL exists. |
|
http_user_agent |
User-Agent header, identifying the client browser and OS. |
|
http_x_forwarded_for |
X-Forwarded-For (XFF) header, identifying the originating client IP behind a proxy or load balancer. |
|
https |
Whether the request uses HTTPS. Valid values:
|
|
matched_host |
Domain name added to WAF that matched the request. Can be a wildcard domain.
|
|
normalized_action |
Action when a request matches a proactive protection rule. Valid values: block and continue. WAF actions. |
|
normalized_rule_id |
The ID of the proactive protection rule that the request matches. |
|
normalized_rule_type |
The type of the proactive protection rule that the request matches. Valid values:
|
|
normalized_test |
Prevention mode for the proactive protection rule that the request matches. Valid values:
|
|
querystring |
Query string from the request URL (the part after ?). |
|
real_client_ip |
Originating client IP address, determined by WAF from the request. Use this IP directly in your services. Displays a hyphen (-) if WAF cannot determine the originating IP, such as when the client uses a proxy or the request header IP field is incorrect. |
|
region |
Region ID of the WAF instance. Valid values:
|
|
remote_addr |
IP address used to connect to WAF. If WAF connects directly to the client, this is the client IP. If a Layer 7 proxy (such as CDN) is deployed before WAF, this is the proxy IP. |
|
remote_port |
Port used to connect to WAF. If WAF connects directly to the client, this is the client port. If a Layer 7 proxy (such as CDN) is deployed before WAF, this is the proxy port. |
|
request_length |
Total request size in bytes, including the request line, headers, and body. |
|
request_method |
Request method used by the client. |
|
request_path |
Relative request path (after the domain, before the query string). |
|
request_time_msec |
Time WAF takes to process the request, in milliseconds. |
|
request_traceid |
Unique identifier WAF generates for the request. |
|
scene_action |
Action when a request matches a scenario-specific configuration rule. Valid values: block, captcha, js, captcha_pass, and js_pass. WAF actions. |
|
scene_id |
The scenario ID that corresponds to the scenario-specific configuration rule that the request matches. |
|
scene_rule_id |
The ID of the scenario-specific configuration rule that the request matches. |
|
scene_rule_type |
The type of the scenario-specific configuration rule that the request matches. Valid values:
|
|
scene_test |
Prevention mode for the scenario-specific configuration rule that the request matches. Valid values:
|
|
server_port |
Destination port of the request. |
|
server_protocol |
Protocol and version of the origin server response to WAF. |
|
status |
HTTP status code WAF returns to the client. |
|
ssl_cipher |
Cipher suite used by the client request. |
|
ssl_protocol |
SSL/TLS protocol and version used by the client. |
|
time |
Time when the request was initiated. |
|
ua_browser |
Browser name. |
|
ua_browser_family |
Browser family. |
|
ua_browser_type |
Browser type. |
|
ua_browser_version |
Browser version. |
|
ua_device_type |
Client device type. |
|
ua_os |
Client operating system. |
|
ua_os_family |
Client OS family. |
|
upstream_addr |
Origin addresses WAF uses, in IP:Port format. Multiple addresses are comma-separated. |
|
upstream_response_time |
Time for the origin server to respond to WAF, in seconds. A hyphen (-) indicates a timeout. |
|
upstream_status |
Response status the origin server returns to WAF. A hyphen (-) indicates no response, for example, when WAF blocked the request. |
|
user_id |
Alibaba Cloud account ID that owns the WAF instance. |
|
waf_action |
Action when a request matches a Protection Rules Engine rule. Only block (request blocked). WAF actions. |
|
waf_test |
Prevention mode for the Protection Rules Engine rule that the request matches. Valid values:
|
|
waf_rule_id |
The ID of the Protection Rules Engine rule that the request matches. |
|
waf_rule_type |
The type of the Protection Rules Engine rule that the request matches. Valid values:
|