Class ImageScanFinding

    • Method Detail

      • awsAccountId

        public final String awsAccountId()

        The Amazon Web Services account ID that's associated with the finding.

        Returns:
        The Amazon Web Services account ID that's associated with the finding.
      • imageBuildVersionArn

        public final String imageBuildVersionArn()

        The Amazon Resource Name (ARN) of the image build version that's associated with the finding.

        Returns:
        The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
      • imagePipelineArn

        public final String imagePipelineArn()

        The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.

        Returns:
        The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
      • type

        public final String type()

        The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY that apply to output images, and excludes other types.

        Returns:
        The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY that apply to output images, and excludes other types.
      • description

        public final String description()

        The description of the finding.

        Returns:
        The description of the finding.
      • title

        public final String title()

        The title of the finding.

        Returns:
        The title of the finding.
      • remediation

        public final Remediation remediation()

        An object that contains the details about how to remediate the finding.

        Returns:
        An object that contains the details about how to remediate the finding.
      • severity

        public final String severity()

        The severity of the finding.

        Returns:
        The severity of the finding.
      • firstObservedAt

        public final Instant firstObservedAt()

        The date and time when the finding was first observed.

        Returns:
        The date and time when the finding was first observed.
      • updatedAt

        public final Instant updatedAt()

        The timestamp when the finding was last updated.

        Returns:
        The timestamp when the finding was last updated.
      • inspectorScore

        public final Double inspectorScore()

        The score that Amazon Inspector assigned for the finding.

        Returns:
        The score that Amazon Inspector assigned for the finding.
      • inspectorScoreDetails

        public final InspectorScoreDetails inspectorScoreDetails()

        An object that contains details of the Amazon Inspector score.

        Returns:
        An object that contains details of the Amazon Inspector score.
      • packageVulnerabilityDetails

        public final PackageVulnerabilityDetails packageVulnerabilityDetails()

        An object that contains the details of a package vulnerability finding.

        Returns:
        An object that contains the details of a package vulnerability finding.
      • fixAvailable

        public final String fixAvailable()

        Details about whether a fix is available for any of the packages that are identified in the finding through a version update.

        Returns:
        Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)