ByteMatchSetByteMatchTuple

data class ByteMatchSetByteMatchTuple(val fieldToMatch: ByteMatchSetByteMatchTupleFieldToMatch, val positionalConstraint: String, val targetString: String? = null, val textTransformation: String)

Constructors

Link copied to clipboard
constructor(fieldToMatch: ByteMatchSetByteMatchTupleFieldToMatch, positionalConstraint: String, targetString: String? = null, textTransformation: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The part of a web request that you want to search, such as a specified header or a query string.

Link copied to clipboard

Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want to search. e.g., CONTAINS, CONTAINS_WORD or EXACTLY. See docs for all supported values.

Link copied to clipboard
val targetString: String? = null

The value that you want to search for within the field specified by field_to_match, e.g., badrefer1. See docs for all supported values.

Link copied to clipboard

Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on target_string before inspecting a request for a match. e.g., CMD_LINE, HTML_ENTITY_DECODE or NONE. See docs for all supported values.