@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
package/dist-cjs/index.js CHANGED
@@ -5047,11 +5047,147 @@ const paginateListUsageTotals = core.createPaginator(Inspector2Client, ListUsage
5047
5047
 
5048
5048
  const paginateSearchVulnerabilities = core.createPaginator(Inspector2Client, SearchVulnerabilitiesCommand, "nextToken", "nextToken", "");
5049
5049
 
5050
+ const Status = {
5051
+ DISABLED: "DISABLED",
5052
+ DISABLING: "DISABLING",
5053
+ ENABLED: "ENABLED",
5054
+ ENABLING: "ENABLING",
5055
+ SUSPENDED: "SUSPENDED",
5056
+ SUSPENDING: "SUSPENDING",
5057
+ };
5058
+ const AggregationFindingType = {
5059
+ CODE_VULNERABILITY: "CODE_VULNERABILITY",
5060
+ NETWORK_REACHABILITY: "NETWORK_REACHABILITY",
5061
+ PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY",
5062
+ };
5063
+ const AggregationResourceType = {
5064
+ AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
5065
+ AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
5066
+ AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
5067
+ CODE_REPOSITORY: "CODE_REPOSITORY",
5068
+ };
5069
+ const AccountSortBy = {
5070
+ ALL: "ALL",
5071
+ CRITICAL: "CRITICAL",
5072
+ HIGH: "HIGH",
5073
+ };
5074
+ const SortOrder = {
5075
+ ASC: "ASC",
5076
+ DESC: "DESC",
5077
+ };
5050
5078
  const CisStringComparison = {
5051
5079
  EQUALS: "EQUALS",
5052
5080
  NOT_EQUALS: "NOT_EQUALS",
5053
5081
  PREFIX: "PREFIX",
5054
5082
  };
5083
+ const ErrorCode = {
5084
+ ACCESS_DENIED: "ACCESS_DENIED",
5085
+ ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED",
5086
+ ALREADY_ENABLED: "ALREADY_ENABLED",
5087
+ BLOCKED_BY_ORGANIZATION_POLICY: "BLOCKED_BY_ORGANIZATION_POLICY",
5088
+ DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
5089
+ DISASSOCIATE_ALL_MEMBERS: "DISASSOCIATE_ALL_MEMBERS",
5090
+ EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED: "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED",
5091
+ EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED: "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED",
5092
+ ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS",
5093
+ EVENTBRIDGE_THROTTLED: "EVENTBRIDGE_THROTTLED",
5094
+ EVENTBRIDGE_UNAVAILABLE: "EVENTBRIDGE_UNAVAILABLE",
5095
+ INTERNAL_ERROR: "INTERNAL_ERROR",
5096
+ RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
5097
+ RESOURCE_SCAN_NOT_DISABLED: "RESOURCE_SCAN_NOT_DISABLED",
5098
+ SSM_THROTTLED: "SSM_THROTTLED",
5099
+ SSM_UNAVAILABLE: "SSM_UNAVAILABLE",
5100
+ SUSPEND_IN_PROGRESS: "SUSPEND_IN_PROGRESS",
5101
+ };
5102
+ const StringComparison = {
5103
+ EQUALS: "EQUALS",
5104
+ NOT_EQUALS: "NOT_EQUALS",
5105
+ PREFIX: "PREFIX",
5106
+ };
5107
+ const AmiSortBy = {
5108
+ AFFECTED_INSTANCES: "AFFECTED_INSTANCES",
5109
+ ALL: "ALL",
5110
+ CRITICAL: "CRITICAL",
5111
+ HIGH: "HIGH",
5112
+ };
5113
+ const AwsEcrContainerSortBy = {
5114
+ ALL: "ALL",
5115
+ CRITICAL: "CRITICAL",
5116
+ HIGH: "HIGH",
5117
+ };
5118
+ const CodeRepositorySortBy = {
5119
+ ALL: "ALL",
5120
+ CRITICAL: "CRITICAL",
5121
+ HIGH: "HIGH",
5122
+ };
5123
+ const MapComparison = {
5124
+ EQUALS: "EQUALS",
5125
+ };
5126
+ const Ec2InstanceSortBy = {
5127
+ ALL: "ALL",
5128
+ CRITICAL: "CRITICAL",
5129
+ HIGH: "HIGH",
5130
+ NETWORK_FINDINGS: "NETWORK_FINDINGS",
5131
+ };
5132
+ const FindingTypeSortBy = {
5133
+ ALL: "ALL",
5134
+ CRITICAL: "CRITICAL",
5135
+ HIGH: "HIGH",
5136
+ };
5137
+ const ImageLayerSortBy = {
5138
+ ALL: "ALL",
5139
+ CRITICAL: "CRITICAL",
5140
+ HIGH: "HIGH",
5141
+ };
5142
+ const LambdaFunctionSortBy = {
5143
+ ALL: "ALL",
5144
+ CRITICAL: "CRITICAL",
5145
+ HIGH: "HIGH",
5146
+ };
5147
+ const LambdaLayerSortBy = {
5148
+ ALL: "ALL",
5149
+ CRITICAL: "CRITICAL",
5150
+ HIGH: "HIGH",
5151
+ };
5152
+ const PackageSortBy = {
5153
+ ALL: "ALL",
5154
+ CRITICAL: "CRITICAL",
5155
+ HIGH: "HIGH",
5156
+ };
5157
+ const RepositorySortBy = {
5158
+ AFFECTED_IMAGES: "AFFECTED_IMAGES",
5159
+ ALL: "ALL",
5160
+ CRITICAL: "CRITICAL",
5161
+ HIGH: "HIGH",
5162
+ };
5163
+ const TitleSortBy = {
5164
+ ALL: "ALL",
5165
+ CRITICAL: "CRITICAL",
5166
+ HIGH: "HIGH",
5167
+ };
5168
+ const AggregationType = {
5169
+ ACCOUNT: "ACCOUNT",
5170
+ AMI: "AMI",
5171
+ AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
5172
+ AWS_ECR_CONTAINER: "AWS_ECR_CONTAINER",
5173
+ AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
5174
+ CODE_REPOSITORY: "CODE_REPOSITORY",
5175
+ FINDING_TYPE: "FINDING_TYPE",
5176
+ IMAGE_LAYER: "IMAGE_LAYER",
5177
+ LAMBDA_LAYER: "LAMBDA_LAYER",
5178
+ PACKAGE: "PACKAGE",
5179
+ REPOSITORY: "REPOSITORY",
5180
+ TITLE: "TITLE",
5181
+ };
5182
+ const Architecture = {
5183
+ ARM64: "ARM64",
5184
+ X86_64: "X86_64",
5185
+ };
5186
+ const ValidationExceptionReason = {
5187
+ CANNOT_PARSE: "CANNOT_PARSE",
5188
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
5189
+ OTHER: "OTHER",
5190
+ };
5055
5191
  const AssociationResultStatusCode = {
5056
5192
  ACCESS_DENIED: "ACCESS_DENIED",
5057
5193
  INTERNAL_ERROR: "INTERNAL_ERROR",
@@ -5060,6 +5196,66 @@ const AssociationResultStatusCode = {
5060
5196
  RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
5061
5197
  SCAN_CONFIGURATION_NOT_FOUND: "SCAN_CONFIGURATION_NOT_FOUND",
5062
5198
  };
5199
+ const PackageType = {
5200
+ IMAGE: "IMAGE",
5201
+ ZIP: "ZIP",
5202
+ };
5203
+ const Runtime = {
5204
+ DOTNETCORE_3_1: "DOTNETCORE_3_1",
5205
+ DOTNET_6: "DOTNET_6",
5206
+ DOTNET_7: "DOTNET_7",
5207
+ GO_1_X: "GO_1_X",
5208
+ JAVA_11: "JAVA_11",
5209
+ JAVA_17: "JAVA_17",
5210
+ JAVA_8: "JAVA_8",
5211
+ JAVA_8_AL2: "JAVA_8_AL2",
5212
+ NODEJS: "NODEJS",
5213
+ NODEJS_12_X: "NODEJS_12_X",
5214
+ NODEJS_14_X: "NODEJS_14_X",
5215
+ NODEJS_16_X: "NODEJS_16_X",
5216
+ NODEJS_18_X: "NODEJS_18_X",
5217
+ PYTHON_3_10: "PYTHON_3_10",
5218
+ PYTHON_3_11: "PYTHON_3_11",
5219
+ PYTHON_3_7: "PYTHON_3_7",
5220
+ PYTHON_3_8: "PYTHON_3_8",
5221
+ PYTHON_3_9: "PYTHON_3_9",
5222
+ RUBY_2_7: "RUBY_2_7",
5223
+ RUBY_3_2: "RUBY_3_2",
5224
+ UNSUPPORTED: "UNSUPPORTED",
5225
+ };
5226
+ const CodeSnippetErrorCode = {
5227
+ ACCESS_DENIED: "ACCESS_DENIED",
5228
+ CODE_SNIPPET_NOT_FOUND: "CODE_SNIPPET_NOT_FOUND",
5229
+ INTERNAL_ERROR: "INTERNAL_ERROR",
5230
+ INVALID_INPUT: "INVALID_INPUT",
5231
+ };
5232
+ const FindingDetailsErrorCode = {
5233
+ ACCESS_DENIED: "ACCESS_DENIED",
5234
+ FINDING_DETAILS_NOT_FOUND: "FINDING_DETAILS_NOT_FOUND",
5235
+ INTERNAL_ERROR: "INTERNAL_ERROR",
5236
+ INVALID_INPUT: "INVALID_INPUT",
5237
+ };
5238
+ const FreeTrialStatus = {
5239
+ ACTIVE: "ACTIVE",
5240
+ INACTIVE: "INACTIVE",
5241
+ };
5242
+ const FreeTrialType = {
5243
+ CODE_REPOSITORY: "CODE_REPOSITORY",
5244
+ EC2: "EC2",
5245
+ ECR: "ECR",
5246
+ LAMBDA: "LAMBDA",
5247
+ LAMBDA_CODE: "LAMBDA_CODE",
5248
+ };
5249
+ const FreeTrialInfoErrorCode = {
5250
+ ACCESS_DENIED: "ACCESS_DENIED",
5251
+ INTERNAL_ERROR: "INTERNAL_ERROR",
5252
+ };
5253
+ const Ec2DeepInspectionStatus = {
5254
+ ACTIVATED: "ACTIVATED",
5255
+ DEACTIVATED: "DEACTIVATED",
5256
+ FAILED: "FAILED",
5257
+ PENDING: "PENDING",
5258
+ };
5063
5259
  const CisSecurityLevel = {
5064
5260
  LEVEL_1: "LEVEL_1",
5065
5261
  LEVEL_2: "LEVEL_2",
@@ -5162,6 +5358,49 @@ const CisSortOrder = {
5162
5358
  ASC: "ASC",
5163
5359
  DESC: "DESC",
5164
5360
  };
5361
+ const CodeRepositoryProviderType = {
5362
+ GITHUB: "GITHUB",
5363
+ GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED",
5364
+ };
5365
+ const ScanStatusReason = {
5366
+ ACCESS_DENIED: "ACCESS_DENIED",
5367
+ ACCESS_DENIED_TO_ENCRYPTION_KEY: "ACCESS_DENIED_TO_ENCRYPTION_KEY",
5368
+ AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED: "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED",
5369
+ AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED: "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED",
5370
+ DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED: "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED",
5371
+ DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED: "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED",
5372
+ DEEP_INSPECTION_NO_INVENTORY: "DEEP_INSPECTION_NO_INVENTORY",
5373
+ DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED",
5374
+ EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED",
5375
+ EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG",
5376
+ IMAGE_ARCHIVED: "IMAGE_ARCHIVED",
5377
+ IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED",
5378
+ INTEGRATION_CONNECTION_LOST: "INTEGRATION_CONNECTION_LOST",
5379
+ INTERNAL_ERROR: "INTERNAL_ERROR",
5380
+ NO_INVENTORY: "NO_INVENTORY",
5381
+ NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND",
5382
+ NO_SCAN_CONFIGURATION_ASSOCIATED: "NO_SCAN_CONFIGURATION_ASSOCIATED",
5383
+ PENDING_DISABLE: "PENDING_DISABLE",
5384
+ PENDING_INITIAL_SCAN: "PENDING_INITIAL_SCAN",
5385
+ PENDING_REVIVAL_SCAN: "PENDING_REVIVAL_SCAN",
5386
+ RESOURCE_TERMINATED: "RESOURCE_TERMINATED",
5387
+ SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
5388
+ SCAN_FREQUENCY_MANUAL: "SCAN_FREQUENCY_MANUAL",
5389
+ SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH",
5390
+ SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS",
5391
+ STALE_INVENTORY: "STALE_INVENTORY",
5392
+ SUCCESSFUL: "SUCCESSFUL",
5393
+ UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE",
5394
+ UNSUPPORTED_CONFIG_FILE: "UNSUPPORTED_CONFIG_FILE",
5395
+ UNSUPPORTED_LANGUAGE: "UNSUPPORTED_LANGUAGE",
5396
+ UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE",
5397
+ UNSUPPORTED_OS: "UNSUPPORTED_OS",
5398
+ UNSUPPORTED_RUNTIME: "UNSUPPORTED_RUNTIME",
5399
+ };
5400
+ const ScanStatusCode = {
5401
+ ACTIVE: "ACTIVE",
5402
+ INACTIVE: "INACTIVE",
5403
+ };
5165
5404
  const RuleSetCategory = {
5166
5405
  IAC: "IAC",
5167
5406
  SAST: "SAST",
@@ -5200,6 +5439,209 @@ const ConfigurationLevel = {
5200
5439
  ACCOUNT: "ACCOUNT",
5201
5440
  ORGANIZATION: "ORGANIZATION",
5202
5441
  };
5442
+ const GroupKey = {
5443
+ ACCOUNT_ID: "ACCOUNT_ID",
5444
+ ECR_REPOSITORY_NAME: "ECR_REPOSITORY_NAME",
5445
+ RESOURCE_TYPE: "RESOURCE_TYPE",
5446
+ SCAN_STATUS_CODE: "SCAN_STATUS_CODE",
5447
+ SCAN_STATUS_REASON: "SCAN_STATUS_REASON",
5448
+ };
5449
+ const CoverageStringComparison = {
5450
+ EQUALS: "EQUALS",
5451
+ NOT_EQUALS: "NOT_EQUALS",
5452
+ };
5453
+ const CoverageMapComparison = {
5454
+ EQUALS: "EQUALS",
5455
+ };
5456
+ const CoverageResourceType = {
5457
+ AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
5458
+ AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
5459
+ AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
5460
+ AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
5461
+ CODE_REPOSITORY: "CODE_REPOSITORY",
5462
+ };
5463
+ const Ec2Platform = {
5464
+ LINUX: "LINUX",
5465
+ MACOS: "MACOS",
5466
+ UNKNOWN: "UNKNOWN",
5467
+ WINDOWS: "WINDOWS",
5468
+ };
5469
+ const EcrScanFrequency = {
5470
+ CONTINUOUS_SCAN: "CONTINUOUS_SCAN",
5471
+ MANUAL: "MANUAL",
5472
+ SCAN_ON_PUSH: "SCAN_ON_PUSH",
5473
+ };
5474
+ const ScanMode = {
5475
+ EC2_AGENTLESS: "EC2_AGENTLESS",
5476
+ EC2_SSM_AGENT_BASED: "EC2_SSM_AGENT_BASED",
5477
+ };
5478
+ const ScanType = {
5479
+ CODE: "CODE",
5480
+ NETWORK: "NETWORK",
5481
+ PACKAGE: "PACKAGE",
5482
+ };
5483
+ const FilterAction = {
5484
+ NONE: "NONE",
5485
+ SUPPRESS: "SUPPRESS",
5486
+ };
5487
+ const ReportFormat = {
5488
+ CSV: "CSV",
5489
+ JSON: "JSON",
5490
+ };
5491
+ const SbomReportFormat = {
5492
+ CYCLONEDX_1_4: "CYCLONEDX_1_4",
5493
+ SPDX_2_3: "SPDX_2_3",
5494
+ };
5495
+ const ResourceStringComparison = {
5496
+ EQUALS: "EQUALS",
5497
+ NOT_EQUALS: "NOT_EQUALS",
5498
+ };
5499
+ const ResourceMapComparison = {
5500
+ EQUALS: "EQUALS",
5501
+ };
5502
+ const Currency = {
5503
+ USD: "USD",
5504
+ };
5505
+ const RelationshipStatus = {
5506
+ ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED",
5507
+ CANNOT_CREATE_DETECTOR_IN_ORG_MASTER: "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER",
5508
+ CREATED: "CREATED",
5509
+ DELETED: "DELETED",
5510
+ DISABLED: "DISABLED",
5511
+ EMAIL_VERIFICATION_FAILED: "EMAIL_VERIFICATION_FAILED",
5512
+ EMAIL_VERIFICATION_IN_PROGRESS: "EMAIL_VERIFICATION_IN_PROGRESS",
5513
+ ENABLED: "ENABLED",
5514
+ INVITED: "INVITED",
5515
+ REGION_DISABLED: "REGION_DISABLED",
5516
+ REMOVED: "REMOVED",
5517
+ RESIGNED: "RESIGNED",
5518
+ };
5519
+ const DelegatedAdminStatus = {
5520
+ DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
5521
+ ENABLED: "ENABLED",
5522
+ };
5523
+ const ResourceScanType = {
5524
+ CODE_REPOSITORY: "CODE_REPOSITORY",
5525
+ EC2: "EC2",
5526
+ ECR: "ECR",
5527
+ LAMBDA: "LAMBDA",
5528
+ LAMBDA_CODE: "LAMBDA_CODE",
5529
+ };
5530
+ const Ec2ScanMode = {
5531
+ EC2_HYBRID: "EC2_HYBRID",
5532
+ EC2_SSM_AGENT_BASED: "EC2_SSM_AGENT_BASED",
5533
+ };
5534
+ const Ec2ScanModeStatus = {
5535
+ PENDING: "PENDING",
5536
+ SUCCESS: "SUCCESS",
5537
+ };
5538
+ const EcrPullDateRescanDuration = {
5539
+ DAYS_14: "DAYS_14",
5540
+ DAYS_180: "DAYS_180",
5541
+ DAYS_30: "DAYS_30",
5542
+ DAYS_60: "DAYS_60",
5543
+ DAYS_90: "DAYS_90",
5544
+ };
5545
+ const EcrPullDateRescanMode = {
5546
+ LAST_IN_USE_AT: "LAST_IN_USE_AT",
5547
+ LAST_PULL_DATE: "LAST_PULL_DATE",
5548
+ };
5549
+ const EcrRescanDuration = {
5550
+ DAYS_14: "DAYS_14",
5551
+ DAYS_180: "DAYS_180",
5552
+ DAYS_30: "DAYS_30",
5553
+ DAYS_60: "DAYS_60",
5554
+ DAYS_90: "DAYS_90",
5555
+ LIFETIME: "LIFETIME",
5556
+ };
5557
+ const EcrRescanDurationStatus = {
5558
+ FAILED: "FAILED",
5559
+ PENDING: "PENDING",
5560
+ SUCCESS: "SUCCESS",
5561
+ };
5562
+ const ExploitAvailable = {
5563
+ NO: "NO",
5564
+ YES: "YES",
5565
+ };
5566
+ const ExternalReportStatus = {
5567
+ CANCELLED: "CANCELLED",
5568
+ FAILED: "FAILED",
5569
+ IN_PROGRESS: "IN_PROGRESS",
5570
+ SUCCEEDED: "SUCCEEDED",
5571
+ };
5572
+ const FixAvailable = {
5573
+ NO: "NO",
5574
+ PARTIAL: "PARTIAL",
5575
+ YES: "YES",
5576
+ };
5577
+ const NetworkProtocol = {
5578
+ TCP: "TCP",
5579
+ UDP: "UDP",
5580
+ };
5581
+ const PackageManager = {
5582
+ BUNDLER: "BUNDLER",
5583
+ CARGO: "CARGO",
5584
+ COMPOSER: "COMPOSER",
5585
+ DOTNET_CORE: "DOTNET_CORE",
5586
+ GEMSPEC: "GEMSPEC",
5587
+ GOBINARY: "GOBINARY",
5588
+ GOMOD: "GOMOD",
5589
+ JAR: "JAR",
5590
+ NODEPKG: "NODEPKG",
5591
+ NPM: "NPM",
5592
+ NUGET: "NUGET",
5593
+ OS: "OS",
5594
+ PIP: "PIP",
5595
+ PIPENV: "PIPENV",
5596
+ POETRY: "POETRY",
5597
+ POM: "POM",
5598
+ PYTHONPKG: "PYTHONPKG",
5599
+ YARN: "YARN",
5600
+ };
5601
+ const ResourceType = {
5602
+ AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
5603
+ AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
5604
+ AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
5605
+ AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
5606
+ CODE_REPOSITORY: "CODE_REPOSITORY",
5607
+ };
5608
+ const Severity = {
5609
+ CRITICAL: "CRITICAL",
5610
+ HIGH: "HIGH",
5611
+ INFORMATIONAL: "INFORMATIONAL",
5612
+ LOW: "LOW",
5613
+ MEDIUM: "MEDIUM",
5614
+ UNTRIAGED: "UNTRIAGED",
5615
+ };
5616
+ const FindingStatus = {
5617
+ ACTIVE: "ACTIVE",
5618
+ CLOSED: "CLOSED",
5619
+ SUPPRESSED: "SUPPRESSED",
5620
+ };
5621
+ const FindingType = {
5622
+ CODE_VULNERABILITY: "CODE_VULNERABILITY",
5623
+ NETWORK_REACHABILITY: "NETWORK_REACHABILITY",
5624
+ PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY",
5625
+ };
5626
+ const ReportingErrorCode = {
5627
+ BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND",
5628
+ INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION",
5629
+ INTERNAL_ERROR: "INTERNAL_ERROR",
5630
+ INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
5631
+ MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY",
5632
+ NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND",
5633
+ };
5634
+ const Service = {
5635
+ EC2: "EC2",
5636
+ ECR: "ECR",
5637
+ LAMBDA: "LAMBDA",
5638
+ };
5639
+ const Operation = {
5640
+ DISABLE_REPOSITORY: "DISABLE_REPOSITORY",
5641
+ DISABLE_SCANNING: "DISABLE_SCANNING",
5642
+ ENABLE_REPOSITORY: "ENABLE_REPOSITORY",
5643
+ ENABLE_SCANNING: "ENABLE_SCANNING",
5644
+ };
5203
5645
  const ListCisScansDetailLevel = {
5204
5646
  MEMBER: "MEMBER",
5205
5647
  ORGANIZATION: "ORGANIZATION",
@@ -5210,6 +5652,39 @@ const ListCisScansSortBy = {
5210
5652
  SCHEDULED_BY: "SCHEDULED_BY",
5211
5653
  STATUS: "STATUS",
5212
5654
  };
5655
+ const SortField = {
5656
+ AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID",
5657
+ COMPONENT_TYPE: "COMPONENT_TYPE",
5658
+ ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT",
5659
+ ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY",
5660
+ ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME",
5661
+ EPSS_SCORE: "EPSS_SCORE",
5662
+ FINDING_STATUS: "FINDING_STATUS",
5663
+ FINDING_TYPE: "FINDING_TYPE",
5664
+ FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT",
5665
+ INSPECTOR_SCORE: "INSPECTOR_SCORE",
5666
+ LAST_OBSERVED_AT: "LAST_OBSERVED_AT",
5667
+ NETWORK_PROTOCOL: "NETWORK_PROTOCOL",
5668
+ RESOURCE_TYPE: "RESOURCE_TYPE",
5669
+ SEVERITY: "SEVERITY",
5670
+ VENDOR_SEVERITY: "VENDOR_SEVERITY",
5671
+ VULNERABILITY_ID: "VULNERABILITY_ID",
5672
+ VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE",
5673
+ };
5674
+ const UsageType = {
5675
+ CODE_REPOSITORY_IAC: "CODE_REPOSITORY_IAC",
5676
+ CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST",
5677
+ CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA",
5678
+ EC2_AGENTLESS_INSTANCE_HOURS: "EC2_AGENTLESS_INSTANCE_HOURS",
5679
+ EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS",
5680
+ ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN",
5681
+ ECR_RESCAN: "ECR_RESCAN",
5682
+ LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS",
5683
+ LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS",
5684
+ };
5685
+ const VulnerabilitySource = {
5686
+ NVD: "NVD",
5687
+ };
5213
5688
  const StopCisSessionStatus = {
5214
5689
  FAILED: "FAILED",
5215
5690
  INTERRUPTED: "INTERRUPTED",
@@ -5226,8 +5701,15 @@ Object.defineProperty(exports, "__Client", {
5226
5701
  get: function () { return smithyClient.Client; }
5227
5702
  });
5228
5703
  exports.AccessDeniedException = AccessDeniedException$1;
5704
+ exports.AccountSortBy = AccountSortBy;
5705
+ exports.AggregationFindingType = AggregationFindingType;
5706
+ exports.AggregationResourceType = AggregationResourceType;
5707
+ exports.AggregationType = AggregationType;
5708
+ exports.AmiSortBy = AmiSortBy;
5709
+ exports.Architecture = Architecture;
5229
5710
  exports.AssociateMemberCommand = AssociateMemberCommand;
5230
5711
  exports.AssociationResultStatusCode = AssociationResultStatusCode;
5712
+ exports.AwsEcrContainerSortBy = AwsEcrContainerSortBy;
5231
5713
  exports.BadRequestException = BadRequestException$1;
5232
5714
  exports.BatchAssociateCodeSecurityScanConfigurationCommand = BatchAssociateCodeSecurityScanConfigurationCommand;
5233
5715
  exports.BatchDisassociateCodeSecurityScanConfigurationCommand = BatchDisassociateCodeSecurityScanConfigurationCommand;
@@ -5259,17 +5741,25 @@ exports.CisStringComparison = CisStringComparison;
5259
5741
  exports.CisTargetStatus = CisTargetStatus;
5260
5742
  exports.CisTargetStatusComparison = CisTargetStatusComparison;
5261
5743
  exports.CisTargetStatusReason = CisTargetStatusReason;
5744
+ exports.CodeRepositoryProviderType = CodeRepositoryProviderType;
5745
+ exports.CodeRepositorySortBy = CodeRepositorySortBy;
5262
5746
  exports.CodeScanStatus = CodeScanStatus;
5747
+ exports.CodeSnippetErrorCode = CodeSnippetErrorCode;
5263
5748
  exports.ConfigurationLevel = ConfigurationLevel;
5264
5749
  exports.ConflictException = ConflictException$1;
5265
5750
  exports.ContinuousIntegrationScanEvent = ContinuousIntegrationScanEvent;
5751
+ exports.CoverageMapComparison = CoverageMapComparison;
5752
+ exports.CoverageResourceType = CoverageResourceType;
5753
+ exports.CoverageStringComparison = CoverageStringComparison;
5266
5754
  exports.CreateCisScanConfigurationCommand = CreateCisScanConfigurationCommand;
5267
5755
  exports.CreateCodeSecurityIntegrationCommand = CreateCodeSecurityIntegrationCommand;
5268
5756
  exports.CreateCodeSecurityScanConfigurationCommand = CreateCodeSecurityScanConfigurationCommand;
5269
5757
  exports.CreateFilterCommand = CreateFilterCommand;
5270
5758
  exports.CreateFindingsReportCommand = CreateFindingsReportCommand;
5271
5759
  exports.CreateSbomExportCommand = CreateSbomExportCommand;
5760
+ exports.Currency = Currency;
5272
5761
  exports.Day = Day;
5762
+ exports.DelegatedAdminStatus = DelegatedAdminStatus;
5273
5763
  exports.DeleteCisScanConfigurationCommand = DeleteCisScanConfigurationCommand;
5274
5764
  exports.DeleteCodeSecurityIntegrationCommand = DeleteCodeSecurityIntegrationCommand;
5275
5765
  exports.DeleteCodeSecurityScanConfigurationCommand = DeleteCodeSecurityScanConfigurationCommand;
@@ -5278,8 +5768,30 @@ exports.DescribeOrganizationConfigurationCommand = DescribeOrganizationConfigura
5278
5768
  exports.DisableCommand = DisableCommand;
5279
5769
  exports.DisableDelegatedAdminAccountCommand = DisableDelegatedAdminAccountCommand;
5280
5770
  exports.DisassociateMemberCommand = DisassociateMemberCommand;
5771
+ exports.Ec2DeepInspectionStatus = Ec2DeepInspectionStatus;
5772
+ exports.Ec2InstanceSortBy = Ec2InstanceSortBy;
5773
+ exports.Ec2Platform = Ec2Platform;
5774
+ exports.Ec2ScanMode = Ec2ScanMode;
5775
+ exports.Ec2ScanModeStatus = Ec2ScanModeStatus;
5776
+ exports.EcrPullDateRescanDuration = EcrPullDateRescanDuration;
5777
+ exports.EcrPullDateRescanMode = EcrPullDateRescanMode;
5778
+ exports.EcrRescanDuration = EcrRescanDuration;
5779
+ exports.EcrRescanDurationStatus = EcrRescanDurationStatus;
5780
+ exports.EcrScanFrequency = EcrScanFrequency;
5281
5781
  exports.EnableCommand = EnableCommand;
5282
5782
  exports.EnableDelegatedAdminAccountCommand = EnableDelegatedAdminAccountCommand;
5783
+ exports.ErrorCode = ErrorCode;
5784
+ exports.ExploitAvailable = ExploitAvailable;
5785
+ exports.ExternalReportStatus = ExternalReportStatus;
5786
+ exports.FilterAction = FilterAction;
5787
+ exports.FindingDetailsErrorCode = FindingDetailsErrorCode;
5788
+ exports.FindingStatus = FindingStatus;
5789
+ exports.FindingType = FindingType;
5790
+ exports.FindingTypeSortBy = FindingTypeSortBy;
5791
+ exports.FixAvailable = FixAvailable;
5792
+ exports.FreeTrialInfoErrorCode = FreeTrialInfoErrorCode;
5793
+ exports.FreeTrialStatus = FreeTrialStatus;
5794
+ exports.FreeTrialType = FreeTrialType;
5283
5795
  exports.GetCisScanReportCommand = GetCisScanReportCommand;
5284
5796
  exports.GetCisScanResultDetailsCommand = GetCisScanResultDetailsCommand;
5285
5797
  exports.GetClustersForImageCommand = GetClustersForImageCommand;
@@ -5293,12 +5805,16 @@ exports.GetEncryptionKeyCommand = GetEncryptionKeyCommand;
5293
5805
  exports.GetFindingsReportStatusCommand = GetFindingsReportStatusCommand;
5294
5806
  exports.GetMemberCommand = GetMemberCommand;
5295
5807
  exports.GetSbomExportCommand = GetSbomExportCommand;
5808
+ exports.GroupKey = GroupKey;
5809
+ exports.ImageLayerSortBy = ImageLayerSortBy;
5296
5810
  exports.Inspector2 = Inspector2;
5297
5811
  exports.Inspector2Client = Inspector2Client;
5298
5812
  exports.Inspector2ServiceException = Inspector2ServiceException$1;
5299
5813
  exports.IntegrationStatus = IntegrationStatus;
5300
5814
  exports.IntegrationType = IntegrationType;
5301
5815
  exports.InternalServerException = InternalServerException$1;
5816
+ exports.LambdaFunctionSortBy = LambdaFunctionSortBy;
5817
+ exports.LambdaLayerSortBy = LambdaLayerSortBy;
5302
5818
  exports.ListAccountPermissionsCommand = ListAccountPermissionsCommand;
5303
5819
  exports.ListCisScanConfigurationsCommand = ListCisScanConfigurationsCommand;
5304
5820
  exports.ListCisScanResultsAggregatedByChecksCommand = ListCisScanResultsAggregatedByChecksCommand;
@@ -5318,22 +5834,49 @@ exports.ListFindingsCommand = ListFindingsCommand;
5318
5834
  exports.ListMembersCommand = ListMembersCommand;
5319
5835
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
5320
5836
  exports.ListUsageTotalsCommand = ListUsageTotalsCommand;
5837
+ exports.MapComparison = MapComparison;
5838
+ exports.NetworkProtocol = NetworkProtocol;
5839
+ exports.Operation = Operation;
5840
+ exports.PackageManager = PackageManager;
5841
+ exports.PackageSortBy = PackageSortBy;
5842
+ exports.PackageType = PackageType;
5321
5843
  exports.PeriodicScanFrequency = PeriodicScanFrequency;
5322
5844
  exports.ProjectSelectionScope = ProjectSelectionScope;
5845
+ exports.RelationshipStatus = RelationshipStatus;
5846
+ exports.ReportFormat = ReportFormat;
5847
+ exports.ReportingErrorCode = ReportingErrorCode;
5848
+ exports.RepositorySortBy = RepositorySortBy;
5323
5849
  exports.ResetEncryptionKeyCommand = ResetEncryptionKeyCommand;
5850
+ exports.ResourceMapComparison = ResourceMapComparison;
5324
5851
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
5852
+ exports.ResourceScanType = ResourceScanType;
5853
+ exports.ResourceStringComparison = ResourceStringComparison;
5854
+ exports.ResourceType = ResourceType;
5325
5855
  exports.RuleSetCategory = RuleSetCategory;
5856
+ exports.Runtime = Runtime;
5857
+ exports.SbomReportFormat = SbomReportFormat;
5858
+ exports.ScanMode = ScanMode;
5859
+ exports.ScanStatusCode = ScanStatusCode;
5860
+ exports.ScanStatusReason = ScanStatusReason;
5861
+ exports.ScanType = ScanType;
5326
5862
  exports.SearchVulnerabilitiesCommand = SearchVulnerabilitiesCommand;
5327
5863
  exports.SendCisSessionHealthCommand = SendCisSessionHealthCommand;
5328
5864
  exports.SendCisSessionTelemetryCommand = SendCisSessionTelemetryCommand;
5865
+ exports.Service = Service;
5329
5866
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
5867
+ exports.Severity = Severity;
5868
+ exports.SortField = SortField;
5869
+ exports.SortOrder = SortOrder;
5330
5870
  exports.StartCisSessionCommand = StartCisSessionCommand;
5331
5871
  exports.StartCodeSecurityScanCommand = StartCodeSecurityScanCommand;
5872
+ exports.Status = Status;
5332
5873
  exports.StopCisSessionCommand = StopCisSessionCommand;
5333
5874
  exports.StopCisSessionStatus = StopCisSessionStatus;
5875
+ exports.StringComparison = StringComparison;
5334
5876
  exports.TagComparison = TagComparison;
5335
5877
  exports.TagResourceCommand = TagResourceCommand;
5336
5878
  exports.ThrottlingException = ThrottlingException$1;
5879
+ exports.TitleSortBy = TitleSortBy;
5337
5880
  exports.UntagResourceCommand = UntagResourceCommand;
5338
5881
  exports.UpdateCisScanConfigurationCommand = UpdateCisScanConfigurationCommand;
5339
5882
  exports.UpdateCodeSecurityIntegrationCommand = UpdateCodeSecurityIntegrationCommand;
@@ -5344,7 +5887,10 @@ exports.UpdateEncryptionKeyCommand = UpdateEncryptionKeyCommand;
5344
5887
  exports.UpdateFilterCommand = UpdateFilterCommand;
5345
5888
  exports.UpdateOrgEc2DeepInspectionConfigurationCommand = UpdateOrgEc2DeepInspectionConfigurationCommand;
5346
5889
  exports.UpdateOrganizationConfigurationCommand = UpdateOrganizationConfigurationCommand;
5890
+ exports.UsageType = UsageType;
5347
5891
  exports.ValidationException = ValidationException$1;
5892
+ exports.ValidationExceptionReason = ValidationExceptionReason;
5893
+ exports.VulnerabilitySource = VulnerabilitySource;
5348
5894
  exports.paginateGetCisScanResultDetails = paginateGetCisScanResultDetails;
5349
5895
  exports.paginateGetClustersForImage = paginateGetClustersForImage;
5350
5896
  exports.paginateListAccountPermissions = paginateListAccountPermissions;