Class ImageScanFinding
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ImageScanFinding.Builder,
ImageScanFinding>
Contains details about a vulnerability scan finding.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The Amazon Web Services account ID that's associated with the finding.static ImageScanFinding.Builder
builder()
final String
The description of the finding.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Instant
The date and time when the finding was first observed.final String
Details 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 int
hashCode()
final String
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.final String
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.final Double
The score that Amazon Inspector assigned for the finding.final InspectorScoreDetails
An object that contains details of the Amazon Inspector score.An object that contains the details of a package vulnerability finding.final Remediation
An object that contains the details about how to remediate the finding.static Class
<? extends ImageScanFinding.Builder> final String
severity()
The severity of the finding.final String
title()
The title of the finding.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
type()
The type of the finding.final Instant
The 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_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
The description of the finding.
- Returns:
- The description of the finding.
-
title
The title of the finding.
- Returns:
- The title of the finding.
-
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
The severity of the finding.
- Returns:
- The severity of the finding.
-
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ImageScanFinding.Builder,
ImageScanFinding> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-