Skip to content

/AWS1/CL_CWOFIELDTOMATCH

Specifies a field in the request to redact from WAF logs, such as headers, query parameters, or body content.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_singleheader TYPE REF TO /AWS1/CL_CWOSINGLEHEADER /AWS1/CL_CWOSINGLEHEADER

Redacts a specific header field by name from WAF logs.

iv_uripath TYPE /AWS1/CWOSTRING /AWS1/CWOSTRING

Redacts the URI path from WAF logs.

iv_querystring TYPE /AWS1/CWOSTRING /AWS1/CWOSTRING

Redacts the entire query string from WAF logs.

iv_method TYPE /AWS1/CWOSTRING /AWS1/CWOSTRING

Redacts the HTTP method from WAF logs.


Queryable Attributes

SingleHeader

Redacts a specific header field by name from WAF logs.

Accessible with the following methods

Method Description
GET_SINGLEHEADER() Getter for SINGLEHEADER

UriPath

Redacts the URI path from WAF logs.

Accessible with the following methods

Method Description
GET_URIPATH() Getter for URIPATH, with configurable default
ASK_URIPATH() Getter for URIPATH w/ exceptions if field has no value
HAS_URIPATH() Determine if URIPATH has a value

QueryString

Redacts the entire query string from WAF logs.

Accessible with the following methods

Method Description
GET_QUERYSTRING() Getter for QUERYSTRING, with configurable default
ASK_QUERYSTRING() Getter for QUERYSTRING w/ exceptions if field has no value
HAS_QUERYSTRING() Determine if QUERYSTRING has a value

Method

Redacts the HTTP method from WAF logs.

Accessible with the following methods

Method Description
GET_METHOD() Getter for METHOD, with configurable default
ASK_METHOD() Getter for METHOD w/ exceptions if field has no value
HAS_METHOD() Determine if METHOD has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_REDACTEDFIELDS

TYPES TT_REDACTEDFIELDS TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWOFIELDTOMATCH WITH DEFAULT KEY
.