Class Finding
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Finding.Builder,Finding>
Details about an Amazon Inspector finding.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Web Services account ID associated with the finding.static Finding.Builderbuilder()final CodeVulnerabilityDetailsDetails about the code vulnerability identified in a Lambda function used to filter findings.final StringThe description of the finding.final EpssDetailsepss()The finding's EPSS score.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExploitabilityDetailsThe details of an exploit available for a finding discovered in your environment.final ExploitAvailableIf a finding discovered in your environment has an exploit available.final StringIf a finding discovered in your environment has an exploit available.final StringThe Amazon Resource Number (ARN) of the finding.final InstantThe date and time that the finding was first observed.final FixAvailableDetails on whether a fix is available through a version update.final StringDetails on whether a fix is available through a version update.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the Resources property.final DoubleThe Amazon Inspector score given to the finding.final InspectorScoreDetailsAn object that contains details of the Amazon Inspector score.final InstantThe date and time the finding was last observed.An object that contains the details of a network reachability finding.An object that contains the details of a package vulnerability finding.final RemediationAn object that contains the details about how to remediate a finding.Contains information on the resources involved in a finding.static Class<? extends Finding.Builder> final Severityseverity()The severity of the finding.final StringThe severity of the finding.final FindingStatusstatus()The status of the finding.final StringThe status 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 FindingTypetype()The type of the finding.final StringThe type of the finding.final InstantThe date and time the finding was last updated at.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
awsAccountId
The Amazon Web Services account ID associated with the finding.
- Returns:
- The Amazon Web Services account ID associated with the finding.
-
codeVulnerabilityDetails
Details about the code vulnerability identified in a Lambda function used to filter findings.
- Returns:
- Details about the code vulnerability identified in a Lambda function used to filter findings.
-
description
The description of the finding.
- Returns:
- The description of the finding.
-
epss
-
exploitAvailable
If a finding discovered in your environment has an exploit available.
If the service returns an enum value that is not available in the current SDK version,
exploitAvailablewill returnExploitAvailable.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexploitAvailableAsString().- Returns:
- If a finding discovered in your environment has an exploit available.
- See Also:
-
exploitAvailableAsString
If a finding discovered in your environment has an exploit available.
If the service returns an enum value that is not available in the current SDK version,
exploitAvailablewill returnExploitAvailable.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexploitAvailableAsString().- Returns:
- If a finding discovered in your environment has an exploit available.
- See Also:
-
exploitabilityDetails
The details of an exploit available for a finding discovered in your environment.
- Returns:
- The details of an exploit available for a finding discovered in your environment.
-
findingArn
The Amazon Resource Number (ARN) of the finding.
- Returns:
- The Amazon Resource Number (ARN) of the finding.
-
firstObservedAt
The date and time that the finding was first observed.
- Returns:
- The date and time that the finding was first observed.
-
fixAvailable
Details on whether a fix is available through a version update. This value can be
YES,NO, orPARTIAL. APARTIALfix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.If the service returns an enum value that is not available in the current SDK version,
fixAvailablewill returnFixAvailable.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfixAvailableAsString().- Returns:
- Details on whether a fix is available through a version update. This value can be
YES,NO, orPARTIAL. APARTIALfix means that some, but not all, of the packages identified in the finding have fixes available through updated versions. - See Also:
-
fixAvailableAsString
Details on whether a fix is available through a version update. This value can be
YES,NO, orPARTIAL. APARTIALfix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.If the service returns an enum value that is not available in the current SDK version,
fixAvailablewill returnFixAvailable.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfixAvailableAsString().- Returns:
- Details on whether a fix is available through a version update. This value can be
YES,NO, orPARTIAL. APARTIALfix means that some, but not all, of the packages identified in the finding have fixes available through updated versions. - See Also:
-
inspectorScore
The Amazon Inspector score given to the finding.
- Returns:
- The Amazon Inspector score given to the finding.
-
inspectorScoreDetails
An object that contains details of the Amazon Inspector score.
- Returns:
- An object that contains details of the Amazon Inspector score.
-
lastObservedAt
The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.
- Returns:
- The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.
-
networkReachabilityDetails
An object that contains the details of a network reachability finding.
- Returns:
- An object that contains the details of a network reachability finding.
-
packageVulnerabilityDetails
An object that contains the details of a package vulnerability finding.
- Returns:
- An object that contains the details of a package vulnerability finding.
-
remediation
An object that contains the details about how to remediate a finding.
- Returns:
- An object that contains the details about how to remediate a finding.
-
hasResources
public final boolean hasResources()For responses, this returns true if the service returned a value for the Resources property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
resources
Contains information on the resources involved in a finding. The
resourcevalue determines the valid values fortypein your request. For more information, see Finding types in the Amazon Inspector user guide.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasResources()method.- Returns:
- Contains information on the resources involved in a finding. The
resourcevalue determines the valid values fortypein your request. For more information, see Finding types in the Amazon Inspector user guide.
-
severity
The severity of the finding.
UNTRIAGEDapplies toPACKAGE_VULNERABILITYtype findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.If the service returns an enum value that is not available in the current SDK version,
severitywill returnSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- The severity of the finding.
UNTRIAGEDapplies toPACKAGE_VULNERABILITYtype findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide. - See Also:
-
severityAsString
The severity of the finding.
UNTRIAGEDapplies toPACKAGE_VULNERABILITYtype findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.If the service returns an enum value that is not available in the current SDK version,
severitywill returnSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- The severity of the finding.
UNTRIAGEDapplies toPACKAGE_VULNERABILITYtype findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide. - See Also:
-
status
The status of the finding.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFindingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the finding.
- See Also:
-
statusAsString
The status of the finding.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFindingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the finding.
- See Also:
-
title
-
type
The type of the finding. The
typevalue determines the valid values forresourcein your request. For more information, see Finding types in the Amazon Inspector user guide.If the service returns an enum value that is not available in the current SDK version,
typewill returnFindingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the finding. The
typevalue determines the valid values forresourcein your request. For more information, see Finding types in the Amazon Inspector user guide. - See Also:
-
typeAsString
The type of the finding. The
typevalue determines the valid values forresourcein your request. For more information, see Finding types in the Amazon Inspector user guide.If the service returns an enum value that is not available in the current SDK version,
typewill returnFindingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the finding. The
typevalue determines the valid values forresourcein your request. For more information, see Finding types in the Amazon Inspector user guide. - See Also:
-
updatedAt
The date and time the finding was last updated at.
- Returns:
- The date and time the finding was last updated at.
-
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<Finding.Builder,Finding> - 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
-