@aws-sdk/client-inspector2 3.496.0 → 3.498.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 (137) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/commands/CreateCisScanConfigurationCommand.js +1 -0
  3. package/dist-cjs/commands/DeleteCisScanConfigurationCommand.js +1 -0
  4. package/dist-cjs/commands/GetCisScanReportCommand.js +1 -0
  5. package/dist-cjs/commands/GetCisScanResultDetailsCommand.js +1 -0
  6. package/dist-cjs/commands/ListCisScanConfigurationsCommand.js +1 -0
  7. package/dist-cjs/commands/ListCisScanResultsAggregatedByChecksCommand.js +1 -0
  8. package/dist-cjs/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +1 -0
  9. package/dist-cjs/commands/ListCisScansCommand.js +1 -0
  10. package/dist-cjs/commands/SendCisSessionHealthCommand.js +1 -0
  11. package/dist-cjs/commands/SendCisSessionTelemetryCommand.js +1 -0
  12. package/dist-cjs/commands/StartCisSessionCommand.js +1 -0
  13. package/dist-cjs/commands/StopCisSessionCommand.js +1 -0
  14. package/dist-cjs/commands/UpdateCisScanConfigurationCommand.js +1 -0
  15. package/dist-cjs/index.js +1721 -398
  16. package/dist-cjs/models/models_1.js +1 -0
  17. package/dist-cjs/pagination/GetCisScanResultDetailsPaginator.js +1 -0
  18. package/dist-cjs/pagination/ListCisScanConfigurationsPaginator.js +1 -0
  19. package/dist-cjs/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +1 -0
  20. package/dist-cjs/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +1 -0
  21. package/dist-cjs/pagination/ListCisScansPaginator.js +1 -0
  22. package/dist-es/Inspector2.js +26 -0
  23. package/dist-es/commands/CreateCisScanConfigurationCommand.js +24 -0
  24. package/dist-es/commands/DeleteCisScanConfigurationCommand.js +24 -0
  25. package/dist-es/commands/GetCisScanReportCommand.js +24 -0
  26. package/dist-es/commands/GetCisScanResultDetailsCommand.js +24 -0
  27. package/dist-es/commands/ListCisScanConfigurationsCommand.js +24 -0
  28. package/dist-es/commands/ListCisScanResultsAggregatedByChecksCommand.js +24 -0
  29. package/dist-es/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +24 -0
  30. package/dist-es/commands/ListCisScansCommand.js +24 -0
  31. package/dist-es/commands/SendCisSessionHealthCommand.js +24 -0
  32. package/dist-es/commands/SendCisSessionTelemetryCommand.js +24 -0
  33. package/dist-es/commands/StartCisSessionCommand.js +24 -0
  34. package/dist-es/commands/StopCisSessionCommand.js +24 -0
  35. package/dist-es/commands/UpdateCisScanConfigurationCommand.js +24 -0
  36. package/dist-es/commands/index.js +13 -0
  37. package/dist-es/models/index.js +1 -0
  38. package/dist-es/models/models_0.js +126 -28
  39. package/dist-es/models/models_1.js +35 -0
  40. package/dist-es/pagination/GetCisScanResultDetailsPaginator.js +4 -0
  41. package/dist-es/pagination/ListCisScanConfigurationsPaginator.js +4 -0
  42. package/dist-es/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +4 -0
  43. package/dist-es/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +4 -0
  44. package/dist-es/pagination/ListCisScansPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +5 -0
  46. package/dist-es/protocols/Aws_restJson1.js +847 -20
  47. package/dist-types/Inspector2.d.ts +91 -0
  48. package/dist-types/Inspector2Client.d.ts +15 -2
  49. package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +110 -0
  50. package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +74 -0
  51. package/dist-types/commands/GetCisScanReportCommand.d.ts +75 -0
  52. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +125 -0
  53. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +141 -0
  54. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +129 -0
  55. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +152 -0
  56. package/dist-types/commands/ListCisScansCommand.d.ts +158 -0
  57. package/dist-types/commands/ListCoverageCommand.d.ts +2 -1
  58. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  59. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
  61. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  65. package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -1
  66. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  67. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  68. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +77 -0
  69. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +84 -0
  70. package/dist-types/commands/StartCisSessionCommand.d.ts +79 -0
  71. package/dist-types/commands/StopCisSessionCommand.d.ts +98 -0
  72. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  73. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +111 -0
  75. package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateFilterCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  81. package/dist-types/commands/index.d.ts +13 -0
  82. package/dist-types/models/index.d.ts +1 -0
  83. package/dist-types/models/models_0.d.ts +2223 -1516
  84. package/dist-types/models/models_1.d.ts +1053 -0
  85. package/dist-types/pagination/GetCisScanResultDetailsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListCisScanConfigurationsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListCisScansPaginator.d.ts +7 -0
  90. package/dist-types/pagination/index.d.ts +5 -0
  91. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  92. package/dist-types/ts3.4/Inspector2.d.ts +233 -0
  93. package/dist-types/ts3.4/Inspector2Client.d.ts +78 -0
  94. package/dist-types/ts3.4/commands/CreateCisScanConfigurationCommand.d.ts +30 -0
  95. package/dist-types/ts3.4/commands/DeleteCisScanConfigurationCommand.d.ts +30 -0
  96. package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +29 -0
  97. package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +30 -0
  98. package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +30 -0
  99. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +30 -0
  100. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +30 -0
  101. package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +26 -0
  102. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +2 -1
  103. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +30 -0
  114. package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +30 -0
  115. package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +29 -0
  116. package/dist-types/ts3.4/commands/StopCisSessionCommand.d.ts +29 -0
  117. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UpdateCisScanConfigurationCommand.d.ts +30 -0
  120. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  127. package/dist-types/ts3.4/models/index.d.ts +1 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +449 -192
  129. package/dist-types/ts3.4/models/models_1.d.ts +309 -0
  130. package/dist-types/ts3.4/pagination/GetCisScanResultDetailsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListCisScanConfigurationsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/ListCisScansPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  136. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  137. package/package.json +1 -1
@@ -0,0 +1,309 @@
1
+ import {
2
+ AggregationRequest,
3
+ AggregationResponse,
4
+ AggregationType,
5
+ AtigData,
6
+ AutoEnable,
7
+ CisaData,
8
+ CisSecurityLevel,
9
+ CisSessionMessage,
10
+ ComputePlatform,
11
+ Counts,
12
+ CoverageFilterCriteria,
13
+ CoveredResource,
14
+ Currency,
15
+ Cvss2,
16
+ Cvss3,
17
+ DelegatedAdminAccount,
18
+ Ec2DeepInspectionStatus,
19
+ EcrConfiguration,
20
+ Epss,
21
+ ExploitObserved,
22
+ Filter,
23
+ FilterAction,
24
+ FilterCriteria,
25
+ Finding,
26
+ GroupKey,
27
+ Member,
28
+ ResourceType,
29
+ ScanType,
30
+ Schedule,
31
+ SortOrder,
32
+ StringFilter,
33
+ } from "./models_0";
34
+ export interface ListCoverageResponse {
35
+ nextToken?: string;
36
+ coveredResources?: CoveredResource[];
37
+ }
38
+ export interface ListCoverageStatisticsRequest {
39
+ filterCriteria?: CoverageFilterCriteria;
40
+ groupBy?: GroupKey;
41
+ nextToken?: string;
42
+ }
43
+ export interface ListCoverageStatisticsResponse {
44
+ countsByGroup?: Counts[];
45
+ totalCounts: number | undefined;
46
+ nextToken?: string;
47
+ }
48
+ export interface ListDelegatedAdminAccountsRequest {
49
+ maxResults?: number;
50
+ nextToken?: string;
51
+ }
52
+ export interface ListDelegatedAdminAccountsResponse {
53
+ delegatedAdminAccounts?: DelegatedAdminAccount[];
54
+ nextToken?: string;
55
+ }
56
+ export interface ListFiltersRequest {
57
+ arns?: string[];
58
+ action?: FilterAction;
59
+ nextToken?: string;
60
+ maxResults?: number;
61
+ }
62
+ export interface ListFiltersResponse {
63
+ filters: Filter[] | undefined;
64
+ nextToken?: string;
65
+ }
66
+ export interface ListFindingAggregationsRequest {
67
+ aggregationType: AggregationType | undefined;
68
+ nextToken?: string;
69
+ maxResults?: number;
70
+ accountIds?: StringFilter[];
71
+ aggregationRequest?: AggregationRequest;
72
+ }
73
+ export interface ListFindingAggregationsResponse {
74
+ aggregationType: AggregationType | undefined;
75
+ responses?: AggregationResponse[];
76
+ nextToken?: string;
77
+ }
78
+ export declare const SortField: {
79
+ readonly AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID";
80
+ readonly COMPONENT_TYPE: "COMPONENT_TYPE";
81
+ readonly ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT";
82
+ readonly ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY";
83
+ readonly ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME";
84
+ readonly EPSS_SCORE: "EPSS_SCORE";
85
+ readonly FINDING_STATUS: "FINDING_STATUS";
86
+ readonly FINDING_TYPE: "FINDING_TYPE";
87
+ readonly FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT";
88
+ readonly INSPECTOR_SCORE: "INSPECTOR_SCORE";
89
+ readonly LAST_OBSERVED_AT: "LAST_OBSERVED_AT";
90
+ readonly NETWORK_PROTOCOL: "NETWORK_PROTOCOL";
91
+ readonly RESOURCE_TYPE: "RESOURCE_TYPE";
92
+ readonly SEVERITY: "SEVERITY";
93
+ readonly VENDOR_SEVERITY: "VENDOR_SEVERITY";
94
+ readonly VULNERABILITY_ID: "VULNERABILITY_ID";
95
+ readonly VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE";
96
+ };
97
+ export type SortField = (typeof SortField)[keyof typeof SortField];
98
+ export interface SortCriteria {
99
+ field: SortField | undefined;
100
+ sortOrder: SortOrder | undefined;
101
+ }
102
+ export interface ListFindingsRequest {
103
+ maxResults?: number;
104
+ nextToken?: string;
105
+ filterCriteria?: FilterCriteria;
106
+ sortCriteria?: SortCriteria;
107
+ }
108
+ export interface ListFindingsResponse {
109
+ nextToken?: string;
110
+ findings?: Finding[];
111
+ }
112
+ export interface ListMembersRequest {
113
+ onlyAssociated?: boolean;
114
+ maxResults?: number;
115
+ nextToken?: string;
116
+ }
117
+ export interface ListMembersResponse {
118
+ members?: Member[];
119
+ nextToken?: string;
120
+ }
121
+ export interface ListTagsForResourceRequest {
122
+ resourceArn: string | undefined;
123
+ }
124
+ export interface ListTagsForResourceResponse {
125
+ tags?: Record<string, string>;
126
+ }
127
+ export interface ListUsageTotalsRequest {
128
+ maxResults?: number;
129
+ nextToken?: string;
130
+ accountIds?: string[];
131
+ }
132
+ export declare const UsageType: {
133
+ readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
134
+ readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
135
+ readonly ECR_RESCAN: "ECR_RESCAN";
136
+ readonly LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS";
137
+ readonly LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS";
138
+ };
139
+ export type UsageType = (typeof UsageType)[keyof typeof UsageType];
140
+ export interface Usage {
141
+ type?: UsageType;
142
+ total?: number;
143
+ estimatedMonthlyCost?: number;
144
+ currency?: Currency;
145
+ }
146
+ export interface UsageTotal {
147
+ accountId?: string;
148
+ usage?: Usage[];
149
+ }
150
+ export interface ListUsageTotalsResponse {
151
+ nextToken?: string;
152
+ totals?: UsageTotal[];
153
+ }
154
+ export interface ResetEncryptionKeyRequest {
155
+ scanType: ScanType | undefined;
156
+ resourceType: ResourceType | undefined;
157
+ }
158
+ export interface ResetEncryptionKeyResponse {}
159
+ export interface SearchVulnerabilitiesFilterCriteria {
160
+ vulnerabilityIds: string[] | undefined;
161
+ }
162
+ export interface SearchVulnerabilitiesRequest {
163
+ filterCriteria: SearchVulnerabilitiesFilterCriteria | undefined;
164
+ nextToken?: string;
165
+ }
166
+ export declare const VulnerabilitySource: {
167
+ readonly NVD: "NVD";
168
+ };
169
+ export type VulnerabilitySource =
170
+ (typeof VulnerabilitySource)[keyof typeof VulnerabilitySource];
171
+ export interface Vulnerability {
172
+ id: string | undefined;
173
+ cwes?: string[];
174
+ cisaData?: CisaData;
175
+ source?: VulnerabilitySource;
176
+ description?: string;
177
+ atigData?: AtigData;
178
+ vendorSeverity?: string;
179
+ cvss3?: Cvss3;
180
+ relatedVulnerabilities?: string[];
181
+ cvss2?: Cvss2;
182
+ vendorCreatedAt?: Date;
183
+ vendorUpdatedAt?: Date;
184
+ sourceUrl?: string;
185
+ referenceUrls?: string[];
186
+ exploitObserved?: ExploitObserved;
187
+ detectionPlatforms?: string[];
188
+ epss?: Epss;
189
+ }
190
+ export interface SearchVulnerabilitiesResponse {
191
+ vulnerabilities: Vulnerability[] | undefined;
192
+ nextToken?: string;
193
+ }
194
+ export interface SendCisSessionHealthRequest {
195
+ scanJobId: string | undefined;
196
+ sessionToken: string | undefined;
197
+ }
198
+ export interface SendCisSessionHealthResponse {}
199
+ export interface SendCisSessionTelemetryRequest {
200
+ scanJobId: string | undefined;
201
+ sessionToken: string | undefined;
202
+ messages: CisSessionMessage[] | undefined;
203
+ }
204
+ export interface SendCisSessionTelemetryResponse {}
205
+ export interface StartCisSessionMessage {
206
+ sessionToken: string | undefined;
207
+ }
208
+ export interface StartCisSessionRequest {
209
+ scanJobId: string | undefined;
210
+ message: StartCisSessionMessage | undefined;
211
+ }
212
+ export interface StartCisSessionResponse {}
213
+ export interface StopCisMessageProgress {
214
+ totalChecks?: number;
215
+ successfulChecks?: number;
216
+ failedChecks?: number;
217
+ notEvaluatedChecks?: number;
218
+ unknownChecks?: number;
219
+ notApplicableChecks?: number;
220
+ informationalChecks?: number;
221
+ errorChecks?: number;
222
+ }
223
+ export declare const StopCisSessionStatus: {
224
+ readonly FAILED: "FAILED";
225
+ readonly INTERRUPTED: "INTERRUPTED";
226
+ readonly SUCCESS: "SUCCESS";
227
+ readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
228
+ };
229
+ export type StopCisSessionStatus =
230
+ (typeof StopCisSessionStatus)[keyof typeof StopCisSessionStatus];
231
+ export interface StopCisSessionMessage {
232
+ status: StopCisSessionStatus | undefined;
233
+ reason?: string;
234
+ progress: StopCisMessageProgress | undefined;
235
+ computePlatform?: ComputePlatform;
236
+ benchmarkVersion?: string;
237
+ benchmarkProfile?: string;
238
+ }
239
+ export interface StopCisSessionRequest {
240
+ scanJobId: string | undefined;
241
+ sessionToken: string | undefined;
242
+ message: StopCisSessionMessage | undefined;
243
+ }
244
+ export interface StopCisSessionResponse {}
245
+ export interface TagResourceRequest {
246
+ resourceArn: string | undefined;
247
+ tags: Record<string, string> | undefined;
248
+ }
249
+ export interface TagResourceResponse {}
250
+ export interface UntagResourceRequest {
251
+ resourceArn: string | undefined;
252
+ tagKeys: string[] | undefined;
253
+ }
254
+ export interface UntagResourceResponse {}
255
+ export interface UpdateCisTargets {
256
+ accountIds?: string[];
257
+ targetResourceTags?: Record<string, string[]>;
258
+ }
259
+ export interface UpdateCisScanConfigurationRequest {
260
+ scanConfigurationArn: string | undefined;
261
+ scanName?: string;
262
+ securityLevel?: CisSecurityLevel;
263
+ schedule?: Schedule;
264
+ targets?: UpdateCisTargets;
265
+ }
266
+ export interface UpdateCisScanConfigurationResponse {
267
+ scanConfigurationArn: string | undefined;
268
+ }
269
+ export interface UpdateConfigurationRequest {
270
+ ecrConfiguration: EcrConfiguration | undefined;
271
+ }
272
+ export interface UpdateConfigurationResponse {}
273
+ export interface UpdateEc2DeepInspectionConfigurationRequest {
274
+ activateDeepInspection?: boolean;
275
+ packagePaths?: string[];
276
+ }
277
+ export interface UpdateEc2DeepInspectionConfigurationResponse {
278
+ packagePaths?: string[];
279
+ orgPackagePaths?: string[];
280
+ status?: Ec2DeepInspectionStatus;
281
+ errorMessage?: string;
282
+ }
283
+ export interface UpdateEncryptionKeyRequest {
284
+ kmsKeyId: string | undefined;
285
+ scanType: ScanType | undefined;
286
+ resourceType: ResourceType | undefined;
287
+ }
288
+ export interface UpdateEncryptionKeyResponse {}
289
+ export interface UpdateFilterRequest {
290
+ action?: FilterAction;
291
+ description?: string;
292
+ filterCriteria?: FilterCriteria;
293
+ name?: string;
294
+ filterArn: string | undefined;
295
+ reason?: string;
296
+ }
297
+ export interface UpdateFilterResponse {
298
+ arn: string | undefined;
299
+ }
300
+ export interface UpdateOrganizationConfigurationRequest {
301
+ autoEnable: AutoEnable | undefined;
302
+ }
303
+ export interface UpdateOrganizationConfigurationResponse {
304
+ autoEnable: AutoEnable | undefined;
305
+ }
306
+ export interface UpdateOrgEc2DeepInspectionConfigurationRequest {
307
+ orgPackagePaths: string[] | undefined;
308
+ }
309
+ export interface UpdateOrgEc2DeepInspectionConfigurationResponse {}
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetCisScanResultDetailsCommandInput,
4
+ GetCisScanResultDetailsCommandOutput,
5
+ } from "../commands/GetCisScanResultDetailsCommand";
6
+ import { Inspector2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetCisScanResultDetails: (
8
+ config: Inspector2PaginationConfiguration,
9
+ input: GetCisScanResultDetailsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetCisScanResultDetailsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCisScanConfigurationsCommandInput,
4
+ ListCisScanConfigurationsCommandOutput,
5
+ } from "../commands/ListCisScanConfigurationsCommand";
6
+ import { Inspector2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCisScanConfigurations: (
8
+ config: Inspector2PaginationConfiguration,
9
+ input: ListCisScanConfigurationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCisScanConfigurationsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCisScanResultsAggregatedByChecksCommandInput,
4
+ ListCisScanResultsAggregatedByChecksCommandOutput,
5
+ } from "../commands/ListCisScanResultsAggregatedByChecksCommand";
6
+ import { Inspector2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCisScanResultsAggregatedByChecks: (
8
+ config: Inspector2PaginationConfiguration,
9
+ input: ListCisScanResultsAggregatedByChecksCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCisScanResultsAggregatedByChecksCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCisScanResultsAggregatedByTargetResourceCommandInput,
4
+ ListCisScanResultsAggregatedByTargetResourceCommandOutput,
5
+ } from "../commands/ListCisScanResultsAggregatedByTargetResourceCommand";
6
+ import { Inspector2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCisScanResultsAggregatedByTargetResource: (
8
+ config: Inspector2PaginationConfiguration,
9
+ input: ListCisScanResultsAggregatedByTargetResourceCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCisScanResultsAggregatedByTargetResourceCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCisScansCommandInput,
4
+ ListCisScansCommandOutput,
5
+ } from "../commands/ListCisScansCommand";
6
+ import { Inspector2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCisScans: (
8
+ config: Inspector2PaginationConfiguration,
9
+ input: ListCisScansCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCisScansCommandOutput>;
@@ -1,5 +1,10 @@
1
+ export * from "./GetCisScanResultDetailsPaginator";
1
2
  export * from "./Interfaces";
2
3
  export * from "./ListAccountPermissionsPaginator";
4
+ export * from "./ListCisScanConfigurationsPaginator";
5
+ export * from "./ListCisScanResultsAggregatedByChecksPaginator";
6
+ export * from "./ListCisScanResultsAggregatedByTargetResourcePaginator";
7
+ export * from "./ListCisScansPaginator";
3
8
  export * from "./ListCoveragePaginator";
4
9
  export * from "./ListCoverageStatisticsPaginator";
5
10
  export * from "./ListDelegatedAdminAccountsPaginator";
@@ -39,6 +39,10 @@ import {
39
39
  CancelSbomExportCommandInput,
40
40
  CancelSbomExportCommandOutput,
41
41
  } from "../commands/CancelSbomExportCommand";
42
+ import {
43
+ CreateCisScanConfigurationCommandInput,
44
+ CreateCisScanConfigurationCommandOutput,
45
+ } from "../commands/CreateCisScanConfigurationCommand";
42
46
  import {
43
47
  CreateFilterCommandInput,
44
48
  CreateFilterCommandOutput,
@@ -51,6 +55,10 @@ import {
51
55
  CreateSbomExportCommandInput,
52
56
  CreateSbomExportCommandOutput,
53
57
  } from "../commands/CreateSbomExportCommand";
58
+ import {
59
+ DeleteCisScanConfigurationCommandInput,
60
+ DeleteCisScanConfigurationCommandOutput,
61
+ } from "../commands/DeleteCisScanConfigurationCommand";
54
62
  import {
55
63
  DeleteFilterCommandInput,
56
64
  DeleteFilterCommandOutput,
@@ -79,6 +87,14 @@ import {
79
87
  EnableDelegatedAdminAccountCommandInput,
80
88
  EnableDelegatedAdminAccountCommandOutput,
81
89
  } from "../commands/EnableDelegatedAdminAccountCommand";
90
+ import {
91
+ GetCisScanReportCommandInput,
92
+ GetCisScanReportCommandOutput,
93
+ } from "../commands/GetCisScanReportCommand";
94
+ import {
95
+ GetCisScanResultDetailsCommandInput,
96
+ GetCisScanResultDetailsCommandOutput,
97
+ } from "../commands/GetCisScanResultDetailsCommand";
82
98
  import {
83
99
  GetConfigurationCommandInput,
84
100
  GetConfigurationCommandOutput,
@@ -111,6 +127,22 @@ import {
111
127
  ListAccountPermissionsCommandInput,
112
128
  ListAccountPermissionsCommandOutput,
113
129
  } from "../commands/ListAccountPermissionsCommand";
130
+ import {
131
+ ListCisScanConfigurationsCommandInput,
132
+ ListCisScanConfigurationsCommandOutput,
133
+ } from "../commands/ListCisScanConfigurationsCommand";
134
+ import {
135
+ ListCisScanResultsAggregatedByChecksCommandInput,
136
+ ListCisScanResultsAggregatedByChecksCommandOutput,
137
+ } from "../commands/ListCisScanResultsAggregatedByChecksCommand";
138
+ import {
139
+ ListCisScanResultsAggregatedByTargetResourceCommandInput,
140
+ ListCisScanResultsAggregatedByTargetResourceCommandOutput,
141
+ } from "../commands/ListCisScanResultsAggregatedByTargetResourceCommand";
142
+ import {
143
+ ListCisScansCommandInput,
144
+ ListCisScansCommandOutput,
145
+ } from "../commands/ListCisScansCommand";
114
146
  import {
115
147
  ListCoverageCommandInput,
116
148
  ListCoverageCommandOutput,
@@ -155,6 +187,22 @@ import {
155
187
  SearchVulnerabilitiesCommandInput,
156
188
  SearchVulnerabilitiesCommandOutput,
157
189
  } from "../commands/SearchVulnerabilitiesCommand";
190
+ import {
191
+ SendCisSessionHealthCommandInput,
192
+ SendCisSessionHealthCommandOutput,
193
+ } from "../commands/SendCisSessionHealthCommand";
194
+ import {
195
+ SendCisSessionTelemetryCommandInput,
196
+ SendCisSessionTelemetryCommandOutput,
197
+ } from "../commands/SendCisSessionTelemetryCommand";
198
+ import {
199
+ StartCisSessionCommandInput,
200
+ StartCisSessionCommandOutput,
201
+ } from "../commands/StartCisSessionCommand";
202
+ import {
203
+ StopCisSessionCommandInput,
204
+ StopCisSessionCommandOutput,
205
+ } from "../commands/StopCisSessionCommand";
158
206
  import {
159
207
  TagResourceCommandInput,
160
208
  TagResourceCommandOutput,
@@ -163,6 +211,10 @@ import {
163
211
  UntagResourceCommandInput,
164
212
  UntagResourceCommandOutput,
165
213
  } from "../commands/UntagResourceCommand";
214
+ import {
215
+ UpdateCisScanConfigurationCommandInput,
216
+ UpdateCisScanConfigurationCommandOutput,
217
+ } from "../commands/UpdateCisScanConfigurationCommand";
166
218
  import {
167
219
  UpdateConfigurationCommandInput,
168
220
  UpdateConfigurationCommandOutput,
@@ -223,6 +275,10 @@ export declare const se_CancelSbomExportCommand: (
223
275
  input: CancelSbomExportCommandInput,
224
276
  context: __SerdeContext
225
277
  ) => Promise<__HttpRequest>;
278
+ export declare const se_CreateCisScanConfigurationCommand: (
279
+ input: CreateCisScanConfigurationCommandInput,
280
+ context: __SerdeContext
281
+ ) => Promise<__HttpRequest>;
226
282
  export declare const se_CreateFilterCommand: (
227
283
  input: CreateFilterCommandInput,
228
284
  context: __SerdeContext
@@ -235,6 +291,10 @@ export declare const se_CreateSbomExportCommand: (
235
291
  input: CreateSbomExportCommandInput,
236
292
  context: __SerdeContext
237
293
  ) => Promise<__HttpRequest>;
294
+ export declare const se_DeleteCisScanConfigurationCommand: (
295
+ input: DeleteCisScanConfigurationCommandInput,
296
+ context: __SerdeContext
297
+ ) => Promise<__HttpRequest>;
238
298
  export declare const se_DeleteFilterCommand: (
239
299
  input: DeleteFilterCommandInput,
240
300
  context: __SerdeContext
@@ -263,6 +323,14 @@ export declare const se_EnableDelegatedAdminAccountCommand: (
263
323
  input: EnableDelegatedAdminAccountCommandInput,
264
324
  context: __SerdeContext
265
325
  ) => Promise<__HttpRequest>;
326
+ export declare const se_GetCisScanReportCommand: (
327
+ input: GetCisScanReportCommandInput,
328
+ context: __SerdeContext
329
+ ) => Promise<__HttpRequest>;
330
+ export declare const se_GetCisScanResultDetailsCommand: (
331
+ input: GetCisScanResultDetailsCommandInput,
332
+ context: __SerdeContext
333
+ ) => Promise<__HttpRequest>;
266
334
  export declare const se_GetConfigurationCommand: (
267
335
  input: GetConfigurationCommandInput,
268
336
  context: __SerdeContext
@@ -295,6 +363,22 @@ export declare const se_ListAccountPermissionsCommand: (
295
363
  input: ListAccountPermissionsCommandInput,
296
364
  context: __SerdeContext
297
365
  ) => Promise<__HttpRequest>;
366
+ export declare const se_ListCisScanConfigurationsCommand: (
367
+ input: ListCisScanConfigurationsCommandInput,
368
+ context: __SerdeContext
369
+ ) => Promise<__HttpRequest>;
370
+ export declare const se_ListCisScanResultsAggregatedByChecksCommand: (
371
+ input: ListCisScanResultsAggregatedByChecksCommandInput,
372
+ context: __SerdeContext
373
+ ) => Promise<__HttpRequest>;
374
+ export declare const se_ListCisScanResultsAggregatedByTargetResourceCommand: (
375
+ input: ListCisScanResultsAggregatedByTargetResourceCommandInput,
376
+ context: __SerdeContext
377
+ ) => Promise<__HttpRequest>;
378
+ export declare const se_ListCisScansCommand: (
379
+ input: ListCisScansCommandInput,
380
+ context: __SerdeContext
381
+ ) => Promise<__HttpRequest>;
298
382
  export declare const se_ListCoverageCommand: (
299
383
  input: ListCoverageCommandInput,
300
384
  context: __SerdeContext
@@ -339,6 +423,22 @@ export declare const se_SearchVulnerabilitiesCommand: (
339
423
  input: SearchVulnerabilitiesCommandInput,
340
424
  context: __SerdeContext
341
425
  ) => Promise<__HttpRequest>;
426
+ export declare const se_SendCisSessionHealthCommand: (
427
+ input: SendCisSessionHealthCommandInput,
428
+ context: __SerdeContext
429
+ ) => Promise<__HttpRequest>;
430
+ export declare const se_SendCisSessionTelemetryCommand: (
431
+ input: SendCisSessionTelemetryCommandInput,
432
+ context: __SerdeContext
433
+ ) => Promise<__HttpRequest>;
434
+ export declare const se_StartCisSessionCommand: (
435
+ input: StartCisSessionCommandInput,
436
+ context: __SerdeContext
437
+ ) => Promise<__HttpRequest>;
438
+ export declare const se_StopCisSessionCommand: (
439
+ input: StopCisSessionCommandInput,
440
+ context: __SerdeContext
441
+ ) => Promise<__HttpRequest>;
342
442
  export declare const se_TagResourceCommand: (
343
443
  input: TagResourceCommandInput,
344
444
  context: __SerdeContext
@@ -347,6 +447,10 @@ export declare const se_UntagResourceCommand: (
347
447
  input: UntagResourceCommandInput,
348
448
  context: __SerdeContext
349
449
  ) => Promise<__HttpRequest>;
450
+ export declare const se_UpdateCisScanConfigurationCommand: (
451
+ input: UpdateCisScanConfigurationCommandInput,
452
+ context: __SerdeContext
453
+ ) => Promise<__HttpRequest>;
350
454
  export declare const se_UpdateConfigurationCommand: (
351
455
  input: UpdateConfigurationCommandInput,
352
456
  context: __SerdeContext
@@ -407,6 +511,10 @@ export declare const de_CancelSbomExportCommand: (
407
511
  output: __HttpResponse,
408
512
  context: __SerdeContext
409
513
  ) => Promise<CancelSbomExportCommandOutput>;
514
+ export declare const de_CreateCisScanConfigurationCommand: (
515
+ output: __HttpResponse,
516
+ context: __SerdeContext
517
+ ) => Promise<CreateCisScanConfigurationCommandOutput>;
410
518
  export declare const de_CreateFilterCommand: (
411
519
  output: __HttpResponse,
412
520
  context: __SerdeContext
@@ -419,6 +527,10 @@ export declare const de_CreateSbomExportCommand: (
419
527
  output: __HttpResponse,
420
528
  context: __SerdeContext
421
529
  ) => Promise<CreateSbomExportCommandOutput>;
530
+ export declare const de_DeleteCisScanConfigurationCommand: (
531
+ output: __HttpResponse,
532
+ context: __SerdeContext
533
+ ) => Promise<DeleteCisScanConfigurationCommandOutput>;
422
534
  export declare const de_DeleteFilterCommand: (
423
535
  output: __HttpResponse,
424
536
  context: __SerdeContext
@@ -447,6 +559,14 @@ export declare const de_EnableDelegatedAdminAccountCommand: (
447
559
  output: __HttpResponse,
448
560
  context: __SerdeContext
449
561
  ) => Promise<EnableDelegatedAdminAccountCommandOutput>;
562
+ export declare const de_GetCisScanReportCommand: (
563
+ output: __HttpResponse,
564
+ context: __SerdeContext
565
+ ) => Promise<GetCisScanReportCommandOutput>;
566
+ export declare const de_GetCisScanResultDetailsCommand: (
567
+ output: __HttpResponse,
568
+ context: __SerdeContext
569
+ ) => Promise<GetCisScanResultDetailsCommandOutput>;
450
570
  export declare const de_GetConfigurationCommand: (
451
571
  output: __HttpResponse,
452
572
  context: __SerdeContext
@@ -479,6 +599,22 @@ export declare const de_ListAccountPermissionsCommand: (
479
599
  output: __HttpResponse,
480
600
  context: __SerdeContext
481
601
  ) => Promise<ListAccountPermissionsCommandOutput>;
602
+ export declare const de_ListCisScanConfigurationsCommand: (
603
+ output: __HttpResponse,
604
+ context: __SerdeContext
605
+ ) => Promise<ListCisScanConfigurationsCommandOutput>;
606
+ export declare const de_ListCisScanResultsAggregatedByChecksCommand: (
607
+ output: __HttpResponse,
608
+ context: __SerdeContext
609
+ ) => Promise<ListCisScanResultsAggregatedByChecksCommandOutput>;
610
+ export declare const de_ListCisScanResultsAggregatedByTargetResourceCommand: (
611
+ output: __HttpResponse,
612
+ context: __SerdeContext
613
+ ) => Promise<ListCisScanResultsAggregatedByTargetResourceCommandOutput>;
614
+ export declare const de_ListCisScansCommand: (
615
+ output: __HttpResponse,
616
+ context: __SerdeContext
617
+ ) => Promise<ListCisScansCommandOutput>;
482
618
  export declare const de_ListCoverageCommand: (
483
619
  output: __HttpResponse,
484
620
  context: __SerdeContext
@@ -523,6 +659,22 @@ export declare const de_SearchVulnerabilitiesCommand: (
523
659
  output: __HttpResponse,
524
660
  context: __SerdeContext
525
661
  ) => Promise<SearchVulnerabilitiesCommandOutput>;
662
+ export declare const de_SendCisSessionHealthCommand: (
663
+ output: __HttpResponse,
664
+ context: __SerdeContext
665
+ ) => Promise<SendCisSessionHealthCommandOutput>;
666
+ export declare const de_SendCisSessionTelemetryCommand: (
667
+ output: __HttpResponse,
668
+ context: __SerdeContext
669
+ ) => Promise<SendCisSessionTelemetryCommandOutput>;
670
+ export declare const de_StartCisSessionCommand: (
671
+ output: __HttpResponse,
672
+ context: __SerdeContext
673
+ ) => Promise<StartCisSessionCommandOutput>;
674
+ export declare const de_StopCisSessionCommand: (
675
+ output: __HttpResponse,
676
+ context: __SerdeContext
677
+ ) => Promise<StopCisSessionCommandOutput>;
526
678
  export declare const de_TagResourceCommand: (
527
679
  output: __HttpResponse,
528
680
  context: __SerdeContext
@@ -531,6 +683,10 @@ export declare const de_UntagResourceCommand: (
531
683
  output: __HttpResponse,
532
684
  context: __SerdeContext
533
685
  ) => Promise<UntagResourceCommandOutput>;
686
+ export declare const de_UpdateCisScanConfigurationCommand: (
687
+ output: __HttpResponse,
688
+ context: __SerdeContext
689
+ ) => Promise<UpdateCisScanConfigurationCommandOutput>;
534
690
  export declare const de_UpdateConfigurationCommand: (
535
691
  output: __HttpResponse,
536
692
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector2",
3
3
  "description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
4
- "version": "3.496.0",
4
+ "version": "3.498.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-inspector2",