@aws-sdk/client-inspector2 3.1080.0 → 3.1082.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 (101) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +967 -133
  3. package/dist-es/Inspector2.js +25 -1
  4. package/dist-es/commands/CreateConnectorCommand.js +4 -0
  5. package/dist-es/commands/DeleteConnectorCommand.js +4 -0
  6. package/dist-es/commands/ListConnectorScanConfigurationsCommand.js +4 -0
  7. package/dist-es/commands/ListConnectorsCommand.js +4 -0
  8. package/dist-es/commands/UpdateConnectorCommand.js +4 -0
  9. package/dist-es/commands/UpdateConnectorScanConfigurationCommand.js +4 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/index.js +1 -0
  12. package/dist-es/models/enums.js +130 -0
  13. package/dist-es/pagination/ListConnectorScanConfigurationsPaginator.js +4 -0
  14. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +542 -130
  17. package/dist-es/waiters/index.js +3 -0
  18. package/dist-es/waiters/waitForConnectorConnected.js +69 -0
  19. package/dist-es/waiters/waitForConnectorDeleted.js +46 -0
  20. package/dist-es/waiters/waitForConnectorEnabled.js +69 -0
  21. package/dist-types/Inspector2.d.ts +78 -1
  22. package/dist-types/Inspector2Client.d.ts +8 -2
  23. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +1 -0
  24. package/dist-types/commands/CreateConnectorCommand.d.ts +167 -0
  25. package/dist-types/commands/CreateFilterCommand.d.ts +24 -0
  26. package/dist-types/commands/CreateFindingsReportCommand.d.ts +24 -0
  27. package/dist-types/commands/DeleteConnectorCommand.d.ts +105 -0
  28. package/dist-types/commands/GetConfigurationCommand.d.ts +18 -3
  29. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +24 -0
  30. package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +2 -1
  31. package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListConnectorScanConfigurationsCommand.d.ts +135 -0
  33. package/dist-types/commands/ListConnectorsCommand.d.ts +226 -0
  34. package/dist-types/commands/ListCoverageCommand.d.ts +59 -1
  35. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +24 -1
  36. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListFiltersCommand.d.ts +25 -1
  38. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +149 -2
  39. package/dist-types/commands/ListFindingsCommand.d.ts +86 -1
  40. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  42. package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -1
  43. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  44. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  45. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +1 -1
  46. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateConfigurationCommand.d.ts +11 -3
  48. package/dist-types/commands/UpdateConnectorCommand.d.ts +146 -0
  49. package/dist-types/commands/UpdateConnectorScanConfigurationCommand.d.ts +117 -0
  50. package/dist-types/commands/UpdateFilterCommand.d.ts +24 -0
  51. package/dist-types/commands/index.d.ts +6 -0
  52. package/dist-types/index.d.ts +1 -0
  53. package/dist-types/models/enums.d.ts +282 -0
  54. package/dist-types/models/models_0.d.ts +3359 -1910
  55. package/dist-types/models/models_1.d.ts +932 -2
  56. package/dist-types/pagination/ListConnectorScanConfigurationsPaginator.d.ts +7 -0
  57. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/index.d.ts +2 -0
  59. package/dist-types/schemas/schemas_0.d.ts +51 -0
  60. package/dist-types/ts3.4/Inspector2.d.ts +147 -0
  61. package/dist-types/ts3.4/Inspector2Client.d.ts +36 -0
  62. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +43 -0
  63. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +43 -0
  64. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListConnectorScanConfigurationsCommand.d.ts +44 -0
  68. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
  69. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +43 -0
  83. package/dist-types/ts3.4/commands/UpdateConnectorScanConfigurationCommand.d.ts +44 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  85. package/dist-types/ts3.4/index.d.ts +1 -0
  86. package/dist-types/ts3.4/models/enums.d.ts +162 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +571 -166
  88. package/dist-types/ts3.4/models/models_1.d.ts +248 -1
  89. package/dist-types/ts3.4/pagination/ListConnectorScanConfigurationsPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  92. package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -0
  93. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  94. package/dist-types/ts3.4/waiters/waitForConnectorConnected.d.ts +17 -0
  95. package/dist-types/ts3.4/waiters/waitForConnectorDeleted.d.ts +17 -0
  96. package/dist-types/ts3.4/waiters/waitForConnectorEnabled.d.ts +17 -0
  97. package/dist-types/waiters/index.d.ts +3 -0
  98. package/dist-types/waiters/waitForConnectorConnected.d.ts +15 -0
  99. package/dist-types/waiters/waitForConnectorDeleted.d.ts +15 -0
  100. package/dist-types/waiters/waitForConnectorEnabled.d.ts +15 -0
  101. package/package.json +8 -8
@@ -1,5 +1,809 @@
1
- import type { CisSecurityLevel, CodeScanStatus, Ec2DeepInspectionStatus, FilterAction, IntegrationStatus, ResourceType, ScanType, StopCisSessionStatus } from "./enums";
2
- import type { AutoEnable, CodeSecurityResource, CodeSecurityScanConfiguration, ComputePlatform, Ec2Configuration, EcrConfiguration, FilterCriteria, Schedule, StartCisSessionMessage } from "./models_0";
1
+ import type { AggregationType, CisSecurityLevel, CloudProvider, CodeScanStatus, Currency, Ec2DeepInspectionStatus, FilterAction, GroupKey, InheritanceMode, IntegrationStatus, ResourceType, ScanType, SortField, SortOrder, StopCisSessionStatus, UsageType, VulnerabilitySource } from "./enums";
2
+ import type { AggregationRequest, AggregationResponse, AtigData, AutoEnable, AzureProviderDetailUpdate, CisaData, CisSessionMessage, CodeSecurityResource, CodeSecurityScanConfiguration, CodeSecurityScanConfigurationAssociationSummary, CodeSecurityScanConfigurationSummary, ComputePlatform, Connector, ConnectorFilterCriteria, ConnectorScanConfiguration, ConnectorScanConfigurationItem, Counts, CoverageFilterCriteria, CoveredResource, Cvss2, Cvss3, Cvss4, DelegatedAdminAccount, Ec2Configuration, EcrConfiguration, Epss, ExploitObserved, Filter, FilterCriteria, Finding, Member, Schedule, StringFilter } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface ListCodeSecurityScanConfigurationAssociationsResponse {
7
+ /**
8
+ * <p>A list of associations between code repositories and scan configurations.</p>
9
+ * @public
10
+ */
11
+ associations?: CodeSecurityScanConfigurationAssociationSummary[] | undefined;
12
+ /**
13
+ * <p>A token to use for paginating results that are returned in the response. Set the value
14
+ * of this parameter to null for the first request to a list action. For subsequent calls, use
15
+ * the <code>NextToken</code> value returned from the previous request to continue listing
16
+ * results after the first page.</p>
17
+ * @public
18
+ */
19
+ nextToken?: string | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface ListCodeSecurityScanConfigurationsRequest {
25
+ /**
26
+ * <p>A token to use for paginating results that are returned in the response. Set the value
27
+ * of this parameter to null for the first request. For subsequent calls, use the NextToken
28
+ * value returned from the previous request to continue listing results after the first
29
+ * page.</p>
30
+ * @public
31
+ */
32
+ nextToken?: string | undefined;
33
+ /**
34
+ * <p>The maximum number of results to return in a single call.</p>
35
+ * @public
36
+ */
37
+ maxResults?: number | undefined;
38
+ }
39
+ /**
40
+ * @public
41
+ */
42
+ export interface ListCodeSecurityScanConfigurationsResponse {
43
+ /**
44
+ * <p>A list of code security scan configuration summaries.</p>
45
+ * @public
46
+ */
47
+ configurations?: CodeSecurityScanConfigurationSummary[] | undefined;
48
+ /**
49
+ * <p>A token to use for paginating results that are returned in the response. Set the value
50
+ * of this parameter to null for the first request. For subsequent calls, use the NextToken
51
+ * value returned from the previous request to continue listing results after the first
52
+ * page.</p>
53
+ * @public
54
+ */
55
+ nextToken?: string | undefined;
56
+ }
57
+ /**
58
+ * @public
59
+ */
60
+ export interface ListConnectorsRequest {
61
+ /**
62
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining results, make another request with the <code>nextToken</code> value returned from this request.</p>
63
+ * @public
64
+ */
65
+ maxResults?: number | undefined;
66
+ /**
67
+ * <p>A token to use for paginating results. Set this value to null for the first request. For subsequent calls, use the <code>nextToken</code> value returned from the previous request.</p>
68
+ * @public
69
+ */
70
+ nextToken?: string | undefined;
71
+ /**
72
+ * <p>The filter criteria to apply to the list of connectors.</p>
73
+ * @public
74
+ */
75
+ filterCriteria?: ConnectorFilterCriteria | undefined;
76
+ }
77
+ /**
78
+ * @public
79
+ */
80
+ export interface ListConnectorsResponse {
81
+ /**
82
+ * <p>A list of connectors.</p>
83
+ * @public
84
+ */
85
+ items: Connector[] | undefined;
86
+ /**
87
+ * <p>A pagination token. If this value is not null, there are additional results available. Use this token in the <code>nextToken</code> parameter of a subsequent request to retrieve the next page of results.</p>
88
+ * @public
89
+ */
90
+ nextToken?: string | undefined;
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface ListConnectorScanConfigurationsRequest {
96
+ /**
97
+ * <p>The list of Amazon Web Services Config connector ARNs to filter results.</p>
98
+ * @public
99
+ */
100
+ awsConfigConnectorArns?: string[] | undefined;
101
+ /**
102
+ * <p>The maximum number of results to return in a single call. Valid range is 1 to 50. To retrieve the remaining results, make another request with the <code>nextToken</code> value returned from this request.</p>
103
+ * @public
104
+ */
105
+ maxResults?: number | undefined;
106
+ /**
107
+ * <p>A token to use for paginating results. Set this value to null for the first request. For subsequent calls, use the <code>nextToken</code> value returned from the previous request.</p>
108
+ * @public
109
+ */
110
+ nextToken?: string | undefined;
111
+ }
112
+ /**
113
+ * @public
114
+ */
115
+ export interface ListConnectorScanConfigurationsResponse {
116
+ /**
117
+ * <p>A list of scan configuration items.</p>
118
+ * @public
119
+ */
120
+ scanConfigurations: ConnectorScanConfigurationItem[] | undefined;
121
+ /**
122
+ * <p>A pagination token. If this value is not null, there are additional results available. Use this token in the <code>nextToken</code> parameter of a subsequent request to retrieve the next page of results.</p>
123
+ * @public
124
+ */
125
+ nextToken?: string | undefined;
126
+ }
127
+ /**
128
+ * @public
129
+ */
130
+ export interface ListCoverageRequest {
131
+ /**
132
+ * <p>The maximum number of results the response can return. If your request would return more
133
+ * than the maximum the response will return a <code>nextToken</code> value, use this value
134
+ * when you call the action again to get the remaining results.</p>
135
+ * @public
136
+ */
137
+ maxResults?: number | undefined;
138
+ /**
139
+ * <p>A token to use for paginating results that are returned in the response. Set the value
140
+ * of this parameter to null for the first request to a list action. If your response returns
141
+ * more than the <code>maxResults</code> maximum value it will also return a
142
+ * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
143
+ * returned from the previous request to continue listing results after the first page.</p>
144
+ * @public
145
+ */
146
+ nextToken?: string | undefined;
147
+ /**
148
+ * <p>An object that contains details on the filters to apply to the coverage data for your
149
+ * environment.</p>
150
+ * @public
151
+ */
152
+ filterCriteria?: CoverageFilterCriteria | undefined;
153
+ }
154
+ /**
155
+ * @public
156
+ */
157
+ export interface ListCoverageResponse {
158
+ /**
159
+ * <p>A token to use for paginating results that are returned in the response. Set the value
160
+ * of this parameter to null for the first request to a list action. For subsequent calls, use
161
+ * the <code>NextToken</code> value returned from the previous request to continue listing
162
+ * results after the first page.</p>
163
+ * @public
164
+ */
165
+ nextToken?: string | undefined;
166
+ /**
167
+ * <p>An object that contains details on the covered resources in your environment.</p>
168
+ * @public
169
+ */
170
+ coveredResources?: CoveredResource[] | undefined;
171
+ }
172
+ /**
173
+ * @public
174
+ */
175
+ export interface ListCoverageStatisticsRequest {
176
+ /**
177
+ * <p>An object that contains details on the filters to apply to the coverage data for your
178
+ * environment.</p>
179
+ * @public
180
+ */
181
+ filterCriteria?: CoverageFilterCriteria | undefined;
182
+ /**
183
+ * <p>The value to group the results by.</p>
184
+ * @public
185
+ */
186
+ groupBy?: GroupKey | undefined;
187
+ /**
188
+ * <p>A token to use for paginating results that are returned in the response. Set the value
189
+ * of this parameter to null for the first request to a list action. For subsequent calls, use
190
+ * the <code>NextToken</code> value returned from the previous request to continue listing
191
+ * results after the first page.</p>
192
+ * @public
193
+ */
194
+ nextToken?: string | undefined;
195
+ }
196
+ /**
197
+ * @public
198
+ */
199
+ export interface ListCoverageStatisticsResponse {
200
+ /**
201
+ * <p>An array with the number for each group.</p>
202
+ * @public
203
+ */
204
+ countsByGroup?: Counts[] | undefined;
205
+ /**
206
+ * <p>The total number for all groups.</p>
207
+ * @public
208
+ */
209
+ totalCounts: number | undefined;
210
+ /**
211
+ * <p>A token to use for paginating results that are returned in the response. Set the value
212
+ * of this parameter to null for the first request to a list action. For subsequent calls, use
213
+ * the <code>NextToken</code> value returned from the previous request to continue listing
214
+ * results after the first page.</p>
215
+ * @public
216
+ */
217
+ nextToken?: string | undefined;
218
+ }
219
+ /**
220
+ * @public
221
+ */
222
+ export interface ListDelegatedAdminAccountsRequest {
223
+ /**
224
+ * <p>The maximum number of results the response can return. If your request would return more
225
+ * than the maximum the response will return a <code>nextToken</code> value, use this value
226
+ * when you call the action again to get the remaining results.</p>
227
+ * @public
228
+ */
229
+ maxResults?: number | undefined;
230
+ /**
231
+ * <p>A token to use for paginating results that are returned in the response. Set the value
232
+ * of this parameter to null for the first request to a list action. If your response returns
233
+ * more than the <code>maxResults</code> maximum value it will also return a
234
+ * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
235
+ * returned from the previous request to continue listing results after the first page.</p>
236
+ * @public
237
+ */
238
+ nextToken?: string | undefined;
239
+ }
240
+ /**
241
+ * @public
242
+ */
243
+ export interface ListDelegatedAdminAccountsResponse {
244
+ /**
245
+ * <p>Details of the Amazon Inspector delegated administrator of your organization.</p>
246
+ * @public
247
+ */
248
+ delegatedAdminAccounts?: DelegatedAdminAccount[] | undefined;
249
+ /**
250
+ * <p>A token to use for paginating results that are returned in the response. Set the value
251
+ * of this parameter to null for the first request to a list action. For subsequent calls, use
252
+ * the <code>NextToken</code> value returned from the previous request to continue listing
253
+ * results after the first page.</p>
254
+ * @public
255
+ */
256
+ nextToken?: string | undefined;
257
+ }
258
+ /**
259
+ * @public
260
+ */
261
+ export interface ListFiltersRequest {
262
+ /**
263
+ * <p>The Amazon resource number (ARN) of the filter.</p>
264
+ * @public
265
+ */
266
+ arns?: string[] | undefined;
267
+ /**
268
+ * <p>The action the filter applies to matched findings.</p>
269
+ * @public
270
+ */
271
+ action?: FilterAction | undefined;
272
+ /**
273
+ * <p>A token to use for paginating results that are returned in the response. Set the value
274
+ * of this parameter to null for the first request to a list action. If your response returns
275
+ * more than the <code>maxResults</code> maximum value it will also return a
276
+ * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
277
+ * returned from the previous request to continue listing results after the first page.</p>
278
+ * @public
279
+ */
280
+ nextToken?: string | undefined;
281
+ /**
282
+ * <p>The maximum number of results the response can return. If your request would return more
283
+ * than the maximum the response will return a <code>nextToken</code> value, use this value
284
+ * when you call the action again to get the remaining results.</p>
285
+ * @public
286
+ */
287
+ maxResults?: number | undefined;
288
+ }
289
+ /**
290
+ * @public
291
+ */
292
+ export interface ListFiltersResponse {
293
+ /**
294
+ * <p>Contains details on the filters associated with your account.</p>
295
+ * @public
296
+ */
297
+ filters: Filter[] | undefined;
298
+ /**
299
+ * <p>A token to use for paginating results that are returned in the response. Set the value
300
+ * of this parameter to null for the first request to a list action. For subsequent calls, use
301
+ * the <code>NextToken</code> value returned from the previous request to continue listing
302
+ * results after the first page.</p>
303
+ * @public
304
+ */
305
+ nextToken?: string | undefined;
306
+ }
307
+ /**
308
+ * @public
309
+ */
310
+ export interface ListFindingAggregationsRequest {
311
+ /**
312
+ * <p>The type of the aggregation request.</p>
313
+ * @public
314
+ */
315
+ aggregationType: AggregationType | undefined;
316
+ /**
317
+ * <p>A token to use for paginating results that are returned in the response. Set the value
318
+ * of this parameter to null for the first request to a list action. If your response returns
319
+ * more than the <code>maxResults</code> maximum value it will also return a
320
+ * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
321
+ * returned from the previous request to continue listing results after the first page.</p>
322
+ * @public
323
+ */
324
+ nextToken?: string | undefined;
325
+ /**
326
+ * <p>The maximum number of results the response can return. If your request would return more
327
+ * than the maximum the response will return a <code>nextToken</code> value, use this value
328
+ * when you call the action again to get the remaining results.</p>
329
+ * @public
330
+ */
331
+ maxResults?: number | undefined;
332
+ /**
333
+ * <p>The Amazon Web Services account IDs to retrieve finding aggregation data for.</p>
334
+ * @public
335
+ */
336
+ accountIds?: StringFilter[] | undefined;
337
+ /**
338
+ * <p>Details of the aggregation request that is used to filter your aggregation
339
+ * results.</p>
340
+ * @public
341
+ */
342
+ aggregationRequest?: AggregationRequest | undefined;
343
+ }
344
+ /**
345
+ * @public
346
+ */
347
+ export interface ListFindingAggregationsResponse {
348
+ /**
349
+ * <p>The type of aggregation to perform.</p>
350
+ * @public
351
+ */
352
+ aggregationType: AggregationType | undefined;
353
+ /**
354
+ * <p>Objects that contain the results of an aggregation operation.</p>
355
+ * @public
356
+ */
357
+ responses?: AggregationResponse[] | undefined;
358
+ /**
359
+ * <p>A token to use for paginating results that are returned in the response. Set the value
360
+ * of this parameter to null for the first request to a list action. For subsequent calls, use
361
+ * the <code>NextToken</code> value returned from the previous request to continue listing
362
+ * results after the first page.</p>
363
+ * @public
364
+ */
365
+ nextToken?: string | undefined;
366
+ }
367
+ /**
368
+ * <p>Details about the criteria used to sort finding results.</p>
369
+ * @public
370
+ */
371
+ export interface SortCriteria {
372
+ /**
373
+ * <p>The finding detail field by which results are sorted.</p>
374
+ * @public
375
+ */
376
+ field: SortField | undefined;
377
+ /**
378
+ * <p>The order by which findings are sorted.</p>
379
+ * @public
380
+ */
381
+ sortOrder: SortOrder | undefined;
382
+ }
383
+ /**
384
+ * @public
385
+ */
386
+ export interface ListFindingsRequest {
387
+ /**
388
+ * <p>The maximum number of results the response can return. If your request would return more
389
+ * than the maximum the response will return a <code>nextToken</code> value, use this value
390
+ * when you call the action again to get the remaining results.</p>
391
+ * @public
392
+ */
393
+ maxResults?: number | undefined;
394
+ /**
395
+ * <p>A token to use for paginating results that are returned in the response. Set the value
396
+ * of this parameter to null for the first request to a list action. If your response returns
397
+ * more than the <code>maxResults</code> maximum value it will also return a
398
+ * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
399
+ * returned from the previous request to continue listing results after the first page.</p>
400
+ * @public
401
+ */
402
+ nextToken?: string | undefined;
403
+ /**
404
+ * <p>Details on the filters to apply to your finding results.</p>
405
+ * @public
406
+ */
407
+ filterCriteria?: FilterCriteria | undefined;
408
+ /**
409
+ * <p>Details on the sort criteria to apply to your finding results.</p>
410
+ * @public
411
+ */
412
+ sortCriteria?: SortCriteria | undefined;
413
+ }
414
+ /**
415
+ * @public
416
+ */
417
+ export interface ListFindingsResponse {
418
+ /**
419
+ * <p>A token to use for paginating results that are returned in the response. Set the value
420
+ * of this parameter to null for the first request to a list action. For subsequent calls, use
421
+ * the <code>NextToken</code> value returned from the previous request to continue listing
422
+ * results after the first page.</p>
423
+ * @public
424
+ */
425
+ nextToken?: string | undefined;
426
+ /**
427
+ * <p>Contains details on the findings in your environment.</p>
428
+ * @public
429
+ */
430
+ findings?: Finding[] | undefined;
431
+ }
432
+ /**
433
+ * @public
434
+ */
435
+ export interface ListMembersRequest {
436
+ /**
437
+ * <p>Specifies whether to list only currently associated members if <code>True</code> or to
438
+ * list all members within the organization if <code>False</code>.</p>
439
+ * @public
440
+ */
441
+ onlyAssociated?: boolean | undefined;
442
+ /**
443
+ * <p>The maximum number of results the response can return. If your request would return more
444
+ * than the maximum the response will return a <code>nextToken</code> value, use this value
445
+ * when you call the action again to get the remaining results.</p>
446
+ * @public
447
+ */
448
+ maxResults?: number | undefined;
449
+ /**
450
+ * <p>A token to use for paginating results that are returned in the response. Set the value
451
+ * of this parameter to null for the first request to a list action. If your response returns
452
+ * more than the <code>maxResults</code> maximum value it will also return a
453
+ * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
454
+ * returned from the previous request to continue listing results after the first page.</p>
455
+ * @public
456
+ */
457
+ nextToken?: string | undefined;
458
+ }
459
+ /**
460
+ * @public
461
+ */
462
+ export interface ListMembersResponse {
463
+ /**
464
+ * <p>An object that contains details for each member account.</p>
465
+ * @public
466
+ */
467
+ members?: Member[] | undefined;
468
+ /**
469
+ * <p>The pagination parameter to be used on the next list operation to retrieve more
470
+ * items.</p>
471
+ * @public
472
+ */
473
+ nextToken?: string | undefined;
474
+ }
475
+ /**
476
+ * @public
477
+ */
478
+ export interface ListTagsForResourceRequest {
479
+ /**
480
+ * <p>The Amazon resource number (ARN) of the resource to list tags of.</p>
481
+ * @public
482
+ */
483
+ resourceArn: string | undefined;
484
+ }
485
+ /**
486
+ * @public
487
+ */
488
+ export interface ListTagsForResourceResponse {
489
+ /**
490
+ * <p>The tags associated with the resource.</p>
491
+ * @public
492
+ */
493
+ tags?: Record<string, string> | undefined;
494
+ }
495
+ /**
496
+ * @public
497
+ */
498
+ export interface ListUsageTotalsRequest {
499
+ /**
500
+ * <p>The maximum number of results the response can return. If your request would return more
501
+ * than the maximum the response will return a <code>nextToken</code> value, use this value
502
+ * when you call the action again to get the remaining results.</p>
503
+ * @public
504
+ */
505
+ maxResults?: number | undefined;
506
+ /**
507
+ * <p>A token to use for paginating results that are returned in the response. Set the value
508
+ * of this parameter to null for the first request to a list action. If your response returns
509
+ * more than the <code>maxResults</code> maximum value it will also return a
510
+ * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
511
+ * returned from the previous request to continue listing results after the first page.</p>
512
+ * @public
513
+ */
514
+ nextToken?: string | undefined;
515
+ /**
516
+ * <p>The Amazon Web Services account IDs to retrieve usage totals for.</p>
517
+ * @public
518
+ */
519
+ accountIds?: string[] | undefined;
520
+ }
521
+ /**
522
+ * <p>Contains usage information about the cost of Amazon Inspector operation.</p>
523
+ * @public
524
+ */
525
+ export interface Usage {
526
+ /**
527
+ * <p>The type scan.</p>
528
+ * @public
529
+ */
530
+ type?: UsageType | undefined;
531
+ /**
532
+ * <p>The total of usage.</p>
533
+ * @public
534
+ */
535
+ total?: number | undefined;
536
+ /**
537
+ * <p>The estimated monthly cost of Amazon Inspector.</p>
538
+ * @public
539
+ */
540
+ estimatedMonthlyCost?: number | undefined;
541
+ /**
542
+ * <p>The currency type used when calculating usage data.</p>
543
+ * @public
544
+ */
545
+ currency?: Currency | undefined;
546
+ /**
547
+ * <p>The cloud provider associated with the usage information.</p>
548
+ * @public
549
+ */
550
+ cloudProvider?: CloudProvider | undefined;
551
+ }
552
+ /**
553
+ * <p>The total of usage for an account ID.</p>
554
+ * @public
555
+ */
556
+ export interface UsageTotal {
557
+ /**
558
+ * <p>The account ID of the account that usage data was retrieved for.</p>
559
+ * @public
560
+ */
561
+ accountId?: string | undefined;
562
+ /**
563
+ * <p>An object representing the total usage for an account.</p>
564
+ * @public
565
+ */
566
+ usage?: Usage[] | undefined;
567
+ }
568
+ /**
569
+ * @public
570
+ */
571
+ export interface ListUsageTotalsResponse {
572
+ /**
573
+ * <p>The pagination parameter to be used on the next list operation to retrieve more
574
+ * items.</p>
575
+ * @public
576
+ */
577
+ nextToken?: string | undefined;
578
+ /**
579
+ * <p>An object with details on the total usage for the requested account.</p>
580
+ * @public
581
+ */
582
+ totals?: UsageTotal[] | undefined;
583
+ }
584
+ /**
585
+ * @public
586
+ */
587
+ export interface ResetEncryptionKeyRequest {
588
+ /**
589
+ * <p>The scan type the key encrypts.</p>
590
+ * @public
591
+ */
592
+ scanType: ScanType | undefined;
593
+ /**
594
+ * <p>The resource type the key encrypts.</p>
595
+ * @public
596
+ */
597
+ resourceType: ResourceType | undefined;
598
+ }
599
+ /**
600
+ * @public
601
+ */
602
+ export interface ResetEncryptionKeyResponse {
603
+ }
604
+ /**
605
+ * <p>Details on the criteria used to define the filter for a vulnerability search. </p>
606
+ * @public
607
+ */
608
+ export interface SearchVulnerabilitiesFilterCriteria {
609
+ /**
610
+ * <p>The IDs for specific vulnerabilities.</p>
611
+ * @public
612
+ */
613
+ vulnerabilityIds: string[] | undefined;
614
+ }
615
+ /**
616
+ * @public
617
+ */
618
+ export interface SearchVulnerabilitiesRequest {
619
+ /**
620
+ * <p>The criteria used to filter the results of a vulnerability search.</p>
621
+ * @public
622
+ */
623
+ filterCriteria: SearchVulnerabilitiesFilterCriteria | undefined;
624
+ /**
625
+ * <p>A token to use for paginating results that are returned in the response. Set the value
626
+ * of this parameter to null for the first request to a list action. For subsequent calls, use
627
+ * the <code>NextToken</code> value returned from the previous request to continue listing
628
+ * results after the first page.</p>
629
+ * @public
630
+ */
631
+ nextToken?: string | undefined;
632
+ }
633
+ /**
634
+ * <p>Contains details about a specific vulnerability Amazon Inspector can detect.</p>
635
+ * @public
636
+ */
637
+ export interface Vulnerability {
638
+ /**
639
+ * <p>The ID for the specific vulnerability.</p>
640
+ * @public
641
+ */
642
+ id: string | undefined;
643
+ /**
644
+ * <p>The Common Weakness Enumeration (CWE) associated with the vulnerability.</p>
645
+ * @public
646
+ */
647
+ cwes?: string[] | undefined;
648
+ /**
649
+ * <p>An object that contains the Cybersecurity and Infrastructure Security Agency (CISA)
650
+ * details for the vulnerability.</p>
651
+ * @public
652
+ */
653
+ cisaData?: CisaData | undefined;
654
+ /**
655
+ * <p>The source of the vulnerability information. Possible results are <code>RHEL</code>,
656
+ * <code>AMAZON_CVE</code>, <code>DEBIAN</code> or <code>NVD</code>.</p>
657
+ * @public
658
+ */
659
+ source?: VulnerabilitySource | undefined;
660
+ /**
661
+ * <p>A description of the vulnerability.</p>
662
+ * @public
663
+ */
664
+ description?: string | undefined;
665
+ /**
666
+ * <p>An object that contains information about the Amazon Web Services Threat Intel Group
667
+ * (ATIG) details for the vulnerability.</p>
668
+ * @public
669
+ */
670
+ atigData?: AtigData | undefined;
671
+ /**
672
+ * <p>The severity assigned by the vendor.</p>
673
+ * @public
674
+ */
675
+ vendorSeverity?: string | undefined;
676
+ /**
677
+ * <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 4 details for the vulnerability.</p>
678
+ * @public
679
+ */
680
+ cvss4?: Cvss4 | undefined;
681
+ /**
682
+ * <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details
683
+ * for the vulnerability.</p>
684
+ * @public
685
+ */
686
+ cvss3?: Cvss3 | undefined;
687
+ /**
688
+ * <p>A list of related vulnerabilities.</p>
689
+ * @public
690
+ */
691
+ relatedVulnerabilities?: string[] | undefined;
692
+ /**
693
+ * <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details
694
+ * for the vulnerability.</p>
695
+ * @public
696
+ */
697
+ cvss2?: Cvss2 | undefined;
698
+ /**
699
+ * <p>The date and time when the vendor created this vulnerability.</p>
700
+ * @public
701
+ */
702
+ vendorCreatedAt?: Date | undefined;
703
+ /**
704
+ * <p>The date and time when the vendor last updated this vulnerability.</p>
705
+ * @public
706
+ */
707
+ vendorUpdatedAt?: Date | undefined;
708
+ /**
709
+ * <p>A link to the official source material for this vulnerability.</p>
710
+ * @public
711
+ */
712
+ sourceUrl?: string | undefined;
713
+ /**
714
+ * <p>Links to various resources with more information on this vulnerability. </p>
715
+ * @public
716
+ */
717
+ referenceUrls?: string[] | undefined;
718
+ /**
719
+ * <p>An object that contains details on when the exploit was observed.</p>
720
+ * @public
721
+ */
722
+ exploitObserved?: ExploitObserved | undefined;
723
+ /**
724
+ * <p>Platforms that the vulnerability can be detected on.</p>
725
+ * @public
726
+ */
727
+ detectionPlatforms?: string[] | undefined;
728
+ /**
729
+ * <p>An object that contains the Exploit Prediction Scoring System (EPSS) score for a
730
+ * vulnerability.</p>
731
+ * @public
732
+ */
733
+ epss?: Epss | undefined;
734
+ }
735
+ /**
736
+ * @public
737
+ */
738
+ export interface SearchVulnerabilitiesResponse {
739
+ /**
740
+ * <p>Details about the listed vulnerability.</p>
741
+ * @public
742
+ */
743
+ vulnerabilities: Vulnerability[] | undefined;
744
+ /**
745
+ * <p>The pagination parameter to be used on the next list operation to retrieve more
746
+ * items.</p>
747
+ * @public
748
+ */
749
+ nextToken?: string | undefined;
750
+ }
751
+ /**
752
+ * @public
753
+ */
754
+ export interface SendCisSessionHealthRequest {
755
+ /**
756
+ * <p>A unique identifier for the scan job.</p>
757
+ * @public
758
+ */
759
+ scanJobId: string | undefined;
760
+ /**
761
+ * <p>The unique token that identifies the CIS session.</p>
762
+ * @public
763
+ */
764
+ sessionToken: string | undefined;
765
+ }
766
+ /**
767
+ * @public
768
+ */
769
+ export interface SendCisSessionHealthResponse {
770
+ }
771
+ /**
772
+ * @public
773
+ */
774
+ export interface SendCisSessionTelemetryRequest {
775
+ /**
776
+ * <p>A unique identifier for the scan job.</p>
777
+ * @public
778
+ */
779
+ scanJobId: string | undefined;
780
+ /**
781
+ * <p>The unique token that identifies the CIS session.</p>
782
+ * @public
783
+ */
784
+ sessionToken: string | undefined;
785
+ /**
786
+ * <p>The CIS session telemetry messages.</p>
787
+ * @public
788
+ */
789
+ messages: CisSessionMessage[] | undefined;
790
+ }
791
+ /**
792
+ * @public
793
+ */
794
+ export interface SendCisSessionTelemetryResponse {
795
+ }
796
+ /**
797
+ * <p>The start CIS session message.</p>
798
+ * @public
799
+ */
800
+ export interface StartCisSessionMessage {
801
+ /**
802
+ * <p>The unique token that identifies the CIS session.</p>
803
+ * @public
804
+ */
805
+ sessionToken: string | undefined;
806
+ }
3
807
  /**
4
808
  * @public
5
809
  */
@@ -385,10 +1189,42 @@ export interface UpdateCodeSecurityScanConfigurationResponse {
385
1189
  */
386
1190
  scanConfigurationArn?: string | undefined;
387
1191
  }
1192
+ /**
1193
+ * <p>The per-scan-type inheritance reset settings for the <code>UpdateConfiguration</code>
1194
+ * operation. Each member is independently optional. Including a member in this structure
1195
+ * resets that scan type's configuration to inherit from the delegated administrator.</p>
1196
+ * @public
1197
+ */
1198
+ export interface UpdateConfigurationInheritance {
1199
+ /**
1200
+ * <p>The inheritance mode for Amazon EC2 scan configuration. Set to
1201
+ * <code>INHERIT_FROM_ADMIN</code> to reset the member account's Amazon EC2 scan configuration to
1202
+ * inherit from the delegated administrator. If omitted, the member account's existing Amazon EC2
1203
+ * scan configuration is not changed.</p>
1204
+ * @public
1205
+ */
1206
+ ec2Configuration?: InheritanceMode | undefined;
1207
+ /**
1208
+ * <p>The inheritance mode for Amazon ECR scan configuration. Set to
1209
+ * <code>INHERIT_FROM_ADMIN</code> to reset the member account's Amazon ECR scan configuration to
1210
+ * inherit from the delegated administrator. If omitted, the member account's existing Amazon ECR
1211
+ * scan configuration is not changed.</p>
1212
+ * @public
1213
+ */
1214
+ ecrConfiguration?: InheritanceMode | undefined;
1215
+ }
388
1216
  /**
389
1217
  * @public
390
1218
  */
391
1219
  export interface UpdateConfigurationRequest {
1220
+ /**
1221
+ * <p>The 12-digit Amazon Web Services account ID of the member account whose scan configuration you want
1222
+ * to update. When specified, you must be the delegated administrator for this member
1223
+ * account. If not specified, the operation updates your own configuration and
1224
+ * propagates changes to any member accounts that have not been individually configured.</p>
1225
+ * @public
1226
+ */
1227
+ accountId?: string | undefined;
392
1228
  /**
393
1229
  * <p>Specifies how the ECR automated re-scan will be updated for your environment.</p>
394
1230
  * @public
@@ -399,12 +1235,106 @@ export interface UpdateConfigurationRequest {
399
1235
  * @public
400
1236
  */
401
1237
  ec2Configuration?: Ec2Configuration | undefined;
1238
+ /**
1239
+ * <p>Specifies which scan-type configurations to reset to the delegated administrator's
1240
+ * inherited values for the targeted member account. Each member of this structure is
1241
+ * independently optional. When specified, <code>ec2Configuration</code> and
1242
+ * <code>ecrConfiguration</code> must be absent, and <code>accountId</code> must also be
1243
+ * present. Only <code>INHERIT_FROM_ADMIN</code> is valid for each member. If not specified,
1244
+ * the operation uses the <code>ec2Configuration</code> and <code>ecrConfiguration</code>
1245
+ * parameters instead.</p>
1246
+ * @public
1247
+ */
1248
+ updateConfigurationInheritance?: UpdateConfigurationInheritance | undefined;
402
1249
  }
403
1250
  /**
404
1251
  * @public
405
1252
  */
406
1253
  export interface UpdateConfigurationResponse {
407
1254
  }
1255
+ /**
1256
+ * <p>The provider-specific configuration details for updating a connector.</p>
1257
+ * @public
1258
+ */
1259
+ export type ProviderDetailUpdate = ProviderDetailUpdate.AzureMember | ProviderDetailUpdate.$UnknownMember;
1260
+ /**
1261
+ * @public
1262
+ */
1263
+ export declare namespace ProviderDetailUpdate {
1264
+ /**
1265
+ * <p>The Azure-specific details for updating a connector.</p>
1266
+ * @public
1267
+ */
1268
+ interface AzureMember {
1269
+ azure: AzureProviderDetailUpdate;
1270
+ $unknown?: never;
1271
+ }
1272
+ /**
1273
+ * @public
1274
+ */
1275
+ interface $UnknownMember {
1276
+ azure?: never;
1277
+ $unknown: [string, any];
1278
+ }
1279
+ /**
1280
+ * @deprecated unused in schema-serde mode.
1281
+ *
1282
+ */
1283
+ interface Visitor<T> {
1284
+ azure: (value: AzureProviderDetailUpdate) => T;
1285
+ _: (name: string, value: any) => T;
1286
+ }
1287
+ }
1288
+ /**
1289
+ * @public
1290
+ */
1291
+ export interface UpdateConnectorRequest {
1292
+ /**
1293
+ * <p>The Amazon Resource Name (ARN) of the connector to update.</p>
1294
+ * @public
1295
+ */
1296
+ connectorArn: string | undefined;
1297
+ /**
1298
+ * <p>The updated description of the connector.</p>
1299
+ * @public
1300
+ */
1301
+ description?: string | undefined;
1302
+ /**
1303
+ * <p>The updated provider-specific configuration details for the connector.</p>
1304
+ * @public
1305
+ */
1306
+ providerDetail?: ProviderDetailUpdate | undefined;
1307
+ }
1308
+ /**
1309
+ * @public
1310
+ */
1311
+ export interface UpdateConnectorResponse {
1312
+ /**
1313
+ * <p>The Amazon Resource Name (ARN) of the updated connector.</p>
1314
+ * @public
1315
+ */
1316
+ connectorArn?: string | undefined;
1317
+ }
1318
+ /**
1319
+ * @public
1320
+ */
1321
+ export interface UpdateConnectorScanConfigurationRequest {
1322
+ /**
1323
+ * <p>The ARN of the Amazon Web Services Config connector.</p>
1324
+ * @public
1325
+ */
1326
+ awsConfigConnectorArn: string | undefined;
1327
+ /**
1328
+ * <p>The scan configuration settings to apply.</p>
1329
+ * @public
1330
+ */
1331
+ scanConfiguration: ConnectorScanConfiguration | undefined;
1332
+ }
1333
+ /**
1334
+ * @public
1335
+ */
1336
+ export interface UpdateConnectorScanConfigurationResponse {
1337
+ }
408
1338
  /**
409
1339
  * @public
410
1340
  */