Class FindingDetail
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<FindingDetail.Builder,
FindingDetail>
Details of the vulnerability identified in a finding.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FindingDetail.Builder
builder()
final CisaData
cisaData()
The Cybersecurity and Infrastructure Security Agency (CISA) details for a specific vulnerability.cwes()
The Common Weakness Enumerations (CWEs) associated with the vulnerability.final Double
The Exploit Prediction Scoring System (EPSS) score of the vulnerability.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.Information on the evidence of the vulnerability.final ExploitObserved
Contains information on when this exploit was observed.final String
The finding ARN that the vulnerability details are associated with.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
hasCwes()
For responses, this returns true if the service returned a value for the Cwes property.final boolean
For responses, this returns true if the service returned a value for the Evidences property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the ReferenceUrls property.final boolean
hasTools()
For responses, this returns true if the service returned a value for the Tools property.final boolean
hasTtps()
For responses, this returns true if the service returned a value for the Ttps property.The reference URLs for the vulnerability data.final Integer
The risk score of the vulnerability.static Class
<? extends FindingDetail.Builder> Take this object and create a builder that contains all of the current property values of this object.tools()
The known malware tools or kits that can exploit the vulnerability.final String
toString()
Returns a string representation of this object.ttps()
The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
cisaData
The Cybersecurity and Infrastructure Security Agency (CISA) details for a specific vulnerability.
- Returns:
- The Cybersecurity and Infrastructure Security Agency (CISA) details for a specific vulnerability.
-
hasCwes
public final boolean hasCwes()For responses, this returns true if the service returned a value for the Cwes 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. -
cwes
The Common Weakness Enumerations (CWEs) associated with the vulnerability.
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
hasCwes()
method.- Returns:
- The Common Weakness Enumerations (CWEs) associated with the vulnerability.
-
epssScore
The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
- Returns:
- The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
-
hasEvidences
public final boolean hasEvidences()For responses, this returns true if the service returned a value for the Evidences 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. -
evidences
Information on the evidence of the vulnerability.
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
hasEvidences()
method.- Returns:
- Information on the evidence of the vulnerability.
-
exploitObserved
Contains information on when this exploit was observed.
- Returns:
- Contains information on when this exploit was observed.
-
findingArn
The finding ARN that the vulnerability details are associated with.
- Returns:
- The finding ARN that the vulnerability details are associated with.
-
hasReferenceUrls
public final boolean hasReferenceUrls()For responses, this returns true if the service returned a value for the ReferenceUrls 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. -
referenceUrls
The reference URLs for the vulnerability data.
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
hasReferenceUrls()
method.- Returns:
- The reference URLs for the vulnerability data.
-
riskScore
The risk score of the vulnerability.
- Returns:
- The risk score of the vulnerability.
-
hasTools
public final boolean hasTools()For responses, this returns true if the service returned a value for the Tools 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. -
tools
The known malware tools or kits that can exploit the vulnerability.
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
hasTools()
method.- Returns:
- The known malware tools or kits that can exploit the vulnerability.
-
hasTtps
public final boolean hasTtps()For responses, this returns true if the service returned a value for the Ttps 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. -
ttps
The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
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
hasTtps()
method.- Returns:
- The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
-
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<FindingDetail.Builder,
FindingDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
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
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-