@aws-sdk/client-ecr 3.40.0 → 3.44.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/CHANGELOG.md +41 -0
- package/dist-cjs/ECR.js +90 -0
- package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +36 -0
- package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +36 -0
- package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +36 -0
- package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +24 -0
- package/dist-cjs/models/models_0.js +238 -15
- package/dist-cjs/pagination/DescribePullThroughCacheRulesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1070 -16
- package/dist-es/ECR.js +90 -0
- package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +39 -0
- package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +39 -0
- package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +39 -0
- package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +24 -0
- package/dist-es/models/models_0.js +164 -8
- package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1204 -120
- package/dist-types/ECR.d.ts +43 -0
- package/dist-types/ECRClient.d.ts +8 -2
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetImageCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +36 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +35 -0
- package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +35 -0
- package/dist-types/commands/DescribeRegistryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutImageCommand.d.ts +1 -1
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/StartImageScanCommand.d.ts +1 -1
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +984 -157
- package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/ECR.d.ts +30 -0
- package/dist-types/ts3.4/ECRClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +488 -24
- package/dist-types/ts3.4/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +18 -0
- package/package.json +4 -4
|
@@ -187,6 +187,86 @@ export declare namespace BatchGetImageResponse {
|
|
|
187
187
|
|
|
188
188
|
const filterSensitiveLog: (obj: BatchGetImageResponse) => any;
|
|
189
189
|
}
|
|
190
|
+
export interface BatchGetRepositoryScanningConfigurationRequest {
|
|
191
|
+
|
|
192
|
+
repositoryNames: string[] | undefined;
|
|
193
|
+
}
|
|
194
|
+
export declare namespace BatchGetRepositoryScanningConfigurationRequest {
|
|
195
|
+
|
|
196
|
+
const filterSensitiveLog: (obj: BatchGetRepositoryScanningConfigurationRequest) => any;
|
|
197
|
+
}
|
|
198
|
+
export declare enum ScanningConfigurationFailureCode {
|
|
199
|
+
REPOSITORY_NOT_FOUND = "REPOSITORY_NOT_FOUND"
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export interface RepositoryScanningConfigurationFailure {
|
|
203
|
+
|
|
204
|
+
repositoryName?: string;
|
|
205
|
+
|
|
206
|
+
failureCode?: ScanningConfigurationFailureCode | string;
|
|
207
|
+
|
|
208
|
+
failureReason?: string;
|
|
209
|
+
}
|
|
210
|
+
export declare namespace RepositoryScanningConfigurationFailure {
|
|
211
|
+
|
|
212
|
+
const filterSensitiveLog: (obj: RepositoryScanningConfigurationFailure) => any;
|
|
213
|
+
}
|
|
214
|
+
export declare enum ScanningRepositoryFilterType {
|
|
215
|
+
WILDCARD = "WILDCARD"
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export interface ScanningRepositoryFilter {
|
|
219
|
+
|
|
220
|
+
filter: string | undefined;
|
|
221
|
+
|
|
222
|
+
filterType: ScanningRepositoryFilterType | string | undefined;
|
|
223
|
+
}
|
|
224
|
+
export declare namespace ScanningRepositoryFilter {
|
|
225
|
+
|
|
226
|
+
const filterSensitiveLog: (obj: ScanningRepositoryFilter) => any;
|
|
227
|
+
}
|
|
228
|
+
export declare enum ScanFrequency {
|
|
229
|
+
CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
|
|
230
|
+
MANUAL = "MANUAL",
|
|
231
|
+
SCAN_ON_PUSH = "SCAN_ON_PUSH"
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export interface RepositoryScanningConfiguration {
|
|
235
|
+
|
|
236
|
+
repositoryArn?: string;
|
|
237
|
+
|
|
238
|
+
repositoryName?: string;
|
|
239
|
+
|
|
240
|
+
scanOnPush?: boolean;
|
|
241
|
+
|
|
242
|
+
scanFrequency?: ScanFrequency | string;
|
|
243
|
+
|
|
244
|
+
appliedScanFilters?: ScanningRepositoryFilter[];
|
|
245
|
+
}
|
|
246
|
+
export declare namespace RepositoryScanningConfiguration {
|
|
247
|
+
|
|
248
|
+
const filterSensitiveLog: (obj: RepositoryScanningConfiguration) => any;
|
|
249
|
+
}
|
|
250
|
+
export interface BatchGetRepositoryScanningConfigurationResponse {
|
|
251
|
+
|
|
252
|
+
scanningConfigurations?: RepositoryScanningConfiguration[];
|
|
253
|
+
|
|
254
|
+
failures?: RepositoryScanningConfigurationFailure[];
|
|
255
|
+
}
|
|
256
|
+
export declare namespace BatchGetRepositoryScanningConfigurationResponse {
|
|
257
|
+
|
|
258
|
+
const filterSensitiveLog: (obj: BatchGetRepositoryScanningConfigurationResponse) => any;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
262
|
+
name: "ValidationException";
|
|
263
|
+
$fault: "client";
|
|
264
|
+
message?: string;
|
|
265
|
+
}
|
|
266
|
+
export declare namespace ValidationException {
|
|
267
|
+
|
|
268
|
+
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
269
|
+
}
|
|
190
270
|
export interface CompleteLayerUploadRequest {
|
|
191
271
|
|
|
192
272
|
registryId?: string;
|
|
@@ -282,6 +362,63 @@ export declare namespace UploadNotFoundException {
|
|
|
282
362
|
|
|
283
363
|
const filterSensitiveLog: (obj: UploadNotFoundException) => any;
|
|
284
364
|
}
|
|
365
|
+
export interface CreatePullThroughCacheRuleRequest {
|
|
366
|
+
|
|
367
|
+
ecrRepositoryPrefix: string | undefined;
|
|
368
|
+
|
|
369
|
+
upstreamRegistryUrl: string | undefined;
|
|
370
|
+
|
|
371
|
+
registryId?: string;
|
|
372
|
+
}
|
|
373
|
+
export declare namespace CreatePullThroughCacheRuleRequest {
|
|
374
|
+
|
|
375
|
+
const filterSensitiveLog: (obj: CreatePullThroughCacheRuleRequest) => any;
|
|
376
|
+
}
|
|
377
|
+
export interface CreatePullThroughCacheRuleResponse {
|
|
378
|
+
|
|
379
|
+
ecrRepositoryPrefix?: string;
|
|
380
|
+
|
|
381
|
+
upstreamRegistryUrl?: string;
|
|
382
|
+
|
|
383
|
+
createdAt?: Date;
|
|
384
|
+
|
|
385
|
+
registryId?: string;
|
|
386
|
+
}
|
|
387
|
+
export declare namespace CreatePullThroughCacheRuleResponse {
|
|
388
|
+
|
|
389
|
+
const filterSensitiveLog: (obj: CreatePullThroughCacheRuleResponse) => any;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
393
|
+
name: "LimitExceededException";
|
|
394
|
+
$fault: "client";
|
|
395
|
+
|
|
396
|
+
message?: string;
|
|
397
|
+
}
|
|
398
|
+
export declare namespace LimitExceededException {
|
|
399
|
+
|
|
400
|
+
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export interface PullThroughCacheRuleAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
404
|
+
name: "PullThroughCacheRuleAlreadyExistsException";
|
|
405
|
+
$fault: "client";
|
|
406
|
+
message?: string;
|
|
407
|
+
}
|
|
408
|
+
export declare namespace PullThroughCacheRuleAlreadyExistsException {
|
|
409
|
+
|
|
410
|
+
const filterSensitiveLog: (obj: PullThroughCacheRuleAlreadyExistsException) => any;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export interface UnsupportedUpstreamRegistryException extends __SmithyException, $MetadataBearer {
|
|
414
|
+
name: "UnsupportedUpstreamRegistryException";
|
|
415
|
+
$fault: "client";
|
|
416
|
+
message?: string;
|
|
417
|
+
}
|
|
418
|
+
export declare namespace UnsupportedUpstreamRegistryException {
|
|
419
|
+
|
|
420
|
+
const filterSensitiveLog: (obj: UnsupportedUpstreamRegistryException) => any;
|
|
421
|
+
}
|
|
285
422
|
export declare enum EncryptionType {
|
|
286
423
|
AES256 = "AES256",
|
|
287
424
|
KMS = "KMS"
|
|
@@ -381,17 +518,6 @@ export declare namespace InvalidTagParameterException {
|
|
|
381
518
|
const filterSensitiveLog: (obj: InvalidTagParameterException) => any;
|
|
382
519
|
}
|
|
383
520
|
|
|
384
|
-
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
385
|
-
name: "LimitExceededException";
|
|
386
|
-
$fault: "client";
|
|
387
|
-
|
|
388
|
-
message?: string;
|
|
389
|
-
}
|
|
390
|
-
export declare namespace LimitExceededException {
|
|
391
|
-
|
|
392
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
521
|
export interface RepositoryAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
396
522
|
name: "RepositoryAlreadyExistsException";
|
|
397
523
|
$fault: "client";
|
|
@@ -446,6 +572,40 @@ export declare namespace LifecyclePolicyNotFoundException {
|
|
|
446
572
|
|
|
447
573
|
const filterSensitiveLog: (obj: LifecyclePolicyNotFoundException) => any;
|
|
448
574
|
}
|
|
575
|
+
export interface DeletePullThroughCacheRuleRequest {
|
|
576
|
+
|
|
577
|
+
ecrRepositoryPrefix: string | undefined;
|
|
578
|
+
|
|
579
|
+
registryId?: string;
|
|
580
|
+
}
|
|
581
|
+
export declare namespace DeletePullThroughCacheRuleRequest {
|
|
582
|
+
|
|
583
|
+
const filterSensitiveLog: (obj: DeletePullThroughCacheRuleRequest) => any;
|
|
584
|
+
}
|
|
585
|
+
export interface DeletePullThroughCacheRuleResponse {
|
|
586
|
+
|
|
587
|
+
ecrRepositoryPrefix?: string;
|
|
588
|
+
|
|
589
|
+
upstreamRegistryUrl?: string;
|
|
590
|
+
|
|
591
|
+
createdAt?: Date;
|
|
592
|
+
|
|
593
|
+
registryId?: string;
|
|
594
|
+
}
|
|
595
|
+
export declare namespace DeletePullThroughCacheRuleResponse {
|
|
596
|
+
|
|
597
|
+
const filterSensitiveLog: (obj: DeletePullThroughCacheRuleResponse) => any;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
export interface PullThroughCacheRuleNotFoundException extends __SmithyException, $MetadataBearer {
|
|
601
|
+
name: "PullThroughCacheRuleNotFoundException";
|
|
602
|
+
$fault: "client";
|
|
603
|
+
message?: string;
|
|
604
|
+
}
|
|
605
|
+
export declare namespace PullThroughCacheRuleNotFoundException {
|
|
606
|
+
|
|
607
|
+
const filterSensitiveLog: (obj: PullThroughCacheRuleNotFoundException) => any;
|
|
608
|
+
}
|
|
449
609
|
export interface DeleteRegistryPolicyRequest {
|
|
450
610
|
}
|
|
451
611
|
export declare namespace DeleteRegistryPolicyRequest {
|
|
@@ -472,16 +632,6 @@ export declare namespace RegistryPolicyNotFoundException {
|
|
|
472
632
|
|
|
473
633
|
const filterSensitiveLog: (obj: RegistryPolicyNotFoundException) => any;
|
|
474
634
|
}
|
|
475
|
-
|
|
476
|
-
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
477
|
-
name: "ValidationException";
|
|
478
|
-
$fault: "client";
|
|
479
|
-
message?: string;
|
|
480
|
-
}
|
|
481
|
-
export declare namespace ValidationException {
|
|
482
|
-
|
|
483
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
484
|
-
}
|
|
485
635
|
export interface DeleteRepositoryRequest {
|
|
486
636
|
|
|
487
637
|
registryId?: string;
|
|
@@ -656,9 +806,14 @@ export declare namespace ImageScanFindingsSummary {
|
|
|
656
806
|
const filterSensitiveLog: (obj: ImageScanFindingsSummary) => any;
|
|
657
807
|
}
|
|
658
808
|
export declare enum ScanStatus {
|
|
809
|
+
ACTIVE = "ACTIVE",
|
|
659
810
|
COMPLETE = "COMPLETE",
|
|
660
811
|
FAILED = "FAILED",
|
|
661
|
-
|
|
812
|
+
FINDINGS_UNAVAILABLE = "FINDINGS_UNAVAILABLE",
|
|
813
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
814
|
+
PENDING = "PENDING",
|
|
815
|
+
SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
|
|
816
|
+
UNSUPPORTED_IMAGE = "UNSUPPORTED_IMAGE"
|
|
662
817
|
}
|
|
663
818
|
|
|
664
819
|
export interface ImageScanStatus {
|
|
@@ -725,6 +880,214 @@ export declare namespace DescribeImageScanFindingsRequest {
|
|
|
725
880
|
const filterSensitiveLog: (obj: DescribeImageScanFindingsRequest) => any;
|
|
726
881
|
}
|
|
727
882
|
|
|
883
|
+
export interface CvssScore {
|
|
884
|
+
|
|
885
|
+
baseScore?: number;
|
|
886
|
+
|
|
887
|
+
scoringVector?: string;
|
|
888
|
+
|
|
889
|
+
source?: string;
|
|
890
|
+
|
|
891
|
+
version?: string;
|
|
892
|
+
}
|
|
893
|
+
export declare namespace CvssScore {
|
|
894
|
+
|
|
895
|
+
const filterSensitiveLog: (obj: CvssScore) => any;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
export interface VulnerablePackage {
|
|
899
|
+
|
|
900
|
+
arch?: string;
|
|
901
|
+
|
|
902
|
+
epoch?: number;
|
|
903
|
+
|
|
904
|
+
filePath?: string;
|
|
905
|
+
|
|
906
|
+
name?: string;
|
|
907
|
+
|
|
908
|
+
packageManager?: string;
|
|
909
|
+
|
|
910
|
+
release?: string;
|
|
911
|
+
|
|
912
|
+
sourceLayerHash?: string;
|
|
913
|
+
|
|
914
|
+
version?: string;
|
|
915
|
+
}
|
|
916
|
+
export declare namespace VulnerablePackage {
|
|
917
|
+
|
|
918
|
+
const filterSensitiveLog: (obj: VulnerablePackage) => any;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
export interface PackageVulnerabilityDetails {
|
|
922
|
+
|
|
923
|
+
cvss?: CvssScore[];
|
|
924
|
+
|
|
925
|
+
referenceUrls?: string[];
|
|
926
|
+
|
|
927
|
+
relatedVulnerabilities?: string[];
|
|
928
|
+
|
|
929
|
+
source?: string;
|
|
930
|
+
|
|
931
|
+
sourceUrl?: string;
|
|
932
|
+
|
|
933
|
+
vendorCreatedAt?: Date;
|
|
934
|
+
|
|
935
|
+
vendorSeverity?: string;
|
|
936
|
+
|
|
937
|
+
vendorUpdatedAt?: Date;
|
|
938
|
+
|
|
939
|
+
vulnerabilityId?: string;
|
|
940
|
+
|
|
941
|
+
vulnerablePackages?: VulnerablePackage[];
|
|
942
|
+
}
|
|
943
|
+
export declare namespace PackageVulnerabilityDetails {
|
|
944
|
+
|
|
945
|
+
const filterSensitiveLog: (obj: PackageVulnerabilityDetails) => any;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export interface Recommendation {
|
|
949
|
+
|
|
950
|
+
url?: string;
|
|
951
|
+
|
|
952
|
+
text?: string;
|
|
953
|
+
}
|
|
954
|
+
export declare namespace Recommendation {
|
|
955
|
+
|
|
956
|
+
const filterSensitiveLog: (obj: Recommendation) => any;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
export interface Remediation {
|
|
960
|
+
|
|
961
|
+
recommendation?: Recommendation;
|
|
962
|
+
}
|
|
963
|
+
export declare namespace Remediation {
|
|
964
|
+
|
|
965
|
+
const filterSensitiveLog: (obj: Remediation) => any;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
export interface AwsEcrContainerImageDetails {
|
|
969
|
+
|
|
970
|
+
architecture?: string;
|
|
971
|
+
|
|
972
|
+
author?: string;
|
|
973
|
+
|
|
974
|
+
imageHash?: string;
|
|
975
|
+
|
|
976
|
+
imageTags?: string[];
|
|
977
|
+
|
|
978
|
+
platform?: string;
|
|
979
|
+
|
|
980
|
+
pushedAt?: Date;
|
|
981
|
+
|
|
982
|
+
registry?: string;
|
|
983
|
+
|
|
984
|
+
repositoryName?: string;
|
|
985
|
+
}
|
|
986
|
+
export declare namespace AwsEcrContainerImageDetails {
|
|
987
|
+
|
|
988
|
+
const filterSensitiveLog: (obj: AwsEcrContainerImageDetails) => any;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
export interface ResourceDetails {
|
|
992
|
+
|
|
993
|
+
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
994
|
+
}
|
|
995
|
+
export declare namespace ResourceDetails {
|
|
996
|
+
|
|
997
|
+
const filterSensitiveLog: (obj: ResourceDetails) => any;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
export interface Resource {
|
|
1001
|
+
|
|
1002
|
+
details?: ResourceDetails;
|
|
1003
|
+
|
|
1004
|
+
id?: string;
|
|
1005
|
+
|
|
1006
|
+
tags?: {
|
|
1007
|
+
[key: string]: string;
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
type?: string;
|
|
1011
|
+
}
|
|
1012
|
+
export declare namespace Resource {
|
|
1013
|
+
|
|
1014
|
+
const filterSensitiveLog: (obj: Resource) => any;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
export interface CvssScoreAdjustment {
|
|
1018
|
+
|
|
1019
|
+
metric?: string;
|
|
1020
|
+
|
|
1021
|
+
reason?: string;
|
|
1022
|
+
}
|
|
1023
|
+
export declare namespace CvssScoreAdjustment {
|
|
1024
|
+
|
|
1025
|
+
const filterSensitiveLog: (obj: CvssScoreAdjustment) => any;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
export interface CvssScoreDetails {
|
|
1029
|
+
|
|
1030
|
+
adjustments?: CvssScoreAdjustment[];
|
|
1031
|
+
|
|
1032
|
+
score?: number;
|
|
1033
|
+
|
|
1034
|
+
scoreSource?: string;
|
|
1035
|
+
|
|
1036
|
+
scoringVector?: string;
|
|
1037
|
+
|
|
1038
|
+
version?: string;
|
|
1039
|
+
}
|
|
1040
|
+
export declare namespace CvssScoreDetails {
|
|
1041
|
+
|
|
1042
|
+
const filterSensitiveLog: (obj: CvssScoreDetails) => any;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
export interface ScoreDetails {
|
|
1046
|
+
|
|
1047
|
+
cvss?: CvssScoreDetails;
|
|
1048
|
+
}
|
|
1049
|
+
export declare namespace ScoreDetails {
|
|
1050
|
+
|
|
1051
|
+
const filterSensitiveLog: (obj: ScoreDetails) => any;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
export interface EnhancedImageScanFinding {
|
|
1055
|
+
|
|
1056
|
+
awsAccountId?: string;
|
|
1057
|
+
|
|
1058
|
+
description?: string;
|
|
1059
|
+
|
|
1060
|
+
findingArn?: string;
|
|
1061
|
+
|
|
1062
|
+
firstObservedAt?: Date;
|
|
1063
|
+
|
|
1064
|
+
lastObservedAt?: Date;
|
|
1065
|
+
|
|
1066
|
+
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
|
|
1067
|
+
|
|
1068
|
+
remediation?: Remediation;
|
|
1069
|
+
|
|
1070
|
+
resources?: Resource[];
|
|
1071
|
+
|
|
1072
|
+
score?: number;
|
|
1073
|
+
|
|
1074
|
+
scoreDetails?: ScoreDetails;
|
|
1075
|
+
|
|
1076
|
+
severity?: string;
|
|
1077
|
+
|
|
1078
|
+
status?: string;
|
|
1079
|
+
|
|
1080
|
+
title?: string;
|
|
1081
|
+
|
|
1082
|
+
type?: string;
|
|
1083
|
+
|
|
1084
|
+
updatedAt?: Date;
|
|
1085
|
+
}
|
|
1086
|
+
export declare namespace EnhancedImageScanFinding {
|
|
1087
|
+
|
|
1088
|
+
const filterSensitiveLog: (obj: EnhancedImageScanFinding) => any;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
728
1091
|
export interface Attribute {
|
|
729
1092
|
|
|
730
1093
|
key: string | undefined;
|
|
@@ -759,11 +1122,13 @@ export interface ImageScanFindings {
|
|
|
759
1122
|
|
|
760
1123
|
vulnerabilitySourceUpdatedAt?: Date;
|
|
761
1124
|
|
|
762
|
-
findings?: ImageScanFinding[];
|
|
763
|
-
|
|
764
1125
|
findingSeverityCounts?: {
|
|
765
1126
|
[key: string]: number;
|
|
766
1127
|
};
|
|
1128
|
+
|
|
1129
|
+
findings?: ImageScanFinding[];
|
|
1130
|
+
|
|
1131
|
+
enhancedFindings?: EnhancedImageScanFinding[];
|
|
767
1132
|
}
|
|
768
1133
|
export declare namespace ImageScanFindings {
|
|
769
1134
|
|
|
@@ -797,6 +1162,45 @@ export declare namespace ScanNotFoundException {
|
|
|
797
1162
|
|
|
798
1163
|
const filterSensitiveLog: (obj: ScanNotFoundException) => any;
|
|
799
1164
|
}
|
|
1165
|
+
export interface DescribePullThroughCacheRulesRequest {
|
|
1166
|
+
|
|
1167
|
+
registryId?: string;
|
|
1168
|
+
|
|
1169
|
+
ecrRepositoryPrefixes?: string[];
|
|
1170
|
+
|
|
1171
|
+
nextToken?: string;
|
|
1172
|
+
|
|
1173
|
+
maxResults?: number;
|
|
1174
|
+
}
|
|
1175
|
+
export declare namespace DescribePullThroughCacheRulesRequest {
|
|
1176
|
+
|
|
1177
|
+
const filterSensitiveLog: (obj: DescribePullThroughCacheRulesRequest) => any;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
export interface PullThroughCacheRule {
|
|
1181
|
+
|
|
1182
|
+
ecrRepositoryPrefix?: string;
|
|
1183
|
+
|
|
1184
|
+
upstreamRegistryUrl?: string;
|
|
1185
|
+
|
|
1186
|
+
createdAt?: Date;
|
|
1187
|
+
|
|
1188
|
+
registryId?: string;
|
|
1189
|
+
}
|
|
1190
|
+
export declare namespace PullThroughCacheRule {
|
|
1191
|
+
|
|
1192
|
+
const filterSensitiveLog: (obj: PullThroughCacheRule) => any;
|
|
1193
|
+
}
|
|
1194
|
+
export interface DescribePullThroughCacheRulesResponse {
|
|
1195
|
+
|
|
1196
|
+
pullThroughCacheRules?: PullThroughCacheRule[];
|
|
1197
|
+
|
|
1198
|
+
nextToken?: string;
|
|
1199
|
+
}
|
|
1200
|
+
export declare namespace DescribePullThroughCacheRulesResponse {
|
|
1201
|
+
|
|
1202
|
+
const filterSensitiveLog: (obj: DescribePullThroughCacheRulesResponse) => any;
|
|
1203
|
+
}
|
|
800
1204
|
export interface DescribeRegistryRequest {
|
|
801
1205
|
}
|
|
802
1206
|
export declare namespace DescribeRegistryRequest {
|
|
@@ -1096,6 +1500,48 @@ export declare namespace GetRegistryPolicyResponse {
|
|
|
1096
1500
|
|
|
1097
1501
|
const filterSensitiveLog: (obj: GetRegistryPolicyResponse) => any;
|
|
1098
1502
|
}
|
|
1503
|
+
export interface GetRegistryScanningConfigurationRequest {
|
|
1504
|
+
}
|
|
1505
|
+
export declare namespace GetRegistryScanningConfigurationRequest {
|
|
1506
|
+
|
|
1507
|
+
const filterSensitiveLog: (obj: GetRegistryScanningConfigurationRequest) => any;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
export interface RegistryScanningRule {
|
|
1511
|
+
|
|
1512
|
+
scanFrequency: ScanFrequency | string | undefined;
|
|
1513
|
+
|
|
1514
|
+
repositoryFilters: ScanningRepositoryFilter[] | undefined;
|
|
1515
|
+
}
|
|
1516
|
+
export declare namespace RegistryScanningRule {
|
|
1517
|
+
|
|
1518
|
+
const filterSensitiveLog: (obj: RegistryScanningRule) => any;
|
|
1519
|
+
}
|
|
1520
|
+
export declare enum ScanType {
|
|
1521
|
+
BASIC = "BASIC",
|
|
1522
|
+
ENHANCED = "ENHANCED"
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
export interface RegistryScanningConfiguration {
|
|
1526
|
+
|
|
1527
|
+
scanType?: ScanType | string;
|
|
1528
|
+
|
|
1529
|
+
rules?: RegistryScanningRule[];
|
|
1530
|
+
}
|
|
1531
|
+
export declare namespace RegistryScanningConfiguration {
|
|
1532
|
+
|
|
1533
|
+
const filterSensitiveLog: (obj: RegistryScanningConfiguration) => any;
|
|
1534
|
+
}
|
|
1535
|
+
export interface GetRegistryScanningConfigurationResponse {
|
|
1536
|
+
|
|
1537
|
+
registryId?: string;
|
|
1538
|
+
|
|
1539
|
+
scanningConfiguration?: RegistryScanningConfiguration;
|
|
1540
|
+
}
|
|
1541
|
+
export declare namespace GetRegistryScanningConfigurationResponse {
|
|
1542
|
+
|
|
1543
|
+
const filterSensitiveLog: (obj: GetRegistryScanningConfigurationResponse) => any;
|
|
1544
|
+
}
|
|
1099
1545
|
export interface GetRepositoryPolicyRequest {
|
|
1100
1546
|
|
|
1101
1547
|
registryId?: string;
|
|
@@ -1346,6 +1792,24 @@ export declare namespace PutRegistryPolicyResponse {
|
|
|
1346
1792
|
|
|
1347
1793
|
const filterSensitiveLog: (obj: PutRegistryPolicyResponse) => any;
|
|
1348
1794
|
}
|
|
1795
|
+
export interface PutRegistryScanningConfigurationRequest {
|
|
1796
|
+
|
|
1797
|
+
scanType?: ScanType | string;
|
|
1798
|
+
|
|
1799
|
+
rules?: RegistryScanningRule[];
|
|
1800
|
+
}
|
|
1801
|
+
export declare namespace PutRegistryScanningConfigurationRequest {
|
|
1802
|
+
|
|
1803
|
+
const filterSensitiveLog: (obj: PutRegistryScanningConfigurationRequest) => any;
|
|
1804
|
+
}
|
|
1805
|
+
export interface PutRegistryScanningConfigurationResponse {
|
|
1806
|
+
|
|
1807
|
+
registryScanningConfiguration?: RegistryScanningConfiguration;
|
|
1808
|
+
}
|
|
1809
|
+
export declare namespace PutRegistryScanningConfigurationResponse {
|
|
1810
|
+
|
|
1811
|
+
const filterSensitiveLog: (obj: PutRegistryScanningConfigurationResponse) => any;
|
|
1812
|
+
}
|
|
1349
1813
|
export interface PutReplicationConfigurationRequest {
|
|
1350
1814
|
|
|
1351
1815
|
replicationConfiguration: ReplicationConfiguration | undefined;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput } from "../commands/DescribePullThroughCacheRulesCommand";
|
|
3
|
+
import { ECRPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateDescribePullThroughCacheRules(config: ECRPaginationConfiguration, input: DescribePullThroughCacheRulesCommandInput, ...additionalArguments: any): Paginator<DescribePullThroughCacheRulesCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./DescribeImageScanFindingsPaginator";
|
|
2
2
|
export * from "./DescribeImagesPaginator";
|
|
3
|
+
export * from "./DescribePullThroughCacheRulesPaginator";
|
|
3
4
|
export * from "./DescribeRepositoriesPaginator";
|
|
4
5
|
export * from "./GetLifecyclePolicyPreviewPaginator";
|
|
5
6
|
export * from "./Interfaces";
|