@aws-sdk/client-inspector2 3.1157.0 → 3.1158.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.
- package/README.md +22 -2
- package/dist-cjs/index.js +273 -61
- package/dist-es/Inspector2.js +8 -0
- package/dist-es/commands/GetOnDemandScanStatusCommand.js +4 -0
- package/dist-es/commands/ListOnDemandScansCommand.js +4 -0
- package/dist-es/commands/StartOnDemandScanCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +49 -0
- package/dist-es/pagination/ListOnDemandScansPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +181 -60
- package/dist-types/Inspector2.d.ts +29 -2
- package/dist-types/Inspector2Client.d.ts +6 -4
- package/dist-types/commands/AssociateMemberCommand.d.ts +4 -11
- package/dist-types/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +5 -11
- package/dist-types/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +5 -11
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +5 -7
- package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +3 -7
- package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +2 -5
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -5
- package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +3 -8
- package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +3 -8
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +3 -7
- package/dist-types/commands/CancelSbomExportCommand.d.ts +3 -7
- package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +2 -5
- package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +5 -14
- package/dist-types/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +4 -9
- package/dist-types/commands/CreateConnectorCommand.d.ts +4 -9
- package/dist-types/commands/CreateFilterCommand.d.ts +8 -9
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +9 -10
- package/dist-types/commands/CreateSbomExportCommand.d.ts +4 -7
- package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/DeleteCodeSecurityIntegrationCommand.d.ts +3 -7
- package/dist-types/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/DeleteConnectorCommand.d.ts +4 -9
- package/dist-types/commands/DeleteFilterCommand.d.ts +3 -7
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -5
- package/dist-types/commands/DisableCommand.d.ts +6 -9
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +4 -9
- package/dist-types/commands/DisassociateMemberCommand.d.ts +2 -5
- package/dist-types/commands/EnableCommand.d.ts +5 -7
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +4 -9
- package/dist-types/commands/GetCisScanReportCommand.d.ts +3 -7
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +2 -5
- package/dist-types/commands/GetClustersForImageCommand.d.ts +2 -5
- package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +3 -7
- package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +4 -9
- package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/GetConfigurationCommand.d.ts +21 -12
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +4 -9
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/GetEncryptionKeyCommand.d.ts +3 -7
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +8 -7
- package/dist-types/commands/GetMemberCommand.d.ts +3 -7
- package/dist-types/commands/GetOnDemandScanStatusCommand.d.ts +94 -0
- package/dist-types/commands/GetSbomExportCommand.d.ts +4 -7
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +3 -9
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +2 -5
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +2 -5
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +3 -6
- package/dist-types/commands/ListCisScansCommand.d.ts +3 -6
- package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +3 -6
- package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +5 -11
- package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +3 -7
- package/dist-types/commands/ListConnectorScanConfigurationsCommand.d.ts +2 -5
- package/dist-types/commands/ListConnectorsCommand.d.ts +2 -5
- package/dist-types/commands/ListCoverageCommand.d.ts +14 -2
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +8 -2
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +2 -5
- package/dist-types/commands/ListFiltersCommand.d.ts +6 -5
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +5 -2
- package/dist-types/commands/ListFindingsCommand.d.ts +18 -2
- package/dist-types/commands/ListMembersCommand.d.ts +3 -7
- package/dist-types/commands/ListOnDemandScansCommand.d.ts +97 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -4
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -5
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +4 -9
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +2 -5
- package/dist-types/commands/SendCisSessionHealthCommand.d.ts +4 -10
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +4 -10
- package/dist-types/commands/StartCisSessionCommand.d.ts +4 -10
- package/dist-types/commands/StartCodeSecurityScanCommand.d.ts +4 -9
- package/dist-types/commands/StartOnDemandScanCommand.d.ts +88 -0
- package/dist-types/commands/StopCisSessionCommand.d.ts +4 -10
- package/dist-types/commands/TagResourceCommand.d.ts +2 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -4
- package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +5 -14
- package/dist-types/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +4 -9
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +22 -11
- package/dist-types/commands/UpdateConnectorCommand.d.ts +4 -9
- package/dist-types/commands/UpdateConnectorScanConfigurationCommand.d.ts +4 -9
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +4 -9
- package/dist-types/commands/UpdateFilterCommand.d.ts +7 -7
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +3 -7
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -5
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -2
- package/dist-types/models/enums.d.ts +113 -0
- package/dist-types/models/errors.d.ts +5 -11
- package/dist-types/models/models_0.d.ts +533 -1195
- package/dist-types/models/models_1.d.ts +381 -170
- package/dist-types/pagination/ListOnDemandScansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/Inspector2.d.ts +58 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetOnDemandScanStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListOnDemandScansCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartOnDemandScanCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +59 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -52
- package/dist-types/ts3.4/models/models_1.d.ts +95 -0
- package/dist-types/ts3.4/pagination/ListOnDemandScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +1 -1
package/dist-es/Inspector2.js
CHANGED
|
@@ -40,6 +40,7 @@ import { GetEc2DeepInspectionConfigurationCommand, } from "./commands/GetEc2Deep
|
|
|
40
40
|
import { GetEncryptionKeyCommand, } from "./commands/GetEncryptionKeyCommand";
|
|
41
41
|
import { GetFindingsReportStatusCommand, } from "./commands/GetFindingsReportStatusCommand";
|
|
42
42
|
import { GetMemberCommand } from "./commands/GetMemberCommand";
|
|
43
|
+
import { GetOnDemandScanStatusCommand, } from "./commands/GetOnDemandScanStatusCommand";
|
|
43
44
|
import { GetSbomExportCommand, } from "./commands/GetSbomExportCommand";
|
|
44
45
|
import { ListAccountPermissionsCommand, } from "./commands/ListAccountPermissionsCommand";
|
|
45
46
|
import { ListCisScanConfigurationsCommand, } from "./commands/ListCisScanConfigurationsCommand";
|
|
@@ -58,6 +59,7 @@ import { ListFiltersCommand, } from "./commands/ListFiltersCommand";
|
|
|
58
59
|
import { ListFindingAggregationsCommand, } from "./commands/ListFindingAggregationsCommand";
|
|
59
60
|
import { ListFindingsCommand, } from "./commands/ListFindingsCommand";
|
|
60
61
|
import { ListMembersCommand, } from "./commands/ListMembersCommand";
|
|
62
|
+
import { ListOnDemandScansCommand, } from "./commands/ListOnDemandScansCommand";
|
|
61
63
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
62
64
|
import { ListUsageTotalsCommand, } from "./commands/ListUsageTotalsCommand";
|
|
63
65
|
import { ResetEncryptionKeyCommand, } from "./commands/ResetEncryptionKeyCommand";
|
|
@@ -66,6 +68,7 @@ import { SendCisSessionHealthCommand, } from "./commands/SendCisSessionHealthCom
|
|
|
66
68
|
import { SendCisSessionTelemetryCommand, } from "./commands/SendCisSessionTelemetryCommand";
|
|
67
69
|
import { StartCisSessionCommand, } from "./commands/StartCisSessionCommand";
|
|
68
70
|
import { StartCodeSecurityScanCommand, } from "./commands/StartCodeSecurityScanCommand";
|
|
71
|
+
import { StartOnDemandScanCommand, } from "./commands/StartOnDemandScanCommand";
|
|
69
72
|
import { StopCisSessionCommand, } from "./commands/StopCisSessionCommand";
|
|
70
73
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
71
74
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -97,6 +100,7 @@ import { paginateListFilters } from "./pagination/ListFiltersPaginator";
|
|
|
97
100
|
import { paginateListFindingAggregations } from "./pagination/ListFindingAggregationsPaginator";
|
|
98
101
|
import { paginateListFindings } from "./pagination/ListFindingsPaginator";
|
|
99
102
|
import { paginateListMembers } from "./pagination/ListMembersPaginator";
|
|
103
|
+
import { paginateListOnDemandScans } from "./pagination/ListOnDemandScansPaginator";
|
|
100
104
|
import { paginateListUsageTotals } from "./pagination/ListUsageTotalsPaginator";
|
|
101
105
|
import { paginateSearchVulnerabilities } from "./pagination/SearchVulnerabilitiesPaginator";
|
|
102
106
|
import { waitUntilConnectorConnected } from "./waiters/waitForConnectorConnected";
|
|
@@ -144,6 +148,7 @@ const commands = {
|
|
|
144
148
|
GetEncryptionKeyCommand,
|
|
145
149
|
GetFindingsReportStatusCommand,
|
|
146
150
|
GetMemberCommand,
|
|
151
|
+
GetOnDemandScanStatusCommand,
|
|
147
152
|
GetSbomExportCommand,
|
|
148
153
|
ListAccountPermissionsCommand,
|
|
149
154
|
ListCisScanConfigurationsCommand,
|
|
@@ -162,6 +167,7 @@ const commands = {
|
|
|
162
167
|
ListFindingAggregationsCommand,
|
|
163
168
|
ListFindingsCommand,
|
|
164
169
|
ListMembersCommand,
|
|
170
|
+
ListOnDemandScansCommand,
|
|
165
171
|
ListTagsForResourceCommand,
|
|
166
172
|
ListUsageTotalsCommand,
|
|
167
173
|
ResetEncryptionKeyCommand,
|
|
@@ -170,6 +176,7 @@ const commands = {
|
|
|
170
176
|
SendCisSessionTelemetryCommand,
|
|
171
177
|
StartCisSessionCommand,
|
|
172
178
|
StartCodeSecurityScanCommand,
|
|
179
|
+
StartOnDemandScanCommand,
|
|
173
180
|
StopCisSessionCommand,
|
|
174
181
|
TagResourceCommand,
|
|
175
182
|
UntagResourceCommand,
|
|
@@ -202,6 +209,7 @@ const paginators = {
|
|
|
202
209
|
paginateListFindingAggregations,
|
|
203
210
|
paginateListFindings,
|
|
204
211
|
paginateListMembers,
|
|
212
|
+
paginateListOnDemandScans,
|
|
205
213
|
paginateListUsageTotals,
|
|
206
214
|
paginateSearchVulnerabilities,
|
|
207
215
|
};
|
|
@@ -39,6 +39,7 @@ export * from "./GetEc2DeepInspectionConfigurationCommand";
|
|
|
39
39
|
export * from "./GetEncryptionKeyCommand";
|
|
40
40
|
export * from "./GetFindingsReportStatusCommand";
|
|
41
41
|
export * from "./GetMemberCommand";
|
|
42
|
+
export * from "./GetOnDemandScanStatusCommand";
|
|
42
43
|
export * from "./GetSbomExportCommand";
|
|
43
44
|
export * from "./ListAccountPermissionsCommand";
|
|
44
45
|
export * from "./ListCisScanConfigurationsCommand";
|
|
@@ -57,6 +58,7 @@ export * from "./ListFiltersCommand";
|
|
|
57
58
|
export * from "./ListFindingAggregationsCommand";
|
|
58
59
|
export * from "./ListFindingsCommand";
|
|
59
60
|
export * from "./ListMembersCommand";
|
|
61
|
+
export * from "./ListOnDemandScansCommand";
|
|
60
62
|
export * from "./ListTagsForResourceCommand";
|
|
61
63
|
export * from "./ListUsageTotalsCommand";
|
|
62
64
|
export * from "./ResetEncryptionKeyCommand";
|
|
@@ -65,6 +67,7 @@ export * from "./SendCisSessionHealthCommand";
|
|
|
65
67
|
export * from "./SendCisSessionTelemetryCommand";
|
|
66
68
|
export * from "./StartCisSessionCommand";
|
|
67
69
|
export * from "./StartCodeSecurityScanCommand";
|
|
70
|
+
export * from "./StartOnDemandScanCommand";
|
|
68
71
|
export * from "./StopCisSessionCommand";
|
|
69
72
|
export * from "./TagResourceCommand";
|
|
70
73
|
export * from "./UntagResourceCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -58,6 +58,10 @@ export const StringComparison = {
|
|
|
58
58
|
NOT_EQUALS: "NOT_EQUALS",
|
|
59
59
|
PREFIX: "PREFIX",
|
|
60
60
|
};
|
|
61
|
+
export const ScanSource = {
|
|
62
|
+
INSTANCE_SCAN: "INSTANCE_SCAN",
|
|
63
|
+
MACHINE_IMAGE_SCAN: "MACHINE_IMAGE_SCAN",
|
|
64
|
+
};
|
|
61
65
|
export const AmiSortBy = {
|
|
62
66
|
AFFECTED_INSTANCES: "AFFECTED_INSTANCES",
|
|
63
67
|
ALL: "ALL",
|
|
@@ -156,6 +160,23 @@ export const AggregationType = {
|
|
|
156
160
|
TITLE: "TITLE",
|
|
157
161
|
VM_INSTANCE: "VM_INSTANCE",
|
|
158
162
|
};
|
|
163
|
+
export const AmiScanDuration = {
|
|
164
|
+
DAYS_14: "DAYS_14",
|
|
165
|
+
DAYS_180: "DAYS_180",
|
|
166
|
+
DAYS_30: "DAYS_30",
|
|
167
|
+
DAYS_60: "DAYS_60",
|
|
168
|
+
DAYS_7: "DAYS_7",
|
|
169
|
+
DAYS_90: "DAYS_90",
|
|
170
|
+
};
|
|
171
|
+
export const AmiScanMode = {
|
|
172
|
+
SCAN_ALL: "SCAN_ALL",
|
|
173
|
+
TARGET_SCANNING: "TARGET_SCANNING",
|
|
174
|
+
};
|
|
175
|
+
export const AmiConfigurationStatus = {
|
|
176
|
+
FAILED: "FAILED",
|
|
177
|
+
PENDING: "PENDING",
|
|
178
|
+
SUCCESS: "SUCCESS",
|
|
179
|
+
};
|
|
159
180
|
export const Architecture = {
|
|
160
181
|
ARM64: "ARM64",
|
|
161
182
|
X86_64: "X86_64",
|
|
@@ -252,6 +273,7 @@ export const FreeTrialType = {
|
|
|
252
273
|
ECR: "ECR",
|
|
253
274
|
LAMBDA: "LAMBDA",
|
|
254
275
|
LAMBDA_CODE: "LAMBDA_CODE",
|
|
276
|
+
MACHINE_IMAGE: "MACHINE_IMAGE",
|
|
255
277
|
SERVERLESS_FUNCTION: "SERVERLESS_FUNCTION",
|
|
256
278
|
VM: "VM",
|
|
257
279
|
};
|
|
@@ -382,10 +404,12 @@ export const ScanStatusReason = {
|
|
|
382
404
|
DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED",
|
|
383
405
|
EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED",
|
|
384
406
|
EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG",
|
|
407
|
+
EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED: "EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED",
|
|
385
408
|
IMAGE_ARCHIVED: "IMAGE_ARCHIVED",
|
|
386
409
|
IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED",
|
|
387
410
|
INTEGRATION_CONNECTION_LOST: "INTEGRATION_CONNECTION_LOST",
|
|
388
411
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
412
|
+
INVALID_ARTIFACT: "INVALID_ARTIFACT",
|
|
389
413
|
NO_INVENTORY: "NO_INVENTORY",
|
|
390
414
|
NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND",
|
|
391
415
|
NO_SCAN_CONFIGURATION_ASSOCIATED: "NO_SCAN_CONFIGURATION_ASSOCIATED",
|
|
@@ -400,6 +424,7 @@ export const ScanStatusReason = {
|
|
|
400
424
|
SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH",
|
|
401
425
|
SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS",
|
|
402
426
|
STALE_INVENTORY: "STALE_INVENTORY",
|
|
427
|
+
STORAGE_LIMIT_EXCEEDED: "STORAGE_LIMIT_EXCEEDED",
|
|
403
428
|
SUCCESSFUL: "SUCCESSFUL",
|
|
404
429
|
UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE",
|
|
405
430
|
UNSUPPORTED_CODE_ARTIFACTS: "UNSUPPORTED_CODE_ARTIFACTS",
|
|
@@ -528,6 +553,7 @@ export const CoverageResourceType = {
|
|
|
528
553
|
AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
|
|
529
554
|
AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
|
|
530
555
|
CODE_REPOSITORY: "CODE_REPOSITORY",
|
|
556
|
+
MACHINE_IMAGE: "MACHINE_IMAGE",
|
|
531
557
|
MICROSOFT_COMPUTE_VIRTUAL_MACHINES: "Microsoft.Compute/virtualMachines",
|
|
532
558
|
MICROSOFT_CONTAINER_REGISTRY_REGISTRIES: "Microsoft.ContainerRegistry/registries",
|
|
533
559
|
MICROSOFT_CONTAINER_REGISTRY_REGISTRY_CONTAINER_IMAGE: "Microsoft.ContainerRegistry/registry/containerImage",
|
|
@@ -545,6 +571,11 @@ export const EcrScanFrequency = {
|
|
|
545
571
|
MANUAL: "MANUAL",
|
|
546
572
|
SCAN_ON_PUSH: "SCAN_ON_PUSH",
|
|
547
573
|
};
|
|
574
|
+
export const MachineImagePlatform = {
|
|
575
|
+
LINUX: "LINUX",
|
|
576
|
+
UNKNOWN: "UNKNOWN",
|
|
577
|
+
WINDOWS: "WINDOWS",
|
|
578
|
+
};
|
|
548
579
|
export const VmPlatform = {
|
|
549
580
|
LINUX: "LINUX",
|
|
550
581
|
UNKNOWN: "UNKNOWN",
|
|
@@ -694,6 +725,7 @@ export const ResourceType = {
|
|
|
694
725
|
AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
|
|
695
726
|
AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
|
|
696
727
|
CODE_REPOSITORY: "CODE_REPOSITORY",
|
|
728
|
+
MACHINE_IMAGE: "MACHINE_IMAGE",
|
|
697
729
|
MICROSOFT_COMPUTE_VIRTUAL_MACHINES: "Microsoft.Compute/virtualMachines",
|
|
698
730
|
MICROSOFT_CONTAINER_REGISTRY_REGISTRY_CONTAINER_IMAGE: "Microsoft.ContainerRegistry/registry/containerImage",
|
|
699
731
|
MICROSOFT_WEB_SITES: "Microsoft.Web/sites",
|
|
@@ -724,6 +756,22 @@ export const ReportingErrorCode = {
|
|
|
724
756
|
MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY",
|
|
725
757
|
NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND",
|
|
726
758
|
};
|
|
759
|
+
export const OnDemandResourceType = {
|
|
760
|
+
AMI: "AMI",
|
|
761
|
+
};
|
|
762
|
+
export const OnDemandScanStatus = {
|
|
763
|
+
FAILED: "FAILED",
|
|
764
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
765
|
+
SUCCESSFUL: "SUCCESSFUL",
|
|
766
|
+
};
|
|
767
|
+
export const OnDemandScanStatusReason = {
|
|
768
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
769
|
+
EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED: "EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED",
|
|
770
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
771
|
+
RESOURCE_TERMINATED: "RESOURCE_TERMINATED",
|
|
772
|
+
STORAGE_LIMIT_EXCEEDED: "STORAGE_LIMIT_EXCEEDED",
|
|
773
|
+
UNSUPPORTED_OS: "UNSUPPORTED_OS",
|
|
774
|
+
};
|
|
727
775
|
export const InheritanceMode = {
|
|
728
776
|
INHERIT_FROM_ADMIN: "INHERIT_FROM_ADMIN",
|
|
729
777
|
};
|
|
@@ -776,6 +824,7 @@ export const UsageType = {
|
|
|
776
824
|
CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST",
|
|
777
825
|
CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA",
|
|
778
826
|
EC2_AGENTLESS_INSTANCE_HOURS: "EC2_AGENTLESS_INSTANCE_HOURS",
|
|
827
|
+
EC2_AMI_HOURS: "EC2_AMI_HOURS",
|
|
779
828
|
EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS",
|
|
780
829
|
ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN",
|
|
781
830
|
ECR_RESCAN: "ECR_RESCAN",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListOnDemandScansCommand, } from "../commands/ListOnDemandScansCommand";
|
|
3
|
+
import { Inspector2Client } from "../Inspector2Client";
|
|
4
|
+
export const paginateListOnDemandScans = createPaginator(Inspector2Client, ListOnDemandScansCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -15,5 +15,6 @@ export * from "./ListFiltersPaginator";
|
|
|
15
15
|
export * from "./ListFindingAggregationsPaginator";
|
|
16
16
|
export * from "./ListFindingsPaginator";
|
|
17
17
|
export * from "./ListMembersPaginator";
|
|
18
|
+
export * from "./ListOnDemandScansPaginator";
|
|
18
19
|
export * from "./ListUsageTotalsPaginator";
|
|
19
20
|
export * from "./SearchVulnerabilitiesPaginator";
|