@aws-sdk/client-ecr 3.42.0 → 3.46.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 +47 -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 +10 -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-cjs/runtimeConfig.js +0 -2
- 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 +10 -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-es/runtimeConfig.js +0 -2
- package/dist-types/ECR.d.ts +43 -0
- package/dist-types/ECRClient.d.ts +8 -2
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +36 -0
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +35 -0
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +35 -0
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +35 -0
- 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 +37 -44
|
@@ -322,6 +322,133 @@ export declare namespace BatchGetImageResponse {
|
|
|
322
322
|
*/
|
|
323
323
|
const filterSensitiveLog: (obj: BatchGetImageResponse) => any;
|
|
324
324
|
}
|
|
325
|
+
export interface BatchGetRepositoryScanningConfigurationRequest {
|
|
326
|
+
/**
|
|
327
|
+
* <p>One or more repository names to get the scanning configuration for.</p>
|
|
328
|
+
*/
|
|
329
|
+
repositoryNames: string[] | undefined;
|
|
330
|
+
}
|
|
331
|
+
export declare namespace BatchGetRepositoryScanningConfigurationRequest {
|
|
332
|
+
/**
|
|
333
|
+
* @internal
|
|
334
|
+
*/
|
|
335
|
+
const filterSensitiveLog: (obj: BatchGetRepositoryScanningConfigurationRequest) => any;
|
|
336
|
+
}
|
|
337
|
+
export declare enum ScanningConfigurationFailureCode {
|
|
338
|
+
REPOSITORY_NOT_FOUND = "REPOSITORY_NOT_FOUND"
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* <p>The details about any failures associated with the scanning configuration of a
|
|
342
|
+
* repository.</p>
|
|
343
|
+
*/
|
|
344
|
+
export interface RepositoryScanningConfigurationFailure {
|
|
345
|
+
/**
|
|
346
|
+
* <p>The name of the repository.</p>
|
|
347
|
+
*/
|
|
348
|
+
repositoryName?: string;
|
|
349
|
+
/**
|
|
350
|
+
* <p>The failure code.</p>
|
|
351
|
+
*/
|
|
352
|
+
failureCode?: ScanningConfigurationFailureCode | string;
|
|
353
|
+
/**
|
|
354
|
+
* <p>The reason for the failure.</p>
|
|
355
|
+
*/
|
|
356
|
+
failureReason?: string;
|
|
357
|
+
}
|
|
358
|
+
export declare namespace RepositoryScanningConfigurationFailure {
|
|
359
|
+
/**
|
|
360
|
+
* @internal
|
|
361
|
+
*/
|
|
362
|
+
const filterSensitiveLog: (obj: RepositoryScanningConfigurationFailure) => any;
|
|
363
|
+
}
|
|
364
|
+
export declare enum ScanningRepositoryFilterType {
|
|
365
|
+
WILDCARD = "WILDCARD"
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* <p>The details of a scanning repository filter.</p>
|
|
369
|
+
*/
|
|
370
|
+
export interface ScanningRepositoryFilter {
|
|
371
|
+
/**
|
|
372
|
+
* <p>The filter to use when scanning.</p>
|
|
373
|
+
*/
|
|
374
|
+
filter: string | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* <p>The type associated with the filter.</p>
|
|
377
|
+
*/
|
|
378
|
+
filterType: ScanningRepositoryFilterType | string | undefined;
|
|
379
|
+
}
|
|
380
|
+
export declare namespace ScanningRepositoryFilter {
|
|
381
|
+
/**
|
|
382
|
+
* @internal
|
|
383
|
+
*/
|
|
384
|
+
const filterSensitiveLog: (obj: ScanningRepositoryFilter) => any;
|
|
385
|
+
}
|
|
386
|
+
export declare enum ScanFrequency {
|
|
387
|
+
CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
|
|
388
|
+
MANUAL = "MANUAL",
|
|
389
|
+
SCAN_ON_PUSH = "SCAN_ON_PUSH"
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* <p>The details of the scanning configuration for a repository.</p>
|
|
393
|
+
*/
|
|
394
|
+
export interface RepositoryScanningConfiguration {
|
|
395
|
+
/**
|
|
396
|
+
* <p>The ARN of the repository.</p>
|
|
397
|
+
*/
|
|
398
|
+
repositoryArn?: string;
|
|
399
|
+
/**
|
|
400
|
+
* <p>The name of the repository.</p>
|
|
401
|
+
*/
|
|
402
|
+
repositoryName?: string;
|
|
403
|
+
/**
|
|
404
|
+
* <p>Whether or not scan on push is configured for the repository.</p>
|
|
405
|
+
*/
|
|
406
|
+
scanOnPush?: boolean;
|
|
407
|
+
/**
|
|
408
|
+
* <p>The scan frequency for the repository.</p>
|
|
409
|
+
*/
|
|
410
|
+
scanFrequency?: ScanFrequency | string;
|
|
411
|
+
/**
|
|
412
|
+
* <p>The scan filters applied to the repository.</p>
|
|
413
|
+
*/
|
|
414
|
+
appliedScanFilters?: ScanningRepositoryFilter[];
|
|
415
|
+
}
|
|
416
|
+
export declare namespace RepositoryScanningConfiguration {
|
|
417
|
+
/**
|
|
418
|
+
* @internal
|
|
419
|
+
*/
|
|
420
|
+
const filterSensitiveLog: (obj: RepositoryScanningConfiguration) => any;
|
|
421
|
+
}
|
|
422
|
+
export interface BatchGetRepositoryScanningConfigurationResponse {
|
|
423
|
+
/**
|
|
424
|
+
* <p>The scanning configuration for the requested repositories.</p>
|
|
425
|
+
*/
|
|
426
|
+
scanningConfigurations?: RepositoryScanningConfiguration[];
|
|
427
|
+
/**
|
|
428
|
+
* <p>Any failures associated with the call.</p>
|
|
429
|
+
*/
|
|
430
|
+
failures?: RepositoryScanningConfigurationFailure[];
|
|
431
|
+
}
|
|
432
|
+
export declare namespace BatchGetRepositoryScanningConfigurationResponse {
|
|
433
|
+
/**
|
|
434
|
+
* @internal
|
|
435
|
+
*/
|
|
436
|
+
const filterSensitiveLog: (obj: BatchGetRepositoryScanningConfigurationResponse) => any;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* <p>There was an exception validating this request.</p>
|
|
440
|
+
*/
|
|
441
|
+
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
442
|
+
name: "ValidationException";
|
|
443
|
+
$fault: "client";
|
|
444
|
+
message?: string;
|
|
445
|
+
}
|
|
446
|
+
export declare namespace ValidationException {
|
|
447
|
+
/**
|
|
448
|
+
* @internal
|
|
449
|
+
*/
|
|
450
|
+
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
451
|
+
}
|
|
325
452
|
export interface CompleteLayerUploadRequest {
|
|
326
453
|
/**
|
|
327
454
|
* <p>The Amazon Web Services account ID associated with the registry to which to upload layers.
|
|
@@ -477,6 +604,101 @@ export declare namespace UploadNotFoundException {
|
|
|
477
604
|
*/
|
|
478
605
|
const filterSensitiveLog: (obj: UploadNotFoundException) => any;
|
|
479
606
|
}
|
|
607
|
+
export interface CreatePullThroughCacheRuleRequest {
|
|
608
|
+
/**
|
|
609
|
+
* <p>The repository name prefix to use when caching images from the source registry.</p>
|
|
610
|
+
*/
|
|
611
|
+
ecrRepositoryPrefix: string | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* <p>The registry URL of the upstream public registry to use as the source for the pull
|
|
614
|
+
* through cache rule.</p>
|
|
615
|
+
*/
|
|
616
|
+
upstreamRegistryUrl: string | undefined;
|
|
617
|
+
/**
|
|
618
|
+
* <p>The Amazon Web Services account ID associated with the registry to create the pull through cache
|
|
619
|
+
* rule for. If you do not specify a registry, the default registry is assumed.</p>
|
|
620
|
+
*/
|
|
621
|
+
registryId?: string;
|
|
622
|
+
}
|
|
623
|
+
export declare namespace CreatePullThroughCacheRuleRequest {
|
|
624
|
+
/**
|
|
625
|
+
* @internal
|
|
626
|
+
*/
|
|
627
|
+
const filterSensitiveLog: (obj: CreatePullThroughCacheRuleRequest) => any;
|
|
628
|
+
}
|
|
629
|
+
export interface CreatePullThroughCacheRuleResponse {
|
|
630
|
+
/**
|
|
631
|
+
* <p>The Amazon ECR repository prefix associated with the pull through cache rule.</p>
|
|
632
|
+
*/
|
|
633
|
+
ecrRepositoryPrefix?: string;
|
|
634
|
+
/**
|
|
635
|
+
* <p>The upstream registry URL associated with the pull through cache rule.</p>
|
|
636
|
+
*/
|
|
637
|
+
upstreamRegistryUrl?: string;
|
|
638
|
+
/**
|
|
639
|
+
* <p>The date and time, in JavaScript date format, when the pull through cache rule was
|
|
640
|
+
* created.</p>
|
|
641
|
+
*/
|
|
642
|
+
createdAt?: Date;
|
|
643
|
+
/**
|
|
644
|
+
* <p>The registry ID associated with the request.</p>
|
|
645
|
+
*/
|
|
646
|
+
registryId?: string;
|
|
647
|
+
}
|
|
648
|
+
export declare namespace CreatePullThroughCacheRuleResponse {
|
|
649
|
+
/**
|
|
650
|
+
* @internal
|
|
651
|
+
*/
|
|
652
|
+
const filterSensitiveLog: (obj: CreatePullThroughCacheRuleResponse) => any;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* <p>The operation did not succeed because it would have exceeded a service limit for your
|
|
656
|
+
* account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
|
|
657
|
+
* the Amazon Elastic Container Registry User Guide.</p>
|
|
658
|
+
*/
|
|
659
|
+
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
660
|
+
name: "LimitExceededException";
|
|
661
|
+
$fault: "client";
|
|
662
|
+
/**
|
|
663
|
+
* <p>The error message associated with the exception.</p>
|
|
664
|
+
*/
|
|
665
|
+
message?: string;
|
|
666
|
+
}
|
|
667
|
+
export declare namespace LimitExceededException {
|
|
668
|
+
/**
|
|
669
|
+
* @internal
|
|
670
|
+
*/
|
|
671
|
+
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* <p>A pull through cache rule with these settings already exists for the private
|
|
675
|
+
* registry.</p>
|
|
676
|
+
*/
|
|
677
|
+
export interface PullThroughCacheRuleAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
678
|
+
name: "PullThroughCacheRuleAlreadyExistsException";
|
|
679
|
+
$fault: "client";
|
|
680
|
+
message?: string;
|
|
681
|
+
}
|
|
682
|
+
export declare namespace PullThroughCacheRuleAlreadyExistsException {
|
|
683
|
+
/**
|
|
684
|
+
* @internal
|
|
685
|
+
*/
|
|
686
|
+
const filterSensitiveLog: (obj: PullThroughCacheRuleAlreadyExistsException) => any;
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* <p>The specified upstream registry isn't supported.</p>
|
|
690
|
+
*/
|
|
691
|
+
export interface UnsupportedUpstreamRegistryException extends __SmithyException, $MetadataBearer {
|
|
692
|
+
name: "UnsupportedUpstreamRegistryException";
|
|
693
|
+
$fault: "client";
|
|
694
|
+
message?: string;
|
|
695
|
+
}
|
|
696
|
+
export declare namespace UnsupportedUpstreamRegistryException {
|
|
697
|
+
/**
|
|
698
|
+
* @internal
|
|
699
|
+
*/
|
|
700
|
+
const filterSensitiveLog: (obj: UnsupportedUpstreamRegistryException) => any;
|
|
701
|
+
}
|
|
480
702
|
export declare enum EncryptionType {
|
|
481
703
|
AES256 = "AES256",
|
|
482
704
|
KMS = "KMS"
|
|
@@ -502,12 +724,12 @@ export interface EncryptionConfiguration {
|
|
|
502
724
|
* for Amazon ECR, or specify your own KMS key, which you already created. For more
|
|
503
725
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">Protecting data using server-side
|
|
504
726
|
* encryption with an KMS key stored in Key Management Service (SSE-KMS)</a> in the
|
|
505
|
-
* <i>Amazon Simple Storage Service Console Developer Guide
|
|
727
|
+
* <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>
|
|
506
728
|
* <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption
|
|
507
729
|
* with Amazon S3-managed encryption keys which encrypts the images in the repository using an
|
|
508
730
|
* AES-256 encryption algorithm. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting data using
|
|
509
731
|
* server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the
|
|
510
|
-
* <i>Amazon Simple Storage Service Console Developer Guide
|
|
732
|
+
* <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>
|
|
511
733
|
*/
|
|
512
734
|
encryptionType: EncryptionType | string | undefined;
|
|
513
735
|
/**
|
|
@@ -572,7 +794,7 @@ export declare namespace Tag {
|
|
|
572
794
|
}
|
|
573
795
|
export interface CreateRepositoryRequest {
|
|
574
796
|
/**
|
|
575
|
-
* <p>The
|
|
797
|
+
* <p>The Amazon Web Services account ID associated with the registry to create the repository.
|
|
576
798
|
* If you do not specify a registry, the default registry is assumed.</p>
|
|
577
799
|
*/
|
|
578
800
|
registryId?: string;
|
|
@@ -687,25 +909,6 @@ export declare namespace InvalidTagParameterException {
|
|
|
687
909
|
*/
|
|
688
910
|
const filterSensitiveLog: (obj: InvalidTagParameterException) => any;
|
|
689
911
|
}
|
|
690
|
-
/**
|
|
691
|
-
* <p>The operation did not succeed because it would have exceeded a service limit for your
|
|
692
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
|
|
693
|
-
* the Amazon Elastic Container Registry User Guide.</p>
|
|
694
|
-
*/
|
|
695
|
-
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
696
|
-
name: "LimitExceededException";
|
|
697
|
-
$fault: "client";
|
|
698
|
-
/**
|
|
699
|
-
* <p>The error message associated with the exception.</p>
|
|
700
|
-
*/
|
|
701
|
-
message?: string;
|
|
702
|
-
}
|
|
703
|
-
export declare namespace LimitExceededException {
|
|
704
|
-
/**
|
|
705
|
-
* @internal
|
|
706
|
-
*/
|
|
707
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
708
|
-
}
|
|
709
912
|
/**
|
|
710
913
|
* <p>The specified repository already exists in the specified registry.</p>
|
|
711
914
|
*/
|
|
@@ -794,6 +997,63 @@ export declare namespace LifecyclePolicyNotFoundException {
|
|
|
794
997
|
*/
|
|
795
998
|
const filterSensitiveLog: (obj: LifecyclePolicyNotFoundException) => any;
|
|
796
999
|
}
|
|
1000
|
+
export interface DeletePullThroughCacheRuleRequest {
|
|
1001
|
+
/**
|
|
1002
|
+
* <p>The Amazon ECR repository prefix associated with the pull through cache rule to
|
|
1003
|
+
* delete.</p>
|
|
1004
|
+
*/
|
|
1005
|
+
ecrRepositoryPrefix: string | undefined;
|
|
1006
|
+
/**
|
|
1007
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the pull through cache
|
|
1008
|
+
* rule. If you do not specify a registry, the default registry is assumed.</p>
|
|
1009
|
+
*/
|
|
1010
|
+
registryId?: string;
|
|
1011
|
+
}
|
|
1012
|
+
export declare namespace DeletePullThroughCacheRuleRequest {
|
|
1013
|
+
/**
|
|
1014
|
+
* @internal
|
|
1015
|
+
*/
|
|
1016
|
+
const filterSensitiveLog: (obj: DeletePullThroughCacheRuleRequest) => any;
|
|
1017
|
+
}
|
|
1018
|
+
export interface DeletePullThroughCacheRuleResponse {
|
|
1019
|
+
/**
|
|
1020
|
+
* <p>The Amazon ECR repository prefix associated with the request.</p>
|
|
1021
|
+
*/
|
|
1022
|
+
ecrRepositoryPrefix?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* <p>The upstream registry URL associated with the pull through cache rule.</p>
|
|
1025
|
+
*/
|
|
1026
|
+
upstreamRegistryUrl?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* <p>The timestamp associated with the pull through cache rule.</p>
|
|
1029
|
+
*/
|
|
1030
|
+
createdAt?: Date;
|
|
1031
|
+
/**
|
|
1032
|
+
* <p>The registry ID associated with the request.</p>
|
|
1033
|
+
*/
|
|
1034
|
+
registryId?: string;
|
|
1035
|
+
}
|
|
1036
|
+
export declare namespace DeletePullThroughCacheRuleResponse {
|
|
1037
|
+
/**
|
|
1038
|
+
* @internal
|
|
1039
|
+
*/
|
|
1040
|
+
const filterSensitiveLog: (obj: DeletePullThroughCacheRuleResponse) => any;
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* <p>The pull through cache rule was not found. Specify a valid pull through cache rule and
|
|
1044
|
+
* try again.</p>
|
|
1045
|
+
*/
|
|
1046
|
+
export interface PullThroughCacheRuleNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1047
|
+
name: "PullThroughCacheRuleNotFoundException";
|
|
1048
|
+
$fault: "client";
|
|
1049
|
+
message?: string;
|
|
1050
|
+
}
|
|
1051
|
+
export declare namespace PullThroughCacheRuleNotFoundException {
|
|
1052
|
+
/**
|
|
1053
|
+
* @internal
|
|
1054
|
+
*/
|
|
1055
|
+
const filterSensitiveLog: (obj: PullThroughCacheRuleNotFoundException) => any;
|
|
1056
|
+
}
|
|
797
1057
|
export interface DeleteRegistryPolicyRequest {
|
|
798
1058
|
}
|
|
799
1059
|
export declare namespace DeleteRegistryPolicyRequest {
|
|
@@ -832,20 +1092,6 @@ export declare namespace RegistryPolicyNotFoundException {
|
|
|
832
1092
|
*/
|
|
833
1093
|
const filterSensitiveLog: (obj: RegistryPolicyNotFoundException) => any;
|
|
834
1094
|
}
|
|
835
|
-
/**
|
|
836
|
-
* <p>There was an exception validating this request.</p>
|
|
837
|
-
*/
|
|
838
|
-
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
839
|
-
name: "ValidationException";
|
|
840
|
-
$fault: "client";
|
|
841
|
-
message?: string;
|
|
842
|
-
}
|
|
843
|
-
export declare namespace ValidationException {
|
|
844
|
-
/**
|
|
845
|
-
* @internal
|
|
846
|
-
*/
|
|
847
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
848
|
-
}
|
|
849
1095
|
export interface DeleteRepositoryRequest {
|
|
850
1096
|
/**
|
|
851
1097
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository to
|
|
@@ -987,7 +1233,7 @@ export interface ImageReplicationStatus {
|
|
|
987
1233
|
*/
|
|
988
1234
|
region?: string;
|
|
989
1235
|
/**
|
|
990
|
-
* <p>The
|
|
1236
|
+
* <p>The Amazon Web Services account ID associated with the registry to which the image belongs.</p>
|
|
991
1237
|
*/
|
|
992
1238
|
registryId?: string;
|
|
993
1239
|
/**
|
|
@@ -1096,198 +1342,585 @@ export interface DescribeImagesRequest {
|
|
|
1096
1342
|
* 100 results and a <code>nextToken</code> value, if applicable. This
|
|
1097
1343
|
* option cannot be used when you specify images with <code>imageIds</code>.</p>
|
|
1098
1344
|
*/
|
|
1099
|
-
maxResults?: number;
|
|
1345
|
+
maxResults?: number;
|
|
1346
|
+
/**
|
|
1347
|
+
* <p>The filter key and value with which to filter your <code>DescribeImages</code>
|
|
1348
|
+
* results.</p>
|
|
1349
|
+
*/
|
|
1350
|
+
filter?: DescribeImagesFilter;
|
|
1351
|
+
}
|
|
1352
|
+
export declare namespace DescribeImagesRequest {
|
|
1353
|
+
/**
|
|
1354
|
+
* @internal
|
|
1355
|
+
*/
|
|
1356
|
+
const filterSensitiveLog: (obj: DescribeImagesRequest) => any;
|
|
1357
|
+
}
|
|
1358
|
+
export declare enum FindingSeverity {
|
|
1359
|
+
CRITICAL = "CRITICAL",
|
|
1360
|
+
HIGH = "HIGH",
|
|
1361
|
+
INFORMATIONAL = "INFORMATIONAL",
|
|
1362
|
+
LOW = "LOW",
|
|
1363
|
+
MEDIUM = "MEDIUM",
|
|
1364
|
+
UNDEFINED = "UNDEFINED"
|
|
1365
|
+
}
|
|
1366
|
+
/**
|
|
1367
|
+
* <p>A summary of the last completed image scan.</p>
|
|
1368
|
+
*/
|
|
1369
|
+
export interface ImageScanFindingsSummary {
|
|
1370
|
+
/**
|
|
1371
|
+
* <p>The time of the last completed image scan.</p>
|
|
1372
|
+
*/
|
|
1373
|
+
imageScanCompletedAt?: Date;
|
|
1374
|
+
/**
|
|
1375
|
+
* <p>The time when the vulnerability data was last scanned.</p>
|
|
1376
|
+
*/
|
|
1377
|
+
vulnerabilitySourceUpdatedAt?: Date;
|
|
1378
|
+
/**
|
|
1379
|
+
* <p>The image vulnerability counts, sorted by severity.</p>
|
|
1380
|
+
*/
|
|
1381
|
+
findingSeverityCounts?: {
|
|
1382
|
+
[key: string]: number;
|
|
1383
|
+
};
|
|
1384
|
+
}
|
|
1385
|
+
export declare namespace ImageScanFindingsSummary {
|
|
1386
|
+
/**
|
|
1387
|
+
* @internal
|
|
1388
|
+
*/
|
|
1389
|
+
const filterSensitiveLog: (obj: ImageScanFindingsSummary) => any;
|
|
1390
|
+
}
|
|
1391
|
+
export declare enum ScanStatus {
|
|
1392
|
+
ACTIVE = "ACTIVE",
|
|
1393
|
+
COMPLETE = "COMPLETE",
|
|
1394
|
+
FAILED = "FAILED",
|
|
1395
|
+
FINDINGS_UNAVAILABLE = "FINDINGS_UNAVAILABLE",
|
|
1396
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
1397
|
+
PENDING = "PENDING",
|
|
1398
|
+
SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
|
|
1399
|
+
UNSUPPORTED_IMAGE = "UNSUPPORTED_IMAGE"
|
|
1400
|
+
}
|
|
1401
|
+
/**
|
|
1402
|
+
* <p>The current status of an image scan.</p>
|
|
1403
|
+
*/
|
|
1404
|
+
export interface ImageScanStatus {
|
|
1405
|
+
/**
|
|
1406
|
+
* <p>The current state of an image scan.</p>
|
|
1407
|
+
*/
|
|
1408
|
+
status?: ScanStatus | string;
|
|
1409
|
+
/**
|
|
1410
|
+
* <p>The description of the image scan status.</p>
|
|
1411
|
+
*/
|
|
1412
|
+
description?: string;
|
|
1413
|
+
}
|
|
1414
|
+
export declare namespace ImageScanStatus {
|
|
1415
|
+
/**
|
|
1416
|
+
* @internal
|
|
1417
|
+
*/
|
|
1418
|
+
const filterSensitiveLog: (obj: ImageScanStatus) => any;
|
|
1419
|
+
}
|
|
1420
|
+
/**
|
|
1421
|
+
* <p>An object that describes an image returned by a <a>DescribeImages</a>
|
|
1422
|
+
* operation.</p>
|
|
1423
|
+
*/
|
|
1424
|
+
export interface ImageDetail {
|
|
1425
|
+
/**
|
|
1426
|
+
* <p>The Amazon Web Services account ID associated with the registry to which this image belongs.</p>
|
|
1427
|
+
*/
|
|
1428
|
+
registryId?: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* <p>The name of the repository to which this image belongs.</p>
|
|
1431
|
+
*/
|
|
1432
|
+
repositoryName?: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
1435
|
+
*/
|
|
1436
|
+
imageDigest?: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* <p>The list of tags associated with this image.</p>
|
|
1439
|
+
*/
|
|
1440
|
+
imageTags?: string[];
|
|
1441
|
+
/**
|
|
1442
|
+
* <p>The size, in bytes, of the image in the repository.</p>
|
|
1443
|
+
* <p>If the image is a manifest list, this will be the max size of all manifests in the
|
|
1444
|
+
* list.</p>
|
|
1445
|
+
* <note>
|
|
1446
|
+
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers
|
|
1447
|
+
* before pushing them to a V2 Docker registry. The output of the <code>docker
|
|
1448
|
+
* images</code> command shows the uncompressed image size, so it may return a
|
|
1449
|
+
* larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
|
|
1450
|
+
* </note>
|
|
1451
|
+
*/
|
|
1452
|
+
imageSizeInBytes?: number;
|
|
1453
|
+
/**
|
|
1454
|
+
* <p>The date and time, expressed in standard JavaScript date format, at which the current
|
|
1455
|
+
* image was pushed to the repository. </p>
|
|
1456
|
+
*/
|
|
1457
|
+
imagePushedAt?: Date;
|
|
1458
|
+
/**
|
|
1459
|
+
* <p>The current state of the scan.</p>
|
|
1460
|
+
*/
|
|
1461
|
+
imageScanStatus?: ImageScanStatus;
|
|
1462
|
+
/**
|
|
1463
|
+
* <p>A summary of the last completed image scan.</p>
|
|
1464
|
+
*/
|
|
1465
|
+
imageScanFindingsSummary?: ImageScanFindingsSummary;
|
|
1466
|
+
/**
|
|
1467
|
+
* <p>The media type of the image manifest.</p>
|
|
1468
|
+
*/
|
|
1469
|
+
imageManifestMediaType?: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* <p>The artifact media type of the image.</p>
|
|
1472
|
+
*/
|
|
1473
|
+
artifactMediaType?: string;
|
|
1474
|
+
}
|
|
1475
|
+
export declare namespace ImageDetail {
|
|
1476
|
+
/**
|
|
1477
|
+
* @internal
|
|
1478
|
+
*/
|
|
1479
|
+
const filterSensitiveLog: (obj: ImageDetail) => any;
|
|
1480
|
+
}
|
|
1481
|
+
export interface DescribeImagesResponse {
|
|
1482
|
+
/**
|
|
1483
|
+
* <p>A list of <a>ImageDetail</a> objects that contain data about the
|
|
1484
|
+
* image.</p>
|
|
1485
|
+
*/
|
|
1486
|
+
imageDetails?: ImageDetail[];
|
|
1487
|
+
/**
|
|
1488
|
+
* <p>The <code>nextToken</code> value to include in a future <code>DescribeImages</code>
|
|
1489
|
+
* request. When the results of a <code>DescribeImages</code> request exceed
|
|
1490
|
+
* <code>maxResults</code>, this value can be used to retrieve the next page of
|
|
1491
|
+
* results. This value is <code>null</code> when there are no more results to
|
|
1492
|
+
* return.</p>
|
|
1493
|
+
*/
|
|
1494
|
+
nextToken?: string;
|
|
1495
|
+
}
|
|
1496
|
+
export declare namespace DescribeImagesResponse {
|
|
1497
|
+
/**
|
|
1498
|
+
* @internal
|
|
1499
|
+
*/
|
|
1500
|
+
const filterSensitiveLog: (obj: DescribeImagesResponse) => any;
|
|
1501
|
+
}
|
|
1502
|
+
export interface DescribeImageScanFindingsRequest {
|
|
1503
|
+
/**
|
|
1504
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository in
|
|
1505
|
+
* which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.</p>
|
|
1506
|
+
*/
|
|
1507
|
+
registryId?: string;
|
|
1508
|
+
/**
|
|
1509
|
+
* <p>The repository for the image for which to describe the scan findings.</p>
|
|
1510
|
+
*/
|
|
1511
|
+
repositoryName: string | undefined;
|
|
1512
|
+
/**
|
|
1513
|
+
* <p>An object with identifying information for an image in an Amazon ECR repository.</p>
|
|
1514
|
+
*/
|
|
1515
|
+
imageId: ImageIdentifier | undefined;
|
|
1516
|
+
/**
|
|
1517
|
+
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
1518
|
+
* <code>DescribeImageScanFindings</code> request where <code>maxResults</code> was
|
|
1519
|
+
* used and the results exceeded the value of that parameter. Pagination continues from the
|
|
1520
|
+
* end of the previous results that returned the <code>nextToken</code> value. This value
|
|
1521
|
+
* is null when there are no more results to return.</p>
|
|
1522
|
+
*/
|
|
1523
|
+
nextToken?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* <p>The maximum number of image scan results returned by
|
|
1526
|
+
* <code>DescribeImageScanFindings</code> in paginated output. When this parameter is
|
|
1527
|
+
* used, <code>DescribeImageScanFindings</code> only returns <code>maxResults</code>
|
|
1528
|
+
* results in a single page along with a <code>nextToken</code> response element. The
|
|
1529
|
+
* remaining results of the initial request can be seen by sending another
|
|
1530
|
+
* <code>DescribeImageScanFindings</code> request with the returned
|
|
1531
|
+
* <code>nextToken</code> value. This value can be between 1 and 1000. If this
|
|
1532
|
+
* parameter is not used, then <code>DescribeImageScanFindings</code> returns up to 100
|
|
1533
|
+
* results and a <code>nextToken</code> value, if applicable.</p>
|
|
1534
|
+
*/
|
|
1535
|
+
maxResults?: number;
|
|
1536
|
+
}
|
|
1537
|
+
export declare namespace DescribeImageScanFindingsRequest {
|
|
1538
|
+
/**
|
|
1539
|
+
* @internal
|
|
1540
|
+
*/
|
|
1541
|
+
const filterSensitiveLog: (obj: DescribeImageScanFindingsRequest) => any;
|
|
1542
|
+
}
|
|
1543
|
+
/**
|
|
1544
|
+
* <p>The CVSS score for a finding.</p>
|
|
1545
|
+
*/
|
|
1546
|
+
export interface CvssScore {
|
|
1547
|
+
/**
|
|
1548
|
+
* <p>The base CVSS score used for the finding.</p>
|
|
1549
|
+
*/
|
|
1550
|
+
baseScore?: number;
|
|
1551
|
+
/**
|
|
1552
|
+
* <p>The vector string of the CVSS score.</p>
|
|
1553
|
+
*/
|
|
1554
|
+
scoringVector?: string;
|
|
1555
|
+
/**
|
|
1556
|
+
* <p>The source of the CVSS score.</p>
|
|
1557
|
+
*/
|
|
1558
|
+
source?: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* <p>The version of CVSS used for the score.</p>
|
|
1561
|
+
*/
|
|
1562
|
+
version?: string;
|
|
1563
|
+
}
|
|
1564
|
+
export declare namespace CvssScore {
|
|
1565
|
+
/**
|
|
1566
|
+
* @internal
|
|
1567
|
+
*/
|
|
1568
|
+
const filterSensitiveLog: (obj: CvssScore) => any;
|
|
1569
|
+
}
|
|
1570
|
+
/**
|
|
1571
|
+
* <p>Information on the vulnerable package identified by a finding.</p>
|
|
1572
|
+
*/
|
|
1573
|
+
export interface VulnerablePackage {
|
|
1574
|
+
/**
|
|
1575
|
+
* <p>The architecture of the vulnerable package.</p>
|
|
1576
|
+
*/
|
|
1577
|
+
arch?: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* <p>The epoch of the vulnerable package.</p>
|
|
1580
|
+
*/
|
|
1581
|
+
epoch?: number;
|
|
1582
|
+
/**
|
|
1583
|
+
* <p>The file path of the vulnerable package.</p>
|
|
1584
|
+
*/
|
|
1585
|
+
filePath?: string;
|
|
1586
|
+
/**
|
|
1587
|
+
* <p>The name of the vulnerable package.</p>
|
|
1588
|
+
*/
|
|
1589
|
+
name?: string;
|
|
1590
|
+
/**
|
|
1591
|
+
* <p>The package manager of the vulnerable package.</p>
|
|
1592
|
+
*/
|
|
1593
|
+
packageManager?: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* <p>The release of the vulnerable package.</p>
|
|
1596
|
+
*/
|
|
1597
|
+
release?: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* <p>The source layer hash of the vulnerable package.</p>
|
|
1600
|
+
*/
|
|
1601
|
+
sourceLayerHash?: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* <p>The version of the vulnerable package.</p>
|
|
1604
|
+
*/
|
|
1605
|
+
version?: string;
|
|
1606
|
+
}
|
|
1607
|
+
export declare namespace VulnerablePackage {
|
|
1608
|
+
/**
|
|
1609
|
+
* @internal
|
|
1610
|
+
*/
|
|
1611
|
+
const filterSensitiveLog: (obj: VulnerablePackage) => any;
|
|
1612
|
+
}
|
|
1613
|
+
/**
|
|
1614
|
+
* <p>Information about a package vulnerability finding.</p>
|
|
1615
|
+
*/
|
|
1616
|
+
export interface PackageVulnerabilityDetails {
|
|
1617
|
+
/**
|
|
1618
|
+
* <p>An object that contains details about the CVSS score of a finding.</p>
|
|
1619
|
+
*/
|
|
1620
|
+
cvss?: CvssScore[];
|
|
1621
|
+
/**
|
|
1622
|
+
* <p>One or more URLs that contain details about this vulnerability type.</p>
|
|
1623
|
+
*/
|
|
1624
|
+
referenceUrls?: string[];
|
|
1625
|
+
/**
|
|
1626
|
+
* <p>One or more vulnerabilities related to the one identified in this finding.</p>
|
|
1627
|
+
*/
|
|
1628
|
+
relatedVulnerabilities?: string[];
|
|
1629
|
+
/**
|
|
1630
|
+
* <p>The source of the vulnerability information.</p>
|
|
1631
|
+
*/
|
|
1632
|
+
source?: string;
|
|
1633
|
+
/**
|
|
1634
|
+
* <p>A URL to the source of the vulnerability information.</p>
|
|
1635
|
+
*/
|
|
1636
|
+
sourceUrl?: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* <p>The date and time that this vulnerability was first added to the vendor's
|
|
1639
|
+
* database.</p>
|
|
1640
|
+
*/
|
|
1641
|
+
vendorCreatedAt?: Date;
|
|
1642
|
+
/**
|
|
1643
|
+
* <p>The severity the vendor has given to this vulnerability type.</p>
|
|
1644
|
+
*/
|
|
1645
|
+
vendorSeverity?: string;
|
|
1646
|
+
/**
|
|
1647
|
+
* <p>The date and time the vendor last updated this vulnerability in their database.</p>
|
|
1648
|
+
*/
|
|
1649
|
+
vendorUpdatedAt?: Date;
|
|
1650
|
+
/**
|
|
1651
|
+
* <p>The ID given to this vulnerability.</p>
|
|
1652
|
+
*/
|
|
1653
|
+
vulnerabilityId?: string;
|
|
1654
|
+
/**
|
|
1655
|
+
* <p>The packages impacted by this vulnerability.</p>
|
|
1656
|
+
*/
|
|
1657
|
+
vulnerablePackages?: VulnerablePackage[];
|
|
1658
|
+
}
|
|
1659
|
+
export declare namespace PackageVulnerabilityDetails {
|
|
1660
|
+
/**
|
|
1661
|
+
* @internal
|
|
1662
|
+
*/
|
|
1663
|
+
const filterSensitiveLog: (obj: PackageVulnerabilityDetails) => any;
|
|
1664
|
+
}
|
|
1665
|
+
/**
|
|
1666
|
+
* <p>Details about the recommended course of action to remediate the finding.</p>
|
|
1667
|
+
*/
|
|
1668
|
+
export interface Recommendation {
|
|
1669
|
+
/**
|
|
1670
|
+
* <p>The URL address to the CVE remediation recommendations.</p>
|
|
1671
|
+
*/
|
|
1672
|
+
url?: string;
|
|
1673
|
+
/**
|
|
1674
|
+
* <p>The recommended course of action to remediate the finding.</p>
|
|
1675
|
+
*/
|
|
1676
|
+
text?: string;
|
|
1677
|
+
}
|
|
1678
|
+
export declare namespace Recommendation {
|
|
1679
|
+
/**
|
|
1680
|
+
* @internal
|
|
1681
|
+
*/
|
|
1682
|
+
const filterSensitiveLog: (obj: Recommendation) => any;
|
|
1683
|
+
}
|
|
1684
|
+
/**
|
|
1685
|
+
* <p>Information on how to remediate a finding.</p>
|
|
1686
|
+
*/
|
|
1687
|
+
export interface Remediation {
|
|
1688
|
+
/**
|
|
1689
|
+
* <p>An object that contains information about the recommended course of action to
|
|
1690
|
+
* remediate the finding.</p>
|
|
1691
|
+
*/
|
|
1692
|
+
recommendation?: Recommendation;
|
|
1693
|
+
}
|
|
1694
|
+
export declare namespace Remediation {
|
|
1695
|
+
/**
|
|
1696
|
+
* @internal
|
|
1697
|
+
*/
|
|
1698
|
+
const filterSensitiveLog: (obj: Remediation) => any;
|
|
1699
|
+
}
|
|
1700
|
+
/**
|
|
1701
|
+
* <p>The image details of the Amazon ECR container image.</p>
|
|
1702
|
+
*/
|
|
1703
|
+
export interface AwsEcrContainerImageDetails {
|
|
1704
|
+
/**
|
|
1705
|
+
* <p>The architecture of the Amazon ECR container image.</p>
|
|
1706
|
+
*/
|
|
1707
|
+
architecture?: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* <p>The image author of the Amazon ECR container image.</p>
|
|
1710
|
+
*/
|
|
1711
|
+
author?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* <p>The image hash of the Amazon ECR container image.</p>
|
|
1714
|
+
*/
|
|
1715
|
+
imageHash?: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* <p>The image tags attached to the Amazon ECR container image.</p>
|
|
1718
|
+
*/
|
|
1719
|
+
imageTags?: string[];
|
|
1720
|
+
/**
|
|
1721
|
+
* <p>The platform of the Amazon ECR container image.</p>
|
|
1722
|
+
*/
|
|
1723
|
+
platform?: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* <p>The date and time the Amazon ECR container image was pushed.</p>
|
|
1726
|
+
*/
|
|
1727
|
+
pushedAt?: Date;
|
|
1728
|
+
/**
|
|
1729
|
+
* <p>The registry the Amazon ECR container image belongs to.</p>
|
|
1730
|
+
*/
|
|
1731
|
+
registry?: string;
|
|
1732
|
+
/**
|
|
1733
|
+
* <p>The name of the repository the Amazon ECR container image resides in.</p>
|
|
1734
|
+
*/
|
|
1735
|
+
repositoryName?: string;
|
|
1736
|
+
}
|
|
1737
|
+
export declare namespace AwsEcrContainerImageDetails {
|
|
1738
|
+
/**
|
|
1739
|
+
* @internal
|
|
1740
|
+
*/
|
|
1741
|
+
const filterSensitiveLog: (obj: AwsEcrContainerImageDetails) => any;
|
|
1742
|
+
}
|
|
1743
|
+
/**
|
|
1744
|
+
* <p>Contains details about the resource involved in the finding.</p>
|
|
1745
|
+
*/
|
|
1746
|
+
export interface ResourceDetails {
|
|
1100
1747
|
/**
|
|
1101
|
-
* <p>
|
|
1102
|
-
*
|
|
1748
|
+
* <p>An object that contains details about the Amazon ECR container image involved in the
|
|
1749
|
+
* finding.</p>
|
|
1103
1750
|
*/
|
|
1104
|
-
|
|
1751
|
+
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
1105
1752
|
}
|
|
1106
|
-
export declare namespace
|
|
1753
|
+
export declare namespace ResourceDetails {
|
|
1107
1754
|
/**
|
|
1108
1755
|
* @internal
|
|
1109
1756
|
*/
|
|
1110
|
-
const filterSensitiveLog: (obj:
|
|
1111
|
-
}
|
|
1112
|
-
export declare enum FindingSeverity {
|
|
1113
|
-
CRITICAL = "CRITICAL",
|
|
1114
|
-
HIGH = "HIGH",
|
|
1115
|
-
INFORMATIONAL = "INFORMATIONAL",
|
|
1116
|
-
LOW = "LOW",
|
|
1117
|
-
MEDIUM = "MEDIUM",
|
|
1118
|
-
UNDEFINED = "UNDEFINED"
|
|
1757
|
+
const filterSensitiveLog: (obj: ResourceDetails) => any;
|
|
1119
1758
|
}
|
|
1120
1759
|
/**
|
|
1121
|
-
* <p>
|
|
1760
|
+
* <p>Details about the resource involved in a finding.</p>
|
|
1122
1761
|
*/
|
|
1123
|
-
export interface
|
|
1762
|
+
export interface Resource {
|
|
1124
1763
|
/**
|
|
1125
|
-
* <p>
|
|
1764
|
+
* <p>An object that contains details about the resource involved in a finding.</p>
|
|
1126
1765
|
*/
|
|
1127
|
-
|
|
1766
|
+
details?: ResourceDetails;
|
|
1128
1767
|
/**
|
|
1129
|
-
* <p>The
|
|
1768
|
+
* <p>The ID of the resource.</p>
|
|
1130
1769
|
*/
|
|
1131
|
-
|
|
1770
|
+
id?: string;
|
|
1132
1771
|
/**
|
|
1133
|
-
* <p>The
|
|
1772
|
+
* <p>The tags attached to the resource.</p>
|
|
1134
1773
|
*/
|
|
1135
|
-
|
|
1136
|
-
[key: string]:
|
|
1774
|
+
tags?: {
|
|
1775
|
+
[key: string]: string;
|
|
1137
1776
|
};
|
|
1777
|
+
/**
|
|
1778
|
+
* <p>The type of resource.</p>
|
|
1779
|
+
*/
|
|
1780
|
+
type?: string;
|
|
1138
1781
|
}
|
|
1139
|
-
export declare namespace
|
|
1782
|
+
export declare namespace Resource {
|
|
1140
1783
|
/**
|
|
1141
1784
|
* @internal
|
|
1142
1785
|
*/
|
|
1143
|
-
const filterSensitiveLog: (obj:
|
|
1144
|
-
}
|
|
1145
|
-
export declare enum ScanStatus {
|
|
1146
|
-
COMPLETE = "COMPLETE",
|
|
1147
|
-
FAILED = "FAILED",
|
|
1148
|
-
IN_PROGRESS = "IN_PROGRESS"
|
|
1786
|
+
const filterSensitiveLog: (obj: Resource) => any;
|
|
1149
1787
|
}
|
|
1150
1788
|
/**
|
|
1151
|
-
* <p>
|
|
1789
|
+
* <p>Details on adjustments Amazon Inspector made to the CVSS score for a finding.</p>
|
|
1152
1790
|
*/
|
|
1153
|
-
export interface
|
|
1791
|
+
export interface CvssScoreAdjustment {
|
|
1154
1792
|
/**
|
|
1155
|
-
* <p>The
|
|
1793
|
+
* <p>The metric used to adjust the CVSS score.</p>
|
|
1156
1794
|
*/
|
|
1157
|
-
|
|
1795
|
+
metric?: string;
|
|
1158
1796
|
/**
|
|
1159
|
-
* <p>The
|
|
1797
|
+
* <p>The reason the CVSS score has been adjustment.</p>
|
|
1160
1798
|
*/
|
|
1161
|
-
|
|
1799
|
+
reason?: string;
|
|
1162
1800
|
}
|
|
1163
|
-
export declare namespace
|
|
1801
|
+
export declare namespace CvssScoreAdjustment {
|
|
1164
1802
|
/**
|
|
1165
1803
|
* @internal
|
|
1166
1804
|
*/
|
|
1167
|
-
const filterSensitiveLog: (obj:
|
|
1805
|
+
const filterSensitiveLog: (obj: CvssScoreAdjustment) => any;
|
|
1168
1806
|
}
|
|
1169
1807
|
/**
|
|
1170
|
-
* <p>
|
|
1171
|
-
* operation.</p>
|
|
1808
|
+
* <p>Information about the CVSS score.</p>
|
|
1172
1809
|
*/
|
|
1173
|
-
export interface
|
|
1810
|
+
export interface CvssScoreDetails {
|
|
1174
1811
|
/**
|
|
1175
|
-
* <p>
|
|
1812
|
+
* <p>An object that contains details about adjustment Amazon Inspector made to the CVSS score.</p>
|
|
1176
1813
|
*/
|
|
1177
|
-
|
|
1814
|
+
adjustments?: CvssScoreAdjustment[];
|
|
1178
1815
|
/**
|
|
1179
|
-
* <p>The
|
|
1816
|
+
* <p>The CVSS score.</p>
|
|
1180
1817
|
*/
|
|
1181
|
-
|
|
1818
|
+
score?: number;
|
|
1182
1819
|
/**
|
|
1183
|
-
* <p>The
|
|
1820
|
+
* <p>The source for the CVSS score.</p>
|
|
1184
1821
|
*/
|
|
1185
|
-
|
|
1822
|
+
scoreSource?: string;
|
|
1186
1823
|
/**
|
|
1187
|
-
* <p>The
|
|
1824
|
+
* <p>The vector for the CVSS score.</p>
|
|
1188
1825
|
*/
|
|
1189
|
-
|
|
1826
|
+
scoringVector?: string;
|
|
1190
1827
|
/**
|
|
1191
|
-
* <p>The
|
|
1192
|
-
* <p>If the image is a manifest list, this will be the max size of all manifests in the
|
|
1193
|
-
* list.</p>
|
|
1194
|
-
* <note>
|
|
1195
|
-
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers
|
|
1196
|
-
* before pushing them to a V2 Docker registry. The output of the <code>docker
|
|
1197
|
-
* images</code> command shows the uncompressed image size, so it may return a
|
|
1198
|
-
* larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
|
|
1199
|
-
* </note>
|
|
1828
|
+
* <p>The CVSS version used in scoring.</p>
|
|
1200
1829
|
*/
|
|
1201
|
-
|
|
1830
|
+
version?: string;
|
|
1831
|
+
}
|
|
1832
|
+
export declare namespace CvssScoreDetails {
|
|
1202
1833
|
/**
|
|
1203
|
-
*
|
|
1204
|
-
* image was pushed to the repository. </p>
|
|
1834
|
+
* @internal
|
|
1205
1835
|
*/
|
|
1206
|
-
|
|
1836
|
+
const filterSensitiveLog: (obj: CvssScoreDetails) => any;
|
|
1837
|
+
}
|
|
1838
|
+
/**
|
|
1839
|
+
* <p>Information about the Amazon Inspector score given to a finding.</p>
|
|
1840
|
+
*/
|
|
1841
|
+
export interface ScoreDetails {
|
|
1207
1842
|
/**
|
|
1208
|
-
* <p>
|
|
1843
|
+
* <p>An object that contains details about the CVSS score given to a finding.</p>
|
|
1209
1844
|
*/
|
|
1210
|
-
|
|
1845
|
+
cvss?: CvssScoreDetails;
|
|
1846
|
+
}
|
|
1847
|
+
export declare namespace ScoreDetails {
|
|
1211
1848
|
/**
|
|
1212
|
-
*
|
|
1849
|
+
* @internal
|
|
1213
1850
|
*/
|
|
1214
|
-
|
|
1851
|
+
const filterSensitiveLog: (obj: ScoreDetails) => any;
|
|
1852
|
+
}
|
|
1853
|
+
/**
|
|
1854
|
+
* <p>The details of an enhanced image scan. This is returned when enhanced scanning is
|
|
1855
|
+
* enabled for your private registry.</p>
|
|
1856
|
+
*/
|
|
1857
|
+
export interface EnhancedImageScanFinding {
|
|
1215
1858
|
/**
|
|
1216
|
-
* <p>The
|
|
1859
|
+
* <p>The Amazon Web Services account ID associated with the image.</p>
|
|
1217
1860
|
*/
|
|
1218
|
-
|
|
1861
|
+
awsAccountId?: string;
|
|
1219
1862
|
/**
|
|
1220
|
-
* <p>The
|
|
1863
|
+
* <p>The description of the finding.</p>
|
|
1221
1864
|
*/
|
|
1222
|
-
|
|
1223
|
-
}
|
|
1224
|
-
export declare namespace ImageDetail {
|
|
1865
|
+
description?: string;
|
|
1225
1866
|
/**
|
|
1226
|
-
*
|
|
1867
|
+
* <p>The Amazon Resource Number (ARN) of the finding.</p>
|
|
1227
1868
|
*/
|
|
1228
|
-
|
|
1229
|
-
}
|
|
1230
|
-
export interface DescribeImagesResponse {
|
|
1869
|
+
findingArn?: string;
|
|
1231
1870
|
/**
|
|
1232
|
-
* <p>
|
|
1233
|
-
* image.</p>
|
|
1871
|
+
* <p>The date and time that the finding was first observed.</p>
|
|
1234
1872
|
*/
|
|
1235
|
-
|
|
1873
|
+
firstObservedAt?: Date;
|
|
1236
1874
|
/**
|
|
1237
|
-
* <p>The
|
|
1238
|
-
* request. When the results of a <code>DescribeImages</code> request exceed
|
|
1239
|
-
* <code>maxResults</code>, this value can be used to retrieve the next page of
|
|
1240
|
-
* results. This value is <code>null</code> when there are no more results to
|
|
1241
|
-
* return.</p>
|
|
1875
|
+
* <p>The date and time that the finding was last observed.</p>
|
|
1242
1876
|
*/
|
|
1243
|
-
|
|
1244
|
-
}
|
|
1245
|
-
export declare namespace DescribeImagesResponse {
|
|
1877
|
+
lastObservedAt?: Date;
|
|
1246
1878
|
/**
|
|
1247
|
-
*
|
|
1879
|
+
* <p>An object that contains the details of a package vulnerability finding.</p>
|
|
1248
1880
|
*/
|
|
1249
|
-
|
|
1250
|
-
}
|
|
1251
|
-
export interface DescribeImageScanFindingsRequest {
|
|
1881
|
+
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
|
|
1252
1882
|
/**
|
|
1253
|
-
* <p>
|
|
1254
|
-
* which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.</p>
|
|
1883
|
+
* <p>An object that contains the details about how to remediate a finding.</p>
|
|
1255
1884
|
*/
|
|
1256
|
-
|
|
1885
|
+
remediation?: Remediation;
|
|
1257
1886
|
/**
|
|
1258
|
-
* <p>
|
|
1887
|
+
* <p>Contains information on the resources involved in a finding.</p>
|
|
1259
1888
|
*/
|
|
1260
|
-
|
|
1889
|
+
resources?: Resource[];
|
|
1261
1890
|
/**
|
|
1262
|
-
* <p>
|
|
1891
|
+
* <p>The Amazon Inspector score given to the finding.</p>
|
|
1263
1892
|
*/
|
|
1264
|
-
|
|
1893
|
+
score?: number;
|
|
1265
1894
|
/**
|
|
1266
|
-
* <p>
|
|
1267
|
-
* <code>DescribeImageScanFindings</code> request where <code>maxResults</code> was
|
|
1268
|
-
* used and the results exceeded the value of that parameter. Pagination continues from the
|
|
1269
|
-
* end of the previous results that returned the <code>nextToken</code> value. This value
|
|
1270
|
-
* is null when there are no more results to return.</p>
|
|
1895
|
+
* <p>An object that contains details of the Amazon Inspector score.</p>
|
|
1271
1896
|
*/
|
|
1272
|
-
|
|
1897
|
+
scoreDetails?: ScoreDetails;
|
|
1273
1898
|
/**
|
|
1274
|
-
* <p>The
|
|
1275
|
-
* <code>DescribeImageScanFindings</code> in paginated output. When this parameter is
|
|
1276
|
-
* used, <code>DescribeImageScanFindings</code> only returns <code>maxResults</code>
|
|
1277
|
-
* results in a single page along with a <code>nextToken</code> response element. The
|
|
1278
|
-
* remaining results of the initial request can be seen by sending another
|
|
1279
|
-
* <code>DescribeImageScanFindings</code> request with the returned
|
|
1280
|
-
* <code>nextToken</code> value. This value can be between 1 and 1000. If this
|
|
1281
|
-
* parameter is not used, then <code>DescribeImageScanFindings</code> returns up to 100
|
|
1282
|
-
* results and a <code>nextToken</code> value, if applicable.</p>
|
|
1899
|
+
* <p>The severity of the finding.</p>
|
|
1283
1900
|
*/
|
|
1284
|
-
|
|
1901
|
+
severity?: string;
|
|
1902
|
+
/**
|
|
1903
|
+
* <p>The status of the finding.</p>
|
|
1904
|
+
*/
|
|
1905
|
+
status?: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* <p>The title of the finding.</p>
|
|
1908
|
+
*/
|
|
1909
|
+
title?: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* <p>The type of the finding.</p>
|
|
1912
|
+
*/
|
|
1913
|
+
type?: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* <p>The date and time the finding was last updated at.</p>
|
|
1916
|
+
*/
|
|
1917
|
+
updatedAt?: Date;
|
|
1285
1918
|
}
|
|
1286
|
-
export declare namespace
|
|
1919
|
+
export declare namespace EnhancedImageScanFinding {
|
|
1287
1920
|
/**
|
|
1288
1921
|
* @internal
|
|
1289
1922
|
*/
|
|
1290
|
-
const filterSensitiveLog: (obj:
|
|
1923
|
+
const filterSensitiveLog: (obj: EnhancedImageScanFinding) => any;
|
|
1291
1924
|
}
|
|
1292
1925
|
/**
|
|
1293
1926
|
* <p>This data type is used in the <a>ImageScanFinding</a> data type.</p>
|
|
@@ -1351,16 +1984,20 @@ export interface ImageScanFindings {
|
|
|
1351
1984
|
* <p>The time when the vulnerability data was last scanned.</p>
|
|
1352
1985
|
*/
|
|
1353
1986
|
vulnerabilitySourceUpdatedAt?: Date;
|
|
1354
|
-
/**
|
|
1355
|
-
* <p>The findings from the image scan.</p>
|
|
1356
|
-
*/
|
|
1357
|
-
findings?: ImageScanFinding[];
|
|
1358
1987
|
/**
|
|
1359
1988
|
* <p>The image vulnerability counts, sorted by severity.</p>
|
|
1360
1989
|
*/
|
|
1361
1990
|
findingSeverityCounts?: {
|
|
1362
1991
|
[key: string]: number;
|
|
1363
1992
|
};
|
|
1993
|
+
/**
|
|
1994
|
+
* <p>The findings from the image scan.</p>
|
|
1995
|
+
*/
|
|
1996
|
+
findings?: ImageScanFinding[];
|
|
1997
|
+
/**
|
|
1998
|
+
* <p>Details about the enhanced scan findings from Amazon Inspector.</p>
|
|
1999
|
+
*/
|
|
2000
|
+
enhancedFindings?: EnhancedImageScanFinding[];
|
|
1364
2001
|
}
|
|
1365
2002
|
export declare namespace ImageScanFindings {
|
|
1366
2003
|
/**
|
|
@@ -1419,6 +2056,94 @@ export declare namespace ScanNotFoundException {
|
|
|
1419
2056
|
*/
|
|
1420
2057
|
const filterSensitiveLog: (obj: ScanNotFoundException) => any;
|
|
1421
2058
|
}
|
|
2059
|
+
export interface DescribePullThroughCacheRulesRequest {
|
|
2060
|
+
/**
|
|
2061
|
+
* <p>The Amazon Web Services account ID associated with the registry to return the pull through cache
|
|
2062
|
+
* rules for. If you do not specify a registry, the default registry is assumed.</p>
|
|
2063
|
+
*/
|
|
2064
|
+
registryId?: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* <p>The Amazon ECR repository prefixes associated with the pull through cache rules to return.
|
|
2067
|
+
* If no repository prefix value is specified, all pull through cache rules are
|
|
2068
|
+
* returned.</p>
|
|
2069
|
+
*/
|
|
2070
|
+
ecrRepositoryPrefixes?: string[];
|
|
2071
|
+
/**
|
|
2072
|
+
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
2073
|
+
* <code>DescribePullThroughCacheRulesRequest</code> request where
|
|
2074
|
+
* <code>maxResults</code> was used and the results exceeded the value of that
|
|
2075
|
+
* parameter. Pagination continues from the end of the previous results that returned the
|
|
2076
|
+
* <code>nextToken</code> value. This value is null when there are no more results to
|
|
2077
|
+
* return.</p>
|
|
2078
|
+
*/
|
|
2079
|
+
nextToken?: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* <p>The maximum number of pull through cache rules returned by
|
|
2082
|
+
* <code>DescribePullThroughCacheRulesRequest</code> in paginated output. When this
|
|
2083
|
+
* parameter is used, <code>DescribePullThroughCacheRulesRequest</code> only returns
|
|
2084
|
+
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
2085
|
+
* response element. The remaining results of the initial request can be seen by sending
|
|
2086
|
+
* another <code>DescribePullThroughCacheRulesRequest</code> request with the returned
|
|
2087
|
+
* <code>nextToken</code> value. This value can be between 1 and 1000. If this
|
|
2088
|
+
* parameter is not used, then <code>DescribePullThroughCacheRulesRequest</code> returns up
|
|
2089
|
+
* to 100 results and a <code>nextToken</code> value, if applicable.</p>
|
|
2090
|
+
*/
|
|
2091
|
+
maxResults?: number;
|
|
2092
|
+
}
|
|
2093
|
+
export declare namespace DescribePullThroughCacheRulesRequest {
|
|
2094
|
+
/**
|
|
2095
|
+
* @internal
|
|
2096
|
+
*/
|
|
2097
|
+
const filterSensitiveLog: (obj: DescribePullThroughCacheRulesRequest) => any;
|
|
2098
|
+
}
|
|
2099
|
+
/**
|
|
2100
|
+
* <p>The details of a pull through cache rule.</p>
|
|
2101
|
+
*/
|
|
2102
|
+
export interface PullThroughCacheRule {
|
|
2103
|
+
/**
|
|
2104
|
+
* <p>The Amazon ECR repository prefix associated with the pull through cache rule.</p>
|
|
2105
|
+
*/
|
|
2106
|
+
ecrRepositoryPrefix?: string;
|
|
2107
|
+
/**
|
|
2108
|
+
* <p>The upstream registry URL associated with the pull through cache rule.</p>
|
|
2109
|
+
*/
|
|
2110
|
+
upstreamRegistryUrl?: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* <p>The date and time the pull through cache was created.</p>
|
|
2113
|
+
*/
|
|
2114
|
+
createdAt?: Date;
|
|
2115
|
+
/**
|
|
2116
|
+
* <p>The Amazon Web Services account ID associated with the registry the pull through cache rule is
|
|
2117
|
+
* associated with.</p>
|
|
2118
|
+
*/
|
|
2119
|
+
registryId?: string;
|
|
2120
|
+
}
|
|
2121
|
+
export declare namespace PullThroughCacheRule {
|
|
2122
|
+
/**
|
|
2123
|
+
* @internal
|
|
2124
|
+
*/
|
|
2125
|
+
const filterSensitiveLog: (obj: PullThroughCacheRule) => any;
|
|
2126
|
+
}
|
|
2127
|
+
export interface DescribePullThroughCacheRulesResponse {
|
|
2128
|
+
/**
|
|
2129
|
+
* <p>The details of the pull through cache rules.</p>
|
|
2130
|
+
*/
|
|
2131
|
+
pullThroughCacheRules?: PullThroughCacheRule[];
|
|
2132
|
+
/**
|
|
2133
|
+
* <p>The <code>nextToken</code> value to include in a future
|
|
2134
|
+
* <code>DescribePullThroughCacheRulesRequest</code> request. When the results of a
|
|
2135
|
+
* <code>DescribePullThroughCacheRulesRequest</code> request exceed
|
|
2136
|
+
* <code>maxResults</code>, this value can be used to retrieve the next page of
|
|
2137
|
+
* results. This value is null when there are no more results to return.</p>
|
|
2138
|
+
*/
|
|
2139
|
+
nextToken?: string;
|
|
2140
|
+
}
|
|
2141
|
+
export declare namespace DescribePullThroughCacheRulesResponse {
|
|
2142
|
+
/**
|
|
2143
|
+
* @internal
|
|
2144
|
+
*/
|
|
2145
|
+
const filterSensitiveLog: (obj: DescribePullThroughCacheRulesResponse) => any;
|
|
2146
|
+
}
|
|
1422
2147
|
export interface DescribeRegistryRequest {
|
|
1423
2148
|
}
|
|
1424
2149
|
export declare namespace DescribeRegistryRequest {
|
|
@@ -1989,6 +2714,73 @@ export declare namespace GetRegistryPolicyResponse {
|
|
|
1989
2714
|
*/
|
|
1990
2715
|
const filterSensitiveLog: (obj: GetRegistryPolicyResponse) => any;
|
|
1991
2716
|
}
|
|
2717
|
+
export interface GetRegistryScanningConfigurationRequest {
|
|
2718
|
+
}
|
|
2719
|
+
export declare namespace GetRegistryScanningConfigurationRequest {
|
|
2720
|
+
/**
|
|
2721
|
+
* @internal
|
|
2722
|
+
*/
|
|
2723
|
+
const filterSensitiveLog: (obj: GetRegistryScanningConfigurationRequest) => any;
|
|
2724
|
+
}
|
|
2725
|
+
/**
|
|
2726
|
+
* <p>The details of a scanning rule for a private registry.</p>
|
|
2727
|
+
*/
|
|
2728
|
+
export interface RegistryScanningRule {
|
|
2729
|
+
/**
|
|
2730
|
+
* <p>The frequency that scans are performed at for a private registry.</p>
|
|
2731
|
+
*/
|
|
2732
|
+
scanFrequency: ScanFrequency | string | undefined;
|
|
2733
|
+
/**
|
|
2734
|
+
* <p>The repository filters associated with the scanning configuration for a private
|
|
2735
|
+
* registry.</p>
|
|
2736
|
+
*/
|
|
2737
|
+
repositoryFilters: ScanningRepositoryFilter[] | undefined;
|
|
2738
|
+
}
|
|
2739
|
+
export declare namespace RegistryScanningRule {
|
|
2740
|
+
/**
|
|
2741
|
+
* @internal
|
|
2742
|
+
*/
|
|
2743
|
+
const filterSensitiveLog: (obj: RegistryScanningRule) => any;
|
|
2744
|
+
}
|
|
2745
|
+
export declare enum ScanType {
|
|
2746
|
+
BASIC = "BASIC",
|
|
2747
|
+
ENHANCED = "ENHANCED"
|
|
2748
|
+
}
|
|
2749
|
+
/**
|
|
2750
|
+
* <p>The scanning configuration for a private registry.</p>
|
|
2751
|
+
*/
|
|
2752
|
+
export interface RegistryScanningConfiguration {
|
|
2753
|
+
/**
|
|
2754
|
+
* <p>The type of scanning configured for the registry.</p>
|
|
2755
|
+
*/
|
|
2756
|
+
scanType?: ScanType | string;
|
|
2757
|
+
/**
|
|
2758
|
+
* <p>The scanning rules associated with the registry.</p>
|
|
2759
|
+
*/
|
|
2760
|
+
rules?: RegistryScanningRule[];
|
|
2761
|
+
}
|
|
2762
|
+
export declare namespace RegistryScanningConfiguration {
|
|
2763
|
+
/**
|
|
2764
|
+
* @internal
|
|
2765
|
+
*/
|
|
2766
|
+
const filterSensitiveLog: (obj: RegistryScanningConfiguration) => any;
|
|
2767
|
+
}
|
|
2768
|
+
export interface GetRegistryScanningConfigurationResponse {
|
|
2769
|
+
/**
|
|
2770
|
+
* <p>The ID of the registry.</p>
|
|
2771
|
+
*/
|
|
2772
|
+
registryId?: string;
|
|
2773
|
+
/**
|
|
2774
|
+
* <p>The scanning configuration for the registry.</p>
|
|
2775
|
+
*/
|
|
2776
|
+
scanningConfiguration?: RegistryScanningConfiguration;
|
|
2777
|
+
}
|
|
2778
|
+
export declare namespace GetRegistryScanningConfigurationResponse {
|
|
2779
|
+
/**
|
|
2780
|
+
* @internal
|
|
2781
|
+
*/
|
|
2782
|
+
const filterSensitiveLog: (obj: GetRegistryScanningConfigurationResponse) => any;
|
|
2783
|
+
}
|
|
1992
2784
|
export interface GetRepositoryPolicyRequest {
|
|
1993
2785
|
/**
|
|
1994
2786
|
* <p>The Amazon Web Services account ID associated with the registry that contains the repository.
|
|
@@ -2439,6 +3231,41 @@ export declare namespace PutRegistryPolicyResponse {
|
|
|
2439
3231
|
*/
|
|
2440
3232
|
const filterSensitiveLog: (obj: PutRegistryPolicyResponse) => any;
|
|
2441
3233
|
}
|
|
3234
|
+
export interface PutRegistryScanningConfigurationRequest {
|
|
3235
|
+
/**
|
|
3236
|
+
* <p>The scanning type to set for the registry.</p>
|
|
3237
|
+
* <p>By default, the <code>BASIC</code> scan type is used. When basic scanning is set, you
|
|
3238
|
+
* may specify filters to determine which individual repositories, or all repositories, are
|
|
3239
|
+
* scanned when new images are pushed. Alternatively, you can do manual scans of images
|
|
3240
|
+
* with basic scanning.</p>
|
|
3241
|
+
* <p>When the <code>ENHANCED</code> scan type is set, Amazon Inspector provides automated, continuous
|
|
3242
|
+
* scanning of all repositories in your registry.</p>
|
|
3243
|
+
*/
|
|
3244
|
+
scanType?: ScanType | string;
|
|
3245
|
+
/**
|
|
3246
|
+
* <p>The scanning rules to use for the registry. A scanning rule is used to determine which
|
|
3247
|
+
* repository filters are used and at what frequency scanning will occur.</p>
|
|
3248
|
+
*/
|
|
3249
|
+
rules?: RegistryScanningRule[];
|
|
3250
|
+
}
|
|
3251
|
+
export declare namespace PutRegistryScanningConfigurationRequest {
|
|
3252
|
+
/**
|
|
3253
|
+
* @internal
|
|
3254
|
+
*/
|
|
3255
|
+
const filterSensitiveLog: (obj: PutRegistryScanningConfigurationRequest) => any;
|
|
3256
|
+
}
|
|
3257
|
+
export interface PutRegistryScanningConfigurationResponse {
|
|
3258
|
+
/**
|
|
3259
|
+
* <p>The scanning configuration for your registry.</p>
|
|
3260
|
+
*/
|
|
3261
|
+
registryScanningConfiguration?: RegistryScanningConfiguration;
|
|
3262
|
+
}
|
|
3263
|
+
export declare namespace PutRegistryScanningConfigurationResponse {
|
|
3264
|
+
/**
|
|
3265
|
+
* @internal
|
|
3266
|
+
*/
|
|
3267
|
+
const filterSensitiveLog: (obj: PutRegistryScanningConfigurationResponse) => any;
|
|
3268
|
+
}
|
|
2442
3269
|
export interface PutReplicationConfigurationRequest {
|
|
2443
3270
|
/**
|
|
2444
3271
|
* <p>An object representing the replication configuration for a registry.</p>
|