@aws-sdk/client-inspector2 3.490.0 → 3.496.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 (70) hide show
  1. package/dist-cjs/Inspector2.js +1 -103
  2. package/dist-cjs/Inspector2Client.js +1 -43
  3. package/dist-cjs/commands/AssociateMemberCommand.js +1 -28
  4. package/dist-cjs/commands/BatchGetAccountStatusCommand.js +1 -28
  5. package/dist-cjs/commands/BatchGetCodeSnippetCommand.js +1 -28
  6. package/dist-cjs/commands/BatchGetFindingDetailsCommand.js +1 -28
  7. package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +1 -28
  8. package/dist-cjs/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +1 -28
  9. package/dist-cjs/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +1 -28
  10. package/dist-cjs/commands/CancelFindingsReportCommand.js +1 -28
  11. package/dist-cjs/commands/CancelSbomExportCommand.js +1 -28
  12. package/dist-cjs/commands/CreateFilterCommand.js +1 -28
  13. package/dist-cjs/commands/CreateFindingsReportCommand.js +1 -28
  14. package/dist-cjs/commands/CreateSbomExportCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteFilterCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +1 -28
  17. package/dist-cjs/commands/DisableCommand.js +1 -28
  18. package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +1 -28
  19. package/dist-cjs/commands/DisassociateMemberCommand.js +1 -28
  20. package/dist-cjs/commands/EnableCommand.js +1 -28
  21. package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +1 -28
  22. package/dist-cjs/commands/GetConfigurationCommand.js +1 -28
  23. package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +1 -28
  24. package/dist-cjs/commands/GetEc2DeepInspectionConfigurationCommand.js +1 -28
  25. package/dist-cjs/commands/GetEncryptionKeyCommand.js +1 -28
  26. package/dist-cjs/commands/GetFindingsReportStatusCommand.js +1 -28
  27. package/dist-cjs/commands/GetMemberCommand.js +1 -28
  28. package/dist-cjs/commands/GetSbomExportCommand.js +1 -28
  29. package/dist-cjs/commands/ListAccountPermissionsCommand.js +1 -28
  30. package/dist-cjs/commands/ListCoverageCommand.js +1 -28
  31. package/dist-cjs/commands/ListCoverageStatisticsCommand.js +1 -28
  32. package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +1 -28
  33. package/dist-cjs/commands/ListFiltersCommand.js +1 -28
  34. package/dist-cjs/commands/ListFindingAggregationsCommand.js +1 -28
  35. package/dist-cjs/commands/ListFindingsCommand.js +1 -28
  36. package/dist-cjs/commands/ListMembersCommand.js +1 -28
  37. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  38. package/dist-cjs/commands/ListUsageTotalsCommand.js +1 -28
  39. package/dist-cjs/commands/ResetEncryptionKeyCommand.js +1 -28
  40. package/dist-cjs/commands/SearchVulnerabilitiesCommand.js +1 -28
  41. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  42. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  43. package/dist-cjs/commands/UpdateConfigurationCommand.js +1 -28
  44. package/dist-cjs/commands/UpdateEc2DeepInspectionConfigurationCommand.js +1 -28
  45. package/dist-cjs/commands/UpdateEncryptionKeyCommand.js +1 -28
  46. package/dist-cjs/commands/UpdateFilterCommand.js +1 -28
  47. package/dist-cjs/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +1 -28
  48. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +1 -28
  49. package/dist-cjs/commands/index.js +1 -49
  50. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  51. package/dist-cjs/extensionConfiguration.js +1 -2
  52. package/dist-cjs/index.js +5402 -11
  53. package/dist-cjs/models/Inspector2ServiceException.js +1 -12
  54. package/dist-cjs/models/index.js +1 -4
  55. package/dist-cjs/models/models_0.js +1 -587
  56. package/dist-cjs/pagination/Interfaces.js +1 -2
  57. package/dist-cjs/pagination/ListAccountPermissionsPaginator.js +1 -7
  58. package/dist-cjs/pagination/ListCoveragePaginator.js +1 -7
  59. package/dist-cjs/pagination/ListCoverageStatisticsPaginator.js +1 -7
  60. package/dist-cjs/pagination/ListDelegatedAdminAccountsPaginator.js +1 -7
  61. package/dist-cjs/pagination/ListFiltersPaginator.js +1 -7
  62. package/dist-cjs/pagination/ListFindingAggregationsPaginator.js +1 -7
  63. package/dist-cjs/pagination/ListFindingsPaginator.js +1 -7
  64. package/dist-cjs/pagination/ListMembersPaginator.js +1 -7
  65. package/dist-cjs/pagination/ListUsageTotalsPaginator.js +1 -7
  66. package/dist-cjs/pagination/SearchVulnerabilitiesPaginator.js +1 -7
  67. package/dist-cjs/pagination/index.js +1 -14
  68. package/dist-cjs/protocols/Aws_restJson1.js +1 -3566
  69. package/dist-cjs/runtimeExtensions.js +1 -22
  70. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Inspector2ServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class Inspector2ServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, Inspector2ServiceException.prototype);
10
- }
11
- }
12
- exports.Inspector2ServiceException = Inspector2ServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,587 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReportFormat = exports.ServiceQuotaExceededException = exports.FilterAction = exports.ScanType = exports.ScanStatusCode = exports.ScanStatusReason = exports.EcrScanFrequency = exports.Ec2Platform = exports.CoverageResourceType = exports.CoverageMapComparison = exports.CoverageStringComparison = exports.GroupKey = exports.ConflictException = exports.Ec2DeepInspectionStatus = exports.FreeTrialInfoErrorCode = exports.FreeTrialType = exports.FreeTrialStatus = exports.FindingDetailsErrorCode = exports.CodeSnippetErrorCode = exports.ResourceNotFoundException = exports.BadRequestException = exports.Runtime = exports.PackageType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.InternalServerException = exports.Architecture = exports.AggregationType = exports.AggregationResponse = exports.AggregationRequest = exports.TitleSortBy = exports.RepositorySortBy = exports.PackageSortBy = exports.LambdaLayerSortBy = exports.LambdaFunctionSortBy = exports.ImageLayerSortBy = exports.FindingTypeSortBy = exports.Ec2InstanceSortBy = exports.MapComparison = exports.AwsEcrContainerSortBy = exports.AmiSortBy = exports.StringComparison = exports.ErrorCode = exports.SortOrder = exports.AccountSortBy = exports.AggregationResourceType = exports.AggregationFindingType = exports.Status = exports.AccessDeniedException = void 0;
4
- exports.VulnerabilitySource = exports.UsageType = exports.SortField = exports.Operation = exports.Service = exports.ReportingErrorCode = exports.FindingType = exports.FindingStatus = exports.Severity = exports.ResourceType = exports.PackageManager = exports.NetworkProtocol = exports.FixAvailable = exports.ExternalReportStatus = exports.ExploitAvailable = exports.EcrRescanDurationStatus = exports.EcrRescanDuration = exports.ResourceScanType = exports.DelegatedAdminStatus = exports.RelationshipStatus = exports.Currency = exports.ResourceMapComparison = exports.ResourceStringComparison = exports.SbomReportFormat = void 0;
5
- const Inspector2ServiceException_1 = require("./Inspector2ServiceException");
6
- class AccessDeniedException extends Inspector2ServiceException_1.Inspector2ServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "AccessDeniedException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "AccessDeniedException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- }
17
- }
18
- exports.AccessDeniedException = AccessDeniedException;
19
- exports.Status = {
20
- DISABLED: "DISABLED",
21
- DISABLING: "DISABLING",
22
- ENABLED: "ENABLED",
23
- ENABLING: "ENABLING",
24
- SUSPENDED: "SUSPENDED",
25
- SUSPENDING: "SUSPENDING",
26
- };
27
- exports.AggregationFindingType = {
28
- CODE_VULNERABILITY: "CODE_VULNERABILITY",
29
- NETWORK_REACHABILITY: "NETWORK_REACHABILITY",
30
- PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY",
31
- };
32
- exports.AggregationResourceType = {
33
- AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
34
- AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
35
- AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
36
- };
37
- exports.AccountSortBy = {
38
- ALL: "ALL",
39
- CRITICAL: "CRITICAL",
40
- HIGH: "HIGH",
41
- };
42
- exports.SortOrder = {
43
- ASC: "ASC",
44
- DESC: "DESC",
45
- };
46
- exports.ErrorCode = {
47
- ACCESS_DENIED: "ACCESS_DENIED",
48
- ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED",
49
- ALREADY_ENABLED: "ALREADY_ENABLED",
50
- DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
51
- DISASSOCIATE_ALL_MEMBERS: "DISASSOCIATE_ALL_MEMBERS",
52
- ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS",
53
- EVENTBRIDGE_THROTTLED: "EVENTBRIDGE_THROTTLED",
54
- EVENTBRIDGE_UNAVAILABLE: "EVENTBRIDGE_UNAVAILABLE",
55
- INTERNAL_ERROR: "INTERNAL_ERROR",
56
- RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
57
- RESOURCE_SCAN_NOT_DISABLED: "RESOURCE_SCAN_NOT_DISABLED",
58
- SSM_THROTTLED: "SSM_THROTTLED",
59
- SSM_UNAVAILABLE: "SSM_UNAVAILABLE",
60
- SUSPEND_IN_PROGRESS: "SUSPEND_IN_PROGRESS",
61
- };
62
- exports.StringComparison = {
63
- EQUALS: "EQUALS",
64
- NOT_EQUALS: "NOT_EQUALS",
65
- PREFIX: "PREFIX",
66
- };
67
- exports.AmiSortBy = {
68
- AFFECTED_INSTANCES: "AFFECTED_INSTANCES",
69
- ALL: "ALL",
70
- CRITICAL: "CRITICAL",
71
- HIGH: "HIGH",
72
- };
73
- exports.AwsEcrContainerSortBy = {
74
- ALL: "ALL",
75
- CRITICAL: "CRITICAL",
76
- HIGH: "HIGH",
77
- };
78
- exports.MapComparison = {
79
- EQUALS: "EQUALS",
80
- };
81
- exports.Ec2InstanceSortBy = {
82
- ALL: "ALL",
83
- CRITICAL: "CRITICAL",
84
- HIGH: "HIGH",
85
- NETWORK_FINDINGS: "NETWORK_FINDINGS",
86
- };
87
- exports.FindingTypeSortBy = {
88
- ALL: "ALL",
89
- CRITICAL: "CRITICAL",
90
- HIGH: "HIGH",
91
- };
92
- exports.ImageLayerSortBy = {
93
- ALL: "ALL",
94
- CRITICAL: "CRITICAL",
95
- HIGH: "HIGH",
96
- };
97
- exports.LambdaFunctionSortBy = {
98
- ALL: "ALL",
99
- CRITICAL: "CRITICAL",
100
- HIGH: "HIGH",
101
- };
102
- exports.LambdaLayerSortBy = {
103
- ALL: "ALL",
104
- CRITICAL: "CRITICAL",
105
- HIGH: "HIGH",
106
- };
107
- exports.PackageSortBy = {
108
- ALL: "ALL",
109
- CRITICAL: "CRITICAL",
110
- HIGH: "HIGH",
111
- };
112
- exports.RepositorySortBy = {
113
- AFFECTED_IMAGES: "AFFECTED_IMAGES",
114
- ALL: "ALL",
115
- CRITICAL: "CRITICAL",
116
- HIGH: "HIGH",
117
- };
118
- exports.TitleSortBy = {
119
- ALL: "ALL",
120
- CRITICAL: "CRITICAL",
121
- HIGH: "HIGH",
122
- };
123
- var AggregationRequest;
124
- (function (AggregationRequest) {
125
- AggregationRequest.visit = (value, visitor) => {
126
- if (value.accountAggregation !== undefined)
127
- return visitor.accountAggregation(value.accountAggregation);
128
- if (value.amiAggregation !== undefined)
129
- return visitor.amiAggregation(value.amiAggregation);
130
- if (value.awsEcrContainerAggregation !== undefined)
131
- return visitor.awsEcrContainerAggregation(value.awsEcrContainerAggregation);
132
- if (value.ec2InstanceAggregation !== undefined)
133
- return visitor.ec2InstanceAggregation(value.ec2InstanceAggregation);
134
- if (value.findingTypeAggregation !== undefined)
135
- return visitor.findingTypeAggregation(value.findingTypeAggregation);
136
- if (value.imageLayerAggregation !== undefined)
137
- return visitor.imageLayerAggregation(value.imageLayerAggregation);
138
- if (value.packageAggregation !== undefined)
139
- return visitor.packageAggregation(value.packageAggregation);
140
- if (value.repositoryAggregation !== undefined)
141
- return visitor.repositoryAggregation(value.repositoryAggregation);
142
- if (value.titleAggregation !== undefined)
143
- return visitor.titleAggregation(value.titleAggregation);
144
- if (value.lambdaLayerAggregation !== undefined)
145
- return visitor.lambdaLayerAggregation(value.lambdaLayerAggregation);
146
- if (value.lambdaFunctionAggregation !== undefined)
147
- return visitor.lambdaFunctionAggregation(value.lambdaFunctionAggregation);
148
- return visitor._(value.$unknown[0], value.$unknown[1]);
149
- };
150
- })(AggregationRequest = exports.AggregationRequest || (exports.AggregationRequest = {}));
151
- var AggregationResponse;
152
- (function (AggregationResponse) {
153
- AggregationResponse.visit = (value, visitor) => {
154
- if (value.accountAggregation !== undefined)
155
- return visitor.accountAggregation(value.accountAggregation);
156
- if (value.amiAggregation !== undefined)
157
- return visitor.amiAggregation(value.amiAggregation);
158
- if (value.awsEcrContainerAggregation !== undefined)
159
- return visitor.awsEcrContainerAggregation(value.awsEcrContainerAggregation);
160
- if (value.ec2InstanceAggregation !== undefined)
161
- return visitor.ec2InstanceAggregation(value.ec2InstanceAggregation);
162
- if (value.findingTypeAggregation !== undefined)
163
- return visitor.findingTypeAggregation(value.findingTypeAggregation);
164
- if (value.imageLayerAggregation !== undefined)
165
- return visitor.imageLayerAggregation(value.imageLayerAggregation);
166
- if (value.packageAggregation !== undefined)
167
- return visitor.packageAggregation(value.packageAggregation);
168
- if (value.repositoryAggregation !== undefined)
169
- return visitor.repositoryAggregation(value.repositoryAggregation);
170
- if (value.titleAggregation !== undefined)
171
- return visitor.titleAggregation(value.titleAggregation);
172
- if (value.lambdaLayerAggregation !== undefined)
173
- return visitor.lambdaLayerAggregation(value.lambdaLayerAggregation);
174
- if (value.lambdaFunctionAggregation !== undefined)
175
- return visitor.lambdaFunctionAggregation(value.lambdaFunctionAggregation);
176
- return visitor._(value.$unknown[0], value.$unknown[1]);
177
- };
178
- })(AggregationResponse = exports.AggregationResponse || (exports.AggregationResponse = {}));
179
- exports.AggregationType = {
180
- ACCOUNT: "ACCOUNT",
181
- AMI: "AMI",
182
- AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
183
- AWS_ECR_CONTAINER: "AWS_ECR_CONTAINER",
184
- AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
185
- FINDING_TYPE: "FINDING_TYPE",
186
- IMAGE_LAYER: "IMAGE_LAYER",
187
- LAMBDA_LAYER: "LAMBDA_LAYER",
188
- PACKAGE: "PACKAGE",
189
- REPOSITORY: "REPOSITORY",
190
- TITLE: "TITLE",
191
- };
192
- exports.Architecture = {
193
- ARM64: "ARM64",
194
- X86_64: "X86_64",
195
- };
196
- class InternalServerException extends Inspector2ServiceException_1.Inspector2ServiceException {
197
- constructor(opts) {
198
- super({
199
- name: "InternalServerException",
200
- $fault: "server",
201
- ...opts,
202
- });
203
- this.name = "InternalServerException";
204
- this.$fault = "server";
205
- this.$retryable = {};
206
- Object.setPrototypeOf(this, InternalServerException.prototype);
207
- this.retryAfterSeconds = opts.retryAfterSeconds;
208
- }
209
- }
210
- exports.InternalServerException = InternalServerException;
211
- class ThrottlingException extends Inspector2ServiceException_1.Inspector2ServiceException {
212
- constructor(opts) {
213
- super({
214
- name: "ThrottlingException",
215
- $fault: "client",
216
- ...opts,
217
- });
218
- this.name = "ThrottlingException";
219
- this.$fault = "client";
220
- this.$retryable = {
221
- throttling: true,
222
- };
223
- Object.setPrototypeOf(this, ThrottlingException.prototype);
224
- this.retryAfterSeconds = opts.retryAfterSeconds;
225
- }
226
- }
227
- exports.ThrottlingException = ThrottlingException;
228
- exports.ValidationExceptionReason = {
229
- CANNOT_PARSE: "CANNOT_PARSE",
230
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
231
- OTHER: "OTHER",
232
- };
233
- class ValidationException extends Inspector2ServiceException_1.Inspector2ServiceException {
234
- constructor(opts) {
235
- super({
236
- name: "ValidationException",
237
- $fault: "client",
238
- ...opts,
239
- });
240
- this.name = "ValidationException";
241
- this.$fault = "client";
242
- Object.setPrototypeOf(this, ValidationException.prototype);
243
- this.reason = opts.reason;
244
- this.fields = opts.fields;
245
- }
246
- }
247
- exports.ValidationException = ValidationException;
248
- exports.PackageType = {
249
- IMAGE: "IMAGE",
250
- ZIP: "ZIP",
251
- };
252
- exports.Runtime = {
253
- GO_1_X: "GO_1_X",
254
- JAVA_11: "JAVA_11",
255
- JAVA_17: "JAVA_17",
256
- JAVA_8: "JAVA_8",
257
- JAVA_8_AL2: "JAVA_8_AL2",
258
- NODEJS: "NODEJS",
259
- NODEJS_12_X: "NODEJS_12_X",
260
- NODEJS_14_X: "NODEJS_14_X",
261
- NODEJS_16_X: "NODEJS_16_X",
262
- NODEJS_18_X: "NODEJS_18_X",
263
- PYTHON_3_10: "PYTHON_3_10",
264
- PYTHON_3_7: "PYTHON_3_7",
265
- PYTHON_3_8: "PYTHON_3_8",
266
- PYTHON_3_9: "PYTHON_3_9",
267
- UNSUPPORTED: "UNSUPPORTED",
268
- };
269
- class BadRequestException extends Inspector2ServiceException_1.Inspector2ServiceException {
270
- constructor(opts) {
271
- super({
272
- name: "BadRequestException",
273
- $fault: "client",
274
- ...opts,
275
- });
276
- this.name = "BadRequestException";
277
- this.$fault = "client";
278
- Object.setPrototypeOf(this, BadRequestException.prototype);
279
- }
280
- }
281
- exports.BadRequestException = BadRequestException;
282
- class ResourceNotFoundException extends Inspector2ServiceException_1.Inspector2ServiceException {
283
- constructor(opts) {
284
- super({
285
- name: "ResourceNotFoundException",
286
- $fault: "client",
287
- ...opts,
288
- });
289
- this.name = "ResourceNotFoundException";
290
- this.$fault = "client";
291
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
292
- }
293
- }
294
- exports.ResourceNotFoundException = ResourceNotFoundException;
295
- exports.CodeSnippetErrorCode = {
296
- ACCESS_DENIED: "ACCESS_DENIED",
297
- CODE_SNIPPET_NOT_FOUND: "CODE_SNIPPET_NOT_FOUND",
298
- INTERNAL_ERROR: "INTERNAL_ERROR",
299
- INVALID_INPUT: "INVALID_INPUT",
300
- };
301
- exports.FindingDetailsErrorCode = {
302
- ACCESS_DENIED: "ACCESS_DENIED",
303
- FINDING_DETAILS_NOT_FOUND: "FINDING_DETAILS_NOT_FOUND",
304
- INTERNAL_ERROR: "INTERNAL_ERROR",
305
- INVALID_INPUT: "INVALID_INPUT",
306
- };
307
- exports.FreeTrialStatus = {
308
- ACTIVE: "ACTIVE",
309
- INACTIVE: "INACTIVE",
310
- };
311
- exports.FreeTrialType = {
312
- EC2: "EC2",
313
- ECR: "ECR",
314
- LAMBDA: "LAMBDA",
315
- LAMBDA_CODE: "LAMBDA_CODE",
316
- };
317
- exports.FreeTrialInfoErrorCode = {
318
- ACCESS_DENIED: "ACCESS_DENIED",
319
- INTERNAL_ERROR: "INTERNAL_ERROR",
320
- };
321
- exports.Ec2DeepInspectionStatus = {
322
- ACTIVATED: "ACTIVATED",
323
- DEACTIVATED: "DEACTIVATED",
324
- FAILED: "FAILED",
325
- PENDING: "PENDING",
326
- };
327
- class ConflictException extends Inspector2ServiceException_1.Inspector2ServiceException {
328
- constructor(opts) {
329
- super({
330
- name: "ConflictException",
331
- $fault: "client",
332
- ...opts,
333
- });
334
- this.name = "ConflictException";
335
- this.$fault = "client";
336
- Object.setPrototypeOf(this, ConflictException.prototype);
337
- this.resourceId = opts.resourceId;
338
- this.resourceType = opts.resourceType;
339
- }
340
- }
341
- exports.ConflictException = ConflictException;
342
- exports.GroupKey = {
343
- ACCOUNT_ID: "ACCOUNT_ID",
344
- ECR_REPOSITORY_NAME: "ECR_REPOSITORY_NAME",
345
- RESOURCE_TYPE: "RESOURCE_TYPE",
346
- SCAN_STATUS_CODE: "SCAN_STATUS_CODE",
347
- SCAN_STATUS_REASON: "SCAN_STATUS_REASON",
348
- };
349
- exports.CoverageStringComparison = {
350
- EQUALS: "EQUALS",
351
- NOT_EQUALS: "NOT_EQUALS",
352
- };
353
- exports.CoverageMapComparison = {
354
- EQUALS: "EQUALS",
355
- };
356
- exports.CoverageResourceType = {
357
- AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
358
- AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
359
- AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
360
- AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
361
- };
362
- exports.Ec2Platform = {
363
- LINUX: "LINUX",
364
- MACOS: "MACOS",
365
- UNKNOWN: "UNKNOWN",
366
- WINDOWS: "WINDOWS",
367
- };
368
- exports.EcrScanFrequency = {
369
- CONTINUOUS_SCAN: "CONTINUOUS_SCAN",
370
- MANUAL: "MANUAL",
371
- SCAN_ON_PUSH: "SCAN_ON_PUSH",
372
- };
373
- exports.ScanStatusReason = {
374
- ACCESS_DENIED: "ACCESS_DENIED",
375
- DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED: "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED",
376
- DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED: "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED",
377
- DEEP_INSPECTION_NO_INVENTORY: "DEEP_INSPECTION_NO_INVENTORY",
378
- DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED",
379
- EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED",
380
- EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG",
381
- IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED",
382
- INTERNAL_ERROR: "INTERNAL_ERROR",
383
- NO_INVENTORY: "NO_INVENTORY",
384
- NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND",
385
- PENDING_DISABLE: "PENDING_DISABLE",
386
- PENDING_INITIAL_SCAN: "PENDING_INITIAL_SCAN",
387
- RESOURCE_TERMINATED: "RESOURCE_TERMINATED",
388
- SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
389
- SCAN_FREQUENCY_MANUAL: "SCAN_FREQUENCY_MANUAL",
390
- SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH",
391
- STALE_INVENTORY: "STALE_INVENTORY",
392
- SUCCESSFUL: "SUCCESSFUL",
393
- UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE",
394
- UNSUPPORTED_CONFIG_FILE: "UNSUPPORTED_CONFIG_FILE",
395
- UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE",
396
- UNSUPPORTED_OS: "UNSUPPORTED_OS",
397
- UNSUPPORTED_RUNTIME: "UNSUPPORTED_RUNTIME",
398
- };
399
- exports.ScanStatusCode = {
400
- ACTIVE: "ACTIVE",
401
- INACTIVE: "INACTIVE",
402
- };
403
- exports.ScanType = {
404
- CODE: "CODE",
405
- NETWORK: "NETWORK",
406
- PACKAGE: "PACKAGE",
407
- };
408
- exports.FilterAction = {
409
- NONE: "NONE",
410
- SUPPRESS: "SUPPRESS",
411
- };
412
- class ServiceQuotaExceededException extends Inspector2ServiceException_1.Inspector2ServiceException {
413
- constructor(opts) {
414
- super({
415
- name: "ServiceQuotaExceededException",
416
- $fault: "client",
417
- ...opts,
418
- });
419
- this.name = "ServiceQuotaExceededException";
420
- this.$fault = "client";
421
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
422
- this.resourceId = opts.resourceId;
423
- }
424
- }
425
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
426
- exports.ReportFormat = {
427
- CSV: "CSV",
428
- JSON: "JSON",
429
- };
430
- exports.SbomReportFormat = {
431
- CYCLONEDX_1_4: "CYCLONEDX_1_4",
432
- SPDX_2_3: "SPDX_2_3",
433
- };
434
- exports.ResourceStringComparison = {
435
- EQUALS: "EQUALS",
436
- NOT_EQUALS: "NOT_EQUALS",
437
- };
438
- exports.ResourceMapComparison = {
439
- EQUALS: "EQUALS",
440
- };
441
- exports.Currency = {
442
- USD: "USD",
443
- };
444
- exports.RelationshipStatus = {
445
- ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED",
446
- CANNOT_CREATE_DETECTOR_IN_ORG_MASTER: "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER",
447
- CREATED: "CREATED",
448
- DELETED: "DELETED",
449
- DISABLED: "DISABLED",
450
- EMAIL_VERIFICATION_FAILED: "EMAIL_VERIFICATION_FAILED",
451
- EMAIL_VERIFICATION_IN_PROGRESS: "EMAIL_VERIFICATION_IN_PROGRESS",
452
- ENABLED: "ENABLED",
453
- INVITED: "INVITED",
454
- REGION_DISABLED: "REGION_DISABLED",
455
- REMOVED: "REMOVED",
456
- RESIGNED: "RESIGNED",
457
- };
458
- exports.DelegatedAdminStatus = {
459
- DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
460
- ENABLED: "ENABLED",
461
- };
462
- exports.ResourceScanType = {
463
- EC2: "EC2",
464
- ECR: "ECR",
465
- LAMBDA: "LAMBDA",
466
- LAMBDA_CODE: "LAMBDA_CODE",
467
- };
468
- exports.EcrRescanDuration = {
469
- DAYS_180: "DAYS_180",
470
- DAYS_30: "DAYS_30",
471
- LIFETIME: "LIFETIME",
472
- };
473
- exports.EcrRescanDurationStatus = {
474
- FAILED: "FAILED",
475
- PENDING: "PENDING",
476
- SUCCESS: "SUCCESS",
477
- };
478
- exports.ExploitAvailable = {
479
- NO: "NO",
480
- YES: "YES",
481
- };
482
- exports.ExternalReportStatus = {
483
- CANCELLED: "CANCELLED",
484
- FAILED: "FAILED",
485
- IN_PROGRESS: "IN_PROGRESS",
486
- SUCCEEDED: "SUCCEEDED",
487
- };
488
- exports.FixAvailable = {
489
- NO: "NO",
490
- PARTIAL: "PARTIAL",
491
- YES: "YES",
492
- };
493
- exports.NetworkProtocol = {
494
- TCP: "TCP",
495
- UDP: "UDP",
496
- };
497
- exports.PackageManager = {
498
- BUNDLER: "BUNDLER",
499
- CARGO: "CARGO",
500
- COMPOSER: "COMPOSER",
501
- GEMSPEC: "GEMSPEC",
502
- GOBINARY: "GOBINARY",
503
- GOMOD: "GOMOD",
504
- JAR: "JAR",
505
- NODEPKG: "NODEPKG",
506
- NPM: "NPM",
507
- NUGET: "NUGET",
508
- OS: "OS",
509
- PIP: "PIP",
510
- PIPENV: "PIPENV",
511
- POETRY: "POETRY",
512
- POM: "POM",
513
- PYTHONPKG: "PYTHONPKG",
514
- YARN: "YARN",
515
- };
516
- exports.ResourceType = {
517
- AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
518
- AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
519
- AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
520
- AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
521
- };
522
- exports.Severity = {
523
- CRITICAL: "CRITICAL",
524
- HIGH: "HIGH",
525
- INFORMATIONAL: "INFORMATIONAL",
526
- LOW: "LOW",
527
- MEDIUM: "MEDIUM",
528
- UNTRIAGED: "UNTRIAGED",
529
- };
530
- exports.FindingStatus = {
531
- ACTIVE: "ACTIVE",
532
- CLOSED: "CLOSED",
533
- SUPPRESSED: "SUPPRESSED",
534
- };
535
- exports.FindingType = {
536
- CODE_VULNERABILITY: "CODE_VULNERABILITY",
537
- NETWORK_REACHABILITY: "NETWORK_REACHABILITY",
538
- PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY",
539
- };
540
- exports.ReportingErrorCode = {
541
- BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND",
542
- INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION",
543
- INTERNAL_ERROR: "INTERNAL_ERROR",
544
- INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
545
- MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY",
546
- NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND",
547
- };
548
- exports.Service = {
549
- EC2: "EC2",
550
- ECR: "ECR",
551
- LAMBDA: "LAMBDA",
552
- };
553
- exports.Operation = {
554
- DISABLE_REPOSITORY: "DISABLE_REPOSITORY",
555
- DISABLE_SCANNING: "DISABLE_SCANNING",
556
- ENABLE_REPOSITORY: "ENABLE_REPOSITORY",
557
- ENABLE_SCANNING: "ENABLE_SCANNING",
558
- };
559
- exports.SortField = {
560
- AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID",
561
- COMPONENT_TYPE: "COMPONENT_TYPE",
562
- ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT",
563
- ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY",
564
- ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME",
565
- EPSS_SCORE: "EPSS_SCORE",
566
- FINDING_STATUS: "FINDING_STATUS",
567
- FINDING_TYPE: "FINDING_TYPE",
568
- FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT",
569
- INSPECTOR_SCORE: "INSPECTOR_SCORE",
570
- LAST_OBSERVED_AT: "LAST_OBSERVED_AT",
571
- NETWORK_PROTOCOL: "NETWORK_PROTOCOL",
572
- RESOURCE_TYPE: "RESOURCE_TYPE",
573
- SEVERITY: "SEVERITY",
574
- VENDOR_SEVERITY: "VENDOR_SEVERITY",
575
- VULNERABILITY_ID: "VULNERABILITY_ID",
576
- VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE",
577
- };
578
- exports.UsageType = {
579
- EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS",
580
- ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN",
581
- ECR_RESCAN: "ECR_RESCAN",
582
- LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS",
583
- LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS",
584
- };
585
- exports.VulnerabilitySource = {
586
- NVD: "NVD",
587
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAccountPermissions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAccountPermissionsCommand_1 = require("../commands/ListAccountPermissionsCommand");
6
- const Inspector2Client_1 = require("../Inspector2Client");
7
- exports.paginateListAccountPermissions = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListAccountPermissionsCommand_1.ListAccountPermissionsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCoverage = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListCoverageCommand_1 = require("../commands/ListCoverageCommand");
6
- const Inspector2Client_1 = require("../Inspector2Client");
7
- exports.paginateListCoverage = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListCoverageCommand_1.ListCoverageCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCoverageStatistics = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListCoverageStatisticsCommand_1 = require("../commands/ListCoverageStatisticsCommand");
6
- const Inspector2Client_1 = require("../Inspector2Client");
7
- exports.paginateListCoverageStatistics = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListCoverageStatisticsCommand_1.ListCoverageStatisticsCommand, "nextToken", "nextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListDelegatedAdminAccounts = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListDelegatedAdminAccountsCommand_1 = require("../commands/ListDelegatedAdminAccountsCommand");
6
- const Inspector2Client_1 = require("../Inspector2Client");
7
- exports.paginateListDelegatedAdminAccounts = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListDelegatedAdminAccountsCommand_1.ListDelegatedAdminAccountsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListFilters = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListFiltersCommand_1 = require("../commands/ListFiltersCommand");
6
- const Inspector2Client_1 = require("../Inspector2Client");
7
- exports.paginateListFilters = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListFiltersCommand_1.ListFiltersCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListFindingAggregations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListFindingAggregationsCommand_1 = require("../commands/ListFindingAggregationsCommand");
6
- const Inspector2Client_1 = require("../Inspector2Client");
7
- exports.paginateListFindingAggregations = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListFindingAggregationsCommand_1.ListFindingAggregationsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListFindings = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListFindingsCommand_1 = require("../commands/ListFindingsCommand");
6
- const Inspector2Client_1 = require("../Inspector2Client");
7
- exports.paginateListFindings = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListFindingsCommand_1.ListFindingsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");