Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WafLog.Builder |
accessRuleKey(String accessRuleKey)
The
AccessRule key that matched the request. |
WafLog.Builder |
action(String action)
The action taken on the request, either
ALLOW , DETECT , or BLOCK . |
WafLog.Builder |
addressRateLimitingKey(String addressRateLimitingKey)
The
AddressRateLimiting key that matched the request. |
WafLog |
build() |
WafLog.Builder |
captchaAction(String captchaAction)
The CAPTCHA action taken on the request,
ALLOW or BLOCK . |
WafLog.Builder |
captchaExpected(String captchaExpected)
The CAPTCHA challenge answer that was expected.
|
WafLog.Builder |
captchaFailCount(String captchaFailCount)
The number of times the CAPTCHA challenge was failed.
|
WafLog.Builder |
captchaReceived(String captchaReceived)
The CAPTCHA challenge answer that was received.
|
WafLog.Builder |
clientAddress(String clientAddress)
The IPv4 address of the requesting client.
|
WafLog.Builder |
copy(WafLog model) |
WafLog.Builder |
countryCode(String countryCode)
ISO 3166-1 alpha-2 code of the country from which the request originated.
|
WafLog.Builder |
countryName(String countryName)
The name of the country where the request originated.
|
WafLog.Builder |
device(String device)
The type of device that the request was made from.
|
WafLog.Builder |
domain(String domain)
The
Host header data of the request. |
WafLog.Builder |
fingerprint(String fingerprint)
The hashed signature of the device’s fingerprint.
|
WafLog.Builder |
httpHeaders(Map<String,String> httpHeaders)
The map of the request’s header names to their respective values.
|
WafLog.Builder |
httpMethod(String httpMethod)
The HTTP method of the request.
|
WafLog.Builder |
incidentKey(String incidentKey)
The incident key of a request.
|
WafLog.Builder |
logType(String logType)
The type of log of the request.
|
WafLog.Builder |
originAddress(String originAddress)
The address of the origin server where the request was sent.
|
WafLog.Builder |
originResponseTime(String originResponseTime)
The amount of time it took the origin server to respond to the request, in seconds.
|
WafLog.Builder |
protectionRuleDetections(Map<String,String> protectionRuleDetections)
A map of protection rule keys to detection message details.
|
WafLog.Builder |
referrer(String referrer)
The
Referrer header value of the request. |
WafLog.Builder |
requestHeaders(Map<String,String> requestHeaders)
A map of header names to values of the request sent to the origin, including any headers
appended by the Web Application Firewall.
|
WafLog.Builder |
requestUrl(String requestUrl)
The path and query string of the request.
|
WafLog.Builder |
responseCode(Integer responseCode)
The status code of the response.
|
WafLog.Builder |
responseSize(Integer responseSize)
The size in bytes of the response.
|
WafLog.Builder |
threatFeedKey(String threatFeedKey)
The
ThreatFeed key that matched the request. |
WafLog.Builder |
timestamp(Date timestamp)
The date and time the Web Application Firewall processed the request and logged it.
|
WafLog.Builder |
userAgent(String userAgent)
The value of the request’s
User-Agent header field. |
public WafLog.Builder action(String action)
The action taken on the request, either ALLOW
, DETECT
, or BLOCK
.
action
- the value to setpublic WafLog.Builder captchaAction(String captchaAction)
The CAPTCHA action taken on the request, ALLOW
or BLOCK
. For more
information about CAPTCHAs, see UpdateCaptchas
.
captchaAction
- the value to setpublic WafLog.Builder captchaExpected(String captchaExpected)
The CAPTCHA challenge answer that was expected.
captchaExpected
- the value to setpublic WafLog.Builder captchaReceived(String captchaReceived)
The CAPTCHA challenge answer that was received.
captchaReceived
- the value to setpublic WafLog.Builder captchaFailCount(String captchaFailCount)
The number of times the CAPTCHA challenge was failed.
captchaFailCount
- the value to setpublic WafLog.Builder clientAddress(String clientAddress)
The IPv4 address of the requesting client.
clientAddress
- the value to setpublic WafLog.Builder countryName(String countryName)
The name of the country where the request originated.
countryName
- the value to setpublic WafLog.Builder userAgent(String userAgent)
The value of the request’s User-Agent
header field.
userAgent
- the value to setpublic WafLog.Builder domain(String domain)
The Host
header data of the request.
domain
- the value to setpublic WafLog.Builder protectionRuleDetections(Map<String,String> protectionRuleDetections)
A map of protection rule keys to detection message details. Detections are requests that
matched the criteria of a protection rule but the rule’s action was set to DETECT
.
protectionRuleDetections
- the value to setpublic WafLog.Builder httpMethod(String httpMethod)
The HTTP method of the request.
httpMethod
- the value to setpublic WafLog.Builder requestUrl(String requestUrl)
The path and query string of the request.
requestUrl
- the value to setpublic WafLog.Builder httpHeaders(Map<String,String> httpHeaders)
The map of the request’s header names to their respective values.
httpHeaders
- the value to setpublic WafLog.Builder referrer(String referrer)
The Referrer
header value of the request.
referrer
- the value to setpublic WafLog.Builder responseCode(Integer responseCode)
The status code of the response.
responseCode
- the value to setpublic WafLog.Builder responseSize(Integer responseSize)
The size in bytes of the response.
responseSize
- the value to setpublic WafLog.Builder incidentKey(String incidentKey)
The incident key of a request. An incident key is generated for each request processed by the Web Application Firewall and is used to idenitfy blocked requests in applicable logs.
incidentKey
- the value to setpublic WafLog.Builder fingerprint(String fingerprint)
The hashed signature of the device’s fingerprint. For more information, see DeviceFingerPrintChallenge
.
fingerprint
- the value to setpublic WafLog.Builder device(String device)
The type of device that the request was made from.
device
- the value to setpublic WafLog.Builder countryCode(String countryCode)
ISO 3166-1 alpha-2 code of the country from which the request originated. For a list of codes, see ISO’s website.
countryCode
- the value to setpublic WafLog.Builder requestHeaders(Map<String,String> requestHeaders)
A map of header names to values of the request sent to the origin, including any headers appended by the Web Application Firewall.
requestHeaders
- the value to setpublic WafLog.Builder threatFeedKey(String threatFeedKey)
The ThreatFeed
key that matched the request. For more information about threat
feeds, see UpdateThreatFeeds
.
threatFeedKey
- the value to setpublic WafLog.Builder accessRuleKey(String accessRuleKey)
The AccessRule
key that matched the request. For more information about access
rules, see UpdateAccessRules
.
accessRuleKey
- the value to setpublic WafLog.Builder addressRateLimitingKey(String addressRateLimitingKey)
The AddressRateLimiting
key that matched the request. For more information about
address rate limiting, see UpdateWafAddressRateLimiting
.
addressRateLimitingKey
- the value to setpublic WafLog.Builder timestamp(Date timestamp)
The date and time the Web Application Firewall processed the request and logged it.
timestamp
- the value to setpublic WafLog.Builder logType(String logType)
The type of log of the request. For more about log types, see Logs.
logType
- the value to setpublic WafLog.Builder originAddress(String originAddress)
The address of the origin server where the request was sent.
originAddress
- the value to setpublic WafLog.Builder originResponseTime(String originResponseTime)
The amount of time it took the origin server to respond to the request, in seconds.
originResponseTime
- the value to setpublic WafLog build()
public WafLog.Builder copy(WafLog model)
Copyright © 2016–2024. All rights reserved.