@aws-sdk/client-wafv2 3.1173.0 → 3.1174.0
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/README.md +35 -0
- package/dist-cjs/index.js +418 -72
- package/dist-es/WAFV2.js +10 -0
- package/dist-es/commands/GetEventActorCommand.js +4 -0
- package/dist-es/commands/GetEventCommand.js +4 -0
- package/dist-es/commands/ListEventActorsCommand.js +4 -0
- package/dist-es/commands/ListEventsByWebACLCommand.js +4 -0
- package/dist-es/commands/ListEventsCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +33 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/schemas/schemas_0.js +324 -71
- package/dist-types/WAFV2.d.ts +35 -0
- package/dist-types/WAFV2Client.d.ts +7 -2
- package/dist-types/commands/CheckCapacityCommand.d.ts +22 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +22 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +23 -1
- package/dist-types/commands/GetEventActorCommand.d.ts +146 -0
- package/dist-types/commands/GetEventCommand.d.ts +154 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +24 -1
- package/dist-types/commands/GetWebACLCommand.d.ts +47 -2
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +47 -2
- package/dist-types/commands/ListEventActorsCommand.d.ts +119 -0
- package/dist-types/commands/ListEventsByWebACLCommand.d.ts +187 -0
- package/dist-types/commands/ListEventsCommand.d.ts +180 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +22 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +23 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +89 -0
- package/dist-types/models/models_0.d.ts +962 -344
- package/dist-types/models/models_1.d.ts +229 -0
- package/dist-types/schemas/schemas_0.d.ts +32 -0
- package/dist-types/ts3.4/WAFV2.d.ts +76 -0
- package/dist-types/ts3.4/WAFV2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/GetEventActorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetEventCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListEventActorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEventsByWebACLCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +40 -0
- package/dist-types/ts3.4/models/models_0.d.ts +167 -37
- package/dist-types/ts3.4/models/models_1.d.ts +53 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionValue, AnalyticsMode, AssociatedResourceType, BlockchainChain, BodyParsingFallbackBehavior, ComparisonOperator, ConnectedAccountChain, CountryCode, CryptoCurrency, Currency, CurrencyMode, DataProtectionAction, FailureReason, FallbackBehavior, FieldToProtectType, FilterBehavior, FilterRequirement, ForwardedIPPosition, GroupByType, InspectionLevel, IntervalType, IPAddressVersion, JsonMatchScope, LabelMatchScope, LogScope, LogType, LowReputationMode, MapMatchScope, OversizeHandling, PayloadType, Platform, PositionalConstraint, PreParseTextTransformationType, RankingSortBy, RankingStatisticType, RateBasedStatementAggregateKeyType, ResourceType, ResponseContentType, Scope, SensitivityLevel, SensitivityToAct, SettlementSortBy, SettlementStatus, SizeInspectionLimit, SortOrder, TextTransformationType, TimeSeriesStatisticType, UsageOfAction } from "./enums";
|
|
1
|
+
import type { ActionValue, AnalyticsMode, AssociatedResourceType, BlockchainChain, BodyParsingFallbackBehavior, ComparisonOperator, Confidence, ConnectedAccountChain, CountryCode, CryptoCurrency, Currency, CurrencyMode, DataProtectionAction, EventActorSortBy, EventCategory, EventFilterKey, EventIncludeField, EventSortBy, EventStatus, FailureReason, FallbackBehavior, FieldToProtectType, FilterBehavior, FilterRequirement, ForwardedIPPosition, GroupByType, InspectionLevel, IntervalType, IPAddressVersion, JsonMatchScope, LabelMatchScope, LogScope, LogType, LowReputationMode, MapMatchScope, OversizeHandling, PayloadType, Platform, PositionalConstraint, PreParseTextTransformationType, RankingSortBy, RankingStatisticType, RateBasedStatementAggregateKeyType, ResourceType, ResponseContentType, Scope, SensitivityLevel, SensitivityToAct, SettlementSortBy, SettlementStatus, SizeInspectionLimit, SortOrder, TextTransformationType, TimeSeriesStatisticType, UsageOfAction } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>A single action condition for a <a>Condition</a> in a logging filter.</p>
|
|
4
4
|
* @public
|
|
@@ -212,7 +212,11 @@ export interface Body {
|
|
|
212
212
|
* only forwards the contents that are within the limit to WAF for inspection. </p>
|
|
213
213
|
* <ul>
|
|
214
214
|
* <li>
|
|
215
|
-
* <p>For
|
|
215
|
+
* <p>For AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
216
|
+
* </li>
|
|
217
|
+
* <li>
|
|
218
|
+
* <p>For Application Load Balancer, the default limit is 8 KB (8,192 bytes), and
|
|
219
|
+
* you can change the limit in the web ACL <code>AssociationConfig</code>. </p>
|
|
216
220
|
* </li>
|
|
217
221
|
* <li>
|
|
218
222
|
* <p>For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and
|
|
@@ -626,7 +630,11 @@ export interface JsonBody {
|
|
|
626
630
|
* only forwards the contents that are within the limit to WAF for inspection. </p>
|
|
627
631
|
* <ul>
|
|
628
632
|
* <li>
|
|
629
|
-
* <p>For
|
|
633
|
+
* <p>For AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
634
|
+
* </li>
|
|
635
|
+
* <li>
|
|
636
|
+
* <p>For Application Load Balancer, the default limit is 8 KB (8,192 bytes), and
|
|
637
|
+
* you can change the limit in the web ACL <code>AssociationConfig</code>. </p>
|
|
630
638
|
* </li>
|
|
631
639
|
* <li>
|
|
632
640
|
* <p>For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and
|
|
@@ -859,7 +867,11 @@ export interface FieldToMatch {
|
|
|
859
867
|
* only forwards the contents that are within the limit to WAF for inspection. </p>
|
|
860
868
|
* <ul>
|
|
861
869
|
* <li>
|
|
862
|
-
* <p>For
|
|
870
|
+
* <p>For AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
871
|
+
* </li>
|
|
872
|
+
* <li>
|
|
873
|
+
* <p>For Application Load Balancer, the default limit is 8 KB (8,192 bytes), and
|
|
874
|
+
* you can change the limit in the web ACL <code>AssociationConfig</code>. </p>
|
|
863
875
|
* </li>
|
|
864
876
|
* <li>
|
|
865
877
|
* <p>For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and
|
|
@@ -889,7 +901,11 @@ export interface FieldToMatch {
|
|
|
889
901
|
* only forwards the contents that are within the limit to WAF for inspection. </p>
|
|
890
902
|
* <ul>
|
|
891
903
|
* <li>
|
|
892
|
-
* <p>For
|
|
904
|
+
* <p>For AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
905
|
+
* </li>
|
|
906
|
+
* <li>
|
|
907
|
+
* <p>For Application Load Balancer, the default limit is 8 KB (8,192 bytes), and
|
|
908
|
+
* you can change the limit in the web ACL <code>AssociationConfig</code>. </p>
|
|
893
909
|
* </li>
|
|
894
910
|
* <li>
|
|
895
911
|
* <p>For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and
|
|
@@ -1767,6 +1783,78 @@ export interface AWSManagedRulesACFPRuleSet {
|
|
|
1767
1783
|
*/
|
|
1768
1784
|
EnableRegexInPath?: boolean | undefined;
|
|
1769
1785
|
}
|
|
1786
|
+
/**
|
|
1787
|
+
* <p>Turns off the use of Amazon Bedrock Guardrails in the AI security managed rule group. The rule group continues to run its own inspections. </p>
|
|
1788
|
+
* <p>This is used in the <code>BedrockGuardrails</code> setting of <code>AWSManagedRulesAISecurityRuleSet</code>. </p>
|
|
1789
|
+
* <p>JSON specification: <code>"Disable": \{\}</code>
|
|
1790
|
+
* </p>
|
|
1791
|
+
* @public
|
|
1792
|
+
*/
|
|
1793
|
+
export interface DisableBedrockGuardrails {
|
|
1794
|
+
}
|
|
1795
|
+
/**
|
|
1796
|
+
* <p>Configures the AI security managed rule group to use Amazon Bedrock Guardrails to inspect web requests and the responses to them. </p>
|
|
1797
|
+
* <p>This is used in the <code>BedrockGuardrails</code> setting of <code>AWSManagedRulesAISecurityRuleSet</code>. </p>
|
|
1798
|
+
* @public
|
|
1799
|
+
*/
|
|
1800
|
+
export interface BedrockGuardrailsRequestAndResponse {
|
|
1801
|
+
/**
|
|
1802
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that WAF uses to call Amazon Bedrock Guardrails for the rule group. The role must be in the same Amazon Web Services account as the web ACL. </p>
|
|
1803
|
+
* <p>To specify the role, you must have permission to call <code>iam:PassRole</code> on it, to pass it to the WAF service principal <code>wafv2.amazonaws.com</code>. </p>
|
|
1804
|
+
* @public
|
|
1805
|
+
*/
|
|
1806
|
+
RoleArn: string | undefined;
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* <p>Configures the AI security managed rule group to use Amazon Bedrock Guardrails to inspect web requests. </p>
|
|
1810
|
+
* <p>This is used in the <code>BedrockGuardrails</code> setting of <code>AWSManagedRulesAISecurityRuleSet</code>. </p>
|
|
1811
|
+
* @public
|
|
1812
|
+
*/
|
|
1813
|
+
export interface BedrockGuardrailsRequestOnly {
|
|
1814
|
+
/**
|
|
1815
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that WAF uses to call Amazon Bedrock Guardrails for the rule group. The role must be in the same Amazon Web Services account as the web ACL. </p>
|
|
1816
|
+
* <p>To specify the role, you must have permission to call <code>iam:PassRole</code> on it, to pass it to the WAF service principal <code>wafv2.amazonaws.com</code>. </p>
|
|
1817
|
+
* @public
|
|
1818
|
+
*/
|
|
1819
|
+
RoleArn: string | undefined;
|
|
1820
|
+
}
|
|
1821
|
+
/**
|
|
1822
|
+
* <p>Specifies whether the AI security managed rule group, <code>AWSManagedRulesAISecurityRuleSet</code>, uses Amazon Bedrock Guardrails to inspect web requests, or web requests and responses. </p>
|
|
1823
|
+
* <p>Specify exactly one of the following settings: <code>Disable</code>, <code>ProtectRequestOnly</code>, or <code>ProtectRequestAndResponse</code>. </p>
|
|
1824
|
+
* @public
|
|
1825
|
+
*/
|
|
1826
|
+
export interface BedrockGuardrails {
|
|
1827
|
+
/**
|
|
1828
|
+
* <p>Turns off the use of Amazon Bedrock Guardrails. The rule group continues to run its own inspections. </p>
|
|
1829
|
+
* <p>JSON specification: <code>"Disable": \{\}</code>
|
|
1830
|
+
* </p>
|
|
1831
|
+
* @public
|
|
1832
|
+
*/
|
|
1833
|
+
Disable?: DisableBedrockGuardrails | undefined;
|
|
1834
|
+
/**
|
|
1835
|
+
* <p>Uses Amazon Bedrock Guardrails to inspect web requests. </p>
|
|
1836
|
+
* @public
|
|
1837
|
+
*/
|
|
1838
|
+
ProtectRequestOnly?: BedrockGuardrailsRequestOnly | undefined;
|
|
1839
|
+
/**
|
|
1840
|
+
* <p>Uses Amazon Bedrock Guardrails to inspect web requests and the responses to them. </p>
|
|
1841
|
+
* @public
|
|
1842
|
+
*/
|
|
1843
|
+
ProtectRequestAndResponse?: BedrockGuardrailsRequestAndResponse | undefined;
|
|
1844
|
+
}
|
|
1845
|
+
/**
|
|
1846
|
+
* <p>Configures the use of the AI security managed rule group, <code>AWSManagedRulesAISecurityRuleSet</code>. This configuration is used in <code>ManagedRuleGroupConfig</code>. </p>
|
|
1847
|
+
* <p>The rule group always runs its own inspections. The configuration that you provide here determines whether the rule group also uses Amazon Bedrock Guardrails to inspect web requests, or web requests and responses. </p>
|
|
1848
|
+
* <p>Use of this rule group is not supported in Firewall Manager. </p>
|
|
1849
|
+
* @public
|
|
1850
|
+
*/
|
|
1851
|
+
export interface AWSManagedRulesAISecurityRuleSet {
|
|
1852
|
+
/**
|
|
1853
|
+
* <p>Specifies whether and how the rule group uses Amazon Bedrock Guardrails. </p>
|
|
1854
|
+
* @public
|
|
1855
|
+
*/
|
|
1856
|
+
BedrockGuardrails: BedrockGuardrails | undefined;
|
|
1857
|
+
}
|
|
1770
1858
|
/**
|
|
1771
1859
|
* <p>A single regular expression. This is used in a <a>RegexPatternSet</a> and
|
|
1772
1860
|
* also in the configuration for the Amazon Web Services Managed Rules rule group <code>AWSManagedRulesAntiDDoSRuleSet</code>.</p>
|
|
@@ -2063,6 +2151,9 @@ export interface AWSManagedRulesBotControlRuleSet {
|
|
|
2063
2151
|
* <p>Use the <code>AWSManagedRulesACFPRuleSet</code> configuration object to configure the account creation fraud prevention managed rule group. The configuration includes the registration and sign-up pages of your application and the locations in the account creation request payload of data, such as the user email and phone number fields. </p>
|
|
2064
2152
|
* </li>
|
|
2065
2153
|
* <li>
|
|
2154
|
+
* <p>Use the <code>AWSManagedRulesAISecurityRuleSet</code> configuration object to configure the AI security managed rule group. The configuration specifies whether the rule group uses Amazon Bedrock Guardrails to inspect web requests, or web requests and responses, and the IAM role that WAF uses to call Amazon Bedrock Guardrails. </p>
|
|
2155
|
+
* </li>
|
|
2156
|
+
* <li>
|
|
2066
2157
|
* <p>Use the <code>AWSManagedRulesAntiDDoSRuleSet</code> configuration object to configure the anti-DDoS managed rule group. The configuration includes the sensitivity levels to use in the rules that typically block and challenge requests that might be participating in DDoS attacks and the specification to use to indicate whether a request can handle a silent browser challenge. </p>
|
|
2067
2158
|
* </li>
|
|
2068
2159
|
* <li>
|
|
@@ -2155,6 +2246,14 @@ export interface ManagedRuleGroupConfig {
|
|
|
2155
2246
|
* @public
|
|
2156
2247
|
*/
|
|
2157
2248
|
AWSManagedRulesAntiDDoSRuleSet?: AWSManagedRulesAntiDDoSRuleSet | undefined;
|
|
2249
|
+
/**
|
|
2250
|
+
* <p>Additional configuration for using the AI security managed rule group, <code>AWSManagedRulesAISecurityRuleSet</code>.
|
|
2251
|
+
* Use this to specify whether the rule group uses Amazon Bedrock Guardrails to inspect web requests, or web requests and responses. </p>
|
|
2252
|
+
* <p>For information about the Amazon Web Services Managed Rules rule groups, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-list">Amazon Web Services Managed Rules rule groups list</a>
|
|
2253
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
2254
|
+
* @public
|
|
2255
|
+
*/
|
|
2256
|
+
AWSManagedRulesAISecurityRuleSet?: AWSManagedRulesAISecurityRuleSet | undefined;
|
|
2158
2257
|
}
|
|
2159
2258
|
/**
|
|
2160
2259
|
* <p>A custom response to send to the client. You can define a custom response for rule
|
|
@@ -2866,6 +2965,137 @@ export interface APIKeySummary {
|
|
|
2866
2965
|
*/
|
|
2867
2966
|
Version?: number | undefined;
|
|
2868
2967
|
}
|
|
2968
|
+
/**
|
|
2969
|
+
* <p>An API endpoint pattern that an API security event involves.</p>
|
|
2970
|
+
* @public
|
|
2971
|
+
*/
|
|
2972
|
+
export interface ApiPattern {
|
|
2973
|
+
/**
|
|
2974
|
+
* <p>The HTTP method of the API pattern. For example, <code>GET</code> or <code>POST</code>.</p>
|
|
2975
|
+
* @public
|
|
2976
|
+
*/
|
|
2977
|
+
Method?: string | undefined;
|
|
2978
|
+
/**
|
|
2979
|
+
* <p>The normalized URI path of the API pattern. Templated path segments are shown in braces. For example, <code>/api/v1/accounts/\{id\}</code>.</p>
|
|
2980
|
+
* @public
|
|
2981
|
+
*/
|
|
2982
|
+
PathPattern?: string | undefined;
|
|
2983
|
+
/**
|
|
2984
|
+
* <p>The port of the API pattern. For example, <code>443</code>.</p>
|
|
2985
|
+
* @public
|
|
2986
|
+
*/
|
|
2987
|
+
Port?: number | undefined;
|
|
2988
|
+
/**
|
|
2989
|
+
* <p>The domains that the API pattern was observed on. For example, <code>api.example.com</code>.</p>
|
|
2990
|
+
* @public
|
|
2991
|
+
*/
|
|
2992
|
+
Domains?: string[] | undefined;
|
|
2993
|
+
}
|
|
2994
|
+
/**
|
|
2995
|
+
* <p>An API pattern to filter events by, used in <a>ListEvents</a> and <a>ListEventsByWebACL</a>.</p>
|
|
2996
|
+
* @public
|
|
2997
|
+
*/
|
|
2998
|
+
export interface ApiPatternFilter {
|
|
2999
|
+
/**
|
|
3000
|
+
* <p>The HTTP method that you want the filter to match. For example, <code>GET</code> or <code>POST</code>.</p>
|
|
3001
|
+
* @public
|
|
3002
|
+
*/
|
|
3003
|
+
Method?: string | undefined;
|
|
3004
|
+
/**
|
|
3005
|
+
* <p>The normalized URI path that you want the filter to match. For example, <code>/api/v1/accounts/\{id\}</code>.</p>
|
|
3006
|
+
* @public
|
|
3007
|
+
*/
|
|
3008
|
+
PathPattern?: string | undefined;
|
|
3009
|
+
/**
|
|
3010
|
+
* <p>The port that you want the filter to match. For example, <code>443</code>.</p>
|
|
3011
|
+
* @public
|
|
3012
|
+
*/
|
|
3013
|
+
Port?: number | undefined;
|
|
3014
|
+
/**
|
|
3015
|
+
* <p>The domains that you want the filter to match. You can specify up to 10 domains.</p>
|
|
3016
|
+
* @public
|
|
3017
|
+
*/
|
|
3018
|
+
Domains?: string[] | undefined;
|
|
3019
|
+
}
|
|
3020
|
+
/**
|
|
3021
|
+
* <p>A reference to an event actor that is associated with an API security event.</p>
|
|
3022
|
+
* @public
|
|
3023
|
+
*/
|
|
3024
|
+
export interface EventActorReference {
|
|
3025
|
+
/**
|
|
3026
|
+
* <p>The unique identifier of the event actor. You provide this to <a>GetEventActor</a> to retrieve the details of the event actor.</p>
|
|
3027
|
+
* @public
|
|
3028
|
+
*/
|
|
3029
|
+
EventActorId?: string | undefined;
|
|
3030
|
+
/**
|
|
3031
|
+
* <p>The observed identifier of the event actor. For example, a client IP address or an authentication fingerprint.</p>
|
|
3032
|
+
* @public
|
|
3033
|
+
*/
|
|
3034
|
+
EventActorValue?: string | undefined;
|
|
3035
|
+
}
|
|
3036
|
+
/**
|
|
3037
|
+
* <p>A change to the label, confidence, or API patterns of an API security event.</p>
|
|
3038
|
+
* @public
|
|
3039
|
+
*/
|
|
3040
|
+
export interface EventTimelineEntry {
|
|
3041
|
+
/**
|
|
3042
|
+
* <p>The time of the change.</p>
|
|
3043
|
+
* @public
|
|
3044
|
+
*/
|
|
3045
|
+
ChangeTime?: Date | undefined;
|
|
3046
|
+
/**
|
|
3047
|
+
* <p>The fully qualified name of the label that was assigned to the event at the time of the change.</p>
|
|
3048
|
+
* @public
|
|
3049
|
+
*/
|
|
3050
|
+
Label?: string | undefined;
|
|
3051
|
+
/**
|
|
3052
|
+
* <p>The confidence level of the event detection at the time of the change: <code>LOW</code>, <code>MEDIUM</code>, or <code>HIGH</code>.</p>
|
|
3053
|
+
* @public
|
|
3054
|
+
*/
|
|
3055
|
+
Confidence?: Confidence | undefined;
|
|
3056
|
+
/**
|
|
3057
|
+
* <p>The API patterns that the event involved at the time of the change.</p>
|
|
3058
|
+
* @public
|
|
3059
|
+
*/
|
|
3060
|
+
ApiPatterns?: ApiPattern[] | undefined;
|
|
3061
|
+
}
|
|
3062
|
+
/**
|
|
3063
|
+
* <p>The API security details of an event.</p>
|
|
3064
|
+
* @public
|
|
3065
|
+
*/
|
|
3066
|
+
export interface ApiSecurityEventDetail {
|
|
3067
|
+
/**
|
|
3068
|
+
* <p>The fully qualified name of the label that WAF assigned to the event. For example, <code>awswaf:managed:aws:api-security:credential-stuffing-high</code>.</p>
|
|
3069
|
+
* @public
|
|
3070
|
+
*/
|
|
3071
|
+
Label?: string | undefined;
|
|
3072
|
+
/**
|
|
3073
|
+
* <p>The API security threat category of the event. For example, <code>API2:2023</code>.</p>
|
|
3074
|
+
* @public
|
|
3075
|
+
*/
|
|
3076
|
+
Category?: string | undefined;
|
|
3077
|
+
/**
|
|
3078
|
+
* <p>The confidence level of the event detection: <code>LOW</code>, <code>MEDIUM</code>, or <code>HIGH</code>.</p>
|
|
3079
|
+
* @public
|
|
3080
|
+
*/
|
|
3081
|
+
Confidence?: Confidence | undefined;
|
|
3082
|
+
/**
|
|
3083
|
+
* <p>The API patterns that the event involves. The list contains up to 20 API patterns.</p>
|
|
3084
|
+
* @public
|
|
3085
|
+
*/
|
|
3086
|
+
ApiPatterns?: ApiPattern[] | undefined;
|
|
3087
|
+
/**
|
|
3088
|
+
* <p>The event actors that are associated with the event. The list contains up to 20 event actors. To retrieve the details of an event actor, provide its <code>EventActorId</code> to <a>GetEventActor</a>.</p>
|
|
3089
|
+
* @public
|
|
3090
|
+
*/
|
|
3091
|
+
EventActors?: EventActorReference[] | undefined;
|
|
3092
|
+
/**
|
|
3093
|
+
* <p>The changes to the event's label, confidence, and API patterns over time, ordered from oldest to newest. The list contains up to 32 entries.</p>
|
|
3094
|
+
* <p>For <a>ListEvents</a> and <a>ListEventsByWebACL</a>, this is returned only if you specify <code>TIMELINE</code> in the request <code>Include</code> setting.</p>
|
|
3095
|
+
* @public
|
|
3096
|
+
*/
|
|
3097
|
+
Timeline?: EventTimelineEntry[] | undefined;
|
|
3098
|
+
}
|
|
2869
3099
|
/**
|
|
2870
3100
|
* <p>Application details defined during the web ACL creation process. Application attributes help WAF give recommendations for protection packs.</p>
|
|
2871
3101
|
* @public
|
|
@@ -2983,24 +3213,25 @@ export interface DisallowedFeature {
|
|
|
2983
3213
|
export interface ChallengeJavascriptSdkInjectionConfig {
|
|
2984
3214
|
}
|
|
2985
3215
|
/**
|
|
2986
|
-
* <p>Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types. </p>
|
|
3216
|
+
* <p>Customizes the maximum size of the request body that your protected Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to WAF for inspection. The default size is 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types. You can change the setting for any of the available resource types. </p>
|
|
2987
3217
|
* <note>
|
|
2988
3218
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
2989
3219
|
* </note>
|
|
2990
3220
|
* <p>Example JSON: <code> \{
|
|
2991
3221
|
* "API_GATEWAY": "KB_48",
|
|
2992
|
-
* "APP_RUNNER_SERVICE": "KB_32"
|
|
3222
|
+
* "APP_RUNNER_SERVICE": "KB_32",
|
|
3223
|
+
* "APPLICATION_LOAD_BALANCER": "KB_16"
|
|
2993
3224
|
* \}</code>
|
|
2994
3225
|
* </p>
|
|
2995
|
-
* <p>For
|
|
3226
|
+
* <p>For AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
2996
3227
|
* <p>This is used in the <code>AssociationConfig</code> of the web ACL. </p>
|
|
2997
3228
|
* @public
|
|
2998
3229
|
*/
|
|
2999
3230
|
export interface RequestBodyAssociatedResourceTypeConfig {
|
|
3000
3231
|
/**
|
|
3001
|
-
* <p>Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. </p>
|
|
3002
|
-
* <p>
|
|
3003
|
-
* </p>
|
|
3232
|
+
* <p>Specifies the maximum size of the web request body component that an associated Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. </p>
|
|
3233
|
+
* <p>You can specify <code>KB_8</code> only for Application Load Balancer, with the <code>APPLICATION_LOAD_BALANCER</code> resource type. </p>
|
|
3234
|
+
* <p>Default: <code>8 KB (8,192 bytes)</code> for Application Load Balancer and <code>16 KB (16,384 bytes)</code> for the other resource types</p>
|
|
3004
3235
|
* @public
|
|
3005
3236
|
*/
|
|
3006
3237
|
DefaultSizeInspectionLimit: SizeInspectionLimit | undefined;
|
|
@@ -3008,26 +3239,27 @@ export interface RequestBodyAssociatedResourceTypeConfig {
|
|
|
3008
3239
|
/**
|
|
3009
3240
|
* <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
|
|
3010
3241
|
* <p>Use this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can
|
|
3011
|
-
* customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes). </p>
|
|
3242
|
+
* customize this setting for Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types. </p>
|
|
3012
3243
|
* <note>
|
|
3013
3244
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
3014
3245
|
* </note>
|
|
3015
|
-
* <p>For
|
|
3246
|
+
* <p>For AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
3016
3247
|
* <p>You can also use this to have your CloudFront distributions insert the WAF challenge JavaScript SDK into the HTML responses that they return. For more information, see the <code>ChallengeJavascriptSdkInjection</code> setting. </p>
|
|
3017
3248
|
* @public
|
|
3018
3249
|
*/
|
|
3019
3250
|
export interface AssociationConfig {
|
|
3020
3251
|
/**
|
|
3021
|
-
* <p>Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types. </p>
|
|
3252
|
+
* <p>Customizes the maximum size of the request body that your protected Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to WAF for inspection. The default size is 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types. You can change the setting for any of the available resource types. </p>
|
|
3022
3253
|
* <note>
|
|
3023
3254
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
3024
3255
|
* </note>
|
|
3025
3256
|
* <p>Example JSON: <code> \{
|
|
3026
3257
|
* "API_GATEWAY": "KB_48",
|
|
3027
|
-
* "APP_RUNNER_SERVICE": "KB_32"
|
|
3258
|
+
* "APP_RUNNER_SERVICE": "KB_32",
|
|
3259
|
+
* "APPLICATION_LOAD_BALANCER": "KB_16"
|
|
3028
3260
|
* \}</code>
|
|
3029
3261
|
* </p>
|
|
3030
|
-
* <p>For
|
|
3262
|
+
* <p>For AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
3031
3263
|
* @public
|
|
3032
3264
|
*/
|
|
3033
3265
|
RequestBody?: Partial<Record<AssociatedResourceType, RequestBodyAssociatedResourceTypeConfig>> | undefined;
|
|
@@ -4461,12 +4693,7 @@ export interface GetDecryptedAPIKeyResponse {
|
|
|
4461
4693
|
/**
|
|
4462
4694
|
* @public
|
|
4463
4695
|
*/
|
|
4464
|
-
export interface
|
|
4465
|
-
/**
|
|
4466
|
-
* <p>The name of the IP set. You cannot change the name of an <code>IPSet</code> after you create it.</p>
|
|
4467
|
-
* @public
|
|
4468
|
-
*/
|
|
4469
|
-
Name: string | undefined;
|
|
4696
|
+
export interface GetEventRequest {
|
|
4470
4697
|
/**
|
|
4471
4698
|
* <p>Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use <code>CLOUDFRONT</code>.</p>
|
|
4472
4699
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
@@ -4482,120 +4709,388 @@ export interface GetIPSetRequest {
|
|
|
4482
4709
|
*/
|
|
4483
4710
|
Scope: Scope | undefined;
|
|
4484
4711
|
/**
|
|
4485
|
-
* <p>
|
|
4712
|
+
* <p>The unique identifier of the event. WAF returns the event ID in the responses to <a>ListEvents</a> and <a>ListEventsByWebACL</a>.</p>
|
|
4486
4713
|
* @public
|
|
4487
4714
|
*/
|
|
4488
|
-
|
|
4715
|
+
EventId: string | undefined;
|
|
4716
|
+
/**
|
|
4717
|
+
* <p>The Amazon Resource Name (ARN) of the web ACL that the event is associated with.</p>
|
|
4718
|
+
* @public
|
|
4719
|
+
*/
|
|
4720
|
+
WebAclArn: string | undefined;
|
|
4489
4721
|
}
|
|
4490
4722
|
/**
|
|
4491
|
-
* <p>
|
|
4492
|
-
* Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges
|
|
4493
|
-
* except for /0. For information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
4494
|
-
* Inter-Domain Routing</a>. </p>
|
|
4495
|
-
* <p>WAF assigns an ARN to each <code>IPSet</code> that you create. To use an IP set in a
|
|
4496
|
-
* rule, you provide the ARN to the <a>Rule</a> statement <a>IPSetReferenceStatement</a>. </p>
|
|
4723
|
+
* <p>Information about an API security event, returned by <a>ListEvents</a>, <a>ListEventsByWebACL</a>, and <a>GetEvent</a>.</p>
|
|
4497
4724
|
* @public
|
|
4498
4725
|
*/
|
|
4499
|
-
export interface
|
|
4726
|
+
export interface EventDetailSummary {
|
|
4500
4727
|
/**
|
|
4501
|
-
* <p>The
|
|
4728
|
+
* <p>The unique identifier of the event. You provide this to <a>GetEvent</a> to retrieve the details of the event.</p>
|
|
4502
4729
|
* @public
|
|
4503
4730
|
*/
|
|
4504
|
-
|
|
4731
|
+
EventId: string | undefined;
|
|
4505
4732
|
/**
|
|
4506
|
-
* <p>
|
|
4733
|
+
* <p>The current status of the event.</p>
|
|
4507
4734
|
* @public
|
|
4508
4735
|
*/
|
|
4509
|
-
|
|
4736
|
+
EventStatus?: EventStatus | undefined;
|
|
4510
4737
|
/**
|
|
4511
|
-
* <p>The
|
|
4738
|
+
* <p>The category of the event. The only supported value is <code>API_SECURITY</code>.</p>
|
|
4512
4739
|
* @public
|
|
4513
4740
|
*/
|
|
4514
|
-
|
|
4741
|
+
EventCategory?: EventCategory | undefined;
|
|
4515
4742
|
/**
|
|
4516
|
-
* <p>
|
|
4743
|
+
* <p>The time when the event started.</p>
|
|
4517
4744
|
* @public
|
|
4518
4745
|
*/
|
|
4519
|
-
|
|
4746
|
+
StartTime?: Date | undefined;
|
|
4520
4747
|
/**
|
|
4521
|
-
* <p>The
|
|
4748
|
+
* <p>The time when the event was last updated.</p>
|
|
4522
4749
|
* @public
|
|
4523
4750
|
*/
|
|
4524
|
-
|
|
4751
|
+
LastUpdatedTime?: Date | undefined;
|
|
4525
4752
|
/**
|
|
4526
|
-
* <p>
|
|
4527
|
-
*
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
*
|
|
4532
|
-
*
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
*
|
|
4537
|
-
*
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
*
|
|
4542
|
-
*
|
|
4543
|
-
|
|
4544
|
-
|
|
4753
|
+
* <p>The time when the event ended. This is not populated while the event is ongoing.</p>
|
|
4754
|
+
* @public
|
|
4755
|
+
*/
|
|
4756
|
+
EndTime?: Date | undefined;
|
|
4757
|
+
/**
|
|
4758
|
+
* <p>The Amazon Resource Name (ARN) of the protected resource that the event is associated with.</p>
|
|
4759
|
+
* @public
|
|
4760
|
+
*/
|
|
4761
|
+
ResourceArn?: string | undefined;
|
|
4762
|
+
/**
|
|
4763
|
+
* <p>The Amazon Resource Name (ARN) of the web ACL that the event is associated with.</p>
|
|
4764
|
+
* @public
|
|
4765
|
+
*/
|
|
4766
|
+
WebAclArn?: string | undefined;
|
|
4767
|
+
/**
|
|
4768
|
+
* <p>The API security details of the event, such as the label, category, confidence, API patterns, and event actors.</p>
|
|
4769
|
+
* @public
|
|
4770
|
+
*/
|
|
4771
|
+
ApiSecurityEventDetail?: ApiSecurityEventDetail | undefined;
|
|
4772
|
+
}
|
|
4773
|
+
/**
|
|
4774
|
+
* @public
|
|
4775
|
+
*/
|
|
4776
|
+
export interface GetEventResponse {
|
|
4777
|
+
/**
|
|
4778
|
+
* <p>The details of the event.</p>
|
|
4779
|
+
* @public
|
|
4780
|
+
*/
|
|
4781
|
+
Event?: EventDetailSummary | undefined;
|
|
4782
|
+
}
|
|
4783
|
+
/**
|
|
4784
|
+
* @public
|
|
4785
|
+
*/
|
|
4786
|
+
export interface GetEventActorRequest {
|
|
4787
|
+
/**
|
|
4788
|
+
* <p>Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use <code>CLOUDFRONT</code>.</p>
|
|
4789
|
+
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
4545
4790
|
* <ul>
|
|
4546
4791
|
* <li>
|
|
4547
|
-
* <p>
|
|
4548
|
-
* </p>
|
|
4549
|
-
* </li>
|
|
4550
|
-
* <li>
|
|
4551
|
-
* <p>Array with one address: <code>"Addresses": ["192.0.2.44/32"]</code>
|
|
4552
|
-
* </p>
|
|
4553
|
-
* </li>
|
|
4554
|
-
* <li>
|
|
4555
|
-
* <p>Array with three addresses: <code>"Addresses": ["192.0.2.44/32", "192.0.2.0/24", "192.0.0.0/16"]</code>
|
|
4556
|
-
* </p>
|
|
4792
|
+
* <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>
|
|
4557
4793
|
* </li>
|
|
4558
4794
|
* <li>
|
|
4559
|
-
* <p>
|
|
4795
|
+
* <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>
|
|
4560
4796
|
* </li>
|
|
4561
4797
|
* </ul>
|
|
4562
4798
|
* @public
|
|
4563
4799
|
*/
|
|
4564
|
-
|
|
4800
|
+
Scope: Scope | undefined;
|
|
4801
|
+
/**
|
|
4802
|
+
* <p>The unique identifier of the event actor. WAF returns the event actor ID in the event details of <a>ListEvents</a>, <a>ListEventsByWebACL</a>, and <a>GetEvent</a>, and in the response to <a>ListEventActors</a>.</p>
|
|
4803
|
+
* @public
|
|
4804
|
+
*/
|
|
4805
|
+
EventActorId: string | undefined;
|
|
4565
4806
|
}
|
|
4566
4807
|
/**
|
|
4808
|
+
* <p>A change to the network attributes of an event actor.</p>
|
|
4567
4809
|
* @public
|
|
4568
4810
|
*/
|
|
4569
|
-
export interface
|
|
4811
|
+
export interface EventActorChange {
|
|
4570
4812
|
/**
|
|
4571
|
-
* <p
|
|
4813
|
+
* <p>The time of the change.</p>
|
|
4572
4814
|
* @public
|
|
4573
4815
|
*/
|
|
4574
|
-
|
|
4816
|
+
ChangeTime?: Date | undefined;
|
|
4575
4817
|
/**
|
|
4576
|
-
* <p>
|
|
4818
|
+
* <p>The client IP address of the event actor after the change.</p>
|
|
4577
4819
|
* @public
|
|
4578
4820
|
*/
|
|
4579
|
-
|
|
4821
|
+
ClientIp?: string | undefined;
|
|
4822
|
+
/**
|
|
4823
|
+
* <p>The TLS fingerprint of the event actor after the change, such as a JA3 or JA4 fingerprint.</p>
|
|
4824
|
+
* @public
|
|
4825
|
+
*/
|
|
4826
|
+
TlsFingerprint?: string | undefined;
|
|
4827
|
+
/**
|
|
4828
|
+
* <p>The autonomous system number (ASN) that is associated with the client IP address after the change.</p>
|
|
4829
|
+
* @public
|
|
4830
|
+
*/
|
|
4831
|
+
Asn?: string | undefined;
|
|
4832
|
+
/**
|
|
4833
|
+
* <p>The name of the organization that owns the ASN after the change.</p>
|
|
4834
|
+
* @public
|
|
4835
|
+
*/
|
|
4836
|
+
AsnOrganization?: string | undefined;
|
|
4837
|
+
/**
|
|
4838
|
+
* <p>The country of the client IP address after the change.</p>
|
|
4839
|
+
* @public
|
|
4840
|
+
*/
|
|
4841
|
+
Country?: string | undefined;
|
|
4580
4842
|
}
|
|
4581
4843
|
/**
|
|
4844
|
+
* <p>An API security event that an event actor is associated with.</p>
|
|
4582
4845
|
* @public
|
|
4583
4846
|
*/
|
|
4584
|
-
export interface
|
|
4847
|
+
export interface RelatedEvent {
|
|
4585
4848
|
/**
|
|
4586
|
-
* <p>The
|
|
4849
|
+
* <p>The unique identifier of the event. You provide this to <a>GetEvent</a> to retrieve the details of the event.</p>
|
|
4587
4850
|
* @public
|
|
4588
4851
|
*/
|
|
4589
|
-
|
|
4852
|
+
EventId?: string | undefined;
|
|
4590
4853
|
/**
|
|
4591
|
-
* <p>
|
|
4592
|
-
* <p>Default: <code>WAF_LOGS</code>
|
|
4593
|
-
* </p>
|
|
4854
|
+
* <p>The time when the event started.</p>
|
|
4594
4855
|
* @public
|
|
4595
4856
|
*/
|
|
4596
|
-
|
|
4857
|
+
StartTime?: Date | undefined;
|
|
4597
4858
|
/**
|
|
4598
|
-
* <p>The
|
|
4859
|
+
* <p>The fully qualified name of the label that WAF assigned to the event.</p>
|
|
4860
|
+
* @public
|
|
4861
|
+
*/
|
|
4862
|
+
Label?: string | undefined;
|
|
4863
|
+
/**
|
|
4864
|
+
* <p>The API security threat category of the event. For example, <code>API2:2023</code>.</p>
|
|
4865
|
+
* @public
|
|
4866
|
+
*/
|
|
4867
|
+
Category?: string | undefined;
|
|
4868
|
+
/**
|
|
4869
|
+
* <p>The confidence level of the event detection: <code>LOW</code>, <code>MEDIUM</code>, or <code>HIGH</code>.</p>
|
|
4870
|
+
* @public
|
|
4871
|
+
*/
|
|
4872
|
+
Confidence?: Confidence | undefined;
|
|
4873
|
+
/**
|
|
4874
|
+
* <p>The API patterns that the event involves.</p>
|
|
4875
|
+
* @public
|
|
4876
|
+
*/
|
|
4877
|
+
ApiPatterns?: ApiPattern[] | undefined;
|
|
4878
|
+
}
|
|
4879
|
+
/**
|
|
4880
|
+
* <p>The latest observed attributes of an event actor.</p>
|
|
4881
|
+
* @public
|
|
4882
|
+
*/
|
|
4883
|
+
export interface EventActorDetailSummary {
|
|
4884
|
+
/**
|
|
4885
|
+
* <p>The unique identifier of the event actor.</p>
|
|
4886
|
+
* @public
|
|
4887
|
+
*/
|
|
4888
|
+
EventActorId: string | undefined;
|
|
4889
|
+
/**
|
|
4890
|
+
* <p>The client IP address of the event actor.</p>
|
|
4891
|
+
* @public
|
|
4892
|
+
*/
|
|
4893
|
+
ClientIp?: string | undefined;
|
|
4894
|
+
/**
|
|
4895
|
+
* <p>The TLS fingerprint of the event actor, such as a JA3 or JA4 fingerprint.</p>
|
|
4896
|
+
* @public
|
|
4897
|
+
*/
|
|
4898
|
+
TlsFingerprint?: string | undefined;
|
|
4899
|
+
/**
|
|
4900
|
+
* <p>The autonomous system number (ASN) that is associated with the client IP address of the event actor.</p>
|
|
4901
|
+
* @public
|
|
4902
|
+
*/
|
|
4903
|
+
Asn?: string | undefined;
|
|
4904
|
+
/**
|
|
4905
|
+
* <p>The name of the organization that owns the ASN. For example, <code>AMAZON-02</code>.</p>
|
|
4906
|
+
* @public
|
|
4907
|
+
*/
|
|
4908
|
+
AsnOrganization?: string | undefined;
|
|
4909
|
+
/**
|
|
4910
|
+
* <p>The country of the client IP address of the event actor.</p>
|
|
4911
|
+
* @public
|
|
4912
|
+
*/
|
|
4913
|
+
Country?: string | undefined;
|
|
4914
|
+
/**
|
|
4915
|
+
* <p>A hash of the authentication credentials that the client of the event actor provides in the request. These can include a JSON Web Token (JWT), a JSON Web Encryption (JWE) token, an Amazon Web Services Signature Version 4 (SigV4) signature, or basic authentication credentials. You can use the fingerprint to match the same client across events and in your WAF logs.</p>
|
|
4916
|
+
* @public
|
|
4917
|
+
*/
|
|
4918
|
+
AuthFingerprint?: string | undefined;
|
|
4919
|
+
/**
|
|
4920
|
+
* <p>The time when WAF first observed the event actor.</p>
|
|
4921
|
+
* @public
|
|
4922
|
+
*/
|
|
4923
|
+
CreatedAt?: Date | undefined;
|
|
4924
|
+
}
|
|
4925
|
+
/**
|
|
4926
|
+
* <p>The details of an event actor, returned by <a>GetEventActor</a>.</p>
|
|
4927
|
+
* @public
|
|
4928
|
+
*/
|
|
4929
|
+
export interface EventActorDetail {
|
|
4930
|
+
/**
|
|
4931
|
+
* <p>The latest observed attributes of the event actor.</p>
|
|
4932
|
+
* @public
|
|
4933
|
+
*/
|
|
4934
|
+
Summary: EventActorDetailSummary | undefined;
|
|
4935
|
+
/**
|
|
4936
|
+
* <p>The API security events that the event actor is associated with. The list contains up to 20 events.</p>
|
|
4937
|
+
* @public
|
|
4938
|
+
*/
|
|
4939
|
+
Events?: RelatedEvent[] | undefined;
|
|
4940
|
+
/**
|
|
4941
|
+
* <p>The history of changes to the network attributes of the event actor, ordered from oldest to newest. The list contains up to 20 entries.</p>
|
|
4942
|
+
* @public
|
|
4943
|
+
*/
|
|
4944
|
+
Changes?: EventActorChange[] | undefined;
|
|
4945
|
+
}
|
|
4946
|
+
/**
|
|
4947
|
+
* @public
|
|
4948
|
+
*/
|
|
4949
|
+
export interface GetEventActorResponse {
|
|
4950
|
+
/**
|
|
4951
|
+
* <p>The details of the event actor.</p>
|
|
4952
|
+
* @public
|
|
4953
|
+
*/
|
|
4954
|
+
EventActor?: EventActorDetail | undefined;
|
|
4955
|
+
}
|
|
4956
|
+
/**
|
|
4957
|
+
* @public
|
|
4958
|
+
*/
|
|
4959
|
+
export interface GetIPSetRequest {
|
|
4960
|
+
/**
|
|
4961
|
+
* <p>The name of the IP set. You cannot change the name of an <code>IPSet</code> after you create it.</p>
|
|
4962
|
+
* @public
|
|
4963
|
+
*/
|
|
4964
|
+
Name: string | undefined;
|
|
4965
|
+
/**
|
|
4966
|
+
* <p>Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use <code>CLOUDFRONT</code>.</p>
|
|
4967
|
+
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
4968
|
+
* <ul>
|
|
4969
|
+
* <li>
|
|
4970
|
+
* <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>
|
|
4971
|
+
* </li>
|
|
4972
|
+
* <li>
|
|
4973
|
+
* <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>
|
|
4974
|
+
* </li>
|
|
4975
|
+
* </ul>
|
|
4976
|
+
* @public
|
|
4977
|
+
*/
|
|
4978
|
+
Scope: Scope | undefined;
|
|
4979
|
+
/**
|
|
4980
|
+
* <p>A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
|
|
4981
|
+
* @public
|
|
4982
|
+
*/
|
|
4983
|
+
Id: string | undefined;
|
|
4984
|
+
}
|
|
4985
|
+
/**
|
|
4986
|
+
* <p>Contains zero or more IP addresses or blocks of IP addresses specified in Classless
|
|
4987
|
+
* Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges
|
|
4988
|
+
* except for /0. For information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
4989
|
+
* Inter-Domain Routing</a>. </p>
|
|
4990
|
+
* <p>WAF assigns an ARN to each <code>IPSet</code> that you create. To use an IP set in a
|
|
4991
|
+
* rule, you provide the ARN to the <a>Rule</a> statement <a>IPSetReferenceStatement</a>. </p>
|
|
4992
|
+
* @public
|
|
4993
|
+
*/
|
|
4994
|
+
export interface IPSet {
|
|
4995
|
+
/**
|
|
4996
|
+
* <p>The name of the IP set. You cannot change the name of an <code>IPSet</code> after you create it.</p>
|
|
4997
|
+
* @public
|
|
4998
|
+
*/
|
|
4999
|
+
Name: string | undefined;
|
|
5000
|
+
/**
|
|
5001
|
+
* <p>A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.</p>
|
|
5002
|
+
* @public
|
|
5003
|
+
*/
|
|
5004
|
+
Id: string | undefined;
|
|
5005
|
+
/**
|
|
5006
|
+
* <p>The Amazon Resource Name (ARN) of the entity.</p>
|
|
5007
|
+
* @public
|
|
5008
|
+
*/
|
|
5009
|
+
ARN: string | undefined;
|
|
5010
|
+
/**
|
|
5011
|
+
* <p>A description of the IP set that helps with identification. </p>
|
|
5012
|
+
* @public
|
|
5013
|
+
*/
|
|
5014
|
+
Description?: string | undefined;
|
|
5015
|
+
/**
|
|
5016
|
+
* <p>The version of the IP addresses, either <code>IPV4</code> or <code>IPV6</code>. </p>
|
|
5017
|
+
* @public
|
|
5018
|
+
*/
|
|
5019
|
+
IPAddressVersion: IPAddressVersion | undefined;
|
|
5020
|
+
/**
|
|
5021
|
+
* <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses that you want WAF to inspect for in incoming requests. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for <code>/0</code>. </p>
|
|
5022
|
+
* <p>Example address strings: </p>
|
|
5023
|
+
* <ul>
|
|
5024
|
+
* <li>
|
|
5025
|
+
* <p>For requests that originated from the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p>
|
|
5026
|
+
* </li>
|
|
5027
|
+
* <li>
|
|
5028
|
+
* <p>For requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify
|
|
5029
|
+
* <code>192.0.2.0/24</code>.</p>
|
|
5030
|
+
* </li>
|
|
5031
|
+
* <li>
|
|
5032
|
+
* <p>For requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify <code>1111:0000:0000:0000:0000:0000:0000:0111/128</code>.</p>
|
|
5033
|
+
* </li>
|
|
5034
|
+
* <li>
|
|
5035
|
+
* <p>For requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify <code>1111:0000:0000:0000:0000:0000:0000:0000/64</code>.</p>
|
|
5036
|
+
* </li>
|
|
5037
|
+
* </ul>
|
|
5038
|
+
* <p>For more information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless Inter-Domain Routing</a>.</p>
|
|
5039
|
+
* <p>Example JSON <code>Addresses</code> specifications: </p>
|
|
5040
|
+
* <ul>
|
|
5041
|
+
* <li>
|
|
5042
|
+
* <p>Empty array: <code>"Addresses": []</code>
|
|
5043
|
+
* </p>
|
|
5044
|
+
* </li>
|
|
5045
|
+
* <li>
|
|
5046
|
+
* <p>Array with one address: <code>"Addresses": ["192.0.2.44/32"]</code>
|
|
5047
|
+
* </p>
|
|
5048
|
+
* </li>
|
|
5049
|
+
* <li>
|
|
5050
|
+
* <p>Array with three addresses: <code>"Addresses": ["192.0.2.44/32", "192.0.2.0/24", "192.0.0.0/16"]</code>
|
|
5051
|
+
* </p>
|
|
5052
|
+
* </li>
|
|
5053
|
+
* <li>
|
|
5054
|
+
* <p>INVALID specification: <code>"Addresses": [""]</code> INVALID </p>
|
|
5055
|
+
* </li>
|
|
5056
|
+
* </ul>
|
|
5057
|
+
* @public
|
|
5058
|
+
*/
|
|
5059
|
+
Addresses: string[] | undefined;
|
|
5060
|
+
}
|
|
5061
|
+
/**
|
|
5062
|
+
* @public
|
|
5063
|
+
*/
|
|
5064
|
+
export interface GetIPSetResponse {
|
|
5065
|
+
/**
|
|
5066
|
+
* <p></p>
|
|
5067
|
+
* @public
|
|
5068
|
+
*/
|
|
5069
|
+
IPSet?: IPSet | undefined;
|
|
5070
|
+
/**
|
|
5071
|
+
* <p>A token used for optimistic locking. WAF returns a token to your <code>get</code> and <code>list</code> requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like <code>update</code> and <code>delete</code>. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a <code>WAFOptimisticLockException</code>. If this happens, perform another <code>get</code>, and use the new token returned by that operation. </p>
|
|
5072
|
+
* @public
|
|
5073
|
+
*/
|
|
5074
|
+
LockToken?: string | undefined;
|
|
5075
|
+
}
|
|
5076
|
+
/**
|
|
5077
|
+
* @public
|
|
5078
|
+
*/
|
|
5079
|
+
export interface GetLoggingConfigurationRequest {
|
|
5080
|
+
/**
|
|
5081
|
+
* <p>The Amazon Resource Name (ARN) of the web ACL for which you want to get the <a>LoggingConfiguration</a>.</p>
|
|
5082
|
+
* @public
|
|
5083
|
+
*/
|
|
5084
|
+
ResourceArn: string | undefined;
|
|
5085
|
+
/**
|
|
5086
|
+
* <p>Used to distinguish between various logging options. Currently, there is one option.</p>
|
|
5087
|
+
* <p>Default: <code>WAF_LOGS</code>
|
|
5088
|
+
* </p>
|
|
5089
|
+
* @public
|
|
5090
|
+
*/
|
|
5091
|
+
LogType?: LogType | undefined;
|
|
5092
|
+
/**
|
|
5093
|
+
* <p>The owner of the logging configuration, which must be set to <code>CUSTOMER</code> for the configurations that you manage. </p>
|
|
4599
5094
|
* <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see
|
|
4600
5095
|
* <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html">Collecting data from Amazon Web Services services</a>
|
|
4601
5096
|
* in the <i>Amazon Security Lake user guide</i>. </p>
|
|
@@ -6373,7 +6868,318 @@ export interface ListAvailableManagedRuleGroupVersionsRequest {
|
|
|
6373
6868
|
* <p>The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.</p>
|
|
6374
6869
|
* @public
|
|
6375
6870
|
*/
|
|
6376
|
-
Name: string | undefined;
|
|
6871
|
+
Name: string | undefined;
|
|
6872
|
+
/**
|
|
6873
|
+
* <p>Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use <code>CLOUDFRONT</code>.</p>
|
|
6874
|
+
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
6875
|
+
* <ul>
|
|
6876
|
+
* <li>
|
|
6877
|
+
* <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>
|
|
6878
|
+
* </li>
|
|
6879
|
+
* <li>
|
|
6880
|
+
* <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>
|
|
6881
|
+
* </li>
|
|
6882
|
+
* </ul>
|
|
6883
|
+
* @public
|
|
6884
|
+
*/
|
|
6885
|
+
Scope: Scope | undefined;
|
|
6886
|
+
/**
|
|
6887
|
+
* <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
|
|
6888
|
+
* for retrieval exceeds the limit, WAF returns a <code>NextMarker</code>
|
|
6889
|
+
* value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>
|
|
6890
|
+
* @public
|
|
6891
|
+
*/
|
|
6892
|
+
NextMarker?: string | undefined;
|
|
6893
|
+
/**
|
|
6894
|
+
* <p>The maximum number of objects that you want WAF to return for this request. If more
|
|
6895
|
+
* objects are available, in the response, WAF provides a
|
|
6896
|
+
* <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>
|
|
6897
|
+
* @public
|
|
6898
|
+
*/
|
|
6899
|
+
Limit?: number | undefined;
|
|
6900
|
+
}
|
|
6901
|
+
/**
|
|
6902
|
+
* <p>Describes a single version of a managed rule group. </p>
|
|
6903
|
+
* @public
|
|
6904
|
+
*/
|
|
6905
|
+
export interface ManagedRuleGroupVersion {
|
|
6906
|
+
/**
|
|
6907
|
+
* <p>The version name. </p>
|
|
6908
|
+
* @public
|
|
6909
|
+
*/
|
|
6910
|
+
Name?: string | undefined;
|
|
6911
|
+
/**
|
|
6912
|
+
* <p>The date and time that the managed rule group owner updated the rule group version
|
|
6913
|
+
* information. </p>
|
|
6914
|
+
* @public
|
|
6915
|
+
*/
|
|
6916
|
+
LastUpdateTimestamp?: Date | undefined;
|
|
6917
|
+
}
|
|
6918
|
+
/**
|
|
6919
|
+
* @public
|
|
6920
|
+
*/
|
|
6921
|
+
export interface ListAvailableManagedRuleGroupVersionsResponse {
|
|
6922
|
+
/**
|
|
6923
|
+
* <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
|
|
6924
|
+
* for retrieval exceeds the limit, WAF returns a <code>NextMarker</code>
|
|
6925
|
+
* value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>
|
|
6926
|
+
* @public
|
|
6927
|
+
*/
|
|
6928
|
+
NextMarker?: string | undefined;
|
|
6929
|
+
/**
|
|
6930
|
+
* <p>The versions that are currently available for the specified managed rule group. If you specified a <code>Limit</code> in your request, this might not be the full list. </p>
|
|
6931
|
+
* @public
|
|
6932
|
+
*/
|
|
6933
|
+
Versions?: ManagedRuleGroupVersion[] | undefined;
|
|
6934
|
+
/**
|
|
6935
|
+
* <p>The name of the version that's currently set as the default. </p>
|
|
6936
|
+
* @public
|
|
6937
|
+
*/
|
|
6938
|
+
CurrentDefaultVersion?: string | undefined;
|
|
6939
|
+
}
|
|
6940
|
+
/**
|
|
6941
|
+
* @public
|
|
6942
|
+
*/
|
|
6943
|
+
export interface ListEventActorsRequest {
|
|
6944
|
+
/**
|
|
6945
|
+
* <p>Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use <code>CLOUDFRONT</code>.</p>
|
|
6946
|
+
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
6947
|
+
* <ul>
|
|
6948
|
+
* <li>
|
|
6949
|
+
* <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>
|
|
6950
|
+
* </li>
|
|
6951
|
+
* <li>
|
|
6952
|
+
* <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>
|
|
6953
|
+
* </li>
|
|
6954
|
+
* </ul>
|
|
6955
|
+
* @public
|
|
6956
|
+
*/
|
|
6957
|
+
Scope: Scope | undefined;
|
|
6958
|
+
/**
|
|
6959
|
+
* <p>The time range for the event actors to return. The time window can't be longer than one year.</p>
|
|
6960
|
+
* @public
|
|
6961
|
+
*/
|
|
6962
|
+
TimeWindow: TimeWindow | undefined;
|
|
6963
|
+
/**
|
|
6964
|
+
* <p>The field to sort event actors by. The only supported value is <code>EVENT_COUNT</code>.</p>
|
|
6965
|
+
* @public
|
|
6966
|
+
*/
|
|
6967
|
+
SortBy?: EventActorSortBy | undefined;
|
|
6968
|
+
/**
|
|
6969
|
+
* <p>The maximum number of event actors that you want WAF to return for this request. Valid values are 1 to 100. If more event actors are available, WAF returns a <code>NextMarker</code> value in the response that you can use in a subsequent call to get the next batch of event actors.</p>
|
|
6970
|
+
* @public
|
|
6971
|
+
*/
|
|
6972
|
+
Limit?: number | undefined;
|
|
6973
|
+
/**
|
|
6974
|
+
* <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
|
|
6975
|
+
* for retrieval exceeds the limit, WAF returns a <code>NextMarker</code>
|
|
6976
|
+
* value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>
|
|
6977
|
+
* @public
|
|
6978
|
+
*/
|
|
6979
|
+
NextMarker?: string | undefined;
|
|
6980
|
+
}
|
|
6981
|
+
/**
|
|
6982
|
+
* <p>High-level information about an event actor, returned by <a>ListEventActors</a>.</p>
|
|
6983
|
+
* @public
|
|
6984
|
+
*/
|
|
6985
|
+
export interface EventActorSummary {
|
|
6986
|
+
/**
|
|
6987
|
+
* <p>The unique identifier of the event actor. You provide this to <a>GetEventActor</a> to retrieve the details of the event actor.</p>
|
|
6988
|
+
* @public
|
|
6989
|
+
*/
|
|
6990
|
+
EventActorId: string | undefined;
|
|
6991
|
+
/**
|
|
6992
|
+
* <p>The client IP address of the event actor.</p>
|
|
6993
|
+
* @public
|
|
6994
|
+
*/
|
|
6995
|
+
ClientIp?: string | undefined;
|
|
6996
|
+
/**
|
|
6997
|
+
* <p>The TLS fingerprint of the event actor, such as a JA3 or JA4 fingerprint.</p>
|
|
6998
|
+
* @public
|
|
6999
|
+
*/
|
|
7000
|
+
TlsFingerprint?: string | undefined;
|
|
7001
|
+
/**
|
|
7002
|
+
* <p>The autonomous system number (ASN) that is associated with the client IP address of the event actor.</p>
|
|
7003
|
+
* @public
|
|
7004
|
+
*/
|
|
7005
|
+
Asn?: string | undefined;
|
|
7006
|
+
/**
|
|
7007
|
+
* <p>The name of the organization that owns the ASN. For example, <code>AMAZON-02</code>.</p>
|
|
7008
|
+
* @public
|
|
7009
|
+
*/
|
|
7010
|
+
AsnOrganization?: string | undefined;
|
|
7011
|
+
/**
|
|
7012
|
+
* <p>The country of the client IP address of the event actor.</p>
|
|
7013
|
+
* @public
|
|
7014
|
+
*/
|
|
7015
|
+
Country?: string | undefined;
|
|
7016
|
+
/**
|
|
7017
|
+
* <p>A hash of the authentication credentials that the client of the event actor provides in the request. These can include a JSON Web Token (JWT), a JSON Web Encryption (JWE) token, an Amazon Web Services Signature Version 4 (SigV4) signature, or basic authentication credentials. You can use the fingerprint to match the same client across events and in your WAF logs.</p>
|
|
7018
|
+
* @public
|
|
7019
|
+
*/
|
|
7020
|
+
AuthFingerprint?: string | undefined;
|
|
7021
|
+
/**
|
|
7022
|
+
* <p>The time when WAF first observed the event actor.</p>
|
|
7023
|
+
* @public
|
|
7024
|
+
*/
|
|
7025
|
+
CreatedAt?: Date | undefined;
|
|
7026
|
+
/**
|
|
7027
|
+
* <p>The number of API security events that the event actor is associated with in the requested time window.</p>
|
|
7028
|
+
* @public
|
|
7029
|
+
*/
|
|
7030
|
+
EventCount?: number | undefined;
|
|
7031
|
+
}
|
|
7032
|
+
/**
|
|
7033
|
+
* @public
|
|
7034
|
+
*/
|
|
7035
|
+
export interface ListEventActorsResponse {
|
|
7036
|
+
/**
|
|
7037
|
+
* <p>The list of event actor summaries.</p>
|
|
7038
|
+
* @public
|
|
7039
|
+
*/
|
|
7040
|
+
EventActors: EventActorSummary[] | undefined;
|
|
7041
|
+
/**
|
|
7042
|
+
* <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
|
|
7043
|
+
* for retrieval exceeds the limit, WAF returns a <code>NextMarker</code>
|
|
7044
|
+
* value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>
|
|
7045
|
+
* @public
|
|
7046
|
+
*/
|
|
7047
|
+
NextMarker?: string | undefined;
|
|
7048
|
+
}
|
|
7049
|
+
/**
|
|
7050
|
+
* <p>A filter to narrow the events that are returned by <a>ListEvents</a> and <a>ListEventsByWebACL</a>.</p>
|
|
7051
|
+
* @public
|
|
7052
|
+
*/
|
|
7053
|
+
export interface EventFilter {
|
|
7054
|
+
/**
|
|
7055
|
+
* <p>The name of the field to filter on. Valid values:</p>
|
|
7056
|
+
* <ul>
|
|
7057
|
+
* <li>
|
|
7058
|
+
* <p>
|
|
7059
|
+
* <code>EVENT_CATEGORY</code> - Filter by event category. The only supported filter value is <code>API_SECURITY</code>.</p>
|
|
7060
|
+
* </li>
|
|
7061
|
+
* <li>
|
|
7062
|
+
* <p>
|
|
7063
|
+
* <code>RESOURCE_ARN</code> - Filter by protected resource. The filter values are the Amazon Resource Name (ARN)s of the protected resources.</p>
|
|
7064
|
+
* </li>
|
|
7065
|
+
* </ul>
|
|
7066
|
+
* @public
|
|
7067
|
+
*/
|
|
7068
|
+
Name: EventFilterKey | undefined;
|
|
7069
|
+
/**
|
|
7070
|
+
* <p>The values to filter on. You can specify up to 10 values.</p>
|
|
7071
|
+
* @public
|
|
7072
|
+
*/
|
|
7073
|
+
Values: string[] | undefined;
|
|
7074
|
+
}
|
|
7075
|
+
/**
|
|
7076
|
+
* @public
|
|
7077
|
+
*/
|
|
7078
|
+
export interface ListEventsRequest {
|
|
7079
|
+
/**
|
|
7080
|
+
* <p>Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use <code>CLOUDFRONT</code>.</p>
|
|
7081
|
+
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
7082
|
+
* <ul>
|
|
7083
|
+
* <li>
|
|
7084
|
+
* <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>
|
|
7085
|
+
* </li>
|
|
7086
|
+
* <li>
|
|
7087
|
+
* <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>
|
|
7088
|
+
* </li>
|
|
7089
|
+
* </ul>
|
|
7090
|
+
* @public
|
|
7091
|
+
*/
|
|
7092
|
+
Scope: Scope | undefined;
|
|
7093
|
+
/**
|
|
7094
|
+
* <p>The time range for the events to return. If you don't specify a time window, WAF returns events from the past year. The time window can't be longer than one year.</p>
|
|
7095
|
+
* @public
|
|
7096
|
+
*/
|
|
7097
|
+
TimeWindow?: TimeWindow | undefined;
|
|
7098
|
+
/**
|
|
7099
|
+
* <p>Filters that narrow the results by event category or by the Amazon Resource Name (ARN) of the protected resource. You can specify up to 8 filters.</p>
|
|
7100
|
+
* @public
|
|
7101
|
+
*/
|
|
7102
|
+
Filters?: EventFilter[] | undefined;
|
|
7103
|
+
/**
|
|
7104
|
+
* <p>Filters that narrow the results to events that involve the specified API patterns. If you specify more than one API pattern filter, WAF returns the events that match any of the filters. You can specify up to 20 API pattern filters.</p>
|
|
7105
|
+
* @public
|
|
7106
|
+
*/
|
|
7107
|
+
ApiPatternFilters?: ApiPatternFilter[] | undefined;
|
|
7108
|
+
/**
|
|
7109
|
+
* <p>The maximum number of events that you want WAF to return for this request. Valid values are 1 to 20. If more events are available, WAF returns a <code>NextMarker</code> value in the response that you can use in a subsequent call to get the next batch of events.</p>
|
|
7110
|
+
* @public
|
|
7111
|
+
*/
|
|
7112
|
+
Limit?: number | undefined;
|
|
7113
|
+
/**
|
|
7114
|
+
* <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
|
|
7115
|
+
* for retrieval exceeds the limit, WAF returns a <code>NextMarker</code>
|
|
7116
|
+
* value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>
|
|
7117
|
+
* <p>The marker is valid only for a request with the same <code>TimeWindow</code>, <code>Filters</code>, <code>SortBy</code>, and <code>SortOrder</code> settings as the request that returned it.</p>
|
|
7118
|
+
* @public
|
|
7119
|
+
*/
|
|
7120
|
+
NextMarker?: string | undefined;
|
|
7121
|
+
/**
|
|
7122
|
+
* <p>The order in which WAF sorts the events. Valid values:</p>
|
|
7123
|
+
* <ul>
|
|
7124
|
+
* <li>
|
|
7125
|
+
* <p>
|
|
7126
|
+
* <code>ASC</code> - Sort in ascending order.</p>
|
|
7127
|
+
* </li>
|
|
7128
|
+
* <li>
|
|
7129
|
+
* <p>
|
|
7130
|
+
* <code>DESC</code> - Sort in descending order. This is the default.</p>
|
|
7131
|
+
* </li>
|
|
7132
|
+
* </ul>
|
|
7133
|
+
* @public
|
|
7134
|
+
*/
|
|
7135
|
+
SortOrder?: SortOrder | undefined;
|
|
7136
|
+
/**
|
|
7137
|
+
* <p>The field that WAF sorts the events by. Valid values:</p>
|
|
7138
|
+
* <ul>
|
|
7139
|
+
* <li>
|
|
7140
|
+
* <p>
|
|
7141
|
+
* <code>CONFIDENCE</code> - Sort by the confidence level of the event detection.</p>
|
|
7142
|
+
* </li>
|
|
7143
|
+
* <li>
|
|
7144
|
+
* <p>
|
|
7145
|
+
* <code>END_TIME</code> - Sort by the time that the event ended.</p>
|
|
7146
|
+
* </li>
|
|
7147
|
+
* <li>
|
|
7148
|
+
* <p>
|
|
7149
|
+
* <code>START_TIME</code> - Sort by the time that the event started.</p>
|
|
7150
|
+
* </li>
|
|
7151
|
+
* </ul>
|
|
7152
|
+
* @public
|
|
7153
|
+
*/
|
|
7154
|
+
SortBy?: EventSortBy | undefined;
|
|
7155
|
+
/**
|
|
7156
|
+
* <p>Additional fields to return with each event summary. By default, the response includes only the default summary fields.</p>
|
|
7157
|
+
* <p>Specify <code>TIMELINE</code> to return the timeline of each event in <code>ApiSecurityEventDetail$Timeline</code>.</p>
|
|
7158
|
+
* @public
|
|
7159
|
+
*/
|
|
7160
|
+
Include?: EventIncludeField[] | undefined;
|
|
7161
|
+
}
|
|
7162
|
+
/**
|
|
7163
|
+
* @public
|
|
7164
|
+
*/
|
|
7165
|
+
export interface ListEventsResponse {
|
|
7166
|
+
/**
|
|
7167
|
+
* <p>The list of event summaries.</p>
|
|
7168
|
+
* @public
|
|
7169
|
+
*/
|
|
7170
|
+
Events: EventDetailSummary[] | undefined;
|
|
7171
|
+
/**
|
|
7172
|
+
* <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
|
|
7173
|
+
* for retrieval exceeds the limit, WAF returns a <code>NextMarker</code>
|
|
7174
|
+
* value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>
|
|
7175
|
+
* @public
|
|
7176
|
+
*/
|
|
7177
|
+
NextMarker?: string | undefined;
|
|
7178
|
+
}
|
|
7179
|
+
/**
|
|
7180
|
+
* @public
|
|
7181
|
+
*/
|
|
7182
|
+
export interface ListEventsByWebACLRequest {
|
|
6377
7183
|
/**
|
|
6378
7184
|
* <p>Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use <code>CLOUDFRONT</code>.</p>
|
|
6379
7185
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
@@ -6388,42 +7194,89 @@ export interface ListAvailableManagedRuleGroupVersionsRequest {
|
|
|
6388
7194
|
* @public
|
|
6389
7195
|
*/
|
|
6390
7196
|
Scope: Scope | undefined;
|
|
7197
|
+
/**
|
|
7198
|
+
* <p>The Amazon Resource Name (ARN) of the web ACL whose events you want to retrieve.</p>
|
|
7199
|
+
* @public
|
|
7200
|
+
*/
|
|
7201
|
+
WebAclArn: string | undefined;
|
|
7202
|
+
/**
|
|
7203
|
+
* <p>The time range for the events to return. If you don't specify a time window, WAF returns events from the past year. The time window can't be longer than one year.</p>
|
|
7204
|
+
* @public
|
|
7205
|
+
*/
|
|
7206
|
+
TimeWindow?: TimeWindow | undefined;
|
|
7207
|
+
/**
|
|
7208
|
+
* <p>Filters that narrow the results by event category or by the Amazon Resource Name (ARN) of the protected resource. You can specify up to 8 filters.</p>
|
|
7209
|
+
* @public
|
|
7210
|
+
*/
|
|
7211
|
+
Filters?: EventFilter[] | undefined;
|
|
7212
|
+
/**
|
|
7213
|
+
* <p>Filters that narrow the results to events that involve the specified API patterns. If you specify more than one API pattern filter, WAF returns the events that match any of the filters. You can specify up to 20 API pattern filters.</p>
|
|
7214
|
+
* @public
|
|
7215
|
+
*/
|
|
7216
|
+
ApiPatternFilters?: ApiPatternFilter[] | undefined;
|
|
7217
|
+
/**
|
|
7218
|
+
* <p>The maximum number of events that you want WAF to return for this request. Valid values are 1 to 20. If more events are available, WAF returns a <code>NextMarker</code> value in the response that you can use in a subsequent call to get the next batch of events.</p>
|
|
7219
|
+
* @public
|
|
7220
|
+
*/
|
|
7221
|
+
Limit?: number | undefined;
|
|
6391
7222
|
/**
|
|
6392
7223
|
* <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
|
|
6393
7224
|
* for retrieval exceeds the limit, WAF returns a <code>NextMarker</code>
|
|
6394
7225
|
* value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>
|
|
7226
|
+
* <p>The marker is valid only for a request with the same <code>WebAclArn</code>, <code>TimeWindow</code>, <code>Filters</code>, <code>SortBy</code>, and <code>SortOrder</code> settings as the request that returned it.</p>
|
|
6395
7227
|
* @public
|
|
6396
7228
|
*/
|
|
6397
7229
|
NextMarker?: string | undefined;
|
|
6398
7230
|
/**
|
|
6399
|
-
* <p>The
|
|
6400
|
-
*
|
|
6401
|
-
*
|
|
7231
|
+
* <p>The order in which WAF sorts the events. Valid values:</p>
|
|
7232
|
+
* <ul>
|
|
7233
|
+
* <li>
|
|
7234
|
+
* <p>
|
|
7235
|
+
* <code>ASC</code> - Sort in ascending order.</p>
|
|
7236
|
+
* </li>
|
|
7237
|
+
* <li>
|
|
7238
|
+
* <p>
|
|
7239
|
+
* <code>DESC</code> - Sort in descending order. This is the default.</p>
|
|
7240
|
+
* </li>
|
|
7241
|
+
* </ul>
|
|
6402
7242
|
* @public
|
|
6403
7243
|
*/
|
|
6404
|
-
|
|
6405
|
-
}
|
|
6406
|
-
/**
|
|
6407
|
-
* <p>Describes a single version of a managed rule group. </p>
|
|
6408
|
-
* @public
|
|
6409
|
-
*/
|
|
6410
|
-
export interface ManagedRuleGroupVersion {
|
|
7244
|
+
SortOrder?: SortOrder | undefined;
|
|
6411
7245
|
/**
|
|
6412
|
-
* <p>The
|
|
7246
|
+
* <p>The field that WAF sorts the events by. Valid values:</p>
|
|
7247
|
+
* <ul>
|
|
7248
|
+
* <li>
|
|
7249
|
+
* <p>
|
|
7250
|
+
* <code>CONFIDENCE</code> - Sort by the confidence level of the event detection.</p>
|
|
7251
|
+
* </li>
|
|
7252
|
+
* <li>
|
|
7253
|
+
* <p>
|
|
7254
|
+
* <code>END_TIME</code> - Sort by the time that the event ended.</p>
|
|
7255
|
+
* </li>
|
|
7256
|
+
* <li>
|
|
7257
|
+
* <p>
|
|
7258
|
+
* <code>START_TIME</code> - Sort by the time that the event started.</p>
|
|
7259
|
+
* </li>
|
|
7260
|
+
* </ul>
|
|
6413
7261
|
* @public
|
|
6414
7262
|
*/
|
|
6415
|
-
|
|
7263
|
+
SortBy?: EventSortBy | undefined;
|
|
6416
7264
|
/**
|
|
6417
|
-
* <p>
|
|
6418
|
-
*
|
|
7265
|
+
* <p>Additional fields to return with each event summary. By default, the response includes only the default summary fields.</p>
|
|
7266
|
+
* <p>Specify <code>TIMELINE</code> to return the timeline of each event in <code>ApiSecurityEventDetail$Timeline</code>.</p>
|
|
6419
7267
|
* @public
|
|
6420
7268
|
*/
|
|
6421
|
-
|
|
7269
|
+
Include?: EventIncludeField[] | undefined;
|
|
6422
7270
|
}
|
|
6423
7271
|
/**
|
|
6424
7272
|
* @public
|
|
6425
7273
|
*/
|
|
6426
|
-
export interface
|
|
7274
|
+
export interface ListEventsByWebACLResponse {
|
|
7275
|
+
/**
|
|
7276
|
+
* <p>The list of event summaries.</p>
|
|
7277
|
+
* @public
|
|
7278
|
+
*/
|
|
7279
|
+
Events: EventDetailSummary[] | undefined;
|
|
6427
7280
|
/**
|
|
6428
7281
|
* <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available
|
|
6429
7282
|
* for retrieval exceeds the limit, WAF returns a <code>NextMarker</code>
|
|
@@ -6431,16 +7284,6 @@ export interface ListAvailableManagedRuleGroupVersionsResponse {
|
|
|
6431
7284
|
* @public
|
|
6432
7285
|
*/
|
|
6433
7286
|
NextMarker?: string | undefined;
|
|
6434
|
-
/**
|
|
6435
|
-
* <p>The versions that are currently available for the specified managed rule group. If you specified a <code>Limit</code> in your request, this might not be the full list. </p>
|
|
6436
|
-
* @public
|
|
6437
|
-
*/
|
|
6438
|
-
Versions?: ManagedRuleGroupVersion[] | undefined;
|
|
6439
|
-
/**
|
|
6440
|
-
* <p>The name of the version that's currently set as the default. </p>
|
|
6441
|
-
* @public
|
|
6442
|
-
*/
|
|
6443
|
-
CurrentDefaultVersion?: string | undefined;
|
|
6444
7287
|
}
|
|
6445
7288
|
/**
|
|
6446
7289
|
* @public
|
|
@@ -7792,6 +8635,9 @@ export interface ManagedRuleGroupStatement {
|
|
|
7792
8635
|
* <p>Use the <code>AWSManagedRulesACFPRuleSet</code> configuration object to configure the account creation fraud prevention managed rule group. The configuration includes the registration and sign-up pages of your application and the locations in the account creation request payload of data, such as the user email and phone number fields. </p>
|
|
7793
8636
|
* </li>
|
|
7794
8637
|
* <li>
|
|
8638
|
+
* <p>Use the <code>AWSManagedRulesAISecurityRuleSet</code> configuration object to configure the AI security managed rule group. The configuration specifies whether the rule group uses Amazon Bedrock Guardrails to inspect web requests, or web requests and responses, and the IAM role that WAF uses to call Amazon Bedrock Guardrails. </p>
|
|
8639
|
+
* </li>
|
|
8640
|
+
* <li>
|
|
7795
8641
|
* <p>Use the <code>AWSManagedRulesAntiDDoSRuleSet</code> configuration object to configure the anti-DDoS managed rule group. The configuration includes the sensitivity levels to use in the rules that typically block and challenge requests that might be participating in DDoS attacks and the specification to use to indicate whether a request can handle a silent browser challenge. </p>
|
|
7796
8642
|
* </li>
|
|
7797
8643
|
* <li>
|
|
@@ -8366,11 +9212,11 @@ export interface CreateWebACLRequest {
|
|
|
8366
9212
|
/**
|
|
8367
9213
|
* <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
|
|
8368
9214
|
* <p>Use this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can
|
|
8369
|
-
* customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes). </p>
|
|
9215
|
+
* customize this setting for Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types. </p>
|
|
8370
9216
|
* <note>
|
|
8371
9217
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
8372
9218
|
* </note>
|
|
8373
|
-
* <p>For
|
|
9219
|
+
* <p>For AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
8374
9220
|
* <p>You can also use this to have your CloudFront distributions insert the WAF challenge JavaScript SDK into the HTML responses that they return. For more information, see the <code>ChallengeJavascriptSdkInjection</code> setting. </p>
|
|
8375
9221
|
* @public
|
|
8376
9222
|
*/
|
|
@@ -8658,11 +9504,11 @@ export interface UpdateWebACLRequest {
|
|
|
8658
9504
|
/**
|
|
8659
9505
|
* <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
|
|
8660
9506
|
* <p>Use this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can
|
|
8661
|
-
* customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes). </p>
|
|
9507
|
+
* customize this setting for Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types. </p>
|
|
8662
9508
|
* <note>
|
|
8663
9509
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
8664
9510
|
* </note>
|
|
8665
|
-
* <p>For
|
|
9511
|
+
* <p>For AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
8666
9512
|
* <p>You can also use this to have your CloudFront distributions insert the WAF challenge JavaScript SDK into the HTML responses that they return. For more information, see the <code>ChallengeJavascriptSdkInjection</code> setting. </p>
|
|
8667
9513
|
* @public
|
|
8668
9514
|
*/
|
|
@@ -8699,231 +9545,3 @@ export interface UpdateWebACLRequest {
|
|
|
8699
9545
|
*/
|
|
8700
9546
|
AnalyticsConfig?: AnalyticsConfig | undefined;
|
|
8701
9547
|
}
|
|
8702
|
-
/**
|
|
8703
|
-
* @public
|
|
8704
|
-
*/
|
|
8705
|
-
export interface GetRuleGroupResponse {
|
|
8706
|
-
/**
|
|
8707
|
-
* <p></p>
|
|
8708
|
-
* @public
|
|
8709
|
-
*/
|
|
8710
|
-
RuleGroup?: RuleGroup | undefined;
|
|
8711
|
-
/**
|
|
8712
|
-
* <p>A token used for optimistic locking. WAF returns a token to your <code>get</code> and <code>list</code> requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like <code>update</code> and <code>delete</code>. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a <code>WAFOptimisticLockException</code>. If this happens, perform another <code>get</code>, and use the new token returned by that operation. </p>
|
|
8713
|
-
* @public
|
|
8714
|
-
*/
|
|
8715
|
-
LockToken?: string | undefined;
|
|
8716
|
-
}
|
|
8717
|
-
/**
|
|
8718
|
-
* <p> A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has a statement that defines what to look for in web requests and an action that WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resource types include Amazon CloudFront distribution, Amazon API Gateway REST API, Application Load Balancer, AppSync GraphQL API, Amazon Cognito user pool, App Runner service, Amplify application, Amazon Web Services Verified Access instance, and Amazon Bedrock AgentCore Gateway. </p>
|
|
8719
|
-
* @public
|
|
8720
|
-
*/
|
|
8721
|
-
export interface WebACL {
|
|
8722
|
-
/**
|
|
8723
|
-
* <p>The name of the web ACL. You cannot change the name of a web ACL after you create it.</p>
|
|
8724
|
-
* @public
|
|
8725
|
-
*/
|
|
8726
|
-
Name: string | undefined;
|
|
8727
|
-
/**
|
|
8728
|
-
* <p>A unique identifier for the <code>WebACL</code>. This ID is returned in the responses to
|
|
8729
|
-
* create and list commands. You use this ID to do things like get, update, and delete a
|
|
8730
|
-
* <code>WebACL</code>.</p>
|
|
8731
|
-
* @public
|
|
8732
|
-
*/
|
|
8733
|
-
Id: string | undefined;
|
|
8734
|
-
/**
|
|
8735
|
-
* <p>The Amazon Resource Name (ARN) of the web ACL that you want to associate with the
|
|
8736
|
-
* resource.</p>
|
|
8737
|
-
* @public
|
|
8738
|
-
*/
|
|
8739
|
-
ARN: string | undefined;
|
|
8740
|
-
/**
|
|
8741
|
-
* <p>The action to perform if none of the <code>Rules</code> contained in the <code>WebACL</code> match. </p>
|
|
8742
|
-
* @public
|
|
8743
|
-
*/
|
|
8744
|
-
DefaultAction: DefaultAction | undefined;
|
|
8745
|
-
/**
|
|
8746
|
-
* <p>A description of the web ACL that helps with identification. </p>
|
|
8747
|
-
* @public
|
|
8748
|
-
*/
|
|
8749
|
-
Description?: string | undefined;
|
|
8750
|
-
/**
|
|
8751
|
-
* <p>The <a>Rule</a> statements used to identify the web requests that you
|
|
8752
|
-
* want to manage. Each rule includes one top-level statement that WAF uses to identify matching
|
|
8753
|
-
* web requests, and parameters that govern how WAF handles them.
|
|
8754
|
-
* </p>
|
|
8755
|
-
* @public
|
|
8756
|
-
*/
|
|
8757
|
-
Rules?: Rule[] | undefined;
|
|
8758
|
-
/**
|
|
8759
|
-
* <p>Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>
|
|
8760
|
-
* @public
|
|
8761
|
-
*/
|
|
8762
|
-
VisibilityConfig: VisibilityConfig | undefined;
|
|
8763
|
-
/**
|
|
8764
|
-
* <p>Specifies data protection to apply to the web request data for the web ACL. This is a web ACL level data protection option. </p>
|
|
8765
|
-
* <p>The data protection that you configure for the web ACL alters the data that's available for any other data collection activity,
|
|
8766
|
-
* including your WAF logging destinations, web ACL request sampling, and Amazon Security Lake data collection and management. Your other option for data protection is in the logging configuration, which only affects logging. </p>
|
|
8767
|
-
* @public
|
|
8768
|
-
*/
|
|
8769
|
-
DataProtectionConfig?: DataProtectionConfig | undefined;
|
|
8770
|
-
/**
|
|
8771
|
-
* <p>The web ACL capacity units (WCUs) currently being used by this web ACL. </p>
|
|
8772
|
-
* <p>WAF uses WCUs to calculate and control the operating
|
|
8773
|
-
* resources that are used to run your rules, rule groups, and web ACLs. WAF
|
|
8774
|
-
* calculates capacity differently for each rule type, to reflect the relative cost of each rule.
|
|
8775
|
-
* Simple rules that cost little to run use fewer WCUs than more complex rules
|
|
8776
|
-
* that use more processing power.
|
|
8777
|
-
* Rule group capacity is fixed at creation, which helps users plan their
|
|
8778
|
-
* web ACL WCU usage when they use a rule group. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html">WAF web ACL capacity units (WCU)</a>
|
|
8779
|
-
* in the <i>WAF Developer Guide</i>. </p>
|
|
8780
|
-
* @public
|
|
8781
|
-
*/
|
|
8782
|
-
Capacity?: number | undefined;
|
|
8783
|
-
/**
|
|
8784
|
-
* <p>The first set of rules for WAF to process in the web ACL. This is defined in an
|
|
8785
|
-
* Firewall Manager WAF policy and contains only rule group references. You can't alter these. Any
|
|
8786
|
-
* rules and rule groups that you define for the web ACL are prioritized after these. </p>
|
|
8787
|
-
* <p>In the Firewall Manager WAF policy, the Firewall Manager administrator can define a set of rule groups to run
|
|
8788
|
-
* first in the web ACL and a set of rule groups to run last. Within each set, the
|
|
8789
|
-
* administrator prioritizes the rule groups, to determine their relative processing
|
|
8790
|
-
* order.</p>
|
|
8791
|
-
* @public
|
|
8792
|
-
*/
|
|
8793
|
-
PreProcessFirewallManagerRuleGroups?: FirewallManagerRuleGroup[] | undefined;
|
|
8794
|
-
/**
|
|
8795
|
-
* <p>The last set of rules for WAF to process in the web ACL. This is defined in an
|
|
8796
|
-
* Firewall Manager WAF policy and contains only rule group references. You can't alter these. Any
|
|
8797
|
-
* rules and rule groups that you define for the web ACL are prioritized before these. </p>
|
|
8798
|
-
* <p>In the Firewall Manager WAF policy, the Firewall Manager administrator can define a set of rule groups to run
|
|
8799
|
-
* first in the web ACL and a set of rule groups to run last. Within each set, the
|
|
8800
|
-
* administrator prioritizes the rule groups, to determine their relative processing
|
|
8801
|
-
* order.</p>
|
|
8802
|
-
* @public
|
|
8803
|
-
*/
|
|
8804
|
-
PostProcessFirewallManagerRuleGroups?: FirewallManagerRuleGroup[] | undefined;
|
|
8805
|
-
/**
|
|
8806
|
-
* <p>Indicates whether this web ACL was created by Firewall Manager and is being managed by Firewall Manager. If true, then only Firewall Manager can
|
|
8807
|
-
* delete the web ACL or any Firewall Manager rule groups in the web ACL.
|
|
8808
|
-
* See also the properties <code>RetrofittedByFirewallManager</code>, <code>PreProcessFirewallManagerRuleGroups</code>, and <code>PostProcessFirewallManagerRuleGroups</code>. </p>
|
|
8809
|
-
* @public
|
|
8810
|
-
*/
|
|
8811
|
-
ManagedByFirewallManager?: boolean | undefined;
|
|
8812
|
-
/**
|
|
8813
|
-
* <p>The label namespace prefix for this web ACL. All labels added by rules in this web ACL have this prefix. </p>
|
|
8814
|
-
* <ul>
|
|
8815
|
-
* <li>
|
|
8816
|
-
* <p>The syntax for the label namespace prefix for a web ACL is the following: </p>
|
|
8817
|
-
* <p>
|
|
8818
|
-
* <code>awswaf:<account ID>:webacl:<web ACL name>:</code>
|
|
8819
|
-
* </p>
|
|
8820
|
-
* </li>
|
|
8821
|
-
* <li>
|
|
8822
|
-
* <p>When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon: </p>
|
|
8823
|
-
* <p>
|
|
8824
|
-
* <code><label namespace>:<label from rule></code>
|
|
8825
|
-
* </p>
|
|
8826
|
-
* </li>
|
|
8827
|
-
* </ul>
|
|
8828
|
-
* @public
|
|
8829
|
-
*/
|
|
8830
|
-
LabelNamespace?: string | undefined;
|
|
8831
|
-
/**
|
|
8832
|
-
* <p>A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. </p>
|
|
8833
|
-
* <p>For information about customizing web requests and responses,
|
|
8834
|
-
* see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
|
|
8835
|
-
* in the <i>WAF Developer Guide</i>. </p>
|
|
8836
|
-
* <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
|
|
8837
|
-
* in the <i>WAF Developer Guide</i>. </p>
|
|
8838
|
-
* @public
|
|
8839
|
-
*/
|
|
8840
|
-
CustomResponseBodies?: Record<string, CustomResponseBody> | undefined;
|
|
8841
|
-
/**
|
|
8842
|
-
* <p>Specifies how WAF should handle <code>CAPTCHA</code> evaluations for rules that don't have their own <code>CaptchaConfig</code> settings. If you don't specify this, WAF uses its default settings for <code>CaptchaConfig</code>. </p>
|
|
8843
|
-
* @public
|
|
8844
|
-
*/
|
|
8845
|
-
CaptchaConfig?: CaptchaConfig | undefined;
|
|
8846
|
-
/**
|
|
8847
|
-
* <p>Specifies how WAF should handle challenge evaluations for rules that don't have
|
|
8848
|
-
* their own <code>ChallengeConfig</code> settings. If you don't specify this, WAF uses its default settings for <code>ChallengeConfig</code>. </p>
|
|
8849
|
-
* @public
|
|
8850
|
-
*/
|
|
8851
|
-
ChallengeConfig?: ChallengeConfig | undefined;
|
|
8852
|
-
/**
|
|
8853
|
-
* <p>Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.</p>
|
|
8854
|
-
* @public
|
|
8855
|
-
*/
|
|
8856
|
-
TokenDomains?: string[] | undefined;
|
|
8857
|
-
/**
|
|
8858
|
-
* <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
|
|
8859
|
-
* <p>Use this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can
|
|
8860
|
-
* customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes). </p>
|
|
8861
|
-
* <note>
|
|
8862
|
-
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
8863
|
-
* </note>
|
|
8864
|
-
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
8865
|
-
* <p>You can also use this to have your CloudFront distributions insert the WAF challenge JavaScript SDK into the HTML responses that they return. For more information, see the <code>ChallengeJavascriptSdkInjection</code> setting. </p>
|
|
8866
|
-
* @public
|
|
8867
|
-
*/
|
|
8868
|
-
AssociationConfig?: AssociationConfig | undefined;
|
|
8869
|
-
/**
|
|
8870
|
-
* <p>Indicates whether this web ACL was created by a customer account and then retrofitted by Firewall Manager. If true, then the web ACL is currently being
|
|
8871
|
-
* managed by a Firewall Manager WAF policy, and only Firewall Manager can manage any Firewall Manager rule groups in the web ACL.
|
|
8872
|
-
* See also the properties <code>ManagedByFirewallManager</code>, <code>PreProcessFirewallManagerRuleGroups</code>, and <code>PostProcessFirewallManagerRuleGroups</code>. </p>
|
|
8873
|
-
* @public
|
|
8874
|
-
*/
|
|
8875
|
-
RetrofittedByFirewallManager?: boolean | undefined;
|
|
8876
|
-
/**
|
|
8877
|
-
* <p>Configures the level of DDoS protection that applies to web ACLs associated with Application Load Balancers.</p>
|
|
8878
|
-
* @public
|
|
8879
|
-
*/
|
|
8880
|
-
OnSourceDDoSProtectionConfig?: OnSourceDDoSProtectionConfig | undefined;
|
|
8881
|
-
/**
|
|
8882
|
-
* <p>Returns a list of <code>ApplicationAttribute</code>s.</p>
|
|
8883
|
-
* @public
|
|
8884
|
-
*/
|
|
8885
|
-
ApplicationConfig?: ApplicationConfig | undefined;
|
|
8886
|
-
/**
|
|
8887
|
-
* <p>The monetization configuration for the web ACL. Required when any rule in the web ACL uses the <code>Monetize</code> action. Specifies the payment settlement options and currency mode for AI bot monetization.</p>
|
|
8888
|
-
* @public
|
|
8889
|
-
*/
|
|
8890
|
-
MonetizationConfig?: MonetizationConfig | undefined;
|
|
8891
|
-
/**
|
|
8892
|
-
* <p>The security analytics configuration for the web ACL. For more information, see <a>AnalyticsConfig</a>. </p>
|
|
8893
|
-
* @public
|
|
8894
|
-
*/
|
|
8895
|
-
AnalyticsConfig?: AnalyticsConfig | undefined;
|
|
8896
|
-
}
|
|
8897
|
-
/**
|
|
8898
|
-
* @public
|
|
8899
|
-
*/
|
|
8900
|
-
export interface GetWebACLForResourceResponse {
|
|
8901
|
-
/**
|
|
8902
|
-
* <p>The web ACL that is associated with the resource. If there is no associated resource,
|
|
8903
|
-
* WAF returns a null web ACL.</p>
|
|
8904
|
-
* @public
|
|
8905
|
-
*/
|
|
8906
|
-
WebACL?: WebACL | undefined;
|
|
8907
|
-
}
|
|
8908
|
-
/**
|
|
8909
|
-
* @public
|
|
8910
|
-
*/
|
|
8911
|
-
export interface GetWebACLResponse {
|
|
8912
|
-
/**
|
|
8913
|
-
* <p>The web ACL specification. You can modify the settings in this web ACL and use it to
|
|
8914
|
-
* update this web ACL or create a new one.</p>
|
|
8915
|
-
* @public
|
|
8916
|
-
*/
|
|
8917
|
-
WebACL?: WebACL | undefined;
|
|
8918
|
-
/**
|
|
8919
|
-
* <p>A token used for optimistic locking. WAF returns a token to your <code>get</code> and <code>list</code> requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like <code>update</code> and <code>delete</code>. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a <code>WAFOptimisticLockException</code>. If this happens, perform another <code>get</code>, and use the new token returned by that operation. </p>
|
|
8920
|
-
* @public
|
|
8921
|
-
*/
|
|
8922
|
-
LockToken?: string | undefined;
|
|
8923
|
-
/**
|
|
8924
|
-
* <p>The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code> and the account creation fraud prevention managed rule group <code>AWSManagedRulesACFPRuleSet</code>. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a>
|
|
8925
|
-
* in the <i>WAF Developer Guide</i>.</p>
|
|
8926
|
-
* @public
|
|
8927
|
-
*/
|
|
8928
|
-
ApplicationIntegrationURL?: string | undefined;
|
|
8929
|
-
}
|