Class: Aws::WAF::Types::SqlInjectionMatchSetUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAF::Types::SqlInjectionMatchSetUpdate
- Defined in:
- gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb
Overview
When making an API call, you may pass SqlInjectionMatchSetUpdate data as a hash:
{
action: "INSERT", # required, accepts INSERT, DELETE
sql_injection_match_tuple: { # required
field_to_match: { # required
type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
data: "MatchFieldData",
},
text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
},
}
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Specifies the part of a web request that you want to inspect for
snippets of malicious SQL code and indicates whether you want to add
the specification to a SqlInjectionMatchSet or delete it from a
SqlInjectionMatchSet
.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
Specify
INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. -
#sql_injection_match_tuple ⇒ Types::SqlInjectionMatchTuple
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.
Instance Attribute Details
#action ⇒ String
Specify INSERT
to add a SqlInjectionMatchSetUpdate to a
SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a SqlInjectionMatchSet
.
5664 5665 5666 5667 5668 5669 |
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 5664 class SqlInjectionMatchSetUpdate < Struct.new( :action, :sql_injection_match_tuple) SENSITIVE = [] include Aws::Structure end |
#sql_injection_match_tuple ⇒ Types::SqlInjectionMatchTuple
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.
5664 5665 5666 5667 5668 5669 |
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 5664 class SqlInjectionMatchSetUpdate < Struct.new( :action, :sql_injection_match_tuple) SENSITIVE = [] include Aws::Structure end |