Class ImageScanFinding
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImageScanFinding.Builder,ImageScanFinding>
Contains details about a vulnerability scan finding.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Web Services account ID that's associated with the finding.static ImageScanFinding.Builderbuilder()final StringThe description of the finding.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final InstantThe date and time when the finding was first observed.final StringDetails about whether a fix is available for any of the packages that are identified in the finding through a version update.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe Amazon Resource Name (ARN) of the image build version that's associated with the finding.final StringThe Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.final DoubleThe score that Amazon Inspector assigned for the finding.final InspectorScoreDetailsAn object that contains details of the Amazon Inspector score.An object that contains the details of a package vulnerability finding.final RemediationAn object that contains the details about how to remediate the finding.static Class<? extends ImageScanFinding.Builder> final Stringseverity()The severity of the finding.final Stringtitle()The title of the finding.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringtype()The type of the finding.final InstantThe timestamp when the finding was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
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
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
The description of the finding.
- Returns:
- The description of the finding.
-
title
-
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
-
firstObservedAt
The date and time when the finding was first observed.
- Returns:
- The date and time when the finding was first observed.
-
updatedAt
The timestamp when the finding was last updated.
- Returns:
- The timestamp when the finding was last updated.
-
inspectorScore
The score that Amazon Inspector assigned for the finding.
- Returns:
- The score that Amazon Inspector assigned for the finding.
-
inspectorScoreDetails
An object that contains details of the Amazon Inspector score.
- Returns:
- An object that contains details of the Amazon Inspector score.
-
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
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageScanFinding.Builder,ImageScanFinding> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-