Class ImageScanFinding
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.model.ImageScanFinding
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImageScanFinding.Builder,ImageScanFinding>
@Generated("software.amazon.awssdk:codegen") public final class ImageScanFinding extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageScanFinding.Builder,ImageScanFinding>
Contains details about a vulnerability scan finding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImageScanFinding.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsAccountId()The Amazon Web Services account ID that's associated with the finding.static ImageScanFinding.Builderbuilder()Stringdescription()The description of the finding.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantfirstObservedAt()The date and time when the finding was first observed.StringfixAvailable()Details about whether a fix is available for any of the packages that are identified in the finding through a version update.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimageBuildVersionArn()The Amazon Resource Name (ARN) of the image build version that's associated with the finding.StringimagePipelineArn()The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.DoubleinspectorScore()The score that Amazon Inspector assigned for the finding.InspectorScoreDetailsinspectorScoreDetails()An object that contains details of the Amazon Inspector score.PackageVulnerabilityDetailspackageVulnerabilityDetails()An object that contains the details of a package vulnerability finding.Remediationremediation()An object that contains the details about how to remediate the finding.List<SdkField<?>>sdkFields()static Class<? extends ImageScanFinding.Builder>serializableBuilderClass()Stringseverity()The severity of the finding.Stringtitle()The title of the finding.ImageScanFinding.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of the finding.InstantupdatedAt()The timestamp when the finding was last updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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_VULNERABILITYthat apply to output images, and excludes other types.- Returns:
- The type of the finding. Image Builder looks for findings of the type
PACKAGE_VULNERABILITYthat 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.
-
toBuilder
public ImageScanFinding.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageScanFinding.Builder,ImageScanFinding>
-
builder
public static ImageScanFinding.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImageScanFinding.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-