@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
|
@@ -40,6 +40,7 @@ declare const UpdateOrganizationConfigurationCommand_base: {
|
|
|
40
40
|
* lambda: true || false,
|
|
41
41
|
* lambdaCode: true || false,
|
|
42
42
|
* codeRepository: true || false,
|
|
43
|
+
* ami: true || false,
|
|
43
44
|
* },
|
|
44
45
|
* };
|
|
45
46
|
* const command = new UpdateOrganizationConfigurationCommand(input);
|
|
@@ -51,6 +52,7 @@ declare const UpdateOrganizationConfigurationCommand_base: {
|
|
|
51
52
|
* // lambda: true || false,
|
|
52
53
|
* // lambdaCode: true || false,
|
|
53
54
|
* // codeRepository: true || false,
|
|
55
|
+
* // ami: true || false,
|
|
54
56
|
* // },
|
|
55
57
|
* // };
|
|
56
58
|
*
|
|
@@ -63,9 +65,7 @@ declare const UpdateOrganizationConfigurationCommand_base: {
|
|
|
63
65
|
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
64
66
|
*
|
|
65
67
|
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
67
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
68
|
-
* unsupported Amazon Web Services Region. </p>
|
|
68
|
+
* <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link InternalServerException} (server fault)
|
|
71
71
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
@@ -74,8 +74,7 @@ declare const UpdateOrganizationConfigurationCommand_base: {
|
|
|
74
74
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ValidationException} (client fault)
|
|
77
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
78
|
-
* inputs.</p>
|
|
77
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
79
78
|
*
|
|
80
79
|
* @throws {@link Inspector2ServiceException}
|
|
81
80
|
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
@@ -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-types/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>Amazon Inspector is a vulnerability discovery service that automates continuous scanning for
|
|
3
|
-
* security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.</p>
|
|
2
|
+
* <p>Amazon Inspector is a vulnerability discovery service that automates continuous scanning for security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.</p>
|
|
4
3
|
*
|
|
5
4
|
* @packageDocumentation
|
|
6
5
|
*/
|
|
@@ -122,6 +122,18 @@ export declare const StringComparison: {
|
|
|
122
122
|
* @public
|
|
123
123
|
*/
|
|
124
124
|
export type StringComparison = (typeof StringComparison)[keyof typeof StringComparison];
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* @enum
|
|
128
|
+
*/
|
|
129
|
+
export declare const ScanSource: {
|
|
130
|
+
readonly INSTANCE_SCAN: "INSTANCE_SCAN";
|
|
131
|
+
readonly MACHINE_IMAGE_SCAN: "MACHINE_IMAGE_SCAN";
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export type ScanSource = (typeof ScanSource)[keyof typeof ScanSource];
|
|
125
137
|
/**
|
|
126
138
|
* @public
|
|
127
139
|
* @enum
|
|
@@ -356,6 +368,47 @@ export declare const AggregationType: {
|
|
|
356
368
|
* @public
|
|
357
369
|
*/
|
|
358
370
|
export type AggregationType = (typeof AggregationType)[keyof typeof AggregationType];
|
|
371
|
+
/**
|
|
372
|
+
* @public
|
|
373
|
+
* @enum
|
|
374
|
+
*/
|
|
375
|
+
export declare const AmiScanDuration: {
|
|
376
|
+
readonly DAYS_14: "DAYS_14";
|
|
377
|
+
readonly DAYS_180: "DAYS_180";
|
|
378
|
+
readonly DAYS_30: "DAYS_30";
|
|
379
|
+
readonly DAYS_60: "DAYS_60";
|
|
380
|
+
readonly DAYS_7: "DAYS_7";
|
|
381
|
+
readonly DAYS_90: "DAYS_90";
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
export type AmiScanDuration = (typeof AmiScanDuration)[keyof typeof AmiScanDuration];
|
|
387
|
+
/**
|
|
388
|
+
* @public
|
|
389
|
+
* @enum
|
|
390
|
+
*/
|
|
391
|
+
export declare const AmiScanMode: {
|
|
392
|
+
readonly SCAN_ALL: "SCAN_ALL";
|
|
393
|
+
readonly TARGET_SCANNING: "TARGET_SCANNING";
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
export type AmiScanMode = (typeof AmiScanMode)[keyof typeof AmiScanMode];
|
|
399
|
+
/**
|
|
400
|
+
* @public
|
|
401
|
+
* @enum
|
|
402
|
+
*/
|
|
403
|
+
export declare const AmiConfigurationStatus: {
|
|
404
|
+
readonly FAILED: "FAILED";
|
|
405
|
+
readonly PENDING: "PENDING";
|
|
406
|
+
readonly SUCCESS: "SUCCESS";
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
export type AmiConfigurationStatus = (typeof AmiConfigurationStatus)[keyof typeof AmiConfigurationStatus];
|
|
359
412
|
/**
|
|
360
413
|
* @public
|
|
361
414
|
* @enum
|
|
@@ -552,6 +605,7 @@ export declare const FreeTrialType: {
|
|
|
552
605
|
readonly ECR: "ECR";
|
|
553
606
|
readonly LAMBDA: "LAMBDA";
|
|
554
607
|
readonly LAMBDA_CODE: "LAMBDA_CODE";
|
|
608
|
+
readonly MACHINE_IMAGE: "MACHINE_IMAGE";
|
|
555
609
|
readonly SERVERLESS_FUNCTION: "SERVERLESS_FUNCTION";
|
|
556
610
|
readonly VM: "VM";
|
|
557
611
|
};
|
|
@@ -882,10 +936,12 @@ export declare const ScanStatusReason: {
|
|
|
882
936
|
readonly DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED";
|
|
883
937
|
readonly EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED";
|
|
884
938
|
readonly EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG";
|
|
939
|
+
readonly EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED: "EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED";
|
|
885
940
|
readonly IMAGE_ARCHIVED: "IMAGE_ARCHIVED";
|
|
886
941
|
readonly IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED";
|
|
887
942
|
readonly INTEGRATION_CONNECTION_LOST: "INTEGRATION_CONNECTION_LOST";
|
|
888
943
|
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
944
|
+
readonly INVALID_ARTIFACT: "INVALID_ARTIFACT";
|
|
889
945
|
readonly NO_INVENTORY: "NO_INVENTORY";
|
|
890
946
|
readonly NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND";
|
|
891
947
|
readonly NO_SCAN_CONFIGURATION_ASSOCIATED: "NO_SCAN_CONFIGURATION_ASSOCIATED";
|
|
@@ -900,6 +956,7 @@ export declare const ScanStatusReason: {
|
|
|
900
956
|
readonly SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH";
|
|
901
957
|
readonly SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS";
|
|
902
958
|
readonly STALE_INVENTORY: "STALE_INVENTORY";
|
|
959
|
+
readonly STORAGE_LIMIT_EXCEEDED: "STORAGE_LIMIT_EXCEEDED";
|
|
903
960
|
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
904
961
|
readonly UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE";
|
|
905
962
|
readonly UNSUPPORTED_CODE_ARTIFACTS: "UNSUPPORTED_CODE_ARTIFACTS";
|
|
@@ -1204,6 +1261,7 @@ export declare const CoverageResourceType: {
|
|
|
1204
1261
|
readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
|
|
1205
1262
|
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
1206
1263
|
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
1264
|
+
readonly MACHINE_IMAGE: "MACHINE_IMAGE";
|
|
1207
1265
|
readonly MICROSOFT_COMPUTE_VIRTUAL_MACHINES: "Microsoft.Compute/virtualMachines";
|
|
1208
1266
|
readonly MICROSOFT_CONTAINER_REGISTRY_REGISTRIES: "Microsoft.ContainerRegistry/registries";
|
|
1209
1267
|
readonly MICROSOFT_CONTAINER_REGISTRY_REGISTRY_CONTAINER_IMAGE: "Microsoft.ContainerRegistry/registry/containerImage";
|
|
@@ -1241,6 +1299,19 @@ export declare const EcrScanFrequency: {
|
|
|
1241
1299
|
* @public
|
|
1242
1300
|
*/
|
|
1243
1301
|
export type EcrScanFrequency = (typeof EcrScanFrequency)[keyof typeof EcrScanFrequency];
|
|
1302
|
+
/**
|
|
1303
|
+
* @public
|
|
1304
|
+
* @enum
|
|
1305
|
+
*/
|
|
1306
|
+
export declare const MachineImagePlatform: {
|
|
1307
|
+
readonly LINUX: "LINUX";
|
|
1308
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
1309
|
+
readonly WINDOWS: "WINDOWS";
|
|
1310
|
+
};
|
|
1311
|
+
/**
|
|
1312
|
+
* @public
|
|
1313
|
+
*/
|
|
1314
|
+
export type MachineImagePlatform = (typeof MachineImagePlatform)[keyof typeof MachineImagePlatform];
|
|
1244
1315
|
/**
|
|
1245
1316
|
* @public
|
|
1246
1317
|
* @enum
|
|
@@ -1586,6 +1657,7 @@ export declare const ResourceType: {
|
|
|
1586
1657
|
readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
|
|
1587
1658
|
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
1588
1659
|
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
1660
|
+
readonly MACHINE_IMAGE: "MACHINE_IMAGE";
|
|
1589
1661
|
readonly MICROSOFT_COMPUTE_VIRTUAL_MACHINES: "Microsoft.Compute/virtualMachines";
|
|
1590
1662
|
readonly MICROSOFT_CONTAINER_REGISTRY_REGISTRY_CONTAINER_IMAGE: "Microsoft.ContainerRegistry/registry/containerImage";
|
|
1591
1663
|
readonly MICROSOFT_WEB_SITES: "Microsoft.Web/sites";
|
|
@@ -1652,6 +1724,46 @@ export declare const ReportingErrorCode: {
|
|
|
1652
1724
|
* @public
|
|
1653
1725
|
*/
|
|
1654
1726
|
export type ReportingErrorCode = (typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
|
|
1727
|
+
/**
|
|
1728
|
+
* @public
|
|
1729
|
+
* @enum
|
|
1730
|
+
*/
|
|
1731
|
+
export declare const OnDemandResourceType: {
|
|
1732
|
+
readonly AMI: "AMI";
|
|
1733
|
+
};
|
|
1734
|
+
/**
|
|
1735
|
+
* @public
|
|
1736
|
+
*/
|
|
1737
|
+
export type OnDemandResourceType = (typeof OnDemandResourceType)[keyof typeof OnDemandResourceType];
|
|
1738
|
+
/**
|
|
1739
|
+
* @public
|
|
1740
|
+
* @enum
|
|
1741
|
+
*/
|
|
1742
|
+
export declare const OnDemandScanStatus: {
|
|
1743
|
+
readonly FAILED: "FAILED";
|
|
1744
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1745
|
+
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
1746
|
+
};
|
|
1747
|
+
/**
|
|
1748
|
+
* @public
|
|
1749
|
+
*/
|
|
1750
|
+
export type OnDemandScanStatus = (typeof OnDemandScanStatus)[keyof typeof OnDemandScanStatus];
|
|
1751
|
+
/**
|
|
1752
|
+
* @public
|
|
1753
|
+
* @enum
|
|
1754
|
+
*/
|
|
1755
|
+
export declare const OnDemandScanStatusReason: {
|
|
1756
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
1757
|
+
readonly EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED: "EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED";
|
|
1758
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1759
|
+
readonly RESOURCE_TERMINATED: "RESOURCE_TERMINATED";
|
|
1760
|
+
readonly STORAGE_LIMIT_EXCEEDED: "STORAGE_LIMIT_EXCEEDED";
|
|
1761
|
+
readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
|
|
1762
|
+
};
|
|
1763
|
+
/**
|
|
1764
|
+
* @public
|
|
1765
|
+
*/
|
|
1766
|
+
export type OnDemandScanStatusReason = (typeof OnDemandScanStatusReason)[keyof typeof OnDemandScanStatusReason];
|
|
1655
1767
|
/**
|
|
1656
1768
|
* @public
|
|
1657
1769
|
* @enum
|
|
@@ -1756,6 +1868,7 @@ export declare const UsageType: {
|
|
|
1756
1868
|
readonly CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST";
|
|
1757
1869
|
readonly CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA";
|
|
1758
1870
|
readonly EC2_AGENTLESS_INSTANCE_HOURS: "EC2_AGENTLESS_INSTANCE_HOURS";
|
|
1871
|
+
readonly EC2_AMI_HOURS: "EC2_AMI_HOURS";
|
|
1759
1872
|
readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
|
|
1760
1873
|
readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
|
|
1761
1874
|
readonly ECR_RESCAN: "ECR_RESCAN";
|
|
@@ -3,9 +3,7 @@ import type { ValidationExceptionReason } from "./enums";
|
|
|
3
3
|
import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
|
|
4
4
|
import type { ValidationExceptionField } from "./models_0";
|
|
5
5
|
/**
|
|
6
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
7
|
-
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
8
|
-
* unsupported Amazon Web Services Region. </p>
|
|
6
|
+
* <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
|
|
9
7
|
* @public
|
|
10
8
|
*/
|
|
11
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -37,8 +35,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
37
35
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
38
36
|
}
|
|
39
37
|
/**
|
|
40
|
-
* <p>You have exceeded your service quota. To perform the requested action, remove some of
|
|
41
|
-
* the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
38
|
+
* <p>You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
42
39
|
* @public
|
|
43
40
|
*/
|
|
44
41
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -77,8 +74,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
77
74
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
78
75
|
}
|
|
79
76
|
/**
|
|
80
|
-
* <p>The request has failed validation due to missing required fields or having invalid
|
|
81
|
-
* inputs.</p>
|
|
77
|
+
* <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
|
|
82
78
|
* @public
|
|
83
79
|
*/
|
|
84
80
|
export declare class ValidationException extends __BaseException {
|
|
@@ -114,8 +110,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
114
110
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
115
111
|
}
|
|
116
112
|
/**
|
|
117
|
-
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
118
|
-
* concurrent requests.</p>
|
|
113
|
+
* <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
|
|
119
114
|
* @public
|
|
120
115
|
*/
|
|
121
116
|
export declare class ConflictException extends __BaseException {
|
|
@@ -138,8 +133,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
138
133
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
139
134
|
}
|
|
140
135
|
/**
|
|
141
|
-
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
142
|
-
* correctly.</p>
|
|
136
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
|
|
143
137
|
* @public
|
|
144
138
|
*/
|
|
145
139
|
export declare class ResourceNotFoundException extends __BaseException {
|