Show / Hide Table of Contents

Class WafLog

A list of Web Application Firewall log entries. Each entry is a JSON object, including a timestamp property and other fields varying based on log type. Logs record what rules and countermeasures are triggered by requests and are used as a basis to move request handling into block mode. For more information about WAF logs, see Logs.

Inheritance
object
WafLog
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class WafLog

Properties

AccessRuleKey

Declaration
[JsonProperty(PropertyName = "accessRuleKey")]
public string AccessRuleKey { get; set; }
Property Value
Type Description
string

The AccessRule key that matched the request. For more information about access rules, see UpdateAccessRules.

Action

Declaration
[JsonProperty(PropertyName = "action")]
public string Action { get; set; }
Property Value
Type Description
string

The action taken on the request, either ALLOW, DETECT, or BLOCK.

AddressRateLimitingKey

Declaration
[JsonProperty(PropertyName = "addressRateLimitingKey")]
public string AddressRateLimitingKey { get; set; }
Property Value
Type Description
string

The AddressRateLimiting key that matched the request. For more information about address rate limiting, see UpdateWafAddressRateLimiting.

CaptchaAction

Declaration
[JsonProperty(PropertyName = "captchaAction")]
public string CaptchaAction { get; set; }
Property Value
Type Description
string

The CAPTCHA action taken on the request, ALLOW or BLOCK. For more information about CAPTCHAs, see UpdateCaptchas.

CaptchaExpected

Declaration
[JsonProperty(PropertyName = "captchaExpected")]
public string CaptchaExpected { get; set; }
Property Value
Type Description
string

The CAPTCHA challenge answer that was expected.

CaptchaFailCount

Declaration
[JsonProperty(PropertyName = "captchaFailCount")]
public string CaptchaFailCount { get; set; }
Property Value
Type Description
string

The number of times the CAPTCHA challenge was failed.

CaptchaReceived

Declaration
[JsonProperty(PropertyName = "captchaReceived")]
public string CaptchaReceived { get; set; }
Property Value
Type Description
string

The CAPTCHA challenge answer that was received.

ClientAddress

Declaration
[JsonProperty(PropertyName = "clientAddress")]
public string ClientAddress { get; set; }
Property Value
Type Description
string

The IPv4 address of the requesting client.

CountryCode

Declaration
[JsonProperty(PropertyName = "countryCode")]
public string CountryCode { get; set; }
Property Value
Type Description
string

ISO 3166-1 alpha-2 code of the country from which the request originated. For a list of codes, see ISO's website.

CountryName

Declaration
[JsonProperty(PropertyName = "countryName")]
public string CountryName { get; set; }
Property Value
Type Description
string

The name of the country where the request originated.

Device

Declaration
[JsonProperty(PropertyName = "device")]
public string Device { get; set; }
Property Value
Type Description
string

The type of device that the request was made from.

Domain

Declaration
[JsonProperty(PropertyName = "domain")]
public string Domain { get; set; }
Property Value
Type Description
string

The Host header data of the request.

Fingerprint

Declaration
[JsonProperty(PropertyName = "fingerprint")]
public string Fingerprint { get; set; }
Property Value
Type Description
string

The hashed signature of the device's fingerprint. For more information, see DeviceFingerPrintChallenge.

HttpHeaders

Declaration
[JsonProperty(PropertyName = "httpHeaders")]
public Dictionary<string, string> HttpHeaders { get; set; }
Property Value
Type Description
Dictionary<string, string>

The map of the request's header names to their respective values.

HttpMethod

Declaration
[JsonProperty(PropertyName = "httpMethod")]
public string HttpMethod { get; set; }
Property Value
Type Description
string

The HTTP method of the request.

IncidentKey

Declaration
[JsonProperty(PropertyName = "incidentKey")]
public string IncidentKey { get; set; }
Property Value
Type Description
string

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.

LogType

Declaration
[JsonProperty(PropertyName = "logType")]
public string LogType { get; set; }
Property Value
Type Description
string

The type of log of the request. For more about log types, see Logs.

OriginAddress

Declaration
[JsonProperty(PropertyName = "originAddress")]
public string OriginAddress { get; set; }
Property Value
Type Description
string

The address of the origin server where the request was sent.

OriginResponseTime

Declaration
[JsonProperty(PropertyName = "originResponseTime")]
public string OriginResponseTime { get; set; }
Property Value
Type Description
string

The amount of time it took the origin server to respond to the request, in seconds.

ProtectionRuleDetections

Declaration
[JsonProperty(PropertyName = "protectionRuleDetections")]
public Dictionary<string, string> ProtectionRuleDetections { get; set; }
Property Value
Type Description
Dictionary<string, string>

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.

Referrer

Declaration
[JsonProperty(PropertyName = "referrer")]
public string Referrer { get; set; }
Property Value
Type Description
string

The Referrer header value of the request.

RequestHeaders

Declaration
[JsonProperty(PropertyName = "requestHeaders")]
public Dictionary<string, string> RequestHeaders { get; set; }
Property Value
Type Description
Dictionary<string, string>

A map of header names to values of the request sent to the origin, including any headers appended by the Web Application Firewall.

RequestUrl

Declaration
[JsonProperty(PropertyName = "requestUrl")]
public string RequestUrl { get; set; }
Property Value
Type Description
string

The path and query string of the request.

ResponseCode

Declaration
[JsonProperty(PropertyName = "responseCode")]
public int? ResponseCode { get; set; }
Property Value
Type Description
int?

The status code of the response.

ResponseSize

Declaration
[JsonProperty(PropertyName = "responseSize")]
public int? ResponseSize { get; set; }
Property Value
Type Description
int?

The size in bytes of the response.

ThreatFeedKey

Declaration
[JsonProperty(PropertyName = "threatFeedKey")]
public string ThreatFeedKey { get; set; }
Property Value
Type Description
string

The ThreatFeed key that matched the request. For more information about threat feeds, see UpdateThreatFeeds.

Timestamp

Declaration
[JsonProperty(PropertyName = "timestamp")]
public DateTime? Timestamp { get; set; }
Property Value
Type Description
DateTime?

The date and time the Web Application Firewall processed the request and logged it.

UserAgent

Declaration
[JsonProperty(PropertyName = "userAgent")]
public string UserAgent { get; set; }
Property Value
Type Description
string

The value of the request's User-Agent header field.

In this article
Back to top