@aws-sdk/client-inspector2 3.936.0 → 3.939.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 (69) hide show
  1. package/dist-cjs/index.js +546 -0
  2. package/dist-es/models/enums.js +475 -0
  3. package/dist-es/models/models_0.js +1 -423
  4. package/dist-es/models/models_1.js +1 -52
  5. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
  6. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  7. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +1 -1
  8. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +1 -1
  9. package/dist-types/commands/GetMemberCommand.d.ts +1 -1
  10. package/dist-types/commands/GetSbomExportCommand.d.ts +1 -1
  11. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -1
  12. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
  13. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
  14. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
  15. package/dist-types/commands/ListCisScansCommand.d.ts +1 -1
  16. package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListCoverageCommand.d.ts +1 -1
  20. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
  23. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  27. package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -1
  28. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  29. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  30. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +1 -1
  31. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
  32. package/dist-types/commands/StartCisSessionCommand.d.ts +2 -1
  33. package/dist-types/models/enums.d.ts +1187 -144
  34. package/dist-types/models/errors.d.ts +2 -1
  35. package/dist-types/models/models_0.d.ts +1366 -945
  36. package/dist-types/models/models_1.d.ts +2 -1466
  37. package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/models/enums.d.ts +588 -0
  66. package/dist-types/ts3.4/models/errors.d.ts +2 -4
  67. package/dist-types/ts3.4/models/models_0.d.ts +383 -528
  68. package/dist-types/ts3.4/models/models_1.d.ts +4 -419
  69. package/package.json +2 -2
@@ -1,3 +1,38 @@
1
+ export declare const Status: {
2
+ readonly DISABLED: "DISABLED";
3
+ readonly DISABLING: "DISABLING";
4
+ readonly ENABLED: "ENABLED";
5
+ readonly ENABLING: "ENABLING";
6
+ readonly SUSPENDED: "SUSPENDED";
7
+ readonly SUSPENDING: "SUSPENDING";
8
+ };
9
+ export type Status = (typeof Status)[keyof typeof Status];
10
+ export declare const AggregationFindingType: {
11
+ readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
12
+ readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
13
+ readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
14
+ };
15
+ export type AggregationFindingType =
16
+ (typeof AggregationFindingType)[keyof typeof AggregationFindingType];
17
+ export declare const AggregationResourceType: {
18
+ readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
19
+ readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
20
+ readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
21
+ readonly CODE_REPOSITORY: "CODE_REPOSITORY";
22
+ };
23
+ export type AggregationResourceType =
24
+ (typeof AggregationResourceType)[keyof typeof AggregationResourceType];
25
+ export declare const AccountSortBy: {
26
+ readonly ALL: "ALL";
27
+ readonly CRITICAL: "CRITICAL";
28
+ readonly HIGH: "HIGH";
29
+ };
30
+ export type AccountSortBy = (typeof AccountSortBy)[keyof typeof AccountSortBy];
31
+ export declare const SortOrder: {
32
+ readonly ASC: "ASC";
33
+ readonly DESC: "DESC";
34
+ };
35
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
1
36
  export declare const CisStringComparison: {
2
37
  readonly EQUALS: "EQUALS";
3
38
  readonly NOT_EQUALS: "NOT_EQUALS";
@@ -5,6 +40,142 @@ export declare const CisStringComparison: {
5
40
  };
6
41
  export type CisStringComparison =
7
42
  (typeof CisStringComparison)[keyof typeof CisStringComparison];
43
+ export declare const ErrorCode: {
44
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
45
+ readonly ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED";
46
+ readonly ALREADY_ENABLED: "ALREADY_ENABLED";
47
+ readonly BLOCKED_BY_ORGANIZATION_POLICY: "BLOCKED_BY_ORGANIZATION_POLICY";
48
+ readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
49
+ readonly DISASSOCIATE_ALL_MEMBERS: "DISASSOCIATE_ALL_MEMBERS";
50
+ readonly EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED: "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED";
51
+ readonly EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED: "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED";
52
+ readonly ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS";
53
+ readonly EVENTBRIDGE_THROTTLED: "EVENTBRIDGE_THROTTLED";
54
+ readonly EVENTBRIDGE_UNAVAILABLE: "EVENTBRIDGE_UNAVAILABLE";
55
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
56
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
57
+ readonly RESOURCE_SCAN_NOT_DISABLED: "RESOURCE_SCAN_NOT_DISABLED";
58
+ readonly SSM_THROTTLED: "SSM_THROTTLED";
59
+ readonly SSM_UNAVAILABLE: "SSM_UNAVAILABLE";
60
+ readonly SUSPEND_IN_PROGRESS: "SUSPEND_IN_PROGRESS";
61
+ };
62
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
63
+ export declare const StringComparison: {
64
+ readonly EQUALS: "EQUALS";
65
+ readonly NOT_EQUALS: "NOT_EQUALS";
66
+ readonly PREFIX: "PREFIX";
67
+ };
68
+ export type StringComparison =
69
+ (typeof StringComparison)[keyof typeof StringComparison];
70
+ export declare const AmiSortBy: {
71
+ readonly AFFECTED_INSTANCES: "AFFECTED_INSTANCES";
72
+ readonly ALL: "ALL";
73
+ readonly CRITICAL: "CRITICAL";
74
+ readonly HIGH: "HIGH";
75
+ };
76
+ export type AmiSortBy = (typeof AmiSortBy)[keyof typeof AmiSortBy];
77
+ export declare const AwsEcrContainerSortBy: {
78
+ readonly ALL: "ALL";
79
+ readonly CRITICAL: "CRITICAL";
80
+ readonly HIGH: "HIGH";
81
+ };
82
+ export type AwsEcrContainerSortBy =
83
+ (typeof AwsEcrContainerSortBy)[keyof typeof AwsEcrContainerSortBy];
84
+ export declare const CodeRepositorySortBy: {
85
+ readonly ALL: "ALL";
86
+ readonly CRITICAL: "CRITICAL";
87
+ readonly HIGH: "HIGH";
88
+ };
89
+ export type CodeRepositorySortBy =
90
+ (typeof CodeRepositorySortBy)[keyof typeof CodeRepositorySortBy];
91
+ export declare const MapComparison: {
92
+ readonly EQUALS: "EQUALS";
93
+ };
94
+ export type MapComparison = (typeof MapComparison)[keyof typeof MapComparison];
95
+ export declare const Ec2InstanceSortBy: {
96
+ readonly ALL: "ALL";
97
+ readonly CRITICAL: "CRITICAL";
98
+ readonly HIGH: "HIGH";
99
+ readonly NETWORK_FINDINGS: "NETWORK_FINDINGS";
100
+ };
101
+ export type Ec2InstanceSortBy =
102
+ (typeof Ec2InstanceSortBy)[keyof typeof Ec2InstanceSortBy];
103
+ export declare const FindingTypeSortBy: {
104
+ readonly ALL: "ALL";
105
+ readonly CRITICAL: "CRITICAL";
106
+ readonly HIGH: "HIGH";
107
+ };
108
+ export type FindingTypeSortBy =
109
+ (typeof FindingTypeSortBy)[keyof typeof FindingTypeSortBy];
110
+ export declare const ImageLayerSortBy: {
111
+ readonly ALL: "ALL";
112
+ readonly CRITICAL: "CRITICAL";
113
+ readonly HIGH: "HIGH";
114
+ };
115
+ export type ImageLayerSortBy =
116
+ (typeof ImageLayerSortBy)[keyof typeof ImageLayerSortBy];
117
+ export declare const LambdaFunctionSortBy: {
118
+ readonly ALL: "ALL";
119
+ readonly CRITICAL: "CRITICAL";
120
+ readonly HIGH: "HIGH";
121
+ };
122
+ export type LambdaFunctionSortBy =
123
+ (typeof LambdaFunctionSortBy)[keyof typeof LambdaFunctionSortBy];
124
+ export declare const LambdaLayerSortBy: {
125
+ readonly ALL: "ALL";
126
+ readonly CRITICAL: "CRITICAL";
127
+ readonly HIGH: "HIGH";
128
+ };
129
+ export type LambdaLayerSortBy =
130
+ (typeof LambdaLayerSortBy)[keyof typeof LambdaLayerSortBy];
131
+ export declare const PackageSortBy: {
132
+ readonly ALL: "ALL";
133
+ readonly CRITICAL: "CRITICAL";
134
+ readonly HIGH: "HIGH";
135
+ };
136
+ export type PackageSortBy = (typeof PackageSortBy)[keyof typeof PackageSortBy];
137
+ export declare const RepositorySortBy: {
138
+ readonly AFFECTED_IMAGES: "AFFECTED_IMAGES";
139
+ readonly ALL: "ALL";
140
+ readonly CRITICAL: "CRITICAL";
141
+ readonly HIGH: "HIGH";
142
+ };
143
+ export type RepositorySortBy =
144
+ (typeof RepositorySortBy)[keyof typeof RepositorySortBy];
145
+ export declare const TitleSortBy: {
146
+ readonly ALL: "ALL";
147
+ readonly CRITICAL: "CRITICAL";
148
+ readonly HIGH: "HIGH";
149
+ };
150
+ export type TitleSortBy = (typeof TitleSortBy)[keyof typeof TitleSortBy];
151
+ export declare const AggregationType: {
152
+ readonly ACCOUNT: "ACCOUNT";
153
+ readonly AMI: "AMI";
154
+ readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
155
+ readonly AWS_ECR_CONTAINER: "AWS_ECR_CONTAINER";
156
+ readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
157
+ readonly CODE_REPOSITORY: "CODE_REPOSITORY";
158
+ readonly FINDING_TYPE: "FINDING_TYPE";
159
+ readonly IMAGE_LAYER: "IMAGE_LAYER";
160
+ readonly LAMBDA_LAYER: "LAMBDA_LAYER";
161
+ readonly PACKAGE: "PACKAGE";
162
+ readonly REPOSITORY: "REPOSITORY";
163
+ readonly TITLE: "TITLE";
164
+ };
165
+ export type AggregationType =
166
+ (typeof AggregationType)[keyof typeof AggregationType];
167
+ export declare const Architecture: {
168
+ readonly ARM64: "ARM64";
169
+ readonly X86_64: "X86_64";
170
+ };
171
+ export type Architecture = (typeof Architecture)[keyof typeof Architecture];
172
+ export declare const ValidationExceptionReason: {
173
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
174
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
175
+ readonly OTHER: "OTHER";
176
+ };
177
+ export type ValidationExceptionReason =
178
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
8
179
  export declare const AssociationResultStatusCode: {
9
180
  readonly ACCESS_DENIED: "ACCESS_DENIED";
10
181
  readonly INTERNAL_ERROR: "INTERNAL_ERROR";
@@ -15,6 +186,79 @@ export declare const AssociationResultStatusCode: {
15
186
  };
16
187
  export type AssociationResultStatusCode =
17
188
  (typeof AssociationResultStatusCode)[keyof typeof AssociationResultStatusCode];
189
+ export declare const PackageType: {
190
+ readonly IMAGE: "IMAGE";
191
+ readonly ZIP: "ZIP";
192
+ };
193
+ export type PackageType = (typeof PackageType)[keyof typeof PackageType];
194
+ export declare const Runtime: {
195
+ readonly DOTNETCORE_3_1: "DOTNETCORE_3_1";
196
+ readonly DOTNET_6: "DOTNET_6";
197
+ readonly DOTNET_7: "DOTNET_7";
198
+ readonly GO_1_X: "GO_1_X";
199
+ readonly JAVA_11: "JAVA_11";
200
+ readonly JAVA_17: "JAVA_17";
201
+ readonly JAVA_8: "JAVA_8";
202
+ readonly JAVA_8_AL2: "JAVA_8_AL2";
203
+ readonly NODEJS: "NODEJS";
204
+ readonly NODEJS_12_X: "NODEJS_12_X";
205
+ readonly NODEJS_14_X: "NODEJS_14_X";
206
+ readonly NODEJS_16_X: "NODEJS_16_X";
207
+ readonly NODEJS_18_X: "NODEJS_18_X";
208
+ readonly PYTHON_3_10: "PYTHON_3_10";
209
+ readonly PYTHON_3_11: "PYTHON_3_11";
210
+ readonly PYTHON_3_7: "PYTHON_3_7";
211
+ readonly PYTHON_3_8: "PYTHON_3_8";
212
+ readonly PYTHON_3_9: "PYTHON_3_9";
213
+ readonly RUBY_2_7: "RUBY_2_7";
214
+ readonly RUBY_3_2: "RUBY_3_2";
215
+ readonly UNSUPPORTED: "UNSUPPORTED";
216
+ };
217
+ export type Runtime = (typeof Runtime)[keyof typeof Runtime];
218
+ export declare const CodeSnippetErrorCode: {
219
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
220
+ readonly CODE_SNIPPET_NOT_FOUND: "CODE_SNIPPET_NOT_FOUND";
221
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
222
+ readonly INVALID_INPUT: "INVALID_INPUT";
223
+ };
224
+ export type CodeSnippetErrorCode =
225
+ (typeof CodeSnippetErrorCode)[keyof typeof CodeSnippetErrorCode];
226
+ export declare const FindingDetailsErrorCode: {
227
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
228
+ readonly FINDING_DETAILS_NOT_FOUND: "FINDING_DETAILS_NOT_FOUND";
229
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
230
+ readonly INVALID_INPUT: "INVALID_INPUT";
231
+ };
232
+ export type FindingDetailsErrorCode =
233
+ (typeof FindingDetailsErrorCode)[keyof typeof FindingDetailsErrorCode];
234
+ export declare const FreeTrialStatus: {
235
+ readonly ACTIVE: "ACTIVE";
236
+ readonly INACTIVE: "INACTIVE";
237
+ };
238
+ export type FreeTrialStatus =
239
+ (typeof FreeTrialStatus)[keyof typeof FreeTrialStatus];
240
+ export declare const FreeTrialType: {
241
+ readonly CODE_REPOSITORY: "CODE_REPOSITORY";
242
+ readonly EC2: "EC2";
243
+ readonly ECR: "ECR";
244
+ readonly LAMBDA: "LAMBDA";
245
+ readonly LAMBDA_CODE: "LAMBDA_CODE";
246
+ };
247
+ export type FreeTrialType = (typeof FreeTrialType)[keyof typeof FreeTrialType];
248
+ export declare const FreeTrialInfoErrorCode: {
249
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
250
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
251
+ };
252
+ export type FreeTrialInfoErrorCode =
253
+ (typeof FreeTrialInfoErrorCode)[keyof typeof FreeTrialInfoErrorCode];
254
+ export declare const Ec2DeepInspectionStatus: {
255
+ readonly ACTIVATED: "ACTIVATED";
256
+ readonly DEACTIVATED: "DEACTIVATED";
257
+ readonly FAILED: "FAILED";
258
+ readonly PENDING: "PENDING";
259
+ };
260
+ export type Ec2DeepInspectionStatus =
261
+ (typeof Ec2DeepInspectionStatus)[keyof typeof Ec2DeepInspectionStatus];
18
262
  export declare const CisSecurityLevel: {
19
263
  readonly LEVEL_1: "LEVEL_1";
20
264
  readonly LEVEL_2: "LEVEL_2";
@@ -154,6 +398,55 @@ export declare const CisSortOrder: {
154
398
  readonly DESC: "DESC";
155
399
  };
156
400
  export type CisSortOrder = (typeof CisSortOrder)[keyof typeof CisSortOrder];
401
+ export declare const CodeRepositoryProviderType: {
402
+ readonly GITHUB: "GITHUB";
403
+ readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
404
+ };
405
+ export type CodeRepositoryProviderType =
406
+ (typeof CodeRepositoryProviderType)[keyof typeof CodeRepositoryProviderType];
407
+ export declare const ScanStatusReason: {
408
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
409
+ readonly ACCESS_DENIED_TO_ENCRYPTION_KEY: "ACCESS_DENIED_TO_ENCRYPTION_KEY";
410
+ readonly AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED: "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED";
411
+ readonly AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED: "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED";
412
+ readonly DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED: "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED";
413
+ readonly DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED: "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED";
414
+ readonly DEEP_INSPECTION_NO_INVENTORY: "DEEP_INSPECTION_NO_INVENTORY";
415
+ readonly DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED";
416
+ readonly EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED";
417
+ readonly EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG";
418
+ readonly IMAGE_ARCHIVED: "IMAGE_ARCHIVED";
419
+ readonly IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED";
420
+ readonly INTEGRATION_CONNECTION_LOST: "INTEGRATION_CONNECTION_LOST";
421
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
422
+ readonly NO_INVENTORY: "NO_INVENTORY";
423
+ readonly NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND";
424
+ readonly NO_SCAN_CONFIGURATION_ASSOCIATED: "NO_SCAN_CONFIGURATION_ASSOCIATED";
425
+ readonly PENDING_DISABLE: "PENDING_DISABLE";
426
+ readonly PENDING_INITIAL_SCAN: "PENDING_INITIAL_SCAN";
427
+ readonly PENDING_REVIVAL_SCAN: "PENDING_REVIVAL_SCAN";
428
+ readonly RESOURCE_TERMINATED: "RESOURCE_TERMINATED";
429
+ readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
430
+ readonly SCAN_FREQUENCY_MANUAL: "SCAN_FREQUENCY_MANUAL";
431
+ readonly SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH";
432
+ readonly SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS";
433
+ readonly STALE_INVENTORY: "STALE_INVENTORY";
434
+ readonly SUCCESSFUL: "SUCCESSFUL";
435
+ readonly UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE";
436
+ readonly UNSUPPORTED_CONFIG_FILE: "UNSUPPORTED_CONFIG_FILE";
437
+ readonly UNSUPPORTED_LANGUAGE: "UNSUPPORTED_LANGUAGE";
438
+ readonly UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE";
439
+ readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
440
+ readonly UNSUPPORTED_RUNTIME: "UNSUPPORTED_RUNTIME";
441
+ };
442
+ export type ScanStatusReason =
443
+ (typeof ScanStatusReason)[keyof typeof ScanStatusReason];
444
+ export declare const ScanStatusCode: {
445
+ readonly ACTIVE: "ACTIVE";
446
+ readonly INACTIVE: "INACTIVE";
447
+ };
448
+ export type ScanStatusCode =
449
+ (typeof ScanStatusCode)[keyof typeof ScanStatusCode];
157
450
  export declare const RuleSetCategory: {
158
451
  readonly IAC: "IAC";
159
452
  readonly SAST: "SAST";
@@ -208,6 +501,264 @@ export declare const ConfigurationLevel: {
208
501
  };
209
502
  export type ConfigurationLevel =
210
503
  (typeof ConfigurationLevel)[keyof typeof ConfigurationLevel];
504
+ export declare const GroupKey: {
505
+ readonly ACCOUNT_ID: "ACCOUNT_ID";
506
+ readonly ECR_REPOSITORY_NAME: "ECR_REPOSITORY_NAME";
507
+ readonly RESOURCE_TYPE: "RESOURCE_TYPE";
508
+ readonly SCAN_STATUS_CODE: "SCAN_STATUS_CODE";
509
+ readonly SCAN_STATUS_REASON: "SCAN_STATUS_REASON";
510
+ };
511
+ export type GroupKey = (typeof GroupKey)[keyof typeof GroupKey];
512
+ export declare const CoverageStringComparison: {
513
+ readonly EQUALS: "EQUALS";
514
+ readonly NOT_EQUALS: "NOT_EQUALS";
515
+ };
516
+ export type CoverageStringComparison =
517
+ (typeof CoverageStringComparison)[keyof typeof CoverageStringComparison];
518
+ export declare const CoverageMapComparison: {
519
+ readonly EQUALS: "EQUALS";
520
+ };
521
+ export type CoverageMapComparison =
522
+ (typeof CoverageMapComparison)[keyof typeof CoverageMapComparison];
523
+ export declare const CoverageResourceType: {
524
+ readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
525
+ readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
526
+ readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
527
+ readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
528
+ readonly CODE_REPOSITORY: "CODE_REPOSITORY";
529
+ };
530
+ export type CoverageResourceType =
531
+ (typeof CoverageResourceType)[keyof typeof CoverageResourceType];
532
+ export declare const Ec2Platform: {
533
+ readonly LINUX: "LINUX";
534
+ readonly MACOS: "MACOS";
535
+ readonly UNKNOWN: "UNKNOWN";
536
+ readonly WINDOWS: "WINDOWS";
537
+ };
538
+ export type Ec2Platform = (typeof Ec2Platform)[keyof typeof Ec2Platform];
539
+ export declare const EcrScanFrequency: {
540
+ readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
541
+ readonly MANUAL: "MANUAL";
542
+ readonly SCAN_ON_PUSH: "SCAN_ON_PUSH";
543
+ };
544
+ export type EcrScanFrequency =
545
+ (typeof EcrScanFrequency)[keyof typeof EcrScanFrequency];
546
+ export declare const ScanMode: {
547
+ readonly EC2_AGENTLESS: "EC2_AGENTLESS";
548
+ readonly EC2_SSM_AGENT_BASED: "EC2_SSM_AGENT_BASED";
549
+ };
550
+ export type ScanMode = (typeof ScanMode)[keyof typeof ScanMode];
551
+ export declare const ScanType: {
552
+ readonly CODE: "CODE";
553
+ readonly NETWORK: "NETWORK";
554
+ readonly PACKAGE: "PACKAGE";
555
+ };
556
+ export type ScanType = (typeof ScanType)[keyof typeof ScanType];
557
+ export declare const FilterAction: {
558
+ readonly NONE: "NONE";
559
+ readonly SUPPRESS: "SUPPRESS";
560
+ };
561
+ export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
562
+ export declare const ReportFormat: {
563
+ readonly CSV: "CSV";
564
+ readonly JSON: "JSON";
565
+ };
566
+ export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
567
+ export declare const SbomReportFormat: {
568
+ readonly CYCLONEDX_1_4: "CYCLONEDX_1_4";
569
+ readonly SPDX_2_3: "SPDX_2_3";
570
+ };
571
+ export type SbomReportFormat =
572
+ (typeof SbomReportFormat)[keyof typeof SbomReportFormat];
573
+ export declare const ResourceStringComparison: {
574
+ readonly EQUALS: "EQUALS";
575
+ readonly NOT_EQUALS: "NOT_EQUALS";
576
+ };
577
+ export type ResourceStringComparison =
578
+ (typeof ResourceStringComparison)[keyof typeof ResourceStringComparison];
579
+ export declare const ResourceMapComparison: {
580
+ readonly EQUALS: "EQUALS";
581
+ };
582
+ export type ResourceMapComparison =
583
+ (typeof ResourceMapComparison)[keyof typeof ResourceMapComparison];
584
+ export declare const Currency: {
585
+ readonly USD: "USD";
586
+ };
587
+ export type Currency = (typeof Currency)[keyof typeof Currency];
588
+ export declare const RelationshipStatus: {
589
+ readonly ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED";
590
+ readonly CANNOT_CREATE_DETECTOR_IN_ORG_MASTER: "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER";
591
+ readonly CREATED: "CREATED";
592
+ readonly DELETED: "DELETED";
593
+ readonly DISABLED: "DISABLED";
594
+ readonly EMAIL_VERIFICATION_FAILED: "EMAIL_VERIFICATION_FAILED";
595
+ readonly EMAIL_VERIFICATION_IN_PROGRESS: "EMAIL_VERIFICATION_IN_PROGRESS";
596
+ readonly ENABLED: "ENABLED";
597
+ readonly INVITED: "INVITED";
598
+ readonly REGION_DISABLED: "REGION_DISABLED";
599
+ readonly REMOVED: "REMOVED";
600
+ readonly RESIGNED: "RESIGNED";
601
+ };
602
+ export type RelationshipStatus =
603
+ (typeof RelationshipStatus)[keyof typeof RelationshipStatus];
604
+ export declare const DelegatedAdminStatus: {
605
+ readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
606
+ readonly ENABLED: "ENABLED";
607
+ };
608
+ export type DelegatedAdminStatus =
609
+ (typeof DelegatedAdminStatus)[keyof typeof DelegatedAdminStatus];
610
+ export declare const ResourceScanType: {
611
+ readonly CODE_REPOSITORY: "CODE_REPOSITORY";
612
+ readonly EC2: "EC2";
613
+ readonly ECR: "ECR";
614
+ readonly LAMBDA: "LAMBDA";
615
+ readonly LAMBDA_CODE: "LAMBDA_CODE";
616
+ };
617
+ export type ResourceScanType =
618
+ (typeof ResourceScanType)[keyof typeof ResourceScanType];
619
+ export declare const Ec2ScanMode: {
620
+ readonly EC2_HYBRID: "EC2_HYBRID";
621
+ readonly EC2_SSM_AGENT_BASED: "EC2_SSM_AGENT_BASED";
622
+ };
623
+ export type Ec2ScanMode = (typeof Ec2ScanMode)[keyof typeof Ec2ScanMode];
624
+ export declare const Ec2ScanModeStatus: {
625
+ readonly PENDING: "PENDING";
626
+ readonly SUCCESS: "SUCCESS";
627
+ };
628
+ export type Ec2ScanModeStatus =
629
+ (typeof Ec2ScanModeStatus)[keyof typeof Ec2ScanModeStatus];
630
+ export declare const EcrPullDateRescanDuration: {
631
+ readonly DAYS_14: "DAYS_14";
632
+ readonly DAYS_180: "DAYS_180";
633
+ readonly DAYS_30: "DAYS_30";
634
+ readonly DAYS_60: "DAYS_60";
635
+ readonly DAYS_90: "DAYS_90";
636
+ };
637
+ export type EcrPullDateRescanDuration =
638
+ (typeof EcrPullDateRescanDuration)[keyof typeof EcrPullDateRescanDuration];
639
+ export declare const EcrPullDateRescanMode: {
640
+ readonly LAST_IN_USE_AT: "LAST_IN_USE_AT";
641
+ readonly LAST_PULL_DATE: "LAST_PULL_DATE";
642
+ };
643
+ export type EcrPullDateRescanMode =
644
+ (typeof EcrPullDateRescanMode)[keyof typeof EcrPullDateRescanMode];
645
+ export declare const EcrRescanDuration: {
646
+ readonly DAYS_14: "DAYS_14";
647
+ readonly DAYS_180: "DAYS_180";
648
+ readonly DAYS_30: "DAYS_30";
649
+ readonly DAYS_60: "DAYS_60";
650
+ readonly DAYS_90: "DAYS_90";
651
+ readonly LIFETIME: "LIFETIME";
652
+ };
653
+ export type EcrRescanDuration =
654
+ (typeof EcrRescanDuration)[keyof typeof EcrRescanDuration];
655
+ export declare const EcrRescanDurationStatus: {
656
+ readonly FAILED: "FAILED";
657
+ readonly PENDING: "PENDING";
658
+ readonly SUCCESS: "SUCCESS";
659
+ };
660
+ export type EcrRescanDurationStatus =
661
+ (typeof EcrRescanDurationStatus)[keyof typeof EcrRescanDurationStatus];
662
+ export declare const ExploitAvailable: {
663
+ readonly NO: "NO";
664
+ readonly YES: "YES";
665
+ };
666
+ export type ExploitAvailable =
667
+ (typeof ExploitAvailable)[keyof typeof ExploitAvailable];
668
+ export declare const ExternalReportStatus: {
669
+ readonly CANCELLED: "CANCELLED";
670
+ readonly FAILED: "FAILED";
671
+ readonly IN_PROGRESS: "IN_PROGRESS";
672
+ readonly SUCCEEDED: "SUCCEEDED";
673
+ };
674
+ export type ExternalReportStatus =
675
+ (typeof ExternalReportStatus)[keyof typeof ExternalReportStatus];
676
+ export declare const FixAvailable: {
677
+ readonly NO: "NO";
678
+ readonly PARTIAL: "PARTIAL";
679
+ readonly YES: "YES";
680
+ };
681
+ export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
682
+ export declare const NetworkProtocol: {
683
+ readonly TCP: "TCP";
684
+ readonly UDP: "UDP";
685
+ };
686
+ export type NetworkProtocol =
687
+ (typeof NetworkProtocol)[keyof typeof NetworkProtocol];
688
+ export declare const PackageManager: {
689
+ readonly BUNDLER: "BUNDLER";
690
+ readonly CARGO: "CARGO";
691
+ readonly COMPOSER: "COMPOSER";
692
+ readonly DOTNET_CORE: "DOTNET_CORE";
693
+ readonly GEMSPEC: "GEMSPEC";
694
+ readonly GOBINARY: "GOBINARY";
695
+ readonly GOMOD: "GOMOD";
696
+ readonly JAR: "JAR";
697
+ readonly NODEPKG: "NODEPKG";
698
+ readonly NPM: "NPM";
699
+ readonly NUGET: "NUGET";
700
+ readonly OS: "OS";
701
+ readonly PIP: "PIP";
702
+ readonly PIPENV: "PIPENV";
703
+ readonly POETRY: "POETRY";
704
+ readonly POM: "POM";
705
+ readonly PYTHONPKG: "PYTHONPKG";
706
+ readonly YARN: "YARN";
707
+ };
708
+ export type PackageManager =
709
+ (typeof PackageManager)[keyof typeof PackageManager];
710
+ export declare const ResourceType: {
711
+ readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
712
+ readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
713
+ readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
714
+ readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
715
+ readonly CODE_REPOSITORY: "CODE_REPOSITORY";
716
+ };
717
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
718
+ export declare const Severity: {
719
+ readonly CRITICAL: "CRITICAL";
720
+ readonly HIGH: "HIGH";
721
+ readonly INFORMATIONAL: "INFORMATIONAL";
722
+ readonly LOW: "LOW";
723
+ readonly MEDIUM: "MEDIUM";
724
+ readonly UNTRIAGED: "UNTRIAGED";
725
+ };
726
+ export type Severity = (typeof Severity)[keyof typeof Severity];
727
+ export declare const FindingStatus: {
728
+ readonly ACTIVE: "ACTIVE";
729
+ readonly CLOSED: "CLOSED";
730
+ readonly SUPPRESSED: "SUPPRESSED";
731
+ };
732
+ export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
733
+ export declare const FindingType: {
734
+ readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
735
+ readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
736
+ readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
737
+ };
738
+ export type FindingType = (typeof FindingType)[keyof typeof FindingType];
739
+ export declare const ReportingErrorCode: {
740
+ readonly BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND";
741
+ readonly INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION";
742
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
743
+ readonly INVALID_PERMISSIONS: "INVALID_PERMISSIONS";
744
+ readonly MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY";
745
+ readonly NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND";
746
+ };
747
+ export type ReportingErrorCode =
748
+ (typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
749
+ export declare const Service: {
750
+ readonly EC2: "EC2";
751
+ readonly ECR: "ECR";
752
+ readonly LAMBDA: "LAMBDA";
753
+ };
754
+ export type Service = (typeof Service)[keyof typeof Service];
755
+ export declare const Operation: {
756
+ readonly DISABLE_REPOSITORY: "DISABLE_REPOSITORY";
757
+ readonly DISABLE_SCANNING: "DISABLE_SCANNING";
758
+ readonly ENABLE_REPOSITORY: "ENABLE_REPOSITORY";
759
+ readonly ENABLE_SCANNING: "ENABLE_SCANNING";
760
+ };
761
+ export type Operation = (typeof Operation)[keyof typeof Operation];
211
762
  export declare const ListCisScansDetailLevel: {
212
763
  readonly MEMBER: "MEMBER";
213
764
  readonly ORGANIZATION: "ORGANIZATION";
@@ -222,6 +773,43 @@ export declare const ListCisScansSortBy: {
222
773
  };
223
774
  export type ListCisScansSortBy =
224
775
  (typeof ListCisScansSortBy)[keyof typeof ListCisScansSortBy];
776
+ export declare const SortField: {
777
+ readonly AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID";
778
+ readonly COMPONENT_TYPE: "COMPONENT_TYPE";
779
+ readonly ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT";
780
+ readonly ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY";
781
+ readonly ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME";
782
+ readonly EPSS_SCORE: "EPSS_SCORE";
783
+ readonly FINDING_STATUS: "FINDING_STATUS";
784
+ readonly FINDING_TYPE: "FINDING_TYPE";
785
+ readonly FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT";
786
+ readonly INSPECTOR_SCORE: "INSPECTOR_SCORE";
787
+ readonly LAST_OBSERVED_AT: "LAST_OBSERVED_AT";
788
+ readonly NETWORK_PROTOCOL: "NETWORK_PROTOCOL";
789
+ readonly RESOURCE_TYPE: "RESOURCE_TYPE";
790
+ readonly SEVERITY: "SEVERITY";
791
+ readonly VENDOR_SEVERITY: "VENDOR_SEVERITY";
792
+ readonly VULNERABILITY_ID: "VULNERABILITY_ID";
793
+ readonly VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE";
794
+ };
795
+ export type SortField = (typeof SortField)[keyof typeof SortField];
796
+ export declare const UsageType: {
797
+ readonly CODE_REPOSITORY_IAC: "CODE_REPOSITORY_IAC";
798
+ readonly CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST";
799
+ readonly CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA";
800
+ readonly EC2_AGENTLESS_INSTANCE_HOURS: "EC2_AGENTLESS_INSTANCE_HOURS";
801
+ readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
802
+ readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
803
+ readonly ECR_RESCAN: "ECR_RESCAN";
804
+ readonly LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS";
805
+ readonly LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS";
806
+ };
807
+ export type UsageType = (typeof UsageType)[keyof typeof UsageType];
808
+ export declare const VulnerabilitySource: {
809
+ readonly NVD: "NVD";
810
+ };
811
+ export type VulnerabilitySource =
812
+ (typeof VulnerabilitySource)[keyof typeof VulnerabilitySource];
225
813
  export declare const StopCisSessionStatus: {
226
814
  readonly FAILED: "FAILED";
227
815
  readonly INTERRUPTED: "INTERRUPTED";
@@ -1,9 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionReason } from "./enums";
2
3
  import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
3
- import {
4
- ValidationExceptionField,
5
- ValidationExceptionReason,
6
- } from "./models_0";
4
+ import { ValidationExceptionField } from "./models_0";
7
5
  export declare class AccessDeniedException extends __BaseException {
8
6
  readonly name: "AccessDeniedException";
9
7
  readonly $fault: "client";