XssMatchStatement
public struct XssMatchStatement : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The part of a web request that you want AWS WAF to inspect. For more information, see FieldToMatch.
Declaration
Swift
public let fieldToMatch: FieldToMatch
-
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by FieldToMatch, starting from the lowest priority setting, before inspecting the content for a match.
Declaration
Swift
public let textTransformations: [TextTransformation]
-
Undocumented
Declaration
Swift
public init(fieldToMatch: FieldToMatch, textTransformations: [TextTransformation])
-
Declaration
Swift
public func validate(name: String) throws