Skip to content

Commit 75348db

Browse files
author
awstools
committed
feat(client-network-firewall): Network Firewall now introduces Reject and Alert action support for stateful domain list rule groups, providing customers with more granular control over their network traffic.
1 parent e36983e commit 75348db

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed

clients/client-network-firewall/src/commands/CreateRuleGroupCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
7575
* TargetTypes: [ // TargetTypes // required
7676
* "TLS_SNI" || "HTTP_HOST",
7777
* ],
78-
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST", // required
78+
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST" || "REJECTLIST" || "ALERTLIST", // required
7979
* },
8080
* StatefulRules: [ // StatefulRules
8181
* { // StatefulRule

clients/client-network-firewall/src/commands/DescribeRuleGroupCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export interface DescribeRuleGroupCommandOutput extends DescribeRuleGroupRespons
8080
* // TargetTypes: [ // TargetTypes // required
8181
* // "TLS_SNI" || "HTTP_HOST",
8282
* // ],
83-
* // GeneratedRulesType: "ALLOWLIST" || "DENYLIST", // required
83+
* // GeneratedRulesType: "ALLOWLIST" || "DENYLIST" || "REJECTLIST" || "ALERTLIST", // required
8484
* // },
8585
* // StatefulRules: [ // StatefulRules
8686
* // { // StatefulRule

clients/client-network-firewall/src/commands/UpdateRuleGroupCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
7979
* TargetTypes: [ // TargetTypes // required
8080
* "TLS_SNI" || "HTTP_HOST",
8181
* ],
82-
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST", // required
82+
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST" || "REJECTLIST" || "ALERTLIST", // required
8383
* },
8484
* StatefulRules: [ // StatefulRules
8585
* { // StatefulRule

clients/client-network-firewall/src/models/models_0.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2137,8 +2137,10 @@ export interface ReferenceSets {
21372137
* @enum
21382138
*/
21392139
export const GeneratedRulesType = {
2140+
ALERTLIST: "ALERTLIST",
21402141
ALLOWLIST: "ALLOWLIST",
21412142
DENYLIST: "DENYLIST",
2143+
REJECTLIST: "REJECTLIST",
21422144
} as const;
21432145

21442146
/**
@@ -2189,7 +2191,11 @@ export interface RulesSourceList {
21892191
TargetTypes: TargetType[] | undefined;
21902192

21912193
/**
2192-
* <p>Whether you want to allow or deny access to the domains in your target list.</p>
2194+
* <p>Whether you want to apply allow, reject, alert, or drop behavior to the domains in your target list.</p>
2195+
* <note>
2196+
* <p>When logging is enabled and you choose Alert, traffic that matches the domain specifications
2197+
* generates an alert in the firewall's logs. Then, traffic either passes, is rejected, or drops based on other rules in the firewall policy.</p>
2198+
* </note>
21932199
* @public
21942200
*/
21952201
GeneratedRulesType: GeneratedRulesType | undefined;

codegen/sdk-codegen/aws-models/network-firewall.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3782,6 +3782,18 @@
37823782
"traits": {
37833783
"smithy.api#enumValue": "DENYLIST"
37843784
}
3785+
},
3786+
"REJECTLIST": {
3787+
"target": "smithy.api#Unit",
3788+
"traits": {
3789+
"smithy.api#enumValue": "REJECTLIST"
3790+
}
3791+
},
3792+
"ALERTLIST": {
3793+
"target": "smithy.api#Unit",
3794+
"traits": {
3795+
"smithy.api#enumValue": "ALERTLIST"
3796+
}
37853797
}
37863798
}
37873799
},
@@ -7187,7 +7199,7 @@
71877199
"GeneratedRulesType": {
71887200
"target": "com.amazonaws.networkfirewall#GeneratedRulesType",
71897201
"traits": {
7190-
"smithy.api#documentation": "<p>Whether you want to allow or deny access to the domains in your target list.</p>",
7202+
"smithy.api#documentation": "<p>Whether you want to apply allow, reject, alert, or drop behavior to the domains in your target list.</p>\n <note>\n <p>When logging is enabled and you choose Alert, traffic that matches the domain specifications \n generates an alert in the firewall's logs. Then, traffic either passes, is rejected, or drops based on other rules in the firewall policy.</p>\n </note>",
71917203
"smithy.api#required": {}
71927204
}
71937205
}

0 commit comments

Comments
 (0)