cdk-comprehend-s3olap 2.0.156 → 2.0.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +6 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +6 -0
- package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +194 -115
- package/node_modules/aws-sdk/clients/detective.d.ts +1 -1
- package/node_modules/aws-sdk/clients/directconnect.d.ts +2 -2
- package/node_modules/aws-sdk/clients/glue.d.ts +8 -0
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +3 -3
- package/node_modules/aws-sdk/clients/wafv2.d.ts +103 -15
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +2 -2
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
@@ -314,7 +314,7 @@ declare namespace Detective {
|
|
314
314
|
*/
|
315
315
|
UnprocessedAccounts?: UnprocessedAccountList;
|
316
316
|
}
|
317
|
-
export type DatasourcePackage = "DETECTIVE_CORE"|"EKS_AUDIT"|string;
|
317
|
+
export type DatasourcePackage = "DETECTIVE_CORE"|"EKS_AUDIT"|"ASFF_SECURITYHUB_FINDING"|string;
|
318
318
|
export interface DatasourcePackageIngestDetail {
|
319
319
|
/**
|
320
320
|
* Details on which data source packages are ingested for a member account.
|
@@ -2223,7 +2223,7 @@ declare namespace DirectConnect {
|
|
2223
2223
|
*/
|
2224
2224
|
asn?: ASN;
|
2225
2225
|
/**
|
2226
|
-
* The maximum transmission unit (MTU), in bytes. The supported values are 1500 and
|
2226
|
+
* The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500
|
2227
2227
|
*/
|
2228
2228
|
mtu?: MTU;
|
2229
2229
|
/**
|
@@ -2550,7 +2550,7 @@ declare namespace DirectConnect {
|
|
2550
2550
|
*/
|
2551
2551
|
customerRouterConfig?: RouterConfig;
|
2552
2552
|
/**
|
2553
|
-
* The maximum transmission unit (MTU), in bytes. The supported values are 1500 and
|
2553
|
+
* The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500
|
2554
2554
|
*/
|
2555
2555
|
mtu?: MTU;
|
2556
2556
|
/**
|
@@ -3717,6 +3717,10 @@ declare namespace Glue {
|
|
3717
3717
|
* A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data. If no context words are passed only a regular expression is checked.
|
3718
3718
|
*/
|
3719
3719
|
ContextWords?: ContextWords;
|
3720
|
+
/**
|
3721
|
+
* A list of tags applied to the custom entity type.
|
3722
|
+
*/
|
3723
|
+
Tags?: TagsMap;
|
3720
3724
|
}
|
3721
3725
|
export interface CreateCustomEntityTypeResponse {
|
3722
3726
|
/**
|
@@ -8871,6 +8875,10 @@ declare namespace Glue {
|
|
8871
8875
|
* The maximum number of results to return.
|
8872
8876
|
*/
|
8873
8877
|
MaxResults?: PageSize;
|
8878
|
+
/**
|
8879
|
+
* A list of key-value pair tags.
|
8880
|
+
*/
|
8881
|
+
Tags?: TagsMap;
|
8874
8882
|
}
|
8875
8883
|
export interface ListCustomEntityTypesResponse {
|
8876
8884
|
/**
|
@@ -296,7 +296,7 @@ declare namespace SecretsManager {
|
|
296
296
|
*/
|
297
297
|
RecoveryWindowInDays?: RecoveryWindowInDaysType;
|
298
298
|
/**
|
299
|
-
* Specifies whether to delete the secret without any recovery window. You can't use both this parameter and RecoveryWindowInDays in the same call. If you don't use either, then by default Secrets Manager uses a 30 day recovery window. Secrets Manager performs the actual deletion with an asynchronous background process, so there might be a short delay before the secret is permanently deleted. If you delete a secret and then immediately create a secret with the same name, use appropriate back off and retry logic. Use this parameter with caution. This parameter causes the operation to skip the normal recovery window before the permanent deletion that Secrets Manager would normally impose with the RecoveryWindowInDays parameter. If you delete a secret with the ForceDeleteWithoutRecovery parameter, then you have no opportunity to recover the secret. You lose the secret permanently.
|
299
|
+
* Specifies whether to delete the secret without any recovery window. You can't use both this parameter and RecoveryWindowInDays in the same call. If you don't use either, then by default Secrets Manager uses a 30 day recovery window. Secrets Manager performs the actual deletion with an asynchronous background process, so there might be a short delay before the secret is permanently deleted. If you delete a secret and then immediately create a secret with the same name, use appropriate back off and retry logic. If you forcibly delete an already deleted or nonexistent secret, the operation does not return ResourceNotFoundException. Use this parameter with caution. This parameter causes the operation to skip the normal recovery window before the permanent deletion that Secrets Manager would normally impose with the RecoveryWindowInDays parameter. If you delete a secret with the ForceDeleteWithoutRecovery parameter, then you have no opportunity to recover the secret. You lose the secret permanently.
|
300
300
|
*/
|
301
301
|
ForceDeleteWithoutRecovery?: BooleanType;
|
302
302
|
}
|
@@ -368,7 +368,7 @@ declare namespace SecretsManager {
|
|
368
368
|
*/
|
369
369
|
DeletedDate?: DeletedDateType;
|
370
370
|
/**
|
371
|
-
* The next
|
371
|
+
* The next rotation is scheduled to occur on or before this date. If the secret isn't configured for rotation, Secrets Manager returns null.
|
372
372
|
*/
|
373
373
|
NextRotationDate?: NextRotationDateType;
|
374
374
|
/**
|
@@ -867,7 +867,7 @@ declare namespace SecretsManager {
|
|
867
867
|
*/
|
868
868
|
DeletedDate?: DeletedDateType;
|
869
869
|
/**
|
870
|
-
* The next
|
870
|
+
* The next rotation is scheduled to occur on or before this date. If the secret isn't configured for rotation, Secrets Manager returns null.
|
871
871
|
*/
|
872
872
|
NextRotationDate?: NextRotationDateType;
|
873
873
|
/**
|
@@ -196,11 +196,11 @@ declare class WAFV2 extends Service {
|
|
196
196
|
*/
|
197
197
|
getPermissionPolicy(callback?: (err: AWSError, data: WAFV2.Types.GetPermissionPolicyResponse) => void): Request<WAFV2.Types.GetPermissionPolicyResponse, AWSError>;
|
198
198
|
/**
|
199
|
-
* Retrieves the
|
199
|
+
* Retrieves the IP addresses that are currently blocked by a rate-based rule instance. This is only available for rate-based rules that aggregate solely on the IP address or on the forwarded IP address. The maximum number of addresses that can be blocked for a single rate-based rule instance is 10,000. If more than 10,000 addresses exceed the rate limit, those with the highest rates are blocked. For a rate-based rule that you've defined inside a rule group, provide the name of the rule group reference statement in your request, in addition to the rate-based rule name and the web ACL name. WAF monitors web requests and manages keys independently for each unique combination of web ACL, optional rule group, and rate-based rule. For example, if you define a rate-based rule inside a rule group, and then use the rule group in a web ACL, WAF monitors web requests and manages keys for that web ACL, rule group reference statement, and rate-based rule instance. If you use the same rule group in a second web ACL, WAF monitors web requests and manages keys for this second usage completely independent of your first.
|
200
200
|
*/
|
201
201
|
getRateBasedStatementManagedKeys(params: WAFV2.Types.GetRateBasedStatementManagedKeysRequest, callback?: (err: AWSError, data: WAFV2.Types.GetRateBasedStatementManagedKeysResponse) => void): Request<WAFV2.Types.GetRateBasedStatementManagedKeysResponse, AWSError>;
|
202
202
|
/**
|
203
|
-
* Retrieves the
|
203
|
+
* Retrieves the IP addresses that are currently blocked by a rate-based rule instance. This is only available for rate-based rules that aggregate solely on the IP address or on the forwarded IP address. The maximum number of addresses that can be blocked for a single rate-based rule instance is 10,000. If more than 10,000 addresses exceed the rate limit, those with the highest rates are blocked. For a rate-based rule that you've defined inside a rule group, provide the name of the rule group reference statement in your request, in addition to the rate-based rule name and the web ACL name. WAF monitors web requests and manages keys independently for each unique combination of web ACL, optional rule group, and rate-based rule. For example, if you define a rate-based rule inside a rule group, and then use the rule group in a web ACL, WAF monitors web requests and manages keys for that web ACL, rule group reference statement, and rate-based rule instance. If you use the same rule group in a second web ACL, WAF monitors web requests and manages keys for this second usage completely independent of your first.
|
204
204
|
*/
|
205
205
|
getRateBasedStatementManagedKeys(callback?: (err: AWSError, data: WAFV2.Types.GetRateBasedStatementManagedKeysResponse) => void): Request<WAFV2.Types.GetRateBasedStatementManagedKeysResponse, AWSError>;
|
206
206
|
/**
|
@@ -530,7 +530,7 @@ declare namespace WAFV2 {
|
|
530
530
|
*/
|
531
531
|
FieldToMatch: FieldToMatch;
|
532
532
|
/**
|
533
|
-
* 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
|
533
|
+
* Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the component contents.
|
534
534
|
*/
|
535
535
|
TextTransformations: TextTransformations;
|
536
536
|
/**
|
@@ -1677,6 +1677,7 @@ declare namespace WAFV2 {
|
|
1677
1677
|
*/
|
1678
1678
|
LabelName: LabelName;
|
1679
1679
|
}
|
1680
|
+
export type LabelNamespace = string;
|
1680
1681
|
export type LabelSummaries = LabelSummary[];
|
1681
1682
|
export interface LabelSummary {
|
1682
1683
|
/**
|
@@ -2310,23 +2311,62 @@ declare namespace WAFV2 {
|
|
2310
2311
|
}
|
2311
2312
|
export interface RateBasedStatement {
|
2312
2313
|
/**
|
2313
|
-
* The limit on requests per 5-minute period for a single
|
2314
|
+
* The limit on requests per 5-minute period for a single aggregation instance for the rate-based rule. If the rate-based statement includes a ScopeDownStatement, this limit is applied only to the requests that match the statement. Examples: If you aggregate on just the IP address, this is the limit on requests from any single IP address. If you aggregate on the HTTP method and the query argument name "city", then this is the limit on requests for any single method, city pair.
|
2314
2315
|
*/
|
2315
2316
|
Limit: RateLimit;
|
2316
2317
|
/**
|
2317
|
-
* Setting that indicates how to aggregate the request counts.
|
2318
|
+
* Setting that indicates how to aggregate the request counts. Web requests that are missing any of the components specified in the aggregation keys are omitted from the rate-based rule evaluation and handling. CONSTANT - Count and limit the requests that match the rate-based rule's scope-down statement. With this option, the counted requests aren't further aggregated. The scope-down statement is the only specification used. When the count of all requests that satisfy the scope-down statement goes over the limit, WAF applies the rule action to all requests that satisfy the scope-down statement. With this option, you must configure the ScopeDownStatement property. CUSTOM_KEYS - Aggregate the request counts using one or more web request components as the aggregate keys. With this option, you must specify the aggregate keys in the CustomKeys property. To aggregate on only the IP address or only the forwarded IP address, don't use custom keys. Instead, set the aggregate key type to IP or FORWARDED_IP. FORWARDED_IP - Aggregate the request counts on the first IP address in an HTTP header. With this option, you must specify the header to use in the ForwardedIPConfig property. To aggregate on a combination of the forwarded IP address with other aggregate keys, use CUSTOM_KEYS. IP - Aggregate the request counts on the IP address from the web request origin. To aggregate on a combination of the IP address with other aggregate keys, use CUSTOM_KEYS.
|
2318
2319
|
*/
|
2319
2320
|
AggregateKeyType: RateBasedStatementAggregateKeyType;
|
2320
2321
|
/**
|
2321
|
-
* An optional nested statement that narrows the scope of the web requests that are evaluated by the rate-based statement.
|
2322
|
+
* An optional nested statement that narrows the scope of the web requests that are evaluated and managed by the rate-based statement. When you use a scope-down statement, the rate-based rule only tracks and rate limits requests that match the scope-down statement. You can use any nestable Statement in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement.
|
2322
2323
|
*/
|
2323
2324
|
ScopeDownStatement?: Statement;
|
2324
2325
|
/**
|
2325
|
-
* The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all. This is required if
|
2326
|
+
* The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all. This is required if you specify a forwarded IP in the rule's aggregate key settings.
|
2326
2327
|
*/
|
2327
2328
|
ForwardedIPConfig?: ForwardedIPConfig;
|
2329
|
+
/**
|
2330
|
+
* Specifies the aggregate keys to use in a rate-base rule.
|
2331
|
+
*/
|
2332
|
+
CustomKeys?: RateBasedStatementCustomKeys;
|
2328
2333
|
}
|
2329
|
-
export type RateBasedStatementAggregateKeyType = "IP"|"FORWARDED_IP"|string;
|
2334
|
+
export type RateBasedStatementAggregateKeyType = "IP"|"FORWARDED_IP"|"CUSTOM_KEYS"|"CONSTANT"|string;
|
2335
|
+
export interface RateBasedStatementCustomKey {
|
2336
|
+
/**
|
2337
|
+
* Use the value of a header in the request as an aggregate key. Each distinct value in the header contributes to the aggregation instance. If you use a single header as your custom key, then each value fully defines an aggregation instance.
|
2338
|
+
*/
|
2339
|
+
Header?: RateLimitHeader;
|
2340
|
+
/**
|
2341
|
+
* Use the value of a cookie in the request as an aggregate key. Each distinct value in the cookie contributes to the aggregation instance. If you use a single cookie as your custom key, then each value fully defines an aggregation instance.
|
2342
|
+
*/
|
2343
|
+
Cookie?: RateLimitCookie;
|
2344
|
+
/**
|
2345
|
+
* Use the specified query argument as an aggregate key. Each distinct value for the named query argument contributes to the aggregation instance. If you use a single query argument as your custom key, then each value fully defines an aggregation instance.
|
2346
|
+
*/
|
2347
|
+
QueryArgument?: RateLimitQueryArgument;
|
2348
|
+
/**
|
2349
|
+
* Use the request's query string as an aggregate key. Each distinct string contributes to the aggregation instance. If you use just the query string as your custom key, then each string fully defines an aggregation instance.
|
2350
|
+
*/
|
2351
|
+
QueryString?: RateLimitQueryString;
|
2352
|
+
/**
|
2353
|
+
* Use the request's HTTP method as an aggregate key. Each distinct HTTP method contributes to the aggregation instance. If you use just the HTTP method as your custom key, then each method fully defines an aggregation instance.
|
2354
|
+
*/
|
2355
|
+
HTTPMethod?: RateLimitHTTPMethod;
|
2356
|
+
/**
|
2357
|
+
* Use the first IP address in an HTTP header as an aggregate key. Each distinct forwarded IP address contributes to the aggregation instance. When you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use. You can aggregate on only the forwarded IP address by specifying FORWARDED_IP in your rate-based statement's AggregateKeyType. With this option, you must specify the header to use in the rate-based rule's ForwardedIPConfig property.
|
2358
|
+
*/
|
2359
|
+
ForwardedIP?: RateLimitForwardedIP;
|
2360
|
+
/**
|
2361
|
+
* Use the request's originating IP address as an aggregate key. Each distinct IP address contributes to the aggregation instance. When you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use. You can aggregate on only the IP address by specifying IP in your rate-based statement's AggregateKeyType.
|
2362
|
+
*/
|
2363
|
+
IP?: RateLimitIP;
|
2364
|
+
/**
|
2365
|
+
* Use the specified label namespace as an aggregate key. Each distinct fully qualified label name that has the specified label namespace contributes to the aggregation instance. If you use just one label namespace as your custom key, then each label name fully defines an aggregation instance. This uses only labels that have been added to the request by rules that are evaluated before this rate-based rule in the web ACL. For information about label namespaces and names, see Label syntax and naming requirements in the WAF Developer Guide.
|
2366
|
+
*/
|
2367
|
+
LabelNamespace?: RateLimitLabelNamespace;
|
2368
|
+
}
|
2369
|
+
export type RateBasedStatementCustomKeys = RateBasedStatementCustomKey[];
|
2330
2370
|
export interface RateBasedStatementManagedKeysIPSet {
|
2331
2371
|
/**
|
2332
2372
|
* The version of the IP addresses, either IPV4 or IPV6.
|
@@ -2338,6 +2378,54 @@ declare namespace WAFV2 {
|
|
2338
2378
|
Addresses?: IPAddresses;
|
2339
2379
|
}
|
2340
2380
|
export type RateLimit = number;
|
2381
|
+
export interface RateLimitCookie {
|
2382
|
+
/**
|
2383
|
+
* The name of the cookie to use.
|
2384
|
+
*/
|
2385
|
+
Name: FieldToMatchData;
|
2386
|
+
/**
|
2387
|
+
* Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the component contents.
|
2388
|
+
*/
|
2389
|
+
TextTransformations: TextTransformations;
|
2390
|
+
}
|
2391
|
+
export interface RateLimitForwardedIP {
|
2392
|
+
}
|
2393
|
+
export interface RateLimitHTTPMethod {
|
2394
|
+
}
|
2395
|
+
export interface RateLimitHeader {
|
2396
|
+
/**
|
2397
|
+
* The name of the header to use.
|
2398
|
+
*/
|
2399
|
+
Name: FieldToMatchData;
|
2400
|
+
/**
|
2401
|
+
* Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the component contents.
|
2402
|
+
*/
|
2403
|
+
TextTransformations: TextTransformations;
|
2404
|
+
}
|
2405
|
+
export interface RateLimitIP {
|
2406
|
+
}
|
2407
|
+
export interface RateLimitLabelNamespace {
|
2408
|
+
/**
|
2409
|
+
* The namespace to use for aggregation.
|
2410
|
+
*/
|
2411
|
+
Namespace: LabelNamespace;
|
2412
|
+
}
|
2413
|
+
export interface RateLimitQueryArgument {
|
2414
|
+
/**
|
2415
|
+
* The name of the query argument to use.
|
2416
|
+
*/
|
2417
|
+
Name: FieldToMatchData;
|
2418
|
+
/**
|
2419
|
+
* Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the component contents.
|
2420
|
+
*/
|
2421
|
+
TextTransformations: TextTransformations;
|
2422
|
+
}
|
2423
|
+
export interface RateLimitQueryString {
|
2424
|
+
/**
|
2425
|
+
* Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the component contents.
|
2426
|
+
*/
|
2427
|
+
TextTransformations: TextTransformations;
|
2428
|
+
}
|
2341
2429
|
export type RedactedFields = FieldToMatch[];
|
2342
2430
|
export interface Regex {
|
2343
2431
|
/**
|
@@ -2355,7 +2443,7 @@ declare namespace WAFV2 {
|
|
2355
2443
|
*/
|
2356
2444
|
FieldToMatch: FieldToMatch;
|
2357
2445
|
/**
|
2358
|
-
* 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
|
2446
|
+
* Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the component contents.
|
2359
2447
|
*/
|
2360
2448
|
TextTransformations: TextTransformations;
|
2361
2449
|
}
|
@@ -2391,7 +2479,7 @@ declare namespace WAFV2 {
|
|
2391
2479
|
*/
|
2392
2480
|
FieldToMatch: FieldToMatch;
|
2393
2481
|
/**
|
2394
|
-
* 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
|
2482
|
+
* Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the component contents.
|
2395
2483
|
*/
|
2396
2484
|
TextTransformations: TextTransformations;
|
2397
2485
|
}
|
@@ -2781,7 +2869,7 @@ declare namespace WAFV2 {
|
|
2781
2869
|
*/
|
2782
2870
|
Size: Size;
|
2783
2871
|
/**
|
2784
|
-
* 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
|
2872
|
+
* Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the component contents.
|
2785
2873
|
*/
|
2786
2874
|
TextTransformations: TextTransformations;
|
2787
2875
|
}
|
@@ -2793,7 +2881,7 @@ declare namespace WAFV2 {
|
|
2793
2881
|
*/
|
2794
2882
|
FieldToMatch: FieldToMatch;
|
2795
2883
|
/**
|
2796
|
-
* 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
|
2884
|
+
* Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the component contents.
|
2797
2885
|
*/
|
2798
2886
|
TextTransformations: TextTransformations;
|
2799
2887
|
/**
|
@@ -2835,7 +2923,7 @@ declare namespace WAFV2 {
|
|
2835
2923
|
*/
|
2836
2924
|
RegexPatternSetReferenceStatement?: RegexPatternSetReferenceStatement;
|
2837
2925
|
/**
|
2838
|
-
* A rate-based rule
|
2926
|
+
* A rate-based rule counts incoming requests and rate limits requests when they are coming at too fast a rate. The rule categorizes requests according to your aggregation criteria, collects them into aggregation instances, and counts and rate limits the requests for each instance. You can specify individual aggregation keys, like IP address or HTTP method. You can also specify aggregation key combinations, like IP address and HTTP method, or HTTP method, query argument, and cookie. Each unique set of values for the aggregation keys that you specify is a separate aggregation instance, with the value from each key contributing to the aggregation instance definition. For example, assume the rule evaluates web requests with the following IP address and HTTP method values: IP address 10.1.1.1, HTTP method POST IP address 10.1.1.1, HTTP method GET IP address 127.0.0.0, HTTP method POST IP address 10.1.1.1, HTTP method GET The rule would create different aggregation instances according to your aggregation criteria, for example: If the aggregation criteria is just the IP address, then each individual address is an aggregation instance, and WAF counts requests separately for each. The aggregation instances and request counts for our example would be the following: IP address 10.1.1.1: count 3 IP address 127.0.0.0: count 1 If the aggregation criteria is HTTP method, then each individual HTTP method is an aggregation instance. The aggregation instances and request counts for our example would be the following: HTTP method POST: count 2 HTTP method GET: count 2 If the aggregation criteria is IP address and HTTP method, then each IP address and each HTTP method would contribute to the combined aggregation instance. The aggregation instances and request counts for our example would be the following: IP address 10.1.1.1, HTTP method POST: count 1 IP address 10.1.1.1, HTTP method GET: count 2 IP address 127.0.0.0, HTTP method POST: count 1 For any n-tuple of aggregation keys, each unique combination of values for the keys defines a separate aggregation instance, which WAF counts and rate-limits individually. You can optionally nest another statement inside the rate-based statement, to narrow the scope of the rule so that it only counts and rate limits requests that match the nested statement. You can use this nested scope-down statement in conjunction with your aggregation key specifications or you can just count and rate limit all requests that match the scope-down statement, without additional aggregation. When you choose to just manage all requests that match a scope-down statement, the aggregation instance is singular for the rule. You cannot nest a RateBasedStatement inside another statement, for example inside a NotStatement or OrStatement. You can define a RateBasedStatement inside a web ACL and inside a rule group. For additional information about the options, see Rate limiting web requests using rate-based rules in the WAF Developer Guide. If you only aggregate on the individual IP address or forwarded IP address, you can retrieve the list of IP addresses that WAF is currently rate limiting for a rule through the API call GetRateBasedStatementManagedKeys. This option is not available for other aggregation configurations. WAF tracks and manages web requests separately for each instance of a rate-based rule that you use. For example, if you provide the same rate-based rule settings in two web ACLs, each of the two rule statements represents a separate instance of the rate-based rule and gets its own tracking and management by WAF. If you define a rate-based rule inside a rule group, and then use that rule group in multiple places, each use creates a separate instance of the rate-based rule that gets its own tracking and management by WAF.
|
2839
2927
|
*/
|
2840
2928
|
RateBasedStatement?: RateBasedStatement;
|
2841
2929
|
/**
|
@@ -2905,7 +2993,7 @@ declare namespace WAFV2 {
|
|
2905
2993
|
export type TagValue = string;
|
2906
2994
|
export interface TextTransformation {
|
2907
2995
|
/**
|
2908
|
-
* Sets the relative processing order for multiple transformations
|
2996
|
+
* Sets the relative processing order for multiple transformations. WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different.
|
2909
2997
|
*/
|
2910
2998
|
Priority: TextTransformationPriority;
|
2911
2999
|
/**
|
@@ -3282,7 +3370,7 @@ declare namespace WAFV2 {
|
|
3282
3370
|
*/
|
3283
3371
|
FieldToMatch: FieldToMatch;
|
3284
3372
|
/**
|
3285
|
-
* 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
|
3373
|
+
* Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the component contents.
|
3286
3374
|
*/
|
3287
3375
|
TextTransformations: TextTransformations;
|
3288
3376
|
}
|