1 // Code generated by smithy-go-codegen DO NOT EDIT. 2 3 package types 4 5 import ( 6 smithydocument "github.com/aws/smithy-go/document" 7 "time" 8 ) 9 10 // This data type is used in the ImageScanFinding data type. 11 type Attribute struct { 12 13 // The attribute key. 14 // 15 // This member is required. 16 Key *string 17 18 // The value assigned to the attribute key. 19 Value *string 20 21 noSmithyDocumentSerde 22 } 23 24 // An object representing authorization data for an Amazon ECR registry. 25 type AuthorizationData struct { 26 27 // A base64-encoded string that contains authorization data for the specified 28 // Amazon ECR registry. When the string is decoded, it is presented in the format 29 // user:password for private registry authentication using docker login . 30 AuthorizationToken *string 31 32 // The Unix time in seconds and milliseconds when the authorization token expires. 33 // Authorization tokens are valid for 12 hours. 34 ExpiresAt *time.Time 35 36 // The registry URL to use for this authorization token in a docker login command. 37 // The Amazon ECR registry URL format is 38 // https://aws_account_id.dkr.ecr.region.amazonaws.com . For example, 39 // https://012345678910.dkr.ecr.us-east-1.amazonaws.com .. 40 ProxyEndpoint *string 41 42 noSmithyDocumentSerde 43 } 44 45 // The image details of the Amazon ECR container image. 46 type AwsEcrContainerImageDetails struct { 47 48 // The architecture of the Amazon ECR container image. 49 Architecture *string 50 51 // The image author of the Amazon ECR container image. 52 Author *string 53 54 // The image hash of the Amazon ECR container image. 55 ImageHash *string 56 57 // The image tags attached to the Amazon ECR container image. 58 ImageTags []string 59 60 // The platform of the Amazon ECR container image. 61 Platform *string 62 63 // The date and time the Amazon ECR container image was pushed. 64 PushedAt *time.Time 65 66 // The registry the Amazon ECR container image belongs to. 67 Registry *string 68 69 // The name of the repository the Amazon ECR container image resides in. 70 RepositoryName *string 71 72 noSmithyDocumentSerde 73 } 74 75 // The CVSS score for a finding. 76 type CvssScore struct { 77 78 // The base CVSS score used for the finding. 79 BaseScore float64 80 81 // The vector string of the CVSS score. 82 ScoringVector *string 83 84 // The source of the CVSS score. 85 Source *string 86 87 // The version of CVSS used for the score. 88 Version *string 89 90 noSmithyDocumentSerde 91 } 92 93 // Details on adjustments Amazon Inspector made to the CVSS score for a finding. 94 type CvssScoreAdjustment struct { 95 96 // The metric used to adjust the CVSS score. 97 Metric *string 98 99 // The reason the CVSS score has been adjustment. 100 Reason *string 101 102 noSmithyDocumentSerde 103 } 104 105 // Information about the CVSS score. 106 type CvssScoreDetails struct { 107 108 // An object that contains details about adjustment Amazon Inspector made to the 109 // CVSS score. 110 Adjustments []CvssScoreAdjustment 111 112 // The CVSS score. 113 Score float64 114 115 // The source for the CVSS score. 116 ScoreSource *string 117 118 // The vector for the CVSS score. 119 ScoringVector *string 120 121 // The CVSS version used in scoring. 122 Version *string 123 124 noSmithyDocumentSerde 125 } 126 127 // An object representing a filter on a DescribeImages operation. 128 type DescribeImagesFilter struct { 129 130 // The tag status with which to filter your DescribeImages results. You can filter 131 // results based on whether they are TAGGED or UNTAGGED . 132 TagStatus TagStatus 133 134 noSmithyDocumentSerde 135 } 136 137 // The encryption configuration for the repository. This determines how the 138 // contents of your repository are encrypted at rest. By default, when no 139 // encryption configuration is set or the AES256 encryption type is used, Amazon 140 // ECR uses server-side encryption with Amazon S3-managed encryption keys which 141 // encrypts your data at rest using an AES-256 encryption algorithm. This does not 142 // require any action on your part. For more control over the encryption of the 143 // contents of your repository, you can use server-side encryption with Key 144 // Management Service key stored in Key Management Service (KMS) to encrypt your 145 // images. For more information, see Amazon ECR encryption at rest (https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html) 146 // in the Amazon Elastic Container Registry User Guide. 147 type EncryptionConfiguration struct { 148 149 // The encryption type to use. If you use the KMS encryption type, the contents of 150 // the repository will be encrypted using server-side encryption with Key 151 // Management Service key stored in KMS. When you use KMS to encrypt your data, you 152 // can either use the default Amazon Web Services managed KMS key for Amazon ECR, 153 // or specify your own KMS key, which you already created. For more information, 154 // see Protecting data using server-side encryption with an KMS key stored in Key 155 // Management Service (SSE-KMS) (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) 156 // in the Amazon Simple Storage Service Console Developer Guide. If you use the 157 // AES256 encryption type, Amazon ECR uses server-side encryption with Amazon 158 // S3-managed encryption keys which encrypts the images in the repository using an 159 // AES-256 encryption algorithm. For more information, see Protecting data using 160 // server-side encryption with Amazon S3-managed encryption keys (SSE-S3) (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html) 161 // in the Amazon Simple Storage Service Console Developer Guide. 162 // 163 // This member is required. 164 EncryptionType EncryptionType 165 166 // If you use the KMS encryption type, specify the KMS key to use for encryption. 167 // The alias, key ID, or full ARN of the KMS key can be specified. The key must 168 // exist in the same Region as the repository. If no key is specified, the default 169 // Amazon Web Services managed KMS key for Amazon ECR will be used. 170 KmsKey *string 171 172 noSmithyDocumentSerde 173 } 174 175 // The details of an enhanced image scan. This is returned when enhanced scanning 176 // is enabled for your private registry. 177 type EnhancedImageScanFinding struct { 178 179 // The Amazon Web Services account ID associated with the image. 180 AwsAccountId *string 181 182 // The description of the finding. 183 Description *string 184 185 // The Amazon Resource Number (ARN) of the finding. 186 FindingArn *string 187 188 // The date and time that the finding was first observed. 189 FirstObservedAt *time.Time 190 191 // The date and time that the finding was last observed. 192 LastObservedAt *time.Time 193 194 // An object that contains the details of a package vulnerability finding. 195 PackageVulnerabilityDetails *PackageVulnerabilityDetails 196 197 // An object that contains the details about how to remediate a finding. 198 Remediation *Remediation 199 200 // Contains information on the resources involved in a finding. 201 Resources []Resource 202 203 // The Amazon Inspector score given to the finding. 204 Score float64 205 206 // An object that contains details of the Amazon Inspector score. 207 ScoreDetails *ScoreDetails 208 209 // The severity of the finding. 210 Severity *string 211 212 // The status of the finding. 213 Status *string 214 215 // The title of the finding. 216 Title *string 217 218 // The type of the finding. 219 Type *string 220 221 // The date and time the finding was last updated at. 222 UpdatedAt *time.Time 223 224 noSmithyDocumentSerde 225 } 226 227 // An object representing an Amazon ECR image. 228 type Image struct { 229 230 // An object containing the image tag and image digest associated with an image. 231 ImageId *ImageIdentifier 232 233 // The image manifest associated with the image. 234 ImageManifest *string 235 236 // The manifest media type of the image. 237 ImageManifestMediaType *string 238 239 // The Amazon Web Services account ID associated with the registry containing the 240 // image. 241 RegistryId *string 242 243 // The name of the repository associated with the image. 244 RepositoryName *string 245 246 noSmithyDocumentSerde 247 } 248 249 // An object that describes an image returned by a DescribeImages operation. 250 type ImageDetail struct { 251 252 // The artifact media type of the image. 253 ArtifactMediaType *string 254 255 // The sha256 digest of the image manifest. 256 ImageDigest *string 257 258 // The media type of the image manifest. 259 ImageManifestMediaType *string 260 261 // The date and time, expressed in standard JavaScript date format, at which the 262 // current image was pushed to the repository. 263 ImagePushedAt *time.Time 264 265 // A summary of the last completed image scan. 266 ImageScanFindingsSummary *ImageScanFindingsSummary 267 268 // The current state of the scan. 269 ImageScanStatus *ImageScanStatus 270 271 // The size, in bytes, of the image in the repository. If the image is a manifest 272 // list, this will be the max size of all manifests in the list. Beginning with 273 // Docker version 1.9, the Docker client compresses image layers before pushing 274 // them to a V2 Docker registry. The output of the docker images command shows the 275 // uncompressed image size, so it may return a larger image size than the image 276 // sizes returned by DescribeImages . 277 ImageSizeInBytes *int64 278 279 // The list of tags associated with this image. 280 ImageTags []string 281 282 // The date and time, expressed in standard JavaScript date format, when Amazon 283 // ECR recorded the last image pull. Amazon ECR refreshes the last image pull 284 // timestamp at least once every 24 hours. For example, if you pull an image once a 285 // day then the lastRecordedPullTime timestamp will indicate the exact time that 286 // the image was last pulled. However, if you pull an image once an hour, because 287 // Amazon ECR refreshes the lastRecordedPullTime timestamp at least once every 24 288 // hours, the result may not be the exact time that the image was last pulled. 289 LastRecordedPullTime *time.Time 290 291 // The Amazon Web Services account ID associated with the registry to which this 292 // image belongs. 293 RegistryId *string 294 295 // The name of the repository to which this image belongs. 296 RepositoryName *string 297 298 noSmithyDocumentSerde 299 } 300 301 // An object representing an Amazon ECR image failure. 302 type ImageFailure struct { 303 304 // The code associated with the failure. 305 FailureCode ImageFailureCode 306 307 // The reason for the failure. 308 FailureReason *string 309 310 // The image ID associated with the failure. 311 ImageId *ImageIdentifier 312 313 noSmithyDocumentSerde 314 } 315 316 // An object with identifying information for an image in an Amazon ECR repository. 317 type ImageIdentifier struct { 318 319 // The sha256 digest of the image manifest. 320 ImageDigest *string 321 322 // The tag used for the image. 323 ImageTag *string 324 325 noSmithyDocumentSerde 326 } 327 328 // The status of the replication process for an image. 329 type ImageReplicationStatus struct { 330 331 // The failure code for a replication that has failed. 332 FailureCode *string 333 334 // The destination Region for the image replication. 335 Region *string 336 337 // The Amazon Web Services account ID associated with the registry to which the 338 // image belongs. 339 RegistryId *string 340 341 // The image replication status. 342 Status ReplicationStatus 343 344 noSmithyDocumentSerde 345 } 346 347 // Contains information about an image scan finding. 348 type ImageScanFinding struct { 349 350 // A collection of attributes of the host from which the finding is generated. 351 Attributes []Attribute 352 353 // The description of the finding. 354 Description *string 355 356 // The name associated with the finding, usually a CVE number. 357 Name *string 358 359 // The finding severity. 360 Severity FindingSeverity 361 362 // A link containing additional details about the security vulnerability. 363 Uri *string 364 365 noSmithyDocumentSerde 366 } 367 368 // The details of an image scan. 369 type ImageScanFindings struct { 370 371 // Details about the enhanced scan findings from Amazon Inspector. 372 EnhancedFindings []EnhancedImageScanFinding 373 374 // The image vulnerability counts, sorted by severity. 375 FindingSeverityCounts map[string]int32 376 377 // The findings from the image scan. 378 Findings []ImageScanFinding 379 380 // The time of the last completed image scan. 381 ImageScanCompletedAt *time.Time 382 383 // The time when the vulnerability data was last scanned. 384 VulnerabilitySourceUpdatedAt *time.Time 385 386 noSmithyDocumentSerde 387 } 388 389 // A summary of the last completed image scan. 390 type ImageScanFindingsSummary struct { 391 392 // The image vulnerability counts, sorted by severity. 393 FindingSeverityCounts map[string]int32 394 395 // The time of the last completed image scan. 396 ImageScanCompletedAt *time.Time 397 398 // The time when the vulnerability data was last scanned. 399 VulnerabilitySourceUpdatedAt *time.Time 400 401 noSmithyDocumentSerde 402 } 403 404 // The image scanning configuration for a repository. 405 type ImageScanningConfiguration struct { 406 407 // The setting that determines whether images are scanned after being pushed to a 408 // repository. If set to true , images will be scanned after being pushed. If this 409 // parameter is not specified, it will default to false and images will not be 410 // scanned unless a scan is manually started with the API_StartImageScan (https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_StartImageScan.html) 411 // API. 412 ScanOnPush bool 413 414 noSmithyDocumentSerde 415 } 416 417 // The current status of an image scan. 418 type ImageScanStatus struct { 419 420 // The description of the image scan status. 421 Description *string 422 423 // The current state of an image scan. 424 Status ScanStatus 425 426 noSmithyDocumentSerde 427 } 428 429 // An object representing an Amazon ECR image layer. 430 type Layer struct { 431 432 // The availability status of the image layer. 433 LayerAvailability LayerAvailability 434 435 // The sha256 digest of the image layer. 436 LayerDigest *string 437 438 // The size, in bytes, of the image layer. 439 LayerSize *int64 440 441 // The media type of the layer, such as 442 // application/vnd.docker.image.rootfs.diff.tar.gzip or 443 // application/vnd.oci.image.layer.v1.tar+gzip . 444 MediaType *string 445 446 noSmithyDocumentSerde 447 } 448 449 // An object representing an Amazon ECR image layer failure. 450 type LayerFailure struct { 451 452 // The failure code associated with the failure. 453 FailureCode LayerFailureCode 454 455 // The reason for the failure. 456 FailureReason *string 457 458 // The layer digest associated with the failure. 459 LayerDigest *string 460 461 noSmithyDocumentSerde 462 } 463 464 // The filter for the lifecycle policy preview. 465 type LifecyclePolicyPreviewFilter struct { 466 467 // The tag status of the image. 468 TagStatus TagStatus 469 470 noSmithyDocumentSerde 471 } 472 473 // The result of the lifecycle policy preview. 474 type LifecyclePolicyPreviewResult struct { 475 476 // The type of action to be taken. 477 Action *LifecyclePolicyRuleAction 478 479 // The priority of the applied rule. 480 AppliedRulePriority *int32 481 482 // The sha256 digest of the image manifest. 483 ImageDigest *string 484 485 // The date and time, expressed in standard JavaScript date format, at which the 486 // current image was pushed to the repository. 487 ImagePushedAt *time.Time 488 489 // The list of tags associated with this image. 490 ImageTags []string 491 492 noSmithyDocumentSerde 493 } 494 495 // The summary of the lifecycle policy preview request. 496 type LifecyclePolicyPreviewSummary struct { 497 498 // The number of expiring images. 499 ExpiringImageTotalCount *int32 500 501 noSmithyDocumentSerde 502 } 503 504 // The type of action to be taken. 505 type LifecyclePolicyRuleAction struct { 506 507 // The type of action to be taken. 508 Type ImageActionType 509 510 noSmithyDocumentSerde 511 } 512 513 // An object representing a filter on a ListImages operation. 514 type ListImagesFilter struct { 515 516 // The tag status with which to filter your ListImages results. You can filter 517 // results based on whether they are TAGGED or UNTAGGED . 518 TagStatus TagStatus 519 520 noSmithyDocumentSerde 521 } 522 523 // Information about a package vulnerability finding. 524 type PackageVulnerabilityDetails struct { 525 526 // An object that contains details about the CVSS score of a finding. 527 Cvss []CvssScore 528 529 // One or more URLs that contain details about this vulnerability type. 530 ReferenceUrls []string 531 532 // One or more vulnerabilities related to the one identified in this finding. 533 RelatedVulnerabilities []string 534 535 // The source of the vulnerability information. 536 Source *string 537 538 // A URL to the source of the vulnerability information. 539 SourceUrl *string 540 541 // The date and time that this vulnerability was first added to the vendor's 542 // database. 543 VendorCreatedAt *time.Time 544 545 // The severity the vendor has given to this vulnerability type. 546 VendorSeverity *string 547 548 // The date and time the vendor last updated this vulnerability in their database. 549 VendorUpdatedAt *time.Time 550 551 // The ID given to this vulnerability. 552 VulnerabilityId *string 553 554 // The packages impacted by this vulnerability. 555 VulnerablePackages []VulnerablePackage 556 557 noSmithyDocumentSerde 558 } 559 560 // The details of a pull through cache rule. 561 type PullThroughCacheRule struct { 562 563 // The date and time the pull through cache was created. 564 CreatedAt *time.Time 565 566 // The Amazon ECR repository prefix associated with the pull through cache rule. 567 EcrRepositoryPrefix *string 568 569 // The Amazon Web Services account ID associated with the registry the pull 570 // through cache rule is associated with. 571 RegistryId *string 572 573 // The upstream registry URL associated with the pull through cache rule. 574 UpstreamRegistryUrl *string 575 576 noSmithyDocumentSerde 577 } 578 579 // Details about the recommended course of action to remediate the finding. 580 type Recommendation struct { 581 582 // The recommended course of action to remediate the finding. 583 Text *string 584 585 // The URL address to the CVE remediation recommendations. 586 Url *string 587 588 noSmithyDocumentSerde 589 } 590 591 // The scanning configuration for a private registry. 592 type RegistryScanningConfiguration struct { 593 594 // The scanning rules associated with the registry. 595 Rules []RegistryScanningRule 596 597 // The type of scanning configured for the registry. 598 ScanType ScanType 599 600 noSmithyDocumentSerde 601 } 602 603 // The details of a scanning rule for a private registry. 604 type RegistryScanningRule struct { 605 606 // The repository filters associated with the scanning configuration for a private 607 // registry. 608 // 609 // This member is required. 610 RepositoryFilters []ScanningRepositoryFilter 611 612 // The frequency that scans are performed at for a private registry. When the 613 // ENHANCED scan type is specified, the supported scan frequencies are 614 // CONTINUOUS_SCAN and SCAN_ON_PUSH . When the BASIC scan type is specified, the 615 // SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then 616 // the MANUAL scan frequency is set by default. 617 // 618 // This member is required. 619 ScanFrequency ScanFrequency 620 621 noSmithyDocumentSerde 622 } 623 624 // Information on how to remediate a finding. 625 type Remediation struct { 626 627 // An object that contains information about the recommended course of action to 628 // remediate the finding. 629 Recommendation *Recommendation 630 631 noSmithyDocumentSerde 632 } 633 634 // The replication configuration for a registry. 635 type ReplicationConfiguration struct { 636 637 // An array of objects representing the replication destinations and repository 638 // filters for a replication configuration. 639 // 640 // This member is required. 641 Rules []ReplicationRule 642 643 noSmithyDocumentSerde 644 } 645 646 // An array of objects representing the destination for a replication rule. 647 type ReplicationDestination struct { 648 649 // The Region to replicate to. 650 // 651 // This member is required. 652 Region *string 653 654 // The Amazon Web Services account ID of the Amazon ECR private registry to 655 // replicate to. When configuring cross-Region replication within your own 656 // registry, specify your own account ID. 657 // 658 // This member is required. 659 RegistryId *string 660 661 noSmithyDocumentSerde 662 } 663 664 // An array of objects representing the replication destinations and repository 665 // filters for a replication configuration. 666 type ReplicationRule struct { 667 668 // An array of objects representing the destination for a replication rule. 669 // 670 // This member is required. 671 Destinations []ReplicationDestination 672 673 // An array of objects representing the filters for a replication rule. Specifying 674 // a repository filter for a replication rule provides a method for controlling 675 // which repositories in a private registry are replicated. 676 RepositoryFilters []RepositoryFilter 677 678 noSmithyDocumentSerde 679 } 680 681 // An object representing a repository. 682 type Repository struct { 683 684 // The date and time, in JavaScript date format, when the repository was created. 685 CreatedAt *time.Time 686 687 // The encryption configuration for the repository. This determines how the 688 // contents of your repository are encrypted at rest. 689 EncryptionConfiguration *EncryptionConfiguration 690 691 // The image scanning configuration for a repository. 692 ImageScanningConfiguration *ImageScanningConfiguration 693 694 // The tag mutability setting for the repository. 695 ImageTagMutability ImageTagMutability 696 697 // The Amazon Web Services account ID associated with the registry that contains 698 // the repository. 699 RegistryId *string 700 701 // The Amazon Resource Name (ARN) that identifies the repository. The ARN contains 702 // the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web 703 // Services account ID of the repository owner, repository namespace, and 704 // repository name. For example, 705 // arn:aws:ecr:region:012345678910:repository-namespace/repository-name . 706 RepositoryArn *string 707 708 // The name of the repository. 709 RepositoryName *string 710 711 // The URI for the repository. You can use this URI for container image push and 712 // pull operations. 713 RepositoryUri *string 714 715 noSmithyDocumentSerde 716 } 717 718 // The filter settings used with image replication. Specifying a repository filter 719 // to a replication rule provides a method for controlling which repositories in a 720 // private registry are replicated. If no filters are added, the contents of all 721 // repositories are replicated. 722 type RepositoryFilter struct { 723 724 // The repository filter details. When the PREFIX_MATCH filter type is specified, 725 // this value is required and should be the repository name prefix to configure 726 // replication for. 727 // 728 // This member is required. 729 Filter *string 730 731 // The repository filter type. The only supported value is PREFIX_MATCH , which is 732 // a repository name prefix specified with the filter parameter. 733 // 734 // This member is required. 735 FilterType RepositoryFilterType 736 737 noSmithyDocumentSerde 738 } 739 740 // The details of the scanning configuration for a repository. 741 type RepositoryScanningConfiguration struct { 742 743 // The scan filters applied to the repository. 744 AppliedScanFilters []ScanningRepositoryFilter 745 746 // The ARN of the repository. 747 RepositoryArn *string 748 749 // The name of the repository. 750 RepositoryName *string 751 752 // The scan frequency for the repository. 753 ScanFrequency ScanFrequency 754 755 // Whether or not scan on push is configured for the repository. 756 ScanOnPush bool 757 758 noSmithyDocumentSerde 759 } 760 761 // The details about any failures associated with the scanning configuration of a 762 // repository. 763 type RepositoryScanningConfigurationFailure struct { 764 765 // The failure code. 766 FailureCode ScanningConfigurationFailureCode 767 768 // The reason for the failure. 769 FailureReason *string 770 771 // The name of the repository. 772 RepositoryName *string 773 774 noSmithyDocumentSerde 775 } 776 777 // Details about the resource involved in a finding. 778 type Resource struct { 779 780 // An object that contains details about the resource involved in a finding. 781 Details *ResourceDetails 782 783 // The ID of the resource. 784 Id *string 785 786 // The tags attached to the resource. 787 Tags map[string]string 788 789 // The type of resource. 790 Type *string 791 792 noSmithyDocumentSerde 793 } 794 795 // Contains details about the resource involved in the finding. 796 type ResourceDetails struct { 797 798 // An object that contains details about the Amazon ECR container image involved 799 // in the finding. 800 AwsEcrContainerImage *AwsEcrContainerImageDetails 801 802 noSmithyDocumentSerde 803 } 804 805 // The details of a scanning repository filter. For more information on how to use 806 // filters, see Using filters (https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html#image-scanning-filters) 807 // in the Amazon Elastic Container Registry User Guide. 808 type ScanningRepositoryFilter struct { 809 810 // The filter to use when scanning. 811 // 812 // This member is required. 813 Filter *string 814 815 // The type associated with the filter. 816 // 817 // This member is required. 818 FilterType ScanningRepositoryFilterType 819 820 noSmithyDocumentSerde 821 } 822 823 // Information about the Amazon Inspector score given to a finding. 824 type ScoreDetails struct { 825 826 // An object that contains details about the CVSS score given to a finding. 827 Cvss *CvssScoreDetails 828 829 noSmithyDocumentSerde 830 } 831 832 // The metadata to apply to a resource to help you categorize and organize them. 833 // Each tag consists of a key and a value, both of which you define. Tag keys can 834 // have a maximum character length of 128 characters, and tag values can have a 835 // maximum length of 256 characters. 836 type Tag struct { 837 838 // One part of a key-value pair that make up a tag. A key is a general label that 839 // acts like a category for more specific tag values. 840 // 841 // This member is required. 842 Key *string 843 844 // A value acts as a descriptor within a tag category (key). 845 // 846 // This member is required. 847 Value *string 848 849 noSmithyDocumentSerde 850 } 851 852 // Information on the vulnerable package identified by a finding. 853 type VulnerablePackage struct { 854 855 // The architecture of the vulnerable package. 856 Arch *string 857 858 // The epoch of the vulnerable package. 859 Epoch *int32 860 861 // The file path of the vulnerable package. 862 FilePath *string 863 864 // The name of the vulnerable package. 865 Name *string 866 867 // The package manager of the vulnerable package. 868 PackageManager *string 869 870 // The release of the vulnerable package. 871 Release *string 872 873 // The source layer hash of the vulnerable package. 874 SourceLayerHash *string 875 876 // The version of the vulnerable package. 877 Version *string 878 879 noSmithyDocumentSerde 880 } 881 882 type noSmithyDocumentSerde = smithydocument.NoSerde 883