Class ListWafLogsRequest
Implements
Inherited Members
Namespace: Oci.WaasService.Requests
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class ListWafLogsRequest : IOciRequestExamples
Click here to see an example of how to use ListWafLogs request.
Properties
AccessRuleKey
Declaration
[HttpConverter(TargetEnum.Query, "accessRuleKey", CollectionFormatType.Multi)]
public List<string> AccessRuleKey { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filters logs by access rule key. | 
Action
Declaration
[HttpConverter(TargetEnum.Query, "action", CollectionFormatType.Multi)]
public List<ListWafLogsRequest.ActionEnum> Action { get; set; }Property Value
| Type | Description | 
|---|---|
| List<ListWafLogsRequest.ActionEnum> | Filters logs by Web Application Firewall action. | 
ClientAddress
Declaration
[HttpConverter(TargetEnum.Query, "clientAddress", CollectionFormatType.Multi)]
public List<string> ClientAddress { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filters logs by client IP address. | 
CountryCode
Declaration
[HttpConverter(TargetEnum.Query, "countryCode", CollectionFormatType.Multi)]
public List<string> CountryCode { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filters logs by country code. Country codes are in ISO 3166-1 alpha-2 format. For a list of codes, see ISO's website. | 
CountryName
Declaration
[HttpConverter(TargetEnum.Query, "countryName", CollectionFormatType.Multi)]
public List<string> CountryName { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filter logs by country name. | 
Fingerprint
Declaration
[HttpConverter(TargetEnum.Query, "fingerprint", CollectionFormatType.Multi)]
public List<string> Fingerprint { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filter logs by device fingerprint. | 
HttpMethod
Declaration
[HttpConverter(TargetEnum.Query, "httpMethod", CollectionFormatType.Multi)]
public List<ListWafLogsRequest.HttpMethodEnum> HttpMethod { get; set; }Property Value
| Type | Description | 
|---|---|
| List<ListWafLogsRequest.HttpMethodEnum> | Filter logs by HTTP method. | 
IncidentKey
Declaration
[HttpConverter(TargetEnum.Query, "incidentKey", CollectionFormatType.Multi)]
public List<string> IncidentKey { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filter logs by incident key. | 
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | The maximum number of items to return in a paginated call. If unspecified, defaults to  | 
LogType
Declaration
[HttpConverter(TargetEnum.Query, "logType", CollectionFormatType.Multi)]
public List<ListWafLogsRequest.LogTypeEnum> LogType { get; set; }Property Value
| Type | Description | 
|---|---|
| List<ListWafLogsRequest.LogTypeEnum> | Filter by log type. For more information about WAF logs, see Logs. | 
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. | 
OriginAddress
Declaration
[HttpConverter(TargetEnum.Query, "originAddress", CollectionFormatType.Multi)]
public List<string> OriginAddress { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filter by origin IP address. | 
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The value of the  | 
ProtectionRuleKey
Declaration
[HttpConverter(TargetEnum.Query, "protectionRuleKey", CollectionFormatType.Multi)]
public List<string> ProtectionRuleKey { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filter by protection rule key. | 
Referrer
Declaration
[HttpConverter(TargetEnum.Query, "referrer", CollectionFormatType.Multi)]
public List<string> Referrer { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filter by referrer. | 
RequestUrl
Declaration
[HttpConverter(TargetEnum.Query, "requestUrl", CollectionFormatType.Multi)]
public List<string> RequestUrl { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filter by request URL. | 
ResponseCode
Declaration
[HttpConverter(TargetEnum.Query, "responseCode", CollectionFormatType.Multi)]
public List<int> ResponseCode { get; set; }Property Value
| Type | Description | 
|---|---|
| List<int> | Filter by response code. | 
TextContains
Declaration
[HttpConverter(TargetEnum.Query, "textContains")]
public string TextContains { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A full text search for logs. | 
ThreatFeedKey
Declaration
[HttpConverter(TargetEnum.Query, "threatFeedKey", CollectionFormatType.Multi)]
public List<string> ThreatFeedKey { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filter by threat feed key. | 
TimeObservedGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeObservedGreaterThanOrEqualTo")]
public DateTime? TimeObservedGreaterThanOrEqualTo { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | A filter that matches log entries where the observed event occurred on or after a date and time specified in RFC 3339 format. If unspecified, defaults to two hours before receipt of the request. | 
TimeObservedLessThan
Declaration
[HttpConverter(TargetEnum.Query, "timeObservedLessThan")]
public DateTime? TimeObservedLessThan { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | A filter that matches log entries where the observed event occurred before a date and time, specified in RFC 3339 format. | 
UserAgent
Declaration
[HttpConverter(TargetEnum.Query, "userAgent", CollectionFormatType.Multi)]
public List<string> UserAgent { get; set; }Property Value
| Type | Description | 
|---|---|
| List<string> | Filter by user agent. | 
WaasPolicyId
Declaration
[Required(ErrorMessage = "WaasPolicyId is required.")]
[HttpConverter(TargetEnum.Path, "waasPolicyId")]
public string WaasPolicyId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the WAAS policy. | 
Remarks
Required