@aws-sdk/client-fms 3.35.0 → 3.36.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.
Files changed (221) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/FMS.js +0 -1
  3. package/dist-cjs/FMSClient.js +0 -1
  4. package/dist-cjs/commands/AssociateAdminAccountCommand.js +0 -1
  5. package/dist-cjs/commands/DeleteAppsListCommand.js +0 -1
  6. package/dist-cjs/commands/DeleteNotificationChannelCommand.js +0 -1
  7. package/dist-cjs/commands/DeletePolicyCommand.js +0 -1
  8. package/dist-cjs/commands/DeleteProtocolsListCommand.js +0 -1
  9. package/dist-cjs/commands/DisassociateAdminAccountCommand.js +0 -1
  10. package/dist-cjs/commands/GetAdminAccountCommand.js +0 -1
  11. package/dist-cjs/commands/GetAppsListCommand.js +0 -1
  12. package/dist-cjs/commands/GetComplianceDetailCommand.js +0 -1
  13. package/dist-cjs/commands/GetNotificationChannelCommand.js +0 -1
  14. package/dist-cjs/commands/GetPolicyCommand.js +0 -1
  15. package/dist-cjs/commands/GetProtectionStatusCommand.js +0 -1
  16. package/dist-cjs/commands/GetProtocolsListCommand.js +0 -1
  17. package/dist-cjs/commands/GetViolationDetailsCommand.js +0 -1
  18. package/dist-cjs/commands/ListAppsListsCommand.js +0 -1
  19. package/dist-cjs/commands/ListComplianceStatusCommand.js +0 -1
  20. package/dist-cjs/commands/ListMemberAccountsCommand.js +0 -1
  21. package/dist-cjs/commands/ListPoliciesCommand.js +0 -1
  22. package/dist-cjs/commands/ListProtocolsListsCommand.js +0 -1
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  24. package/dist-cjs/commands/PutAppsListCommand.js +0 -1
  25. package/dist-cjs/commands/PutNotificationChannelCommand.js +0 -1
  26. package/dist-cjs/commands/PutPolicyCommand.js +0 -1
  27. package/dist-cjs/commands/PutProtocolsListCommand.js +0 -1
  28. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  29. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  30. package/dist-cjs/endpoints.js +0 -1
  31. package/dist-cjs/index.js +0 -1
  32. package/dist-cjs/models/index.js +0 -1
  33. package/dist-cjs/models/models_0.js +0 -1
  34. package/dist-cjs/pagination/Interfaces.js +0 -1
  35. package/dist-cjs/pagination/ListAppsListsPaginator.js +0 -1
  36. package/dist-cjs/pagination/ListComplianceStatusPaginator.js +0 -1
  37. package/dist-cjs/pagination/ListMemberAccountsPaginator.js +0 -1
  38. package/dist-cjs/pagination/ListPoliciesPaginator.js +0 -1
  39. package/dist-cjs/pagination/ListProtocolsListsPaginator.js +0 -1
  40. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  41. package/dist-cjs/runtimeConfig.browser.js +2 -3
  42. package/dist-cjs/runtimeConfig.js +3 -4
  43. package/dist-cjs/runtimeConfig.native.js +0 -1
  44. package/dist-cjs/runtimeConfig.shared.js +0 -1
  45. package/dist-es/FMS.js +0 -1
  46. package/dist-es/FMSClient.js +0 -1
  47. package/dist-es/commands/AssociateAdminAccountCommand.js +0 -1
  48. package/dist-es/commands/DeleteAppsListCommand.js +0 -1
  49. package/dist-es/commands/DeleteNotificationChannelCommand.js +0 -1
  50. package/dist-es/commands/DeletePolicyCommand.js +0 -1
  51. package/dist-es/commands/DeleteProtocolsListCommand.js +0 -1
  52. package/dist-es/commands/DisassociateAdminAccountCommand.js +0 -1
  53. package/dist-es/commands/GetAdminAccountCommand.js +0 -1
  54. package/dist-es/commands/GetAppsListCommand.js +0 -1
  55. package/dist-es/commands/GetComplianceDetailCommand.js +0 -1
  56. package/dist-es/commands/GetNotificationChannelCommand.js +0 -1
  57. package/dist-es/commands/GetPolicyCommand.js +0 -1
  58. package/dist-es/commands/GetProtectionStatusCommand.js +0 -1
  59. package/dist-es/commands/GetProtocolsListCommand.js +0 -1
  60. package/dist-es/commands/GetViolationDetailsCommand.js +0 -1
  61. package/dist-es/commands/ListAppsListsCommand.js +0 -1
  62. package/dist-es/commands/ListComplianceStatusCommand.js +0 -1
  63. package/dist-es/commands/ListMemberAccountsCommand.js +0 -1
  64. package/dist-es/commands/ListPoliciesCommand.js +0 -1
  65. package/dist-es/commands/ListProtocolsListsCommand.js +0 -1
  66. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  67. package/dist-es/commands/PutAppsListCommand.js +0 -1
  68. package/dist-es/commands/PutNotificationChannelCommand.js +0 -1
  69. package/dist-es/commands/PutPolicyCommand.js +0 -1
  70. package/dist-es/commands/PutProtocolsListCommand.js +0 -1
  71. package/dist-es/commands/TagResourceCommand.js +0 -1
  72. package/dist-es/commands/UntagResourceCommand.js +0 -1
  73. package/dist-es/endpoints.js +0 -1
  74. package/dist-es/index.js +0 -1
  75. package/dist-es/models/index.js +0 -1
  76. package/dist-es/models/models_0.js +0 -1
  77. package/dist-es/pagination/Interfaces.js +0 -1
  78. package/dist-es/pagination/ListAppsListsPaginator.js +0 -1
  79. package/dist-es/pagination/ListComplianceStatusPaginator.js +0 -1
  80. package/dist-es/pagination/ListMemberAccountsPaginator.js +0 -1
  81. package/dist-es/pagination/ListPoliciesPaginator.js +0 -1
  82. package/dist-es/pagination/ListProtocolsListsPaginator.js +0 -1
  83. package/dist-es/protocols/Aws_json1_1.js +0 -1
  84. package/dist-es/runtimeConfig.browser.js +1 -2
  85. package/dist-es/runtimeConfig.js +2 -3
  86. package/dist-es/runtimeConfig.native.js +0 -1
  87. package/dist-es/runtimeConfig.shared.js +0 -1
  88. package/package.json +33 -30
  89. package/dist-cjs/FMS.js.map +0 -1
  90. package/dist-cjs/FMSClient.js.map +0 -1
  91. package/dist-cjs/commands/AssociateAdminAccountCommand.js.map +0 -1
  92. package/dist-cjs/commands/DeleteAppsListCommand.js.map +0 -1
  93. package/dist-cjs/commands/DeleteNotificationChannelCommand.js.map +0 -1
  94. package/dist-cjs/commands/DeletePolicyCommand.js.map +0 -1
  95. package/dist-cjs/commands/DeleteProtocolsListCommand.js.map +0 -1
  96. package/dist-cjs/commands/DisassociateAdminAccountCommand.js.map +0 -1
  97. package/dist-cjs/commands/GetAdminAccountCommand.js.map +0 -1
  98. package/dist-cjs/commands/GetAppsListCommand.js.map +0 -1
  99. package/dist-cjs/commands/GetComplianceDetailCommand.js.map +0 -1
  100. package/dist-cjs/commands/GetNotificationChannelCommand.js.map +0 -1
  101. package/dist-cjs/commands/GetPolicyCommand.js.map +0 -1
  102. package/dist-cjs/commands/GetProtectionStatusCommand.js.map +0 -1
  103. package/dist-cjs/commands/GetProtocolsListCommand.js.map +0 -1
  104. package/dist-cjs/commands/GetViolationDetailsCommand.js.map +0 -1
  105. package/dist-cjs/commands/ListAppsListsCommand.js.map +0 -1
  106. package/dist-cjs/commands/ListComplianceStatusCommand.js.map +0 -1
  107. package/dist-cjs/commands/ListMemberAccountsCommand.js.map +0 -1
  108. package/dist-cjs/commands/ListPoliciesCommand.js.map +0 -1
  109. package/dist-cjs/commands/ListProtocolsListsCommand.js.map +0 -1
  110. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  111. package/dist-cjs/commands/PutAppsListCommand.js.map +0 -1
  112. package/dist-cjs/commands/PutNotificationChannelCommand.js.map +0 -1
  113. package/dist-cjs/commands/PutPolicyCommand.js.map +0 -1
  114. package/dist-cjs/commands/PutProtocolsListCommand.js.map +0 -1
  115. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  116. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  117. package/dist-cjs/endpoints.js.map +0 -1
  118. package/dist-cjs/index.js.map +0 -1
  119. package/dist-cjs/models/index.js.map +0 -1
  120. package/dist-cjs/models/models_0.js.map +0 -1
  121. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  122. package/dist-cjs/pagination/ListAppsListsPaginator.js.map +0 -1
  123. package/dist-cjs/pagination/ListComplianceStatusPaginator.js.map +0 -1
  124. package/dist-cjs/pagination/ListMemberAccountsPaginator.js.map +0 -1
  125. package/dist-cjs/pagination/ListPoliciesPaginator.js.map +0 -1
  126. package/dist-cjs/pagination/ListProtocolsListsPaginator.js.map +0 -1
  127. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  128. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  129. package/dist-cjs/runtimeConfig.js.map +0 -1
  130. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  131. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  132. package/dist-es/FMS.js.map +0 -1
  133. package/dist-es/FMSClient.js.map +0 -1
  134. package/dist-es/commands/AssociateAdminAccountCommand.js.map +0 -1
  135. package/dist-es/commands/DeleteAppsListCommand.js.map +0 -1
  136. package/dist-es/commands/DeleteNotificationChannelCommand.js.map +0 -1
  137. package/dist-es/commands/DeletePolicyCommand.js.map +0 -1
  138. package/dist-es/commands/DeleteProtocolsListCommand.js.map +0 -1
  139. package/dist-es/commands/DisassociateAdminAccountCommand.js.map +0 -1
  140. package/dist-es/commands/GetAdminAccountCommand.js.map +0 -1
  141. package/dist-es/commands/GetAppsListCommand.js.map +0 -1
  142. package/dist-es/commands/GetComplianceDetailCommand.js.map +0 -1
  143. package/dist-es/commands/GetNotificationChannelCommand.js.map +0 -1
  144. package/dist-es/commands/GetPolicyCommand.js.map +0 -1
  145. package/dist-es/commands/GetProtectionStatusCommand.js.map +0 -1
  146. package/dist-es/commands/GetProtocolsListCommand.js.map +0 -1
  147. package/dist-es/commands/GetViolationDetailsCommand.js.map +0 -1
  148. package/dist-es/commands/ListAppsListsCommand.js.map +0 -1
  149. package/dist-es/commands/ListComplianceStatusCommand.js.map +0 -1
  150. package/dist-es/commands/ListMemberAccountsCommand.js.map +0 -1
  151. package/dist-es/commands/ListPoliciesCommand.js.map +0 -1
  152. package/dist-es/commands/ListProtocolsListsCommand.js.map +0 -1
  153. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  154. package/dist-es/commands/PutAppsListCommand.js.map +0 -1
  155. package/dist-es/commands/PutNotificationChannelCommand.js.map +0 -1
  156. package/dist-es/commands/PutPolicyCommand.js.map +0 -1
  157. package/dist-es/commands/PutProtocolsListCommand.js.map +0 -1
  158. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  159. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  160. package/dist-es/endpoints.js.map +0 -1
  161. package/dist-es/index.js.map +0 -1
  162. package/dist-es/models/index.js.map +0 -1
  163. package/dist-es/models/models_0.js.map +0 -1
  164. package/dist-es/pagination/Interfaces.js.map +0 -1
  165. package/dist-es/pagination/ListAppsListsPaginator.js.map +0 -1
  166. package/dist-es/pagination/ListComplianceStatusPaginator.js.map +0 -1
  167. package/dist-es/pagination/ListMemberAccountsPaginator.js.map +0 -1
  168. package/dist-es/pagination/ListPoliciesPaginator.js.map +0 -1
  169. package/dist-es/pagination/ListProtocolsListsPaginator.js.map +0 -1
  170. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  171. package/dist-es/runtimeConfig.browser.js.map +0 -1
  172. package/dist-es/runtimeConfig.js.map +0 -1
  173. package/dist-es/runtimeConfig.native.js.map +0 -1
  174. package/dist-es/runtimeConfig.shared.js.map +0 -1
  175. package/jest.config.js +0 -4
  176. package/src/FMS.ts +0 -994
  177. package/src/FMSClient.ts +0 -353
  178. package/src/commands/AssociateAdminAccountCommand.ts +0 -98
  179. package/src/commands/DeleteAppsListCommand.ts +0 -95
  180. package/src/commands/DeleteNotificationChannelCommand.ts +0 -99
  181. package/src/commands/DeletePolicyCommand.ts +0 -95
  182. package/src/commands/DeleteProtocolsListCommand.ts +0 -95
  183. package/src/commands/DisassociateAdminAccountCommand.ts +0 -97
  184. package/src/commands/GetAdminAccountCommand.ts +0 -96
  185. package/src/commands/GetAppsListCommand.ts +0 -95
  186. package/src/commands/GetComplianceDetailCommand.ts +0 -118
  187. package/src/commands/GetNotificationChannelCommand.ts +0 -97
  188. package/src/commands/GetPolicyCommand.ts +0 -88
  189. package/src/commands/GetProtectionStatusCommand.ts +0 -96
  190. package/src/commands/GetProtocolsListCommand.ts +0 -95
  191. package/src/commands/GetViolationDetailsCommand.ts +0 -95
  192. package/src/commands/ListAppsListsCommand.ts +0 -95
  193. package/src/commands/ListComplianceStatusCommand.ts +0 -97
  194. package/src/commands/ListMemberAccountsCommand.ts +0 -98
  195. package/src/commands/ListPoliciesCommand.ts +0 -95
  196. package/src/commands/ListProtocolsListsCommand.ts +0 -95
  197. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  198. package/src/commands/PutAppsListCommand.ts +0 -95
  199. package/src/commands/PutNotificationChannelCommand.ts +0 -99
  200. package/src/commands/PutPolicyCommand.ts +0 -120
  201. package/src/commands/PutProtocolsListCommand.ts +0 -95
  202. package/src/commands/TagResourceCommand.ts +0 -95
  203. package/src/commands/UntagResourceCommand.ts +0 -95
  204. package/src/endpoints.ts +0 -161
  205. package/src/index.ts +0 -35
  206. package/src/models/index.ts +0 -1
  207. package/src/models/models_0.ts +0 -3424
  208. package/src/pagination/Interfaces.ts +0 -8
  209. package/src/pagination/ListAppsListsPaginator.ts +0 -59
  210. package/src/pagination/ListComplianceStatusPaginator.ts +0 -59
  211. package/src/pagination/ListMemberAccountsPaginator.ts +0 -59
  212. package/src/pagination/ListPoliciesPaginator.ts +0 -59
  213. package/src/pagination/ListProtocolsListsPaginator.ts +0 -59
  214. package/src/protocols/Aws_json1_1.ts +0 -4652
  215. package/src/runtimeConfig.browser.ts +0 -41
  216. package/src/runtimeConfig.native.ts +0 -17
  217. package/src/runtimeConfig.shared.ts +0 -17
  218. package/src/runtimeConfig.ts +0 -46
  219. package/tsconfig.es.json +0 -10
  220. package/tsconfig.json +0 -33
  221. package/tsconfig.types.json +0 -9
@@ -1,3424 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- export enum AccountRoleStatus {
4
- Creating = "CREATING",
5
- Deleted = "DELETED",
6
- Deleting = "DELETING",
7
- PendingDeletion = "PENDING_DELETION",
8
- Ready = "READY",
9
- }
10
-
11
- /**
12
- * <p>Describes a remediation action target.</p>
13
- */
14
- export interface ActionTarget {
15
- /**
16
- * <p>The ID of the remediation target.</p>
17
- */
18
- ResourceId?: string;
19
-
20
- /**
21
- * <p>A description of the remediation action target.</p>
22
- */
23
- Description?: string;
24
- }
25
-
26
- export namespace ActionTarget {
27
- /**
28
- * @internal
29
- */
30
- export const filterSensitiveLog = (obj: ActionTarget): any => ({
31
- ...obj,
32
- });
33
- }
34
-
35
- /**
36
- * <p>An individual Firewall Manager application.</p>
37
- */
38
- export interface App {
39
- /**
40
- * <p>The application's name.</p>
41
- */
42
- AppName: string | undefined;
43
-
44
- /**
45
- * <p>The IP protocol name or number. The name can be one of <code>tcp</code>, <code>udp</code>, or <code>icmp</code>. For information on possible numbers, see <a href="https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>.</p>
46
- */
47
- Protocol: string | undefined;
48
-
49
- /**
50
- * <p>The application's port number, for example <code>80</code>.</p>
51
- */
52
- Port: number | undefined;
53
- }
54
-
55
- export namespace App {
56
- /**
57
- * @internal
58
- */
59
- export const filterSensitiveLog = (obj: App): any => ({
60
- ...obj,
61
- });
62
- }
63
-
64
- /**
65
- * <p>An Firewall Manager applications list.</p>
66
- */
67
- export interface AppsListData {
68
- /**
69
- * <p>The ID of the Firewall Manager applications list.</p>
70
- */
71
- ListId?: string;
72
-
73
- /**
74
- * <p>The name of the Firewall Manager applications list.</p>
75
- */
76
- ListName: string | undefined;
77
-
78
- /**
79
- * <p>A unique identifier for each update to the list. When you update
80
- * the list, the update token must match the token of the current version of the application list.
81
- * You can retrieve the update token by getting the list. </p>
82
- */
83
- ListUpdateToken?: string;
84
-
85
- /**
86
- * <p>The time that the Firewall Manager applications list was created.</p>
87
- */
88
- CreateTime?: Date;
89
-
90
- /**
91
- * <p>The time that the Firewall Manager applications list was last updated.</p>
92
- */
93
- LastUpdateTime?: Date;
94
-
95
- /**
96
- * <p>An array of applications in the Firewall Manager applications list.</p>
97
- */
98
- AppsList: App[] | undefined;
99
-
100
- /**
101
- * <p>A map of previous version numbers to their corresponding <code>App</code> object arrays.</p>
102
- */
103
- PreviousAppsList?: { [key: string]: App[] };
104
- }
105
-
106
- export namespace AppsListData {
107
- /**
108
- * @internal
109
- */
110
- export const filterSensitiveLog = (obj: AppsListData): any => ({
111
- ...obj,
112
- });
113
- }
114
-
115
- /**
116
- * <p>Details of the Firewall Manager applications list.</p>
117
- */
118
- export interface AppsListDataSummary {
119
- /**
120
- * <p>The Amazon Resource Name (ARN) of the applications list.</p>
121
- */
122
- ListArn?: string;
123
-
124
- /**
125
- * <p>The ID of the applications list.</p>
126
- */
127
- ListId?: string;
128
-
129
- /**
130
- * <p>The name of the applications list.</p>
131
- */
132
- ListName?: string;
133
-
134
- /**
135
- * <p>An array of <code>App</code> objects in the Firewall Manager applications list.</p>
136
- */
137
- AppsList?: App[];
138
- }
139
-
140
- export namespace AppsListDataSummary {
141
- /**
142
- * @internal
143
- */
144
- export const filterSensitiveLog = (obj: AppsListDataSummary): any => ({
145
- ...obj,
146
- });
147
- }
148
-
149
- export interface AssociateAdminAccountRequest {
150
- /**
151
- * <p>The Amazon Web Services account ID to associate with Firewall Manager as the Firewall Manager
152
- * administrator account. This must be an Organizations member account.
153
- * For more information about Organizations, see
154
- * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts.html">Managing the Amazon Web Services Accounts in Your Organization</a>. </p>
155
- */
156
- AdminAccount: string | undefined;
157
- }
158
-
159
- export namespace AssociateAdminAccountRequest {
160
- /**
161
- * @internal
162
- */
163
- export const filterSensitiveLog = (obj: AssociateAdminAccountRequest): any => ({
164
- ...obj,
165
- });
166
- }
167
-
168
- /**
169
- * <p>The operation failed because of a system problem, even though the request was valid. Retry
170
- * your request.</p>
171
- */
172
- export interface InternalErrorException extends __SmithyException, $MetadataBearer {
173
- name: "InternalErrorException";
174
- $fault: "client";
175
- Message?: string;
176
- }
177
-
178
- export namespace InternalErrorException {
179
- /**
180
- * @internal
181
- */
182
- export const filterSensitiveLog = (obj: InternalErrorException): any => ({
183
- ...obj,
184
- });
185
- }
186
-
187
- /**
188
- * <p>The parameters of the request were invalid.</p>
189
- */
190
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
191
- name: "InvalidInputException";
192
- $fault: "client";
193
- Message?: string;
194
- }
195
-
196
- export namespace InvalidInputException {
197
- /**
198
- * @internal
199
- */
200
- export const filterSensitiveLog = (obj: InvalidInputException): any => ({
201
- ...obj,
202
- });
203
- }
204
-
205
- /**
206
- * <p>The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have
207
- * submitted an <code>AssociateAdminAccount</code> request for an account ID that
208
- * was already set as the Firewall Manager administrator. Or you might have tried to access a Region
209
- * that's disabled by default, and that you need to enable for the Firewall Manager
210
- * administrator account and for Organizations before you can access it.</p>
211
- */
212
- export interface InvalidOperationException extends __SmithyException, $MetadataBearer {
213
- name: "InvalidOperationException";
214
- $fault: "client";
215
- Message?: string;
216
- }
217
-
218
- export namespace InvalidOperationException {
219
- /**
220
- * @internal
221
- */
222
- export const filterSensitiveLog = (obj: InvalidOperationException): any => ({
223
- ...obj,
224
- });
225
- }
226
-
227
- /**
228
- * <p>The operation exceeds a resource limit, for example, the maximum number of
229
- * <code>policy</code> objects that you can create for an Amazon Web Services account. For more information,
230
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html">Firewall
231
- * Manager Limits</a> in the <i>WAF Developer Guide</i>.</p>
232
- */
233
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
234
- name: "LimitExceededException";
235
- $fault: "client";
236
- Message?: string;
237
- }
238
-
239
- export namespace LimitExceededException {
240
- /**
241
- * @internal
242
- */
243
- export const filterSensitiveLog = (obj: LimitExceededException): any => ({
244
- ...obj,
245
- });
246
- }
247
-
248
- /**
249
- * <p>The specified resource was not found.</p>
250
- */
251
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
252
- name: "ResourceNotFoundException";
253
- $fault: "client";
254
- Message?: string;
255
- }
256
-
257
- export namespace ResourceNotFoundException {
258
- /**
259
- * @internal
260
- */
261
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
262
- ...obj,
263
- });
264
- }
265
-
266
- /**
267
- * <p>Violation detail for network interfaces associated with an EC2 instance.</p>
268
- */
269
- export interface AwsEc2NetworkInterfaceViolation {
270
- /**
271
- * <p>The resource ID of the network interface.</p>
272
- */
273
- ViolationTarget?: string;
274
-
275
- /**
276
- * <p>List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.</p>
277
- */
278
- ViolatingSecurityGroups?: string[];
279
- }
280
-
281
- export namespace AwsEc2NetworkInterfaceViolation {
282
- /**
283
- * @internal
284
- */
285
- export const filterSensitiveLog = (obj: AwsEc2NetworkInterfaceViolation): any => ({
286
- ...obj,
287
- });
288
- }
289
-
290
- /**
291
- * <p>Violation detail for an EC2 instance resource.</p>
292
- */
293
- export interface AwsEc2InstanceViolation {
294
- /**
295
- * <p>The resource ID of the EC2 instance.</p>
296
- */
297
- ViolationTarget?: string;
298
-
299
- /**
300
- * <p>Violation detail for network interfaces associated with the EC2 instance.</p>
301
- */
302
- AwsEc2NetworkInterfaceViolations?: AwsEc2NetworkInterfaceViolation[];
303
- }
304
-
305
- export namespace AwsEc2InstanceViolation {
306
- /**
307
- * @internal
308
- */
309
- export const filterSensitiveLog = (obj: AwsEc2InstanceViolation): any => ({
310
- ...obj,
311
- });
312
- }
313
-
314
- export interface DeleteAppsListRequest {
315
- /**
316
- * <p>The ID of the applications list that you want to delete. You can retrieve this ID from
317
- * <code>PutAppsList</code>, <code>ListAppsLists</code>, and <code>GetAppsList</code>.</p>
318
- */
319
- ListId: string | undefined;
320
- }
321
-
322
- export namespace DeleteAppsListRequest {
323
- /**
324
- * @internal
325
- */
326
- export const filterSensitiveLog = (obj: DeleteAppsListRequest): any => ({
327
- ...obj,
328
- });
329
- }
330
-
331
- export interface DeleteNotificationChannelRequest {}
332
-
333
- export namespace DeleteNotificationChannelRequest {
334
- /**
335
- * @internal
336
- */
337
- export const filterSensitiveLog = (obj: DeleteNotificationChannelRequest): any => ({
338
- ...obj,
339
- });
340
- }
341
-
342
- export interface DeletePolicyRequest {
343
- /**
344
- * <p>The ID of the policy that you want to delete. You can retrieve this ID from
345
- * <code>PutPolicy</code> and <code>ListPolicies</code>.</p>
346
- */
347
- PolicyId: string | undefined;
348
-
349
- /**
350
- * <p>If <code>True</code>, the request performs cleanup according to the policy type. </p>
351
- * <p>For WAF and Shield Advanced policies, the cleanup does the following:</p>
352
- * <ul>
353
- * <li>
354
- * <p>Deletes rule groups created by Firewall Manager</p>
355
- * </li>
356
- * <li>
357
- * <p>Removes web ACLs from in-scope resources</p>
358
- * </li>
359
- * <li>
360
- * <p>Deletes web ACLs that contain no rules or rule groups</p>
361
- * </li>
362
- * </ul>
363
- * <p>For security group policies, the cleanup does the following for each security group in
364
- * the policy:</p>
365
- * <ul>
366
- * <li>
367
- * <p>Disassociates the security group from in-scope resources </p>
368
- * </li>
369
- * <li>
370
- * <p>Deletes the security group if it was created through Firewall Manager and if it's
371
- * no longer associated with any resources through another policy</p>
372
- * </li>
373
- * </ul>
374
- * <p>After the cleanup, in-scope resources are no longer protected by web ACLs in this policy.
375
- * Protection of out-of-scope resources remains unchanged. Scope is determined by tags that you
376
- * create and accounts that you associate with the policy. When creating the policy, if you
377
- * specify that only resources in specific accounts or with specific tags are in scope of the
378
- * policy, those accounts and resources are handled by the policy. All others are out of scope.
379
- * If you don't specify tags or accounts, all resources are in scope. </p>
380
- */
381
- DeleteAllPolicyResources?: boolean;
382
- }
383
-
384
- export namespace DeletePolicyRequest {
385
- /**
386
- * @internal
387
- */
388
- export const filterSensitiveLog = (obj: DeletePolicyRequest): any => ({
389
- ...obj,
390
- });
391
- }
392
-
393
- export interface DeleteProtocolsListRequest {
394
- /**
395
- * <p>The ID of the protocols list that you want to delete. You can retrieve this ID from
396
- * <code>PutProtocolsList</code>, <code>ListProtocolsLists</code>, and <code>GetProtocolsLost</code>.</p>
397
- */
398
- ListId: string | undefined;
399
- }
400
-
401
- export namespace DeleteProtocolsListRequest {
402
- /**
403
- * @internal
404
- */
405
- export const filterSensitiveLog = (obj: DeleteProtocolsListRequest): any => ({
406
- ...obj,
407
- });
408
- }
409
-
410
- export interface DisassociateAdminAccountRequest {}
411
-
412
- export namespace DisassociateAdminAccountRequest {
413
- /**
414
- * @internal
415
- */
416
- export const filterSensitiveLog = (obj: DisassociateAdminAccountRequest): any => ({
417
- ...obj,
418
- });
419
- }
420
-
421
- export interface GetAdminAccountRequest {}
422
-
423
- export namespace GetAdminAccountRequest {
424
- /**
425
- * @internal
426
- */
427
- export const filterSensitiveLog = (obj: GetAdminAccountRequest): any => ({
428
- ...obj,
429
- });
430
- }
431
-
432
- export interface GetAdminAccountResponse {
433
- /**
434
- * <p>The Amazon Web Services account that is set as the Firewall Manager administrator.</p>
435
- */
436
- AdminAccount?: string;
437
-
438
- /**
439
- * <p>The status of the Amazon Web Services account that you set as the Firewall Manager
440
- * administrator.</p>
441
- */
442
- RoleStatus?: AccountRoleStatus | string;
443
- }
444
-
445
- export namespace GetAdminAccountResponse {
446
- /**
447
- * @internal
448
- */
449
- export const filterSensitiveLog = (obj: GetAdminAccountResponse): any => ({
450
- ...obj,
451
- });
452
- }
453
-
454
- export interface GetAppsListRequest {
455
- /**
456
- * <p>The ID of the Firewall Manager applications list that you want the details for.</p>
457
- */
458
- ListId: string | undefined;
459
-
460
- /**
461
- * <p>Specifies whether the list to retrieve is a default list owned by Firewall Manager.</p>
462
- */
463
- DefaultList?: boolean;
464
- }
465
-
466
- export namespace GetAppsListRequest {
467
- /**
468
- * @internal
469
- */
470
- export const filterSensitiveLog = (obj: GetAppsListRequest): any => ({
471
- ...obj,
472
- });
473
- }
474
-
475
- export interface GetAppsListResponse {
476
- /**
477
- * <p>Information about the specified Firewall Manager applications list.</p>
478
- */
479
- AppsList?: AppsListData;
480
-
481
- /**
482
- * <p>The Amazon Resource Name (ARN) of the applications list.</p>
483
- */
484
- AppsListArn?: string;
485
- }
486
-
487
- export namespace GetAppsListResponse {
488
- /**
489
- * @internal
490
- */
491
- export const filterSensitiveLog = (obj: GetAppsListResponse): any => ({
492
- ...obj,
493
- });
494
- }
495
-
496
- export interface GetComplianceDetailRequest {
497
- /**
498
- * <p>The ID of the policy that you want to get the details for. <code>PolicyId</code> is
499
- * returned by <code>PutPolicy</code> and by <code>ListPolicies</code>.</p>
500
- */
501
- PolicyId: string | undefined;
502
-
503
- /**
504
- * <p>The Amazon Web Services account that owns the resources that you want to get the details for.</p>
505
- */
506
- MemberAccount: string | undefined;
507
- }
508
-
509
- export namespace GetComplianceDetailRequest {
510
- /**
511
- * @internal
512
- */
513
- export const filterSensitiveLog = (obj: GetComplianceDetailRequest): any => ({
514
- ...obj,
515
- });
516
- }
517
-
518
- export enum DependentServiceName {
519
- AWSConfig = "AWSCONFIG",
520
- AWSShieldAdvanced = "AWSSHIELD_ADVANCED",
521
- AWSVirtualPrivateCloud = "AWSVPC",
522
- AWSWAF = "AWSWAF",
523
- }
524
-
525
- export enum ViolationReason {
526
- BlackHoleRouteDetected = "BLACK_HOLE_ROUTE_DETECTED",
527
- BlackHoleRouteDetectedInFirewallSubnet = "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET",
528
- FMSCreatedSecurityGroupEdited = "FMS_CREATED_SECURITY_GROUP_EDITED",
529
- FirewallSubnetMissingExpectedRoute = "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE",
530
- InternetGatewayMissingExpectedRoute = "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE",
531
- InternetTrafficNotInspected = "INTERNET_TRAFFIC_NOT_INSPECTED",
532
- InvalidRouteConfiguration = "INVALID_ROUTE_CONFIGURATION",
533
- MissingExpectedRouteTable = "MISSING_EXPECTED_ROUTE_TABLE",
534
- MissingFirewall = "MISSING_FIREWALL",
535
- MissingFirewallSubnetInAZ = "MISSING_FIREWALL_SUBNET_IN_AZ",
536
- MissingTargetGateway = "MISSING_TARGET_GATEWAY",
537
- NetworkFirewallPolicyModified = "NETWORK_FIREWALL_POLICY_MODIFIED",
538
- ResourceIncorrectWebAcl = "RESOURCE_INCORRECT_WEB_ACL",
539
- ResourceMissingDnsFirewall = "RESOURCE_MISSING_DNS_FIREWALL",
540
- ResourceMissingSecurityGroup = "RESOURCE_MISSING_SECURITY_GROUP",
541
- ResourceMissingShieldProtection = "RESOURCE_MISSING_SHIELD_PROTECTION",
542
- ResourceMissingWebAcl = "RESOURCE_MISSING_WEB_ACL",
543
- ResourceMissingWebaclOrShieldProtection = "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION",
544
- ResourceViolatesAuditSecurityGroup = "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP",
545
- SecurityGroupRedundant = "SECURITY_GROUP_REDUNDANT",
546
- SecurityGroupUnused = "SECURITY_GROUP_UNUSED",
547
- TrafficInspectionCrossesAZBoundary = "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY",
548
- UnexpectedFirewallRoutes = "UNEXPECTED_FIREWALL_ROUTES",
549
- UnexpectedTargetGatewayRoutes = "UNEXPECTED_TARGET_GATEWAY_ROUTES",
550
- WebAclMissingRuleGroup = "WEB_ACL_MISSING_RULE_GROUP",
551
- }
552
-
553
- /**
554
- * <p>Details of the resource that is not protected by the policy.</p>
555
- */
556
- export interface ComplianceViolator {
557
- /**
558
- * <p>The resource ID.</p>
559
- */
560
- ResourceId?: string;
561
-
562
- /**
563
- * <p>The reason that the resource is not protected by the policy.</p>
564
- */
565
- ViolationReason?: ViolationReason | string;
566
-
567
- /**
568
- * <p>The resource type. This is in the format shown in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Amazon Web Services Resource Types Reference</a>. For example:
569
- * <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code>,
570
- * <code>AWS::CloudFront::Distribution</code>, or
571
- * <code>AWS::NetworkFirewall::FirewallPolicy</code>.</p>
572
- */
573
- ResourceType?: string;
574
- }
575
-
576
- export namespace ComplianceViolator {
577
- /**
578
- * @internal
579
- */
580
- export const filterSensitiveLog = (obj: ComplianceViolator): any => ({
581
- ...obj,
582
- });
583
- }
584
-
585
- /**
586
- * <p>Describes
587
- * the noncompliant resources in a member account for a specific Firewall Manager policy. A maximum of 100 entries are displayed. If more than 100 resources are
588
- * noncompliant, <code>EvaluationLimitExceeded</code> is set to <code>True</code>.</p>
589
- */
590
- export interface PolicyComplianceDetail {
591
- /**
592
- * <p>The Amazon Web Services account that created the Firewall Manager policy.</p>
593
- */
594
- PolicyOwner?: string;
595
-
596
- /**
597
- * <p>The ID of the Firewall Manager policy.</p>
598
- */
599
- PolicyId?: string;
600
-
601
- /**
602
- * <p>The Amazon Web Services account ID.</p>
603
- */
604
- MemberAccount?: string;
605
-
606
- /**
607
- * <p>An array of resources that aren't protected by the WAF or Shield Advanced policy or
608
- * that aren't in compliance with the security group policy.</p>
609
- */
610
- Violators?: ComplianceViolator[];
611
-
612
- /**
613
- * <p>Indicates if over 100 resources are noncompliant with the Firewall Manager
614
- * policy.</p>
615
- */
616
- EvaluationLimitExceeded?: boolean;
617
-
618
- /**
619
- * <p>A timestamp that indicates when the returned information should be considered out of
620
- * date.</p>
621
- */
622
- ExpiredAt?: Date;
623
-
624
- /**
625
- * <p>Details about problems with dependent services, such as WAF or Config,
626
- * and the error message received that indicates the problem with the service.</p>
627
- */
628
- IssueInfoMap?: { [key: string]: string };
629
- }
630
-
631
- export namespace PolicyComplianceDetail {
632
- /**
633
- * @internal
634
- */
635
- export const filterSensitiveLog = (obj: PolicyComplianceDetail): any => ({
636
- ...obj,
637
- });
638
- }
639
-
640
- export interface GetComplianceDetailResponse {
641
- /**
642
- * <p>Information about the resources and the policy that you specified in the
643
- * <code>GetComplianceDetail</code> request.</p>
644
- */
645
- PolicyComplianceDetail?: PolicyComplianceDetail;
646
- }
647
-
648
- export namespace GetComplianceDetailResponse {
649
- /**
650
- * @internal
651
- */
652
- export const filterSensitiveLog = (obj: GetComplianceDetailResponse): any => ({
653
- ...obj,
654
- });
655
- }
656
-
657
- export interface GetNotificationChannelRequest {}
658
-
659
- export namespace GetNotificationChannelRequest {
660
- /**
661
- * @internal
662
- */
663
- export const filterSensitiveLog = (obj: GetNotificationChannelRequest): any => ({
664
- ...obj,
665
- });
666
- }
667
-
668
- export interface GetNotificationChannelResponse {
669
- /**
670
- * <p>The SNS topic that records Firewall Manager activity. </p>
671
- */
672
- SnsTopicArn?: string;
673
-
674
- /**
675
- * <p>The IAM role that is used by Firewall Manager to record activity to SNS.</p>
676
- */
677
- SnsRoleName?: string;
678
- }
679
-
680
- export namespace GetNotificationChannelResponse {
681
- /**
682
- * @internal
683
- */
684
- export const filterSensitiveLog = (obj: GetNotificationChannelResponse): any => ({
685
- ...obj,
686
- });
687
- }
688
-
689
- export interface GetPolicyRequest {
690
- /**
691
- * <p>The ID of the Firewall Manager policy that you want the details for.</p>
692
- */
693
- PolicyId: string | undefined;
694
- }
695
-
696
- export namespace GetPolicyRequest {
697
- /**
698
- * @internal
699
- */
700
- export const filterSensitiveLog = (obj: GetPolicyRequest): any => ({
701
- ...obj,
702
- });
703
- }
704
-
705
- export enum CustomerPolicyScopeIdType {
706
- ACCOUNT = "ACCOUNT",
707
- ORG_UNIT = "ORG_UNIT",
708
- }
709
-
710
- /**
711
- * <p>The resource tags that Firewall Manager uses to determine if a particular resource
712
- * should be included or excluded from the Firewall Manager policy. Tags enable you to
713
- * categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or
714
- * environment. Each tag consists of a key and an optional value. Firewall Manager combines the
715
- * tags with "AND" so that, if you add more than one tag to a policy scope, a resource must have
716
- * all the specified tags to be included or excluded. For more information, see
717
- * <a href="https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/tag-editor.html">Working with Tag Editor</a>.</p>
718
- */
719
- export interface ResourceTag {
720
- /**
721
- * <p>The resource tag key.</p>
722
- */
723
- Key: string | undefined;
724
-
725
- /**
726
- * <p>The resource tag value.</p>
727
- */
728
- Value?: string;
729
- }
730
-
731
- export namespace ResourceTag {
732
- /**
733
- * @internal
734
- */
735
- export const filterSensitiveLog = (obj: ResourceTag): any => ({
736
- ...obj,
737
- });
738
- }
739
-
740
- export enum SecurityServiceType {
741
- DNS_FIREWALL = "DNS_FIREWALL",
742
- NETWORK_FIREWALL = "NETWORK_FIREWALL",
743
- SECURITY_GROUPS_COMMON = "SECURITY_GROUPS_COMMON",
744
- SECURITY_GROUPS_CONTENT_AUDIT = "SECURITY_GROUPS_CONTENT_AUDIT",
745
- SECURITY_GROUPS_USAGE_AUDIT = "SECURITY_GROUPS_USAGE_AUDIT",
746
- SHIELD_ADVANCED = "SHIELD_ADVANCED",
747
- WAF = "WAF",
748
- WAFV2 = "WAFV2",
749
- }
750
-
751
- /**
752
- * <p>Details about the security service that is being used to protect the resources.</p>
753
- */
754
- export interface SecurityServicePolicyData {
755
- /**
756
- * <p>The service that the policy is using to protect the resources. This specifies the type of
757
- * policy that is created, either an WAF policy, a Shield Advanced policy, or a security
758
- * group policy. For security group policies, Firewall Manager supports one security group for
759
- * each common policy and for each content audit policy. This is an adjustable limit that you can
760
- * increase by contacting Amazon Web Services Support.</p>
761
- */
762
- Type: SecurityServiceType | string | undefined;
763
-
764
- /**
765
- * <p>Details about the service that are specific to the service type, in JSON format. For
766
- * service type <code>SHIELD_ADVANCED</code>, this is an empty string.</p>
767
- * <ul>
768
- * <li>
769
- * <p>Example: <code>DNS_FIREWALL</code>
770
- * </p>
771
- * <p>
772
- * <code>"{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}"</code>
773
- * </p>
774
- * <note>
775
- * <p>Valid values for <code>preProcessRuleGroups</code> are between 1 and 99. Valid values for <code>postProcessRuleGroups</code> are between 9901 and 10000.</p>
776
- * </note>
777
- * </li>
778
- * <li>
779
- * <p>Example: <code>NETWORK_FIREWALL</code>
780
- * </p>
781
- * <p>
782
- * <code>"{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateless-rulegroup/rulegroup2\",\"priority\":10}],\"networkFirewallStatelessDefaultActions\":[\"aws:pass\",\"custom1\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"custom2\",\"aws:pass\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"custom1\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension1\"}]}}},{\"actionName\":\"custom2\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension2\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateful-rulegroup/rulegroup1\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":true,\"allowedIPV4CidrList\":[\"10.24.34.0/28\"]} }"</code>
783
- * </p>
784
- * </li>
785
- * <li>
786
- * <p>Example: <code>WAFV2</code>
787
- * </p>
788
- * <p>
789
- * <code>"{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesAmazonIpReputationList\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[{\"name\":\"NoUserAgent_HEADER\"}]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":{\"logDestinationConfigs\":[\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\"],\"redactedFields\":[{\"redactedFieldType\":\"SingleHeader\",\"redactedFieldValue\":\"Cookies\"},{\"redactedFieldType\":\"Method\"}]}}"</code>
790
- * </p>
791
- * <p>In the <code>loggingConfiguration</code>, you can specify one <code>logDestinationConfigs</code>, you can optionally provide up to 20 <code>redactedFields</code>, and the <code>RedactedFieldType</code> must be one of <code>URI</code>, <code>QUERY_STRING</code>, <code>HEADER</code>, or <code>METHOD</code>.</p>
792
- * </li>
793
- * <li>
794
- * <p>Example: <code>WAF Classic</code>
795
- * </p>
796
- * <p>
797
- * <code>"{\"type\": \"WAF\", \"ruleGroups\": [{\"id\":\"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}"</code>
798
- * </p>
799
- * </li>
800
- * <li>
801
- * <p>Example: <code>SECURITY_GROUPS_COMMON</code>
802
- * </p>
803
- * <p>
804
- * <code>"{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}"</code>
805
- * </p>
806
- * </li>
807
- * <li>
808
- * <p>Example: Shared VPCs. Apply the preceding policy to resources in shared VPCs as well as to those in VPCs that the account owns
809
- * </p>
810
- * <p>
811
- * <code>"{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":true,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}"</code>
812
- * </p>
813
- * </li>
814
- * <li>
815
- * <p>Example: <code>SECURITY_GROUPS_CONTENT_AUDIT</code>
816
- * </p>
817
- * <p>
818
- * <code>"{\"type\":\"SECURITY_GROUPS_CONTENT_AUDIT\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"securityGroupAction\":{\"type\":\"ALLOW\"}}"</code>
819
- * </p>
820
- * <p>The security group action for content audit can be <code>ALLOW</code> or
821
- * <code>DENY</code>. For <code>ALLOW</code>, all in-scope security group rules must be
822
- * within the allowed range of the policy's security group rules. For <code>DENY</code>, all
823
- * in-scope security group rules must not contain a value or a range that matches a rule
824
- * value or range in the policy security group.</p>
825
- * </li>
826
- * <li>
827
- * <p>Example: <code>SECURITY_GROUPS_USAGE_AUDIT</code>
828
- * </p>
829
- * <p>
830
- * <code>"{\"type\":\"SECURITY_GROUPS_USAGE_AUDIT\",\"deleteUnusedSecurityGroups\":true,\"coalesceRedundantSecurityGroups\":true}"</code>
831
- * </p>
832
- * </li>
833
- * </ul>
834
- */
835
- ManagedServiceData?: string;
836
- }
837
-
838
- export namespace SecurityServicePolicyData {
839
- /**
840
- * @internal
841
- */
842
- export const filterSensitiveLog = (obj: SecurityServicePolicyData): any => ({
843
- ...obj,
844
- });
845
- }
846
-
847
- /**
848
- * <p>An Firewall Manager policy.</p>
849
- */
850
- export interface Policy {
851
- /**
852
- * <p>The ID of the Firewall Manager policy.</p>
853
- */
854
- PolicyId?: string;
855
-
856
- /**
857
- * <p>The name of the Firewall Manager policy.</p>
858
- */
859
- PolicyName: string | undefined;
860
-
861
- /**
862
- * <p>A unique identifier for each update to the policy. When issuing a <code>PutPolicy</code>
863
- * request, the <code>PolicyUpdateToken</code> in the request must match the
864
- * <code>PolicyUpdateToken</code> of the current policy version. To get the
865
- * <code>PolicyUpdateToken</code> of the current policy version, use a <code>GetPolicy</code>
866
- * request.</p>
867
- */
868
- PolicyUpdateToken?: string;
869
-
870
- /**
871
- * <p>Details about the security service that is being used to protect the resources.</p>
872
- */
873
- SecurityServicePolicyData: SecurityServicePolicyData | undefined;
874
-
875
- /**
876
- * <p>The type of resource protected by or in scope of the policy. This is in the format shown
877
- * in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Amazon Web Services Resource Types Reference</a>.
878
- * To apply this policy to multiple resource types, specify a resource type of <code>ResourceTypeList</code> and then specify the resource types in a <code>ResourceTypeList</code>.</p>
879
- * <p>For WAF and Shield Advanced, example resource types include
880
- * <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> and
881
- * <code>AWS::CloudFront::Distribution</code>. For a security group common policy, valid values
882
- * are <code>AWS::EC2::NetworkInterface</code> and <code>AWS::EC2::Instance</code>. For a
883
- * security group content audit policy, valid values are <code>AWS::EC2::SecurityGroup</code>,
884
- * <code>AWS::EC2::NetworkInterface</code>, and <code>AWS::EC2::Instance</code>. For a security
885
- * group usage audit policy, the value is <code>AWS::EC2::SecurityGroup</code>. For an Network Firewall policy or DNS Firewall policy,
886
- * the value is <code>AWS::EC2::VPC</code>.</p>
887
- */
888
- ResourceType: string | undefined;
889
-
890
- /**
891
- * <p>An array of <code>ResourceType</code> objects. Use this only to specify multiple resource types. To specify a single resource type, use <code>ResourceType</code>.</p>
892
- */
893
- ResourceTypeList?: string[];
894
-
895
- /**
896
- * <p>An array of <code>ResourceTag</code> objects.</p>
897
- */
898
- ResourceTags?: ResourceTag[];
899
-
900
- /**
901
- * <p>If set to <code>True</code>, resources with the tags that are specified in the
902
- * <code>ResourceTag</code> array are not in scope of the policy. If set to <code>False</code>,
903
- * and the <code>ResourceTag</code> array is not null, only resources with the specified tags are
904
- * in scope of the policy.</p>
905
- */
906
- ExcludeResourceTags: boolean | undefined;
907
-
908
- /**
909
- * <p>Indicates if the policy should be automatically applied to new resources.</p>
910
- */
911
- RemediationEnabled: boolean | undefined;
912
-
913
- /**
914
- * <p>Indicates whether Firewall Manager should delete Firewall Manager managed resources, such as web ACLs and security groups, when they are not in use by the Firewall Manager policy. By default, Firewall Manager doesn't delete unused Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies.</p>
915
- */
916
- DeleteUnusedFMManagedResources?: boolean;
917
-
918
- /**
919
- * <p>Specifies the Amazon Web Services account IDs and Organizations organizational units (OUs) to include in the policy.
920
- * Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.</p>
921
- * <p>You can specify inclusions or exclusions, but not both. If you specify an <code>IncludeMap</code>, Firewall Manager
922
- * applies the policy to all accounts specified by the <code>IncludeMap</code>, and
923
- * does not evaluate any <code>ExcludeMap</code> specifications. If you do not specify an <code>IncludeMap</code>, then Firewall Manager
924
- * applies the policy to all accounts except for those specified by the <code>ExcludeMap</code>.</p>
925
- * <p>You can specify account IDs, OUs, or a combination: </p>
926
- * <ul>
927
- * <li>
928
- * <p>Specify account IDs by setting the key to <code>ACCOUNT</code>. For example, the following is a valid map:
929
- * <code>{“ACCOUNT” : [“accountID1”, “accountID2”]}</code>.</p>
930
- * </li>
931
- * <li>
932
- * <p>Specify OUs by setting the key to <code>ORG_UNIT</code>. For example, the following is a valid map:
933
- * <code>{“ORG_UNIT” : [“ouid111”, “ouid112”]}</code>.</p>
934
- * </li>
935
- * <li>
936
- * <p>Specify accounts and OUs together in a single map, separated with a comma. For example, the following is a valid map:
937
- * <code>{“ACCOUNT” : [“accountID1”, “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]}</code>.</p>
938
- * </li>
939
- * </ul>
940
- */
941
- IncludeMap?: { [key: string]: string[] };
942
-
943
- /**
944
- * <p>Specifies the Amazon Web Services account IDs and Organizations organizational units (OUs) to exclude from the policy.
945
- * Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.</p>
946
- * <p>You can specify inclusions or exclusions, but not both. If you specify an <code>IncludeMap</code>, Firewall Manager
947
- * applies the policy to all accounts specified by the <code>IncludeMap</code>, and
948
- * does not evaluate any <code>ExcludeMap</code> specifications. If you do not specify an <code>IncludeMap</code>, then Firewall Manager
949
- * applies the policy to all accounts except for those specified by the <code>ExcludeMap</code>.</p>
950
- * <p>You can specify account IDs, OUs, or a combination: </p>
951
- * <ul>
952
- * <li>
953
- * <p>Specify account IDs by setting the key to <code>ACCOUNT</code>. For example, the following is a valid map:
954
- * <code>{“ACCOUNT” : [“accountID1”, “accountID2”]}</code>.</p>
955
- * </li>
956
- * <li>
957
- * <p>Specify OUs by setting the key to <code>ORG_UNIT</code>. For example, the following is a valid map:
958
- * <code>{“ORG_UNIT” : [“ouid111”, “ouid112”]}</code>.</p>
959
- * </li>
960
- * <li>
961
- * <p>Specify accounts and OUs together in a single map, separated with a comma. For example, the following is a valid map:
962
- * <code>{“ACCOUNT” : [“accountID1”, “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]}</code>.</p>
963
- * </li>
964
- * </ul>
965
- */
966
- ExcludeMap?: { [key: string]: string[] };
967
- }
968
-
969
- export namespace Policy {
970
- /**
971
- * @internal
972
- */
973
- export const filterSensitiveLog = (obj: Policy): any => ({
974
- ...obj,
975
- });
976
- }
977
-
978
- export interface GetPolicyResponse {
979
- /**
980
- * <p>Information about the specified Firewall Manager policy.</p>
981
- */
982
- Policy?: Policy;
983
-
984
- /**
985
- * <p>The Amazon Resource Name (ARN) of the specified policy.</p>
986
- */
987
- PolicyArn?: string;
988
- }
989
-
990
- export namespace GetPolicyResponse {
991
- /**
992
- * @internal
993
- */
994
- export const filterSensitiveLog = (obj: GetPolicyResponse): any => ({
995
- ...obj,
996
- });
997
- }
998
-
999
- /**
1000
- * <p>The value of the <code>Type</code> parameter is invalid.</p>
1001
- */
1002
- export interface InvalidTypeException extends __SmithyException, $MetadataBearer {
1003
- name: "InvalidTypeException";
1004
- $fault: "client";
1005
- Message?: string;
1006
- }
1007
-
1008
- export namespace InvalidTypeException {
1009
- /**
1010
- * @internal
1011
- */
1012
- export const filterSensitiveLog = (obj: InvalidTypeException): any => ({
1013
- ...obj,
1014
- });
1015
- }
1016
-
1017
- export interface GetProtectionStatusRequest {
1018
- /**
1019
- * <p>The ID of the policy for which you want to get the attack information.</p>
1020
- */
1021
- PolicyId: string | undefined;
1022
-
1023
- /**
1024
- * <p>The Amazon Web Services account that is in scope of the policy that you want to get the details
1025
- * for.</p>
1026
- */
1027
- MemberAccountId?: string;
1028
-
1029
- /**
1030
- * <p>The start of the time period to query for the attacks. This is a <code>timestamp</code> type. The
1031
- * request syntax listing indicates a <code>number</code> type because the default used by Firewall Manager is Unix time in seconds. However, any valid <code>timestamp</code> format is
1032
- * allowed.</p>
1033
- */
1034
- StartTime?: Date;
1035
-
1036
- /**
1037
- * <p>The end of the time period to query for the attacks. This is a <code>timestamp</code> type. The
1038
- * request syntax listing indicates a <code>number</code> type because the default used by Firewall Manager is Unix time in seconds. However, any valid <code>timestamp</code> format is
1039
- * allowed.</p>
1040
- */
1041
- EndTime?: Date;
1042
-
1043
- /**
1044
- * <p>If you specify a value for <code>MaxResults</code> and you have more objects than the number that you specify
1045
- * for <code>MaxResults</code>, Firewall Manager returns a <code>NextToken</code> value in the response, which you can use to retrieve another group of
1046
- * objects. For the second and subsequent <code>GetProtectionStatus</code> requests, specify the value of <code>NextToken</code>
1047
- * from the previous response to get information about another batch of objects.</p>
1048
- */
1049
- NextToken?: string;
1050
-
1051
- /**
1052
- * <p>Specifies the number of objects that you want Firewall Manager to return for this request. If you have more
1053
- * objects than the number that you specify for <code>MaxResults</code>, the response includes a
1054
- * <code>NextToken</code> value that you can use to get another batch of objects.</p>
1055
- */
1056
- MaxResults?: number;
1057
- }
1058
-
1059
- export namespace GetProtectionStatusRequest {
1060
- /**
1061
- * @internal
1062
- */
1063
- export const filterSensitiveLog = (obj: GetProtectionStatusRequest): any => ({
1064
- ...obj,
1065
- });
1066
- }
1067
-
1068
- export interface GetProtectionStatusResponse {
1069
- /**
1070
- * <p>The ID of the Firewall Manager administrator account for this policy.</p>
1071
- */
1072
- AdminAccountId?: string;
1073
-
1074
- /**
1075
- * <p>The service type that is protected by the policy. Currently, this is always
1076
- * <code>SHIELD_ADVANCED</code>.</p>
1077
- */
1078
- ServiceType?: SecurityServiceType | string;
1079
-
1080
- /**
1081
- * <p>Details about the attack, including the following:</p>
1082
- * <ul>
1083
- * <li>
1084
- * <p>Attack type</p>
1085
- * </li>
1086
- * <li>
1087
- * <p>Account ID</p>
1088
- * </li>
1089
- * <li>
1090
- * <p>ARN of the resource attacked</p>
1091
- * </li>
1092
- * <li>
1093
- * <p>Start time of the attack</p>
1094
- * </li>
1095
- * <li>
1096
- * <p>End time of the attack (ongoing attacks will not have an end time)</p>
1097
- * </li>
1098
- * </ul>
1099
- * <p>The details are in JSON format. </p>
1100
- */
1101
- Data?: string;
1102
-
1103
- /**
1104
- * <p>If you have more objects than the number that you specified for <code>MaxResults</code> in the request,
1105
- * the response includes a <code>NextToken</code> value. To list more objects, submit another
1106
- * <code>GetProtectionStatus</code> request, and specify the <code>NextToken</code> value from the response in the
1107
- * <code>NextToken</code> value in the next request.</p>
1108
- * <p>Amazon Web Services SDKs provide auto-pagination that identify <code>NextToken</code> in a response and
1109
- * make subsequent request calls automatically on your behalf. However, this feature is not
1110
- * supported by <code>GetProtectionStatus</code>. You must submit subsequent requests with
1111
- * <code>NextToken</code> using your own processes. </p>
1112
- */
1113
- NextToken?: string;
1114
- }
1115
-
1116
- export namespace GetProtectionStatusResponse {
1117
- /**
1118
- * @internal
1119
- */
1120
- export const filterSensitiveLog = (obj: GetProtectionStatusResponse): any => ({
1121
- ...obj,
1122
- });
1123
- }
1124
-
1125
- export interface GetProtocolsListRequest {
1126
- /**
1127
- * <p>The ID of the Firewall Manager protocols list that you want the details for.</p>
1128
- */
1129
- ListId: string | undefined;
1130
-
1131
- /**
1132
- * <p>Specifies whether the list to retrieve is a default list owned by Firewall Manager.</p>
1133
- */
1134
- DefaultList?: boolean;
1135
- }
1136
-
1137
- export namespace GetProtocolsListRequest {
1138
- /**
1139
- * @internal
1140
- */
1141
- export const filterSensitiveLog = (obj: GetProtocolsListRequest): any => ({
1142
- ...obj,
1143
- });
1144
- }
1145
-
1146
- /**
1147
- * <p>An Firewall Manager protocols list.</p>
1148
- */
1149
- export interface ProtocolsListData {
1150
- /**
1151
- * <p>The ID of the Firewall Manager protocols list.</p>
1152
- */
1153
- ListId?: string;
1154
-
1155
- /**
1156
- * <p>The name of the Firewall Manager protocols list.</p>
1157
- */
1158
- ListName: string | undefined;
1159
-
1160
- /**
1161
- * <p>A unique identifier for each update to the list. When you update
1162
- * the list, the update token must match the token of the current version of the application list.
1163
- * You can retrieve the update token by getting the list. </p>
1164
- */
1165
- ListUpdateToken?: string;
1166
-
1167
- /**
1168
- * <p>The time that the Firewall Manager protocols list was created.</p>
1169
- */
1170
- CreateTime?: Date;
1171
-
1172
- /**
1173
- * <p>The time that the Firewall Manager protocols list was last updated.</p>
1174
- */
1175
- LastUpdateTime?: Date;
1176
-
1177
- /**
1178
- * <p>An array of protocols in the Firewall Manager protocols list.</p>
1179
- */
1180
- ProtocolsList: string[] | undefined;
1181
-
1182
- /**
1183
- * <p>A map of previous version numbers to their corresponding protocol arrays.</p>
1184
- */
1185
- PreviousProtocolsList?: { [key: string]: string[] };
1186
- }
1187
-
1188
- export namespace ProtocolsListData {
1189
- /**
1190
- * @internal
1191
- */
1192
- export const filterSensitiveLog = (obj: ProtocolsListData): any => ({
1193
- ...obj,
1194
- });
1195
- }
1196
-
1197
- export interface GetProtocolsListResponse {
1198
- /**
1199
- * <p>Information about the specified Firewall Manager protocols list.</p>
1200
- */
1201
- ProtocolsList?: ProtocolsListData;
1202
-
1203
- /**
1204
- * <p>The Amazon Resource Name (ARN) of the specified protocols list.</p>
1205
- */
1206
- ProtocolsListArn?: string;
1207
- }
1208
-
1209
- export namespace GetProtocolsListResponse {
1210
- /**
1211
- * @internal
1212
- */
1213
- export const filterSensitiveLog = (obj: GetProtocolsListResponse): any => ({
1214
- ...obj,
1215
- });
1216
- }
1217
-
1218
- export interface GetViolationDetailsRequest {
1219
- /**
1220
- * <p>The ID of the Firewall Manager policy that you want the details for. This currently only supports security group content audit policies.</p>
1221
- */
1222
- PolicyId: string | undefined;
1223
-
1224
- /**
1225
- * <p>The Amazon Web Services account ID that you want the details for.</p>
1226
- */
1227
- MemberAccount: string | undefined;
1228
-
1229
- /**
1230
- * <p>The ID of the resource that has violations.</p>
1231
- */
1232
- ResourceId: string | undefined;
1233
-
1234
- /**
1235
- * <p>The resource type. This is in the format shown in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Amazon Web Services Resource Types Reference</a>.
1236
- * Supported resource types are:
1237
- * <code>AWS::EC2::Instance</code>,
1238
- * <code>AWS::EC2::NetworkInterface</code>,
1239
- * <code>AWS::EC2::SecurityGroup</code>,
1240
- * <code>AWS::NetworkFirewall::FirewallPolicy</code>, and
1241
- * <code>AWS::EC2::Subnet</code>.
1242
- * </p>
1243
- */
1244
- ResourceType: string | undefined;
1245
- }
1246
-
1247
- export namespace GetViolationDetailsRequest {
1248
- /**
1249
- * @internal
1250
- */
1251
- export const filterSensitiveLog = (obj: GetViolationDetailsRequest): any => ({
1252
- ...obj,
1253
- });
1254
- }
1255
-
1256
- /**
1257
- * <p>A collection of key:value pairs associated with an Amazon Web Services resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each Amazon Web Services resource. </p>
1258
- */
1259
- export interface Tag {
1260
- /**
1261
- * <p>Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.</p>
1262
- */
1263
- Key: string | undefined;
1264
-
1265
- /**
1266
- * <p>Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive. </p>
1267
- */
1268
- Value: string | undefined;
1269
- }
1270
-
1271
- export namespace Tag {
1272
- /**
1273
- * @internal
1274
- */
1275
- export const filterSensitiveLog = (obj: Tag): any => ({
1276
- ...obj,
1277
- });
1278
- }
1279
-
1280
- /**
1281
- * <p>The reference rule that partially matches the <code>ViolationTarget</code> rule and violation reason.</p>
1282
- */
1283
- export interface PartialMatch {
1284
- /**
1285
- * <p>The reference rule from the primary security group of the Firewall Manager policy.</p>
1286
- */
1287
- Reference?: string;
1288
-
1289
- /**
1290
- * <p>The violation reason.</p>
1291
- */
1292
- TargetViolationReasons?: string[];
1293
- }
1294
-
1295
- export namespace PartialMatch {
1296
- /**
1297
- * @internal
1298
- */
1299
- export const filterSensitiveLog = (obj: PartialMatch): any => ({
1300
- ...obj,
1301
- });
1302
- }
1303
-
1304
- export enum RemediationActionType {
1305
- Modify = "MODIFY",
1306
- Remove = "REMOVE",
1307
- }
1308
-
1309
- /**
1310
- * <p>Describes a set of permissions for a security group rule.</p>
1311
- */
1312
- export interface SecurityGroupRuleDescription {
1313
- /**
1314
- * <p>The IPv4 ranges for the security group rule.</p>
1315
- */
1316
- IPV4Range?: string;
1317
-
1318
- /**
1319
- * <p>The IPv6 ranges for the security group rule.</p>
1320
- */
1321
- IPV6Range?: string;
1322
-
1323
- /**
1324
- * <p>The ID of the prefix list for the security group rule.</p>
1325
- */
1326
- PrefixListId?: string;
1327
-
1328
- /**
1329
- * <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>) or number.</p>
1330
- */
1331
- Protocol?: string;
1332
-
1333
- /**
1334
- * <p>The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of <code>-1</code> indicates all ICMP/ICMPv6 types.</p>
1335
- */
1336
- FromPort?: number;
1337
-
1338
- /**
1339
- * <p>The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of <code>-1</code> indicates all ICMP/ICMPv6 codes.</p>
1340
- */
1341
- ToPort?: number;
1342
- }
1343
-
1344
- export namespace SecurityGroupRuleDescription {
1345
- /**
1346
- * @internal
1347
- */
1348
- export const filterSensitiveLog = (obj: SecurityGroupRuleDescription): any => ({
1349
- ...obj,
1350
- });
1351
- }
1352
-
1353
- /**
1354
- * <p>Remediation option for the rule specified in the <code>ViolationTarget</code>.</p>
1355
- */
1356
- export interface SecurityGroupRemediationAction {
1357
- /**
1358
- * <p>The remediation action that will be performed.</p>
1359
- */
1360
- RemediationActionType?: RemediationActionType | string;
1361
-
1362
- /**
1363
- * <p>Brief description of the action that will be performed.</p>
1364
- */
1365
- Description?: string;
1366
-
1367
- /**
1368
- * <p>The final state of the rule specified in the <code>ViolationTarget</code> after it is remediated.</p>
1369
- */
1370
- RemediationResult?: SecurityGroupRuleDescription;
1371
-
1372
- /**
1373
- * <p>Indicates if the current action is the default action.</p>
1374
- */
1375
- IsDefaultAction?: boolean;
1376
- }
1377
-
1378
- export namespace SecurityGroupRemediationAction {
1379
- /**
1380
- * @internal
1381
- */
1382
- export const filterSensitiveLog = (obj: SecurityGroupRemediationAction): any => ({
1383
- ...obj,
1384
- });
1385
- }
1386
-
1387
- /**
1388
- * <p>Violation detail for the rule violation in a security group when compared to the primary security group of the Firewall Manager policy.</p>
1389
- */
1390
- export interface AwsVPCSecurityGroupViolation {
1391
- /**
1392
- * <p>The security group rule that is being evaluated.</p>
1393
- */
1394
- ViolationTarget?: string;
1395
-
1396
- /**
1397
- * <p>A description of the security group that violates the policy.</p>
1398
- */
1399
- ViolationTargetDescription?: string;
1400
-
1401
- /**
1402
- * <p>List of rules specified in the security group of the Firewall Manager policy that partially match the <code>ViolationTarget</code> rule.</p>
1403
- */
1404
- PartialMatches?: PartialMatch[];
1405
-
1406
- /**
1407
- * <p>Remediation options for the rule specified in the <code>ViolationTarget</code>.</p>
1408
- */
1409
- PossibleSecurityGroupRemediationActions?: SecurityGroupRemediationAction[];
1410
- }
1411
-
1412
- export namespace AwsVPCSecurityGroupViolation {
1413
- /**
1414
- * @internal
1415
- */
1416
- export const filterSensitiveLog = (obj: AwsVPCSecurityGroupViolation): any => ({
1417
- ...obj,
1418
- });
1419
- }
1420
-
1421
- /**
1422
- * <p>A DNS Firewall rule group that Firewall Manager
1423
- * tried to associate with a VPC is already associated with the VPC and can't be associated again. </p>
1424
- */
1425
- export interface DnsDuplicateRuleGroupViolation {
1426
- /**
1427
- * <p>Information about the VPC ID. </p>
1428
- */
1429
- ViolationTarget?: string;
1430
-
1431
- /**
1432
- * <p>A description of the violation that specifies the rule group and VPC.</p>
1433
- */
1434
- ViolationTargetDescription?: string;
1435
- }
1436
-
1437
- export namespace DnsDuplicateRuleGroupViolation {
1438
- /**
1439
- * @internal
1440
- */
1441
- export const filterSensitiveLog = (obj: DnsDuplicateRuleGroupViolation): any => ({
1442
- ...obj,
1443
- });
1444
- }
1445
-
1446
- /**
1447
- * <p>The VPC that Firewall Manager was applying a DNS Fireall policy to reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed due to the limit. </p>
1448
- */
1449
- export interface DnsRuleGroupLimitExceededViolation {
1450
- /**
1451
- * <p>Information about the VPC ID. </p>
1452
- */
1453
- ViolationTarget?: string;
1454
-
1455
- /**
1456
- * <p>A description of the violation that specifies the rule group and VPC.</p>
1457
- */
1458
- ViolationTargetDescription?: string;
1459
-
1460
- /**
1461
- * <p>The number of rule groups currently associated with the VPC. </p>
1462
- */
1463
- NumberOfRuleGroupsAlreadyAssociated?: number;
1464
- }
1465
-
1466
- export namespace DnsRuleGroupLimitExceededViolation {
1467
- /**
1468
- * @internal
1469
- */
1470
- export const filterSensitiveLog = (obj: DnsRuleGroupLimitExceededViolation): any => ({
1471
- ...obj,
1472
- });
1473
- }
1474
-
1475
- /**
1476
- * <p>A rule group that Firewall Manager
1477
- * tried to associate with a VPC has the same priority as a rule group that's already associated. </p>
1478
- */
1479
- export interface DnsRuleGroupPriorityConflictViolation {
1480
- /**
1481
- * <p>Information about the VPC ID. </p>
1482
- */
1483
- ViolationTarget?: string;
1484
-
1485
- /**
1486
- * <p>A description of the violation that specifies the VPC and the rule group that's already associated with it.</p>
1487
- */
1488
- ViolationTargetDescription?: string;
1489
-
1490
- /**
1491
- * <p>The priority setting of the two conflicting rule groups.</p>
1492
- */
1493
- ConflictingPriority?: number;
1494
-
1495
- /**
1496
- * <p>The ID of the Firewall Manager DNS Firewall policy that was already applied to the VPC.
1497
- * This policy contains the rule group that's already associated with the VPC. </p>
1498
- */
1499
- ConflictingPolicyId?: string;
1500
-
1501
- /**
1502
- * <p>The priorities of rule groups that are already associated with the VPC. To retry your operation,
1503
- * choose priority settings that aren't in this list for the rule groups in your new DNS Firewall policy. </p>
1504
- */
1505
- UnavailablePriorities?: number[];
1506
- }
1507
-
1508
- export namespace DnsRuleGroupPriorityConflictViolation {
1509
- /**
1510
- * @internal
1511
- */
1512
- export const filterSensitiveLog = (obj: DnsRuleGroupPriorityConflictViolation): any => ({
1513
- ...obj,
1514
- });
1515
- }
1516
-
1517
- export enum DestinationType {
1518
- IPV4 = "IPV4",
1519
- IPV6 = "IPV6",
1520
- PrefixList = "PREFIX_LIST",
1521
- }
1522
-
1523
- export enum TargetType {
1524
- CarrierGateway = "CARRIER_GATEWAY",
1525
- EgressOnlyInternetGateway = "EGRESS_ONLY_INTERNET_GATEWAY",
1526
- Gateway = "GATEWAY",
1527
- Instance = "INSTANCE",
1528
- LocalGateway = "LOCAL_GATEWAY",
1529
- NatGateway = "NAT_GATEWAY",
1530
- NetworkInterface = "NETWORK_INTERFACE",
1531
- TransitGateway = "TRANSIT_GATEWAY",
1532
- VPCEndpoint = "VPC_ENDPOINT",
1533
- VPCPeeringConnection = "VPC_PEERING_CONNECTION",
1534
- }
1535
-
1536
- /**
1537
- * <p>Describes a route in a route table.</p>
1538
- */
1539
- export interface Route {
1540
- /**
1541
- * <p>The type of destination for the route.</p>
1542
- */
1543
- DestinationType?: DestinationType | string;
1544
-
1545
- /**
1546
- * <p>The type of target for the route.</p>
1547
- */
1548
- TargetType?: TargetType | string;
1549
-
1550
- /**
1551
- * <p>The destination of the route.</p>
1552
- */
1553
- Destination?: string;
1554
-
1555
- /**
1556
- * <p>The route's target.</p>
1557
- */
1558
- Target?: string;
1559
- }
1560
-
1561
- export namespace Route {
1562
- /**
1563
- * @internal
1564
- */
1565
- export const filterSensitiveLog = (obj: Route): any => ({
1566
- ...obj,
1567
- });
1568
- }
1569
-
1570
- /**
1571
- * <p>Violation detail for an internet gateway route with an inactive state in the customer subnet route table or Network Firewall subnet route table.</p>
1572
- */
1573
- export interface NetworkFirewallBlackHoleRouteDetectedViolation {
1574
- /**
1575
- * <p>The subnet that has an inactive state.</p>
1576
- */
1577
- ViolationTarget?: string;
1578
-
1579
- /**
1580
- * <p>Information about the route table ID.</p>
1581
- */
1582
- RouteTableId?: string;
1583
-
1584
- /**
1585
- * <p>Information about the VPC ID.</p>
1586
- */
1587
- VpcId?: string;
1588
-
1589
- /**
1590
- * <p>Information about the route or routes that are in violation.</p>
1591
- */
1592
- ViolatingRoutes?: Route[];
1593
- }
1594
-
1595
- export namespace NetworkFirewallBlackHoleRouteDetectedViolation {
1596
- /**
1597
- * @internal
1598
- */
1599
- export const filterSensitiveLog = (obj: NetworkFirewallBlackHoleRouteDetectedViolation): any => ({
1600
- ...obj,
1601
- });
1602
- }
1603
-
1604
- /**
1605
- * <p>Information about the expected route in the route table.</p>
1606
- */
1607
- export interface ExpectedRoute {
1608
- /**
1609
- * <p>Information about the IPv4 CIDR block.</p>
1610
- */
1611
- IpV4Cidr?: string;
1612
-
1613
- /**
1614
- * <p>Information about the ID of the prefix list for the route.</p>
1615
- */
1616
- PrefixListId?: string;
1617
-
1618
- /**
1619
- * <p>Information about the IPv6 CIDR block.</p>
1620
- */
1621
- IpV6Cidr?: string;
1622
-
1623
- /**
1624
- * <p>Information about the contributing subnets.</p>
1625
- */
1626
- ContributingSubnets?: string[];
1627
-
1628
- /**
1629
- * <p>Information about the allowed targets.</p>
1630
- */
1631
- AllowedTargets?: string[];
1632
-
1633
- /**
1634
- * <p>Information about the route table ID.</p>
1635
- */
1636
- RouteTableId?: string;
1637
- }
1638
-
1639
- export namespace ExpectedRoute {
1640
- /**
1641
- * @internal
1642
- */
1643
- export const filterSensitiveLog = (obj: ExpectedRoute): any => ({
1644
- ...obj,
1645
- });
1646
- }
1647
-
1648
- /**
1649
- * <p>Violation detail for the subnet for which internet traffic that hasn't been inspected.</p>
1650
- */
1651
- export interface NetworkFirewallInternetTrafficNotInspectedViolation {
1652
- /**
1653
- * <p>The subnet ID.</p>
1654
- */
1655
- SubnetId?: string;
1656
-
1657
- /**
1658
- * <p>The subnet Availability Zone.</p>
1659
- */
1660
- SubnetAvailabilityZone?: string;
1661
-
1662
- /**
1663
- * <p>Information about the route table ID.</p>
1664
- */
1665
- RouteTableId?: string;
1666
-
1667
- /**
1668
- * <p>The route or routes that are in violation.</p>
1669
- */
1670
- ViolatingRoutes?: Route[];
1671
-
1672
- /**
1673
- * <p>Information about whether the route table is used in another Availability Zone.</p>
1674
- */
1675
- IsRouteTableUsedInDifferentAZ?: boolean;
1676
-
1677
- /**
1678
- * <p>Information about the subnet route table for the current firewall.</p>
1679
- */
1680
- CurrentFirewallSubnetRouteTable?: string;
1681
-
1682
- /**
1683
- * <p>The expected endpoint for the current firewall.</p>
1684
- */
1685
- ExpectedFirewallEndpoint?: string;
1686
-
1687
- /**
1688
- * <p>The firewall subnet ID.</p>
1689
- */
1690
- FirewallSubnetId?: string;
1691
-
1692
- /**
1693
- * <p>The firewall subnet routes that are expected.</p>
1694
- */
1695
- ExpectedFirewallSubnetRoutes?: ExpectedRoute[];
1696
-
1697
- /**
1698
- * <p>The actual firewall subnet routes.</p>
1699
- */
1700
- ActualFirewallSubnetRoutes?: Route[];
1701
-
1702
- /**
1703
- * <p>The internet gateway ID.</p>
1704
- */
1705
- InternetGatewayId?: string;
1706
-
1707
- /**
1708
- * <p>The current route table for the internet gateway.</p>
1709
- */
1710
- CurrentInternetGatewayRouteTable?: string;
1711
-
1712
- /**
1713
- * <p>The internet gateway routes that are expected.</p>
1714
- */
1715
- ExpectedInternetGatewayRoutes?: ExpectedRoute[];
1716
-
1717
- /**
1718
- * <p>The actual internet gateway routes.</p>
1719
- */
1720
- ActualInternetGatewayRoutes?: Route[];
1721
-
1722
- /**
1723
- * <p>Information about the VPC ID.</p>
1724
- */
1725
- VpcId?: string;
1726
- }
1727
-
1728
- export namespace NetworkFirewallInternetTrafficNotInspectedViolation {
1729
- /**
1730
- * @internal
1731
- */
1732
- export const filterSensitiveLog = (obj: NetworkFirewallInternetTrafficNotInspectedViolation): any => ({
1733
- ...obj,
1734
- });
1735
- }
1736
-
1737
- /**
1738
- * <p>Violation detail for the improperly configured subnet route. It's possible there is a missing route table route,
1739
- * or a configuration that causes traffic to cross an Availability Zone boundary.</p>
1740
- */
1741
- export interface NetworkFirewallInvalidRouteConfigurationViolation {
1742
- /**
1743
- * <p>The subnets that are affected.</p>
1744
- */
1745
- AffectedSubnets?: string[];
1746
-
1747
- /**
1748
- * <p>The route table ID.</p>
1749
- */
1750
- RouteTableId?: string;
1751
-
1752
- /**
1753
- * <p>Information about whether the route table is used in another Availability Zone.</p>
1754
- */
1755
- IsRouteTableUsedInDifferentAZ?: boolean;
1756
-
1757
- /**
1758
- * <p>The route that's in violation.</p>
1759
- */
1760
- ViolatingRoute?: Route;
1761
-
1762
- /**
1763
- * <p>The subnet route table for the current firewall.</p>
1764
- */
1765
- CurrentFirewallSubnetRouteTable?: string;
1766
-
1767
- /**
1768
- * <p>The firewall endpoint that's expected.</p>
1769
- */
1770
- ExpectedFirewallEndpoint?: string;
1771
-
1772
- /**
1773
- * <p>The actual firewall endpoint.</p>
1774
- */
1775
- ActualFirewallEndpoint?: string;
1776
-
1777
- /**
1778
- * <p>The expected subnet ID for the firewall.</p>
1779
- */
1780
- ExpectedFirewallSubnetId?: string;
1781
-
1782
- /**
1783
- * <p>The actual subnet ID for the firewall.</p>
1784
- */
1785
- ActualFirewallSubnetId?: string;
1786
-
1787
- /**
1788
- * <p>The firewall subnet routes that are expected.</p>
1789
- */
1790
- ExpectedFirewallSubnetRoutes?: ExpectedRoute[];
1791
-
1792
- /**
1793
- * <p>The actual firewall subnet routes that are expected.</p>
1794
- */
1795
- ActualFirewallSubnetRoutes?: Route[];
1796
-
1797
- /**
1798
- * <p>The internet gateway ID.</p>
1799
- */
1800
- InternetGatewayId?: string;
1801
-
1802
- /**
1803
- * <p>The route table for the current internet gateway.</p>
1804
- */
1805
- CurrentInternetGatewayRouteTable?: string;
1806
-
1807
- /**
1808
- * <p>The expected routes for the internet gateway.</p>
1809
- */
1810
- ExpectedInternetGatewayRoutes?: ExpectedRoute[];
1811
-
1812
- /**
1813
- * <p>The actual internet gateway routes.</p>
1814
- */
1815
- ActualInternetGatewayRoutes?: Route[];
1816
-
1817
- /**
1818
- * <p>Information about the VPC ID.</p>
1819
- */
1820
- VpcId?: string;
1821
- }
1822
-
1823
- export namespace NetworkFirewallInvalidRouteConfigurationViolation {
1824
- /**
1825
- * @internal
1826
- */
1827
- export const filterSensitiveLog = (obj: NetworkFirewallInvalidRouteConfigurationViolation): any => ({
1828
- ...obj,
1829
- });
1830
- }
1831
-
1832
- /**
1833
- * <p>Violation detail for an expected route missing in Network Firewall.</p>
1834
- */
1835
- export interface NetworkFirewallMissingExpectedRoutesViolation {
1836
- /**
1837
- * <p>The target of the violation.</p>
1838
- */
1839
- ViolationTarget?: string;
1840
-
1841
- /**
1842
- * <p>The expected routes.</p>
1843
- */
1844
- ExpectedRoutes?: ExpectedRoute[];
1845
-
1846
- /**
1847
- * <p>Information about the VPC ID.</p>
1848
- */
1849
- VpcId?: string;
1850
- }
1851
-
1852
- export namespace NetworkFirewallMissingExpectedRoutesViolation {
1853
- /**
1854
- * @internal
1855
- */
1856
- export const filterSensitiveLog = (obj: NetworkFirewallMissingExpectedRoutesViolation): any => ({
1857
- ...obj,
1858
- });
1859
- }
1860
-
1861
- /**
1862
- * <p>Violation detail for Network Firewall for a subnet that's not associated to the expected
1863
- * Firewall Manager managed route table.</p>
1864
- */
1865
- export interface NetworkFirewallMissingExpectedRTViolation {
1866
- /**
1867
- * <p>The ID of the Network Firewall or VPC resource that's in violation.</p>
1868
- */
1869
- ViolationTarget?: string;
1870
-
1871
- /**
1872
- * <p>The resource ID of the VPC associated with a violating subnet.</p>
1873
- */
1874
- VPC?: string;
1875
-
1876
- /**
1877
- * <p>The Availability Zone of a violating subnet. </p>
1878
- */
1879
- AvailabilityZone?: string;
1880
-
1881
- /**
1882
- * <p>The resource ID of the current route table that's associated with the subnet, if one is available.</p>
1883
- */
1884
- CurrentRouteTable?: string;
1885
-
1886
- /**
1887
- * <p>The resource ID of the route table that should be associated with the subnet.</p>
1888
- */
1889
- ExpectedRouteTable?: string;
1890
- }
1891
-
1892
- export namespace NetworkFirewallMissingExpectedRTViolation {
1893
- /**
1894
- * @internal
1895
- */
1896
- export const filterSensitiveLog = (obj: NetworkFirewallMissingExpectedRTViolation): any => ({
1897
- ...obj,
1898
- });
1899
- }
1900
-
1901
- /**
1902
- * <p>Violation detail for Network Firewall for a subnet that doesn't have a
1903
- * Firewall Manager managed firewall in its VPC. </p>
1904
- */
1905
- export interface NetworkFirewallMissingFirewallViolation {
1906
- /**
1907
- * <p>The ID of the Network Firewall or VPC resource that's in violation.</p>
1908
- */
1909
- ViolationTarget?: string;
1910
-
1911
- /**
1912
- * <p>The resource ID of the VPC associated with a violating subnet.</p>
1913
- */
1914
- VPC?: string;
1915
-
1916
- /**
1917
- * <p>The Availability Zone of a violating subnet. </p>
1918
- */
1919
- AvailabilityZone?: string;
1920
-
1921
- /**
1922
- * <p>The reason the resource has this violation, if one is available. </p>
1923
- */
1924
- TargetViolationReason?: string;
1925
- }
1926
-
1927
- export namespace NetworkFirewallMissingFirewallViolation {
1928
- /**
1929
- * @internal
1930
- */
1931
- export const filterSensitiveLog = (obj: NetworkFirewallMissingFirewallViolation): any => ({
1932
- ...obj,
1933
- });
1934
- }
1935
-
1936
- /**
1937
- * <p>Violation detail for Network Firewall for an Availability Zone that's
1938
- * missing the expected Firewall Manager managed subnet.</p>
1939
- */
1940
- export interface NetworkFirewallMissingSubnetViolation {
1941
- /**
1942
- * <p>The ID of the Network Firewall or VPC resource that's in violation.</p>
1943
- */
1944
- ViolationTarget?: string;
1945
-
1946
- /**
1947
- * <p>The resource ID of the VPC associated with a violating subnet.</p>
1948
- */
1949
- VPC?: string;
1950
-
1951
- /**
1952
- * <p>The Availability Zone of a violating subnet. </p>
1953
- */
1954
- AvailabilityZone?: string;
1955
-
1956
- /**
1957
- * <p>The reason the resource has this violation, if one is available. </p>
1958
- */
1959
- TargetViolationReason?: string;
1960
- }
1961
-
1962
- export namespace NetworkFirewallMissingSubnetViolation {
1963
- /**
1964
- * @internal
1965
- */
1966
- export const filterSensitiveLog = (obj: NetworkFirewallMissingSubnetViolation): any => ({
1967
- ...obj,
1968
- });
1969
- }
1970
-
1971
- /**
1972
- * <p>Network Firewall stateful rule group, used in a <a>NetworkFirewallPolicyDescription</a>. </p>
1973
- */
1974
- export interface StatefulRuleGroup {
1975
- /**
1976
- * <p>The name of the rule group.</p>
1977
- */
1978
- RuleGroupName?: string;
1979
-
1980
- /**
1981
- * <p>The resource ID of the rule group.</p>
1982
- */
1983
- ResourceId?: string;
1984
- }
1985
-
1986
- export namespace StatefulRuleGroup {
1987
- /**
1988
- * @internal
1989
- */
1990
- export const filterSensitiveLog = (obj: StatefulRuleGroup): any => ({
1991
- ...obj,
1992
- });
1993
- }
1994
-
1995
- /**
1996
- * <p>Network Firewall stateless rule group, used in a <a>NetworkFirewallPolicyDescription</a>. </p>
1997
- */
1998
- export interface StatelessRuleGroup {
1999
- /**
2000
- * <p>The name of the rule group.</p>
2001
- */
2002
- RuleGroupName?: string;
2003
-
2004
- /**
2005
- * <p>The resource ID of the rule group.</p>
2006
- */
2007
- ResourceId?: string;
2008
-
2009
- /**
2010
- * <p>The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy starting from the lowest priority setting. </p>
2011
- */
2012
- Priority?: number;
2013
- }
2014
-
2015
- export namespace StatelessRuleGroup {
2016
- /**
2017
- * @internal
2018
- */
2019
- export const filterSensitiveLog = (obj: StatelessRuleGroup): any => ({
2020
- ...obj,
2021
- });
2022
- }
2023
-
2024
- /**
2025
- * <p>The definition of the Network Firewall firewall policy.</p>
2026
- */
2027
- export interface NetworkFirewallPolicyDescription {
2028
- /**
2029
- * <p>The stateless rule groups that are used in the Network Firewall firewall policy. </p>
2030
- */
2031
- StatelessRuleGroups?: StatelessRuleGroup[];
2032
-
2033
- /**
2034
- * <p>The actions to take on packets that don't match any of the stateless rule groups. </p>
2035
- */
2036
- StatelessDefaultActions?: string[];
2037
-
2038
- /**
2039
- * <p>The actions to take on packet fragments that don't match any of the stateless rule groups. </p>
2040
- */
2041
- StatelessFragmentDefaultActions?: string[];
2042
-
2043
- /**
2044
- * <p>Names of custom actions that are available for use in the stateless default actions settings.</p>
2045
- */
2046
- StatelessCustomActions?: string[];
2047
-
2048
- /**
2049
- * <p>The stateful rule groups that are used in the Network Firewall firewall policy. </p>
2050
- */
2051
- StatefulRuleGroups?: StatefulRuleGroup[];
2052
- }
2053
-
2054
- export namespace NetworkFirewallPolicyDescription {
2055
- /**
2056
- * @internal
2057
- */
2058
- export const filterSensitiveLog = (obj: NetworkFirewallPolicyDescription): any => ({
2059
- ...obj,
2060
- });
2061
- }
2062
-
2063
- /**
2064
- * <p>Violation detail for Network Firewall for a firewall policy that has a different
2065
- * <a>NetworkFirewallPolicyDescription</a> than is required by the Firewall Manager policy. </p>
2066
- */
2067
- export interface NetworkFirewallPolicyModifiedViolation {
2068
- /**
2069
- * <p>The ID of the Network Firewall or VPC resource that's in violation.</p>
2070
- */
2071
- ViolationTarget?: string;
2072
-
2073
- /**
2074
- * <p>The policy that's currently in use in the individual account. </p>
2075
- */
2076
- CurrentPolicyDescription?: NetworkFirewallPolicyDescription;
2077
-
2078
- /**
2079
- * <p>The policy that should be in use in the individual account in order to be compliant. </p>
2080
- */
2081
- ExpectedPolicyDescription?: NetworkFirewallPolicyDescription;
2082
- }
2083
-
2084
- export namespace NetworkFirewallPolicyModifiedViolation {
2085
- /**
2086
- * @internal
2087
- */
2088
- export const filterSensitiveLog = (obj: NetworkFirewallPolicyModifiedViolation): any => ({
2089
- ...obj,
2090
- });
2091
- }
2092
-
2093
- /**
2094
- * <p>Violation detail for an unexpected route that's present in a route table.</p>
2095
- */
2096
- export interface NetworkFirewallUnexpectedFirewallRoutesViolation {
2097
- /**
2098
- * <p>The subnet ID for the firewall.</p>
2099
- */
2100
- FirewallSubnetId?: string;
2101
-
2102
- /**
2103
- * <p>The routes that are in violation.</p>
2104
- */
2105
- ViolatingRoutes?: Route[];
2106
-
2107
- /**
2108
- * <p>The ID of the route table.</p>
2109
- */
2110
- RouteTableId?: string;
2111
-
2112
- /**
2113
- * <p>The endpoint of the firewall.</p>
2114
- */
2115
- FirewallEndpoint?: string;
2116
-
2117
- /**
2118
- * <p>Information about the VPC ID.</p>
2119
- */
2120
- VpcId?: string;
2121
- }
2122
-
2123
- export namespace NetworkFirewallUnexpectedFirewallRoutesViolation {
2124
- /**
2125
- * @internal
2126
- */
2127
- export const filterSensitiveLog = (obj: NetworkFirewallUnexpectedFirewallRoutesViolation): any => ({
2128
- ...obj,
2129
- });
2130
- }
2131
-
2132
- /**
2133
- * <p>Violation detail for an unexpected gateway route that’s present in a route table.</p>
2134
- */
2135
- export interface NetworkFirewallUnexpectedGatewayRoutesViolation {
2136
- /**
2137
- * <p>Information about the gateway ID.</p>
2138
- */
2139
- GatewayId?: string;
2140
-
2141
- /**
2142
- * <p>The routes that are in violation.</p>
2143
- */
2144
- ViolatingRoutes?: Route[];
2145
-
2146
- /**
2147
- * <p>Information about the route table.</p>
2148
- */
2149
- RouteTableId?: string;
2150
-
2151
- /**
2152
- * <p>Information about the VPC ID.</p>
2153
- */
2154
- VpcId?: string;
2155
- }
2156
-
2157
- export namespace NetworkFirewallUnexpectedGatewayRoutesViolation {
2158
- /**
2159
- * @internal
2160
- */
2161
- export const filterSensitiveLog = (obj: NetworkFirewallUnexpectedGatewayRoutesViolation): any => ({
2162
- ...obj,
2163
- });
2164
- }
2165
-
2166
- /**
2167
- * <p>The action of associating an EC2 resource, such as a subnet or internet gateway, with a route table.</p>
2168
- */
2169
- export interface EC2AssociateRouteTableAction {
2170
- /**
2171
- * <p>A description of the EC2 route table that is associated with the remediation action.</p>
2172
- */
2173
- Description?: string;
2174
-
2175
- /**
2176
- * <p>The ID of the EC2 route table that is associated with the remediation action.</p>
2177
- */
2178
- RouteTableId: ActionTarget | undefined;
2179
-
2180
- /**
2181
- * <p>The ID of the subnet for the EC2 route table that is associated with the remediation action.</p>
2182
- */
2183
- SubnetId?: ActionTarget;
2184
-
2185
- /**
2186
- * <p>The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.</p>
2187
- */
2188
- GatewayId?: ActionTarget;
2189
- }
2190
-
2191
- export namespace EC2AssociateRouteTableAction {
2192
- /**
2193
- * @internal
2194
- */
2195
- export const filterSensitiveLog = (obj: EC2AssociateRouteTableAction): any => ({
2196
- ...obj,
2197
- });
2198
- }
2199
-
2200
- /**
2201
- * <p>An action that copies the EC2 route table for use in remediation.</p>
2202
- */
2203
- export interface EC2CopyRouteTableAction {
2204
- /**
2205
- * <p>A description of the copied EC2 route table that is associated with the remediation action.</p>
2206
- */
2207
- Description?: string;
2208
-
2209
- /**
2210
- * <p>The VPC ID of the copied EC2 route table that is associated with the remediation action.</p>
2211
- */
2212
- VpcId: ActionTarget | undefined;
2213
-
2214
- /**
2215
- * <p>The ID of the copied EC2 route table that is associated with the remediation action.</p>
2216
- */
2217
- RouteTableId: ActionTarget | undefined;
2218
- }
2219
-
2220
- export namespace EC2CopyRouteTableAction {
2221
- /**
2222
- * @internal
2223
- */
2224
- export const filterSensitiveLog = (obj: EC2CopyRouteTableAction): any => ({
2225
- ...obj,
2226
- });
2227
- }
2228
-
2229
- /**
2230
- * <p>Information about the CreateRoute action in Amazon EC2.</p>
2231
- */
2232
- export interface EC2CreateRouteAction {
2233
- /**
2234
- * <p>A description of CreateRoute action in Amazon EC2.</p>
2235
- */
2236
- Description?: string;
2237
-
2238
- /**
2239
- * <p>Information about the IPv4 CIDR address block used for the destination match.</p>
2240
- */
2241
- DestinationCidrBlock?: string;
2242
-
2243
- /**
2244
- * <p>Information about the ID of a prefix list used for the destination match.</p>
2245
- */
2246
- DestinationPrefixListId?: string;
2247
-
2248
- /**
2249
- * <p>Information about the IPv6 CIDR block destination.</p>
2250
- */
2251
- DestinationIpv6CidrBlock?: string;
2252
-
2253
- /**
2254
- * <p>Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.</p>
2255
- */
2256
- VpcEndpointId?: ActionTarget;
2257
-
2258
- /**
2259
- * <p>Information about the ID of an internet gateway or virtual private gateway attached to your VPC.</p>
2260
- */
2261
- GatewayId?: ActionTarget;
2262
-
2263
- /**
2264
- * <p>Information about the ID of the route table for the route.</p>
2265
- */
2266
- RouteTableId: ActionTarget | undefined;
2267
- }
2268
-
2269
- export namespace EC2CreateRouteAction {
2270
- /**
2271
- * @internal
2272
- */
2273
- export const filterSensitiveLog = (obj: EC2CreateRouteAction): any => ({
2274
- ...obj,
2275
- });
2276
- }
2277
-
2278
- /**
2279
- * <p>Information about the CreateRouteTable action in Amazon EC2.</p>
2280
- */
2281
- export interface EC2CreateRouteTableAction {
2282
- /**
2283
- * <p>A description of the CreateRouteTable action.</p>
2284
- */
2285
- Description?: string;
2286
-
2287
- /**
2288
- * <p>Information about the ID of a VPC.</p>
2289
- */
2290
- VpcId: ActionTarget | undefined;
2291
- }
2292
-
2293
- export namespace EC2CreateRouteTableAction {
2294
- /**
2295
- * @internal
2296
- */
2297
- export const filterSensitiveLog = (obj: EC2CreateRouteTableAction): any => ({
2298
- ...obj,
2299
- });
2300
- }
2301
-
2302
- /**
2303
- * <p>Information about the DeleteRoute action in Amazon EC2.</p>
2304
- */
2305
- export interface EC2DeleteRouteAction {
2306
- /**
2307
- * <p>A description of the DeleteRoute action.</p>
2308
- */
2309
- Description?: string;
2310
-
2311
- /**
2312
- * <p>Information about the IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.</p>
2313
- */
2314
- DestinationCidrBlock?: string;
2315
-
2316
- /**
2317
- * <p>Information about the ID of the prefix list for the route.</p>
2318
- */
2319
- DestinationPrefixListId?: string;
2320
-
2321
- /**
2322
- * <p>Information about the IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.</p>
2323
- */
2324
- DestinationIpv6CidrBlock?: string;
2325
-
2326
- /**
2327
- * <p>Information about the ID of the route table.</p>
2328
- */
2329
- RouteTableId: ActionTarget | undefined;
2330
- }
2331
-
2332
- export namespace EC2DeleteRouteAction {
2333
- /**
2334
- * @internal
2335
- */
2336
- export const filterSensitiveLog = (obj: EC2DeleteRouteAction): any => ({
2337
- ...obj,
2338
- });
2339
- }
2340
-
2341
- /**
2342
- * <p>Information about the ReplaceRoute action in Amazon EC2.</p>
2343
- */
2344
- export interface EC2ReplaceRouteAction {
2345
- /**
2346
- * <p>A description of the ReplaceRoute action in Amazon EC2.</p>
2347
- */
2348
- Description?: string;
2349
-
2350
- /**
2351
- * <p>Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.</p>
2352
- */
2353
- DestinationCidrBlock?: string;
2354
-
2355
- /**
2356
- * <p>Information about the ID of the prefix list for the route.</p>
2357
- */
2358
- DestinationPrefixListId?: string;
2359
-
2360
- /**
2361
- * <p>Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.</p>
2362
- */
2363
- DestinationIpv6CidrBlock?: string;
2364
-
2365
- /**
2366
- * <p>Information about the ID of an internet gateway or virtual private gateway.</p>
2367
- */
2368
- GatewayId?: ActionTarget;
2369
-
2370
- /**
2371
- * <p>Information about the ID of the route table.</p>
2372
- */
2373
- RouteTableId: ActionTarget | undefined;
2374
- }
2375
-
2376
- export namespace EC2ReplaceRouteAction {
2377
- /**
2378
- * @internal
2379
- */
2380
- export const filterSensitiveLog = (obj: EC2ReplaceRouteAction): any => ({
2381
- ...obj,
2382
- });
2383
- }
2384
-
2385
- /**
2386
- * <p>Information about the ReplaceRouteTableAssociation action in Amazon EC2.</p>
2387
- */
2388
- export interface EC2ReplaceRouteTableAssociationAction {
2389
- /**
2390
- * <p>A description of the ReplaceRouteTableAssociation action in Amazon EC2.</p>
2391
- */
2392
- Description?: string;
2393
-
2394
- /**
2395
- * <p>Information about the association ID.</p>
2396
- */
2397
- AssociationId: ActionTarget | undefined;
2398
-
2399
- /**
2400
- * <p>Information about the ID of the new route table to associate with the subnet.</p>
2401
- */
2402
- RouteTableId: ActionTarget | undefined;
2403
- }
2404
-
2405
- export namespace EC2ReplaceRouteTableAssociationAction {
2406
- /**
2407
- * @internal
2408
- */
2409
- export const filterSensitiveLog = (obj: EC2ReplaceRouteTableAssociationAction): any => ({
2410
- ...obj,
2411
- });
2412
- }
2413
-
2414
- /**
2415
- * <p>Information about an individual action you can take to remediate a violation.</p>
2416
- */
2417
- export interface RemediationAction {
2418
- /**
2419
- * <p>A description of a remediation action.</p>
2420
- */
2421
- Description?: string;
2422
-
2423
- /**
2424
- * <p>Information about the CreateRoute action in the Amazon EC2 API.</p>
2425
- */
2426
- EC2CreateRouteAction?: EC2CreateRouteAction;
2427
-
2428
- /**
2429
- * <p>Information about the ReplaceRoute action in the Amazon EC2 API.</p>
2430
- */
2431
- EC2ReplaceRouteAction?: EC2ReplaceRouteAction;
2432
-
2433
- /**
2434
- * <p>Information about the DeleteRoute action in the Amazon EC2 API.</p>
2435
- */
2436
- EC2DeleteRouteAction?: EC2DeleteRouteAction;
2437
-
2438
- /**
2439
- * <p>Information about the CopyRouteTable action in the Amazon EC2 API.</p>
2440
- */
2441
- EC2CopyRouteTableAction?: EC2CopyRouteTableAction;
2442
-
2443
- /**
2444
- * <p>Information about the ReplaceRouteTableAssociation action in the Amazon EC2 API.</p>
2445
- */
2446
- EC2ReplaceRouteTableAssociationAction?: EC2ReplaceRouteTableAssociationAction;
2447
-
2448
- /**
2449
- * <p>Information about the AssociateRouteTable action in the Amazon EC2 API.</p>
2450
- */
2451
- EC2AssociateRouteTableAction?: EC2AssociateRouteTableAction;
2452
-
2453
- /**
2454
- * <p>Information about the CreateRouteTable action in the Amazon EC2 API.</p>
2455
- */
2456
- EC2CreateRouteTableAction?: EC2CreateRouteTableAction;
2457
- }
2458
-
2459
- export namespace RemediationAction {
2460
- /**
2461
- * @internal
2462
- */
2463
- export const filterSensitiveLog = (obj: RemediationAction): any => ({
2464
- ...obj,
2465
- });
2466
- }
2467
-
2468
- /**
2469
- * <p>An ordered list of actions you can take to remediate a violation.</p>
2470
- */
2471
- export interface RemediationActionWithOrder {
2472
- /**
2473
- * <p>Information about an action you can take to remediate a violation.</p>
2474
- */
2475
- RemediationAction?: RemediationAction;
2476
-
2477
- /**
2478
- * <p>The order of the remediation actions in the list.</p>
2479
- */
2480
- Order?: number;
2481
- }
2482
-
2483
- export namespace RemediationActionWithOrder {
2484
- /**
2485
- * @internal
2486
- */
2487
- export const filterSensitiveLog = (obj: RemediationActionWithOrder): any => ({
2488
- ...obj,
2489
- });
2490
- }
2491
-
2492
- /**
2493
- * <p>A list of remediation actions.</p>
2494
- */
2495
- export interface PossibleRemediationAction {
2496
- /**
2497
- * <p>A description of the list of remediation actions.</p>
2498
- */
2499
- Description?: string;
2500
-
2501
- /**
2502
- * <p>The ordered list of remediation actions.</p>
2503
- */
2504
- OrderedRemediationActions: RemediationActionWithOrder[] | undefined;
2505
-
2506
- /**
2507
- * <p>Information about whether an action is taken by default.</p>
2508
- */
2509
- IsDefaultAction?: boolean;
2510
- }
2511
-
2512
- export namespace PossibleRemediationAction {
2513
- /**
2514
- * @internal
2515
- */
2516
- export const filterSensitiveLog = (obj: PossibleRemediationAction): any => ({
2517
- ...obj,
2518
- });
2519
- }
2520
-
2521
- /**
2522
- * <p>A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.</p>
2523
- */
2524
- export interface PossibleRemediationActions {
2525
- /**
2526
- * <p>A description of the possible remediation actions list.</p>
2527
- */
2528
- Description?: string;
2529
-
2530
- /**
2531
- * <p>Information about the actions.</p>
2532
- */
2533
- Actions?: PossibleRemediationAction[];
2534
- }
2535
-
2536
- export namespace PossibleRemediationActions {
2537
- /**
2538
- * @internal
2539
- */
2540
- export const filterSensitiveLog = (obj: PossibleRemediationActions): any => ({
2541
- ...obj,
2542
- });
2543
- }
2544
-
2545
- /**
2546
- * <p>Violation detail based on resource type.</p>
2547
- */
2548
- export interface ResourceViolation {
2549
- /**
2550
- * <p>Violation detail for security groups.</p>
2551
- */
2552
- AwsVPCSecurityGroupViolation?: AwsVPCSecurityGroupViolation;
2553
-
2554
- /**
2555
- * <p>Violation detail for a network interface.</p>
2556
- */
2557
- AwsEc2NetworkInterfaceViolation?: AwsEc2NetworkInterfaceViolation;
2558
-
2559
- /**
2560
- * <p>Violation detail for an EC2 instance.</p>
2561
- */
2562
- AwsEc2InstanceViolation?: AwsEc2InstanceViolation;
2563
-
2564
- /**
2565
- * <p>Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager
2566
- * managed firewall in its VPC. </p>
2567
- */
2568
- NetworkFirewallMissingFirewallViolation?: NetworkFirewallMissingFirewallViolation;
2569
-
2570
- /**
2571
- * <p>Violation detail for an Network Firewall policy that indicates that an Availability Zone is
2572
- * missing the expected Firewall Manager managed subnet.</p>
2573
- */
2574
- NetworkFirewallMissingSubnetViolation?: NetworkFirewallMissingSubnetViolation;
2575
-
2576
- /**
2577
- * <p>Violation detail for an Network Firewall policy that indicates that a subnet
2578
- * is not associated with the expected Firewall Manager managed route table. </p>
2579
- */
2580
- NetworkFirewallMissingExpectedRTViolation?: NetworkFirewallMissingExpectedRTViolation;
2581
-
2582
- /**
2583
- * <p>Violation detail for an Network Firewall policy that indicates that a firewall policy
2584
- * in an individual account has been modified in a way that makes it noncompliant.
2585
- * For example, the individual account owner might have deleted a rule group,
2586
- * changed the priority of a stateless rule group, or changed a policy default action.</p>
2587
- */
2588
- NetworkFirewallPolicyModifiedViolation?: NetworkFirewallPolicyModifiedViolation;
2589
-
2590
- /**
2591
- * <p>Violation detail for the subnet for which internet traffic hasn't been inspected.</p>
2592
- */
2593
- NetworkFirewallInternetTrafficNotInspectedViolation?: NetworkFirewallInternetTrafficNotInspectedViolation;
2594
-
2595
- /**
2596
- * <p>The route configuration is invalid.</p>
2597
- */
2598
- NetworkFirewallInvalidRouteConfigurationViolation?: NetworkFirewallInvalidRouteConfigurationViolation;
2599
-
2600
- /**
2601
- * <p>Violation detail for an internet gateway route with an inactive state in the customer subnet route table or Network Firewall subnet route table.</p>
2602
- */
2603
- NetworkFirewallBlackHoleRouteDetectedViolation?: NetworkFirewallBlackHoleRouteDetectedViolation;
2604
-
2605
- /**
2606
- * <p>There's an unexpected firewall route.</p>
2607
- */
2608
- NetworkFirewallUnexpectedFirewallRoutesViolation?: NetworkFirewallUnexpectedFirewallRoutesViolation;
2609
-
2610
- /**
2611
- * <p>There's an unexpected gateway route.</p>
2612
- */
2613
- NetworkFirewallUnexpectedGatewayRoutesViolation?: NetworkFirewallUnexpectedGatewayRoutesViolation;
2614
-
2615
- /**
2616
- * <p>Expected routes are missing from Network Firewall.</p>
2617
- */
2618
- NetworkFirewallMissingExpectedRoutesViolation?: NetworkFirewallMissingExpectedRoutesViolation;
2619
-
2620
- /**
2621
- * <p>Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager
2622
- * tried to associate with a VPC has the same priority as a rule group that's already associated. </p>
2623
- */
2624
- DnsRuleGroupPriorityConflictViolation?: DnsRuleGroupPriorityConflictViolation;
2625
-
2626
- /**
2627
- * <p>Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager
2628
- * tried to associate with a VPC is already associated with the VPC and can't be associated again. </p>
2629
- */
2630
- DnsDuplicateRuleGroupViolation?: DnsDuplicateRuleGroupViolation;
2631
-
2632
- /**
2633
- * <p>Violation detail for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed. </p>
2634
- */
2635
- DnsRuleGroupLimitExceededViolation?: DnsRuleGroupLimitExceededViolation;
2636
-
2637
- /**
2638
- * <p>A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.</p>
2639
- */
2640
- PossibleRemediationActions?: PossibleRemediationActions;
2641
- }
2642
-
2643
- export namespace ResourceViolation {
2644
- /**
2645
- * @internal
2646
- */
2647
- export const filterSensitiveLog = (obj: ResourceViolation): any => ({
2648
- ...obj,
2649
- });
2650
- }
2651
-
2652
- /**
2653
- * <p>Violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.</p>
2654
- */
2655
- export interface ViolationDetail {
2656
- /**
2657
- * <p>The ID of the Firewall Manager policy that the violation details were requested for.</p>
2658
- */
2659
- PolicyId: string | undefined;
2660
-
2661
- /**
2662
- * <p>The Amazon Web Services account that the violation details were requested for.</p>
2663
- */
2664
- MemberAccount: string | undefined;
2665
-
2666
- /**
2667
- * <p>The resource ID that the violation details were requested for.</p>
2668
- */
2669
- ResourceId: string | undefined;
2670
-
2671
- /**
2672
- * <p>The resource type that the violation details were requested for.</p>
2673
- */
2674
- ResourceType: string | undefined;
2675
-
2676
- /**
2677
- * <p>List of violations for the requested resource.</p>
2678
- */
2679
- ResourceViolations: ResourceViolation[] | undefined;
2680
-
2681
- /**
2682
- * <p>The <code>ResourceTag</code> objects associated with the resource.</p>
2683
- */
2684
- ResourceTags?: Tag[];
2685
-
2686
- /**
2687
- * <p>Brief description for the requested resource.</p>
2688
- */
2689
- ResourceDescription?: string;
2690
- }
2691
-
2692
- export namespace ViolationDetail {
2693
- /**
2694
- * @internal
2695
- */
2696
- export const filterSensitiveLog = (obj: ViolationDetail): any => ({
2697
- ...obj,
2698
- });
2699
- }
2700
-
2701
- export interface GetViolationDetailsResponse {
2702
- /**
2703
- * <p>Violation detail for a resource.</p>
2704
- */
2705
- ViolationDetail?: ViolationDetail;
2706
- }
2707
-
2708
- export namespace GetViolationDetailsResponse {
2709
- /**
2710
- * @internal
2711
- */
2712
- export const filterSensitiveLog = (obj: GetViolationDetailsResponse): any => ({
2713
- ...obj,
2714
- });
2715
- }
2716
-
2717
- export interface ListAppsListsRequest {
2718
- /**
2719
- * <p>Specifies whether the lists to retrieve are default lists owned by Firewall Manager.</p>
2720
- */
2721
- DefaultLists?: boolean;
2722
-
2723
- /**
2724
- * <p>If you specify a value for <code>MaxResults</code> in your list request, and you have more objects than the maximum,
2725
- * Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request
2726
- * in the request parameters, to retrieve the next batch of objects.</p>
2727
- */
2728
- NextToken?: string;
2729
-
2730
- /**
2731
- * <p>The maximum number of objects that you want Firewall Manager to return for this request. If more
2732
- * objects are available, in the response, Firewall Manager provides a
2733
- * <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>
2734
- * <p>If you don't specify this, Firewall Manager returns all available objects.</p>
2735
- */
2736
- MaxResults: number | undefined;
2737
- }
2738
-
2739
- export namespace ListAppsListsRequest {
2740
- /**
2741
- * @internal
2742
- */
2743
- export const filterSensitiveLog = (obj: ListAppsListsRequest): any => ({
2744
- ...obj,
2745
- });
2746
- }
2747
-
2748
- export interface ListAppsListsResponse {
2749
- /**
2750
- * <p>An array of <code>AppsListDataSummary</code> objects.</p>
2751
- */
2752
- AppsLists?: AppsListDataSummary[];
2753
-
2754
- /**
2755
- * <p>If you specify a value for <code>MaxResults</code> in your list request, and you have more objects than the maximum,
2756
- * Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.</p>
2757
- */
2758
- NextToken?: string;
2759
- }
2760
-
2761
- export namespace ListAppsListsResponse {
2762
- /**
2763
- * @internal
2764
- */
2765
- export const filterSensitiveLog = (obj: ListAppsListsResponse): any => ({
2766
- ...obj,
2767
- });
2768
- }
2769
-
2770
- export interface ListComplianceStatusRequest {
2771
- /**
2772
- * <p>The ID of the Firewall Manager policy that you want the details for.</p>
2773
- */
2774
- PolicyId: string | undefined;
2775
-
2776
- /**
2777
- * <p>If you specify a value for <code>MaxResults</code> and you have more
2778
- * <code>PolicyComplianceStatus</code> objects than the number that you specify for
2779
- * <code>MaxResults</code>, Firewall Manager returns a <code>NextToken</code> value in the
2780
- * response that allows you to list another group of <code>PolicyComplianceStatus</code> objects.
2781
- * For the second and subsequent <code>ListComplianceStatus</code> requests, specify the value of
2782
- * <code>NextToken</code> from the previous response to get information about another batch of
2783
- * <code>PolicyComplianceStatus</code> objects.</p>
2784
- */
2785
- NextToken?: string;
2786
-
2787
- /**
2788
- * <p>Specifies the number of <code>PolicyComplianceStatus</code> objects that you want
2789
- * Firewall Manager to return for this request. If you have more
2790
- * <code>PolicyComplianceStatus</code> objects than the number that you specify for
2791
- * <code>MaxResults</code>, the response includes a <code>NextToken</code> value that you can
2792
- * use to get another batch of <code>PolicyComplianceStatus</code> objects.</p>
2793
- */
2794
- MaxResults?: number;
2795
- }
2796
-
2797
- export namespace ListComplianceStatusRequest {
2798
- /**
2799
- * @internal
2800
- */
2801
- export const filterSensitiveLog = (obj: ListComplianceStatusRequest): any => ({
2802
- ...obj,
2803
- });
2804
- }
2805
-
2806
- export enum PolicyComplianceStatusType {
2807
- Compliant = "COMPLIANT",
2808
- NonCompliant = "NON_COMPLIANT",
2809
- }
2810
-
2811
- /**
2812
- * <p>Describes the compliance status for the account. An account is considered noncompliant if
2813
- * it includes resources that are not protected by the specified policy or that don't comply with
2814
- * the policy.</p>
2815
- */
2816
- export interface EvaluationResult {
2817
- /**
2818
- * <p>Describes an Amazon Web Services account's compliance with the Firewall Manager policy.</p>
2819
- */
2820
- ComplianceStatus?: PolicyComplianceStatusType | string;
2821
-
2822
- /**
2823
- * <p>The number of resources that are noncompliant with the specified policy. For WAF and
2824
- * Shield Advanced policies, a resource is considered noncompliant if it is not associated with
2825
- * the policy. For security group policies, a resource is considered noncompliant if it doesn't
2826
- * comply with the rules of the policy and remediation is disabled or not possible.</p>
2827
- */
2828
- ViolatorCount?: number;
2829
-
2830
- /**
2831
- * <p>Indicates that over 100 resources are noncompliant with the Firewall Manager
2832
- * policy.</p>
2833
- */
2834
- EvaluationLimitExceeded?: boolean;
2835
- }
2836
-
2837
- export namespace EvaluationResult {
2838
- /**
2839
- * @internal
2840
- */
2841
- export const filterSensitiveLog = (obj: EvaluationResult): any => ({
2842
- ...obj,
2843
- });
2844
- }
2845
-
2846
- /**
2847
- * <p>Indicates whether the account is compliant with the specified policy. An account is
2848
- * considered noncompliant if it includes resources that are not protected by the policy, for
2849
- * WAF and Shield Advanced policies, or that are noncompliant with the policy, for security group
2850
- * policies.</p>
2851
- */
2852
- export interface PolicyComplianceStatus {
2853
- /**
2854
- * <p>The Amazon Web Services account that created the Firewall Manager policy.</p>
2855
- */
2856
- PolicyOwner?: string;
2857
-
2858
- /**
2859
- * <p>The ID of the Firewall Manager policy.</p>
2860
- */
2861
- PolicyId?: string;
2862
-
2863
- /**
2864
- * <p>The name of the Firewall Manager policy.</p>
2865
- */
2866
- PolicyName?: string;
2867
-
2868
- /**
2869
- * <p>The member account ID.</p>
2870
- */
2871
- MemberAccount?: string;
2872
-
2873
- /**
2874
- * <p>An array of <code>EvaluationResult</code> objects.</p>
2875
- */
2876
- EvaluationResults?: EvaluationResult[];
2877
-
2878
- /**
2879
- * <p>Timestamp of the last update to the <code>EvaluationResult</code> objects.</p>
2880
- */
2881
- LastUpdated?: Date;
2882
-
2883
- /**
2884
- * <p>Details about problems with dependent services, such as WAF or Config,
2885
- * and the error message received that indicates the problem with the service.</p>
2886
- */
2887
- IssueInfoMap?: { [key: string]: string };
2888
- }
2889
-
2890
- export namespace PolicyComplianceStatus {
2891
- /**
2892
- * @internal
2893
- */
2894
- export const filterSensitiveLog = (obj: PolicyComplianceStatus): any => ({
2895
- ...obj,
2896
- });
2897
- }
2898
-
2899
- export interface ListComplianceStatusResponse {
2900
- /**
2901
- * <p>An array of <code>PolicyComplianceStatus</code> objects.</p>
2902
- */
2903
- PolicyComplianceStatusList?: PolicyComplianceStatus[];
2904
-
2905
- /**
2906
- * <p>If you have more <code>PolicyComplianceStatus</code> objects than the number that you
2907
- * specified for <code>MaxResults</code> in the request, the response includes a
2908
- * <code>NextToken</code> value. To list more <code>PolicyComplianceStatus</code> objects,
2909
- * submit another <code>ListComplianceStatus</code> request, and specify the
2910
- * <code>NextToken</code> value from the response in the <code>NextToken</code> value in the
2911
- * next request.</p>
2912
- */
2913
- NextToken?: string;
2914
- }
2915
-
2916
- export namespace ListComplianceStatusResponse {
2917
- /**
2918
- * @internal
2919
- */
2920
- export const filterSensitiveLog = (obj: ListComplianceStatusResponse): any => ({
2921
- ...obj,
2922
- });
2923
- }
2924
-
2925
- export interface ListMemberAccountsRequest {
2926
- /**
2927
- * <p>If you specify a value for <code>MaxResults</code> and you have more account IDs than the
2928
- * number that you specify for <code>MaxResults</code>, Firewall Manager returns a
2929
- * <code>NextToken</code> value in the response that allows you to list another group of IDs.
2930
- * For the second and subsequent <code>ListMemberAccountsRequest</code> requests, specify the
2931
- * value of <code>NextToken</code> from the previous response to get information about another
2932
- * batch of member account IDs.</p>
2933
- */
2934
- NextToken?: string;
2935
-
2936
- /**
2937
- * <p>Specifies the number of member account IDs that you want Firewall Manager to return
2938
- * for this request. If you have more IDs than the number that you specify for
2939
- * <code>MaxResults</code>, the response includes a <code>NextToken</code> value that you can
2940
- * use to get another batch of member account IDs.</p>
2941
- */
2942
- MaxResults?: number;
2943
- }
2944
-
2945
- export namespace ListMemberAccountsRequest {
2946
- /**
2947
- * @internal
2948
- */
2949
- export const filterSensitiveLog = (obj: ListMemberAccountsRequest): any => ({
2950
- ...obj,
2951
- });
2952
- }
2953
-
2954
- export interface ListMemberAccountsResponse {
2955
- /**
2956
- * <p>An array of account IDs.</p>
2957
- */
2958
- MemberAccounts?: string[];
2959
-
2960
- /**
2961
- * <p>If you have more member account IDs than the number that you specified for
2962
- * <code>MaxResults</code> in the request, the response includes a <code>NextToken</code>
2963
- * value. To list more IDs, submit another <code>ListMemberAccounts</code> request, and specify
2964
- * the <code>NextToken</code> value from the response in the <code>NextToken</code> value in the
2965
- * next request.</p>
2966
- */
2967
- NextToken?: string;
2968
- }
2969
-
2970
- export namespace ListMemberAccountsResponse {
2971
- /**
2972
- * @internal
2973
- */
2974
- export const filterSensitiveLog = (obj: ListMemberAccountsResponse): any => ({
2975
- ...obj,
2976
- });
2977
- }
2978
-
2979
- export interface ListPoliciesRequest {
2980
- /**
2981
- * <p>If you specify a value for <code>MaxResults</code> and you have more
2982
- * <code>PolicySummary</code> objects than the number that you specify for
2983
- * <code>MaxResults</code>, Firewall Manager returns a <code>NextToken</code> value in the
2984
- * response that allows you to list another group of <code>PolicySummary</code> objects. For the
2985
- * second and subsequent <code>ListPolicies</code> requests, specify the value of
2986
- * <code>NextToken</code> from the previous response to get information about another batch of
2987
- * <code>PolicySummary</code> objects.</p>
2988
- */
2989
- NextToken?: string;
2990
-
2991
- /**
2992
- * <p>Specifies the number of <code>PolicySummary</code> objects that you want Firewall Manager to return for this request. If you have more <code>PolicySummary</code> objects than
2993
- * the number that you specify for <code>MaxResults</code>, the response includes a
2994
- * <code>NextToken</code> value that you can use to get another batch of
2995
- * <code>PolicySummary</code> objects.</p>
2996
- */
2997
- MaxResults?: number;
2998
- }
2999
-
3000
- export namespace ListPoliciesRequest {
3001
- /**
3002
- * @internal
3003
- */
3004
- export const filterSensitiveLog = (obj: ListPoliciesRequest): any => ({
3005
- ...obj,
3006
- });
3007
- }
3008
-
3009
- /**
3010
- * <p>Details of the Firewall Manager policy. </p>
3011
- */
3012
- export interface PolicySummary {
3013
- /**
3014
- * <p>The Amazon Resource Name (ARN) of the specified policy.</p>
3015
- */
3016
- PolicyArn?: string;
3017
-
3018
- /**
3019
- * <p>The ID of the specified policy.</p>
3020
- */
3021
- PolicyId?: string;
3022
-
3023
- /**
3024
- * <p>The name of the specified policy.</p>
3025
- */
3026
- PolicyName?: string;
3027
-
3028
- /**
3029
- * <p>The type of resource protected by or in scope of the policy. This is in the format shown
3030
- * in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Amazon Web Services Resource Types Reference</a>.
3031
- * For WAF and Shield Advanced, examples include
3032
- * <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> and
3033
- * <code>AWS::CloudFront::Distribution</code>. For a security group common policy, valid values
3034
- * are <code>AWS::EC2::NetworkInterface</code> and <code>AWS::EC2::Instance</code>. For a
3035
- * security group content audit policy, valid values are <code>AWS::EC2::SecurityGroup</code>,
3036
- * <code>AWS::EC2::NetworkInterface</code>, and <code>AWS::EC2::Instance</code>. For a security
3037
- * group usage audit policy, the value is <code>AWS::EC2::SecurityGroup</code>. For an Network Firewall policy or DNS Firewall policy,
3038
- * the value is <code>AWS::EC2::VPC</code>.</p>
3039
- */
3040
- ResourceType?: string;
3041
-
3042
- /**
3043
- * <p>The service that the policy is using to protect the resources. This specifies the type of
3044
- * policy that is created, either an WAF policy, a Shield Advanced policy, or a security
3045
- * group policy.</p>
3046
- */
3047
- SecurityServiceType?: SecurityServiceType | string;
3048
-
3049
- /**
3050
- * <p>Indicates if the policy should be automatically applied to new resources.</p>
3051
- */
3052
- RemediationEnabled?: boolean;
3053
-
3054
- /**
3055
- * <p>Indicates whether Firewall Manager should delete Firewall Manager managed resources, such as web ACLs and security groups, when they are not in use by the Firewall Manager policy. By default, Firewall Manager doesn't delete unused Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies.</p>
3056
- */
3057
- DeleteUnusedFMManagedResources?: boolean;
3058
- }
3059
-
3060
- export namespace PolicySummary {
3061
- /**
3062
- * @internal
3063
- */
3064
- export const filterSensitiveLog = (obj: PolicySummary): any => ({
3065
- ...obj,
3066
- });
3067
- }
3068
-
3069
- export interface ListPoliciesResponse {
3070
- /**
3071
- * <p>An array of <code>PolicySummary</code> objects.</p>
3072
- */
3073
- PolicyList?: PolicySummary[];
3074
-
3075
- /**
3076
- * <p>If you have more <code>PolicySummary</code> objects than the number that you specified for
3077
- * <code>MaxResults</code> in the request, the response includes a <code>NextToken</code>
3078
- * value. To list more <code>PolicySummary</code> objects, submit another
3079
- * <code>ListPolicies</code> request, and specify the <code>NextToken</code> value from the
3080
- * response in the <code>NextToken</code> value in the next request.</p>
3081
- */
3082
- NextToken?: string;
3083
- }
3084
-
3085
- export namespace ListPoliciesResponse {
3086
- /**
3087
- * @internal
3088
- */
3089
- export const filterSensitiveLog = (obj: ListPoliciesResponse): any => ({
3090
- ...obj,
3091
- });
3092
- }
3093
-
3094
- export interface ListProtocolsListsRequest {
3095
- /**
3096
- * <p>Specifies whether the lists to retrieve are default lists owned by Firewall Manager.</p>
3097
- */
3098
- DefaultLists?: boolean;
3099
-
3100
- /**
3101
- * <p>If you specify a value for <code>MaxResults</code> in your list request, and you have more objects than the maximum,
3102
- * Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request
3103
- * in the request parameters, to retrieve the next batch of objects.</p>
3104
- */
3105
- NextToken?: string;
3106
-
3107
- /**
3108
- * <p>The maximum number of objects that you want Firewall Manager to return for this request. If more
3109
- * objects are available, in the response, Firewall Manager provides a
3110
- * <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>
3111
- * <p>If you don't specify this, Firewall Manager returns all available objects.</p>
3112
- */
3113
- MaxResults: number | undefined;
3114
- }
3115
-
3116
- export namespace ListProtocolsListsRequest {
3117
- /**
3118
- * @internal
3119
- */
3120
- export const filterSensitiveLog = (obj: ListProtocolsListsRequest): any => ({
3121
- ...obj,
3122
- });
3123
- }
3124
-
3125
- /**
3126
- * <p>Details of the Firewall Manager protocols list.</p>
3127
- */
3128
- export interface ProtocolsListDataSummary {
3129
- /**
3130
- * <p>The Amazon Resource Name (ARN) of the specified protocols list.</p>
3131
- */
3132
- ListArn?: string;
3133
-
3134
- /**
3135
- * <p>The ID of the specified protocols list.</p>
3136
- */
3137
- ListId?: string;
3138
-
3139
- /**
3140
- * <p>The name of the specified protocols list.</p>
3141
- */
3142
- ListName?: string;
3143
-
3144
- /**
3145
- * <p>An array of protocols in the Firewall Manager protocols list.</p>
3146
- */
3147
- ProtocolsList?: string[];
3148
- }
3149
-
3150
- export namespace ProtocolsListDataSummary {
3151
- /**
3152
- * @internal
3153
- */
3154
- export const filterSensitiveLog = (obj: ProtocolsListDataSummary): any => ({
3155
- ...obj,
3156
- });
3157
- }
3158
-
3159
- export interface ListProtocolsListsResponse {
3160
- /**
3161
- * <p>An array of <code>ProtocolsListDataSummary</code> objects.</p>
3162
- */
3163
- ProtocolsLists?: ProtocolsListDataSummary[];
3164
-
3165
- /**
3166
- * <p>If you specify a value for <code>MaxResults</code> in your list request, and you have more objects than the maximum,
3167
- * Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.</p>
3168
- */
3169
- NextToken?: string;
3170
- }
3171
-
3172
- export namespace ListProtocolsListsResponse {
3173
- /**
3174
- * @internal
3175
- */
3176
- export const filterSensitiveLog = (obj: ListProtocolsListsResponse): any => ({
3177
- ...obj,
3178
- });
3179
- }
3180
-
3181
- export interface ListTagsForResourceRequest {
3182
- /**
3183
- * <p>The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists. </p>
3184
- */
3185
- ResourceArn: string | undefined;
3186
- }
3187
-
3188
- export namespace ListTagsForResourceRequest {
3189
- /**
3190
- * @internal
3191
- */
3192
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
3193
- ...obj,
3194
- });
3195
- }
3196
-
3197
- export interface ListTagsForResourceResponse {
3198
- /**
3199
- * <p>The tags associated with the resource.</p>
3200
- */
3201
- TagList?: Tag[];
3202
- }
3203
-
3204
- export namespace ListTagsForResourceResponse {
3205
- /**
3206
- * @internal
3207
- */
3208
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
3209
- ...obj,
3210
- });
3211
- }
3212
-
3213
- export interface PutAppsListRequest {
3214
- /**
3215
- * <p>The details of the Firewall Manager applications list to be created.</p>
3216
- */
3217
- AppsList: AppsListData | undefined;
3218
-
3219
- /**
3220
- * <p>The tags associated with the resource.</p>
3221
- */
3222
- TagList?: Tag[];
3223
- }
3224
-
3225
- export namespace PutAppsListRequest {
3226
- /**
3227
- * @internal
3228
- */
3229
- export const filterSensitiveLog = (obj: PutAppsListRequest): any => ({
3230
- ...obj,
3231
- });
3232
- }
3233
-
3234
- export interface PutAppsListResponse {
3235
- /**
3236
- * <p>The details of the Firewall Manager applications list.</p>
3237
- */
3238
- AppsList?: AppsListData;
3239
-
3240
- /**
3241
- * <p>The Amazon Resource Name (ARN) of the applications list.</p>
3242
- */
3243
- AppsListArn?: string;
3244
- }
3245
-
3246
- export namespace PutAppsListResponse {
3247
- /**
3248
- * @internal
3249
- */
3250
- export const filterSensitiveLog = (obj: PutAppsListResponse): any => ({
3251
- ...obj,
3252
- });
3253
- }
3254
-
3255
- export interface PutNotificationChannelRequest {
3256
- /**
3257
- * <p>The Amazon Resource Name (ARN) of the SNS topic that collects notifications from
3258
- * Firewall Manager.</p>
3259
- */
3260
- SnsTopicArn: string | undefined;
3261
-
3262
- /**
3263
- * <p>The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record
3264
- * Firewall Manager activity. </p>
3265
- */
3266
- SnsRoleName: string | undefined;
3267
- }
3268
-
3269
- export namespace PutNotificationChannelRequest {
3270
- /**
3271
- * @internal
3272
- */
3273
- export const filterSensitiveLog = (obj: PutNotificationChannelRequest): any => ({
3274
- ...obj,
3275
- });
3276
- }
3277
-
3278
- export interface PutPolicyRequest {
3279
- /**
3280
- * <p>The details of the Firewall Manager policy to be created.</p>
3281
- */
3282
- Policy: Policy | undefined;
3283
-
3284
- /**
3285
- * <p>The tags to add to the Amazon Web Services resource.</p>
3286
- */
3287
- TagList?: Tag[];
3288
- }
3289
-
3290
- export namespace PutPolicyRequest {
3291
- /**
3292
- * @internal
3293
- */
3294
- export const filterSensitiveLog = (obj: PutPolicyRequest): any => ({
3295
- ...obj,
3296
- });
3297
- }
3298
-
3299
- export interface PutPolicyResponse {
3300
- /**
3301
- * <p>The details of the Firewall Manager policy.</p>
3302
- */
3303
- Policy?: Policy;
3304
-
3305
- /**
3306
- * <p>The Amazon Resource Name (ARN) of the policy.</p>
3307
- */
3308
- PolicyArn?: string;
3309
- }
3310
-
3311
- export namespace PutPolicyResponse {
3312
- /**
3313
- * @internal
3314
- */
3315
- export const filterSensitiveLog = (obj: PutPolicyResponse): any => ({
3316
- ...obj,
3317
- });
3318
- }
3319
-
3320
- export interface PutProtocolsListRequest {
3321
- /**
3322
- * <p>The details of the Firewall Manager protocols list to be created.</p>
3323
- */
3324
- ProtocolsList: ProtocolsListData | undefined;
3325
-
3326
- /**
3327
- * <p>The tags associated with the resource.</p>
3328
- */
3329
- TagList?: Tag[];
3330
- }
3331
-
3332
- export namespace PutProtocolsListRequest {
3333
- /**
3334
- * @internal
3335
- */
3336
- export const filterSensitiveLog = (obj: PutProtocolsListRequest): any => ({
3337
- ...obj,
3338
- });
3339
- }
3340
-
3341
- export interface PutProtocolsListResponse {
3342
- /**
3343
- * <p>The details of the Firewall Manager protocols list.</p>
3344
- */
3345
- ProtocolsList?: ProtocolsListData;
3346
-
3347
- /**
3348
- * <p>The Amazon Resource Name (ARN) of the protocols list.</p>
3349
- */
3350
- ProtocolsListArn?: string;
3351
- }
3352
-
3353
- export namespace PutProtocolsListResponse {
3354
- /**
3355
- * @internal
3356
- */
3357
- export const filterSensitiveLog = (obj: PutProtocolsListResponse): any => ({
3358
- ...obj,
3359
- });
3360
- }
3361
-
3362
- export interface TagResourceRequest {
3363
- /**
3364
- * <p>The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists. </p>
3365
- */
3366
- ResourceArn: string | undefined;
3367
-
3368
- /**
3369
- * <p>The tags to add to the resource.</p>
3370
- */
3371
- TagList: Tag[] | undefined;
3372
- }
3373
-
3374
- export namespace TagResourceRequest {
3375
- /**
3376
- * @internal
3377
- */
3378
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
3379
- ...obj,
3380
- });
3381
- }
3382
-
3383
- export interface TagResourceResponse {}
3384
-
3385
- export namespace TagResourceResponse {
3386
- /**
3387
- * @internal
3388
- */
3389
- export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
3390
- ...obj,
3391
- });
3392
- }
3393
-
3394
- export interface UntagResourceRequest {
3395
- /**
3396
- * <p>The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists. </p>
3397
- */
3398
- ResourceArn: string | undefined;
3399
-
3400
- /**
3401
- * <p>The keys of the tags to remove from the resource. </p>
3402
- */
3403
- TagKeys: string[] | undefined;
3404
- }
3405
-
3406
- export namespace UntagResourceRequest {
3407
- /**
3408
- * @internal
3409
- */
3410
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
3411
- ...obj,
3412
- });
3413
- }
3414
-
3415
- export interface UntagResourceResponse {}
3416
-
3417
- export namespace UntagResourceResponse {
3418
- /**
3419
- * @internal
3420
- */
3421
- export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
3422
- ...obj,
3423
- });
3424
- }