Class FindingSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FindingSummary.Builder,FindingSummary>
A summary of a finding returned in list responses. Shares FindingLifecycleFields with the read operations so the list and get projections cannot drift. Carries a lean content subset -- fetch the finding for its full contents.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FindingSummary.Builderbuilder()final Stringcategory()The producer's vulnerability category.final InstantWhen processing finished, whether by creating an issue or discarding.final InstantThe timestamp when the finding was ingested.final StringThe issue Continuum created from this finding.final FindingDiscardReasonWhy the finding was not escalated.final StringWhy the finding was not escalated.final StringCustomer-facing explanation accompanyingdiscardReason.final StringThe existing issue this finding duplicates.final StringThe environment that owns the finding.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringfilePath()The file the finding is about, when it has a code location.final StringThe ARN of the finding.final StringThe unique identifier of the finding.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantWhen the producer reported the finding -- its own clock, which is not Continuum's ingestion time.final StringThe scan that produced the finding, when it came from one.static Class<? extends FindingSummary.Builder> final FindingSeverityIdseverity()The finding's severity.final StringThe finding's severity.final Stringsource()The system that produced the finding.final StringThe producer's own identifier for the finding.final FindingStatusstatus()The current lifecycle status of the finding.final StringThe current lifecycle status of the finding.final StringHuman-readable context about the current status.final InstantThe timestamp when the status last transitioned.final Stringtitle()The producer's title for 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()What kind of finding this is.final StringWhat kind of finding this is.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
findingId
The unique identifier of the finding.
- Returns:
- The unique identifier of the finding.
-
findingArn
-
environmentId
The environment that owns the finding.
- Returns:
- The environment that owns the finding.
-
source
The system that produced the finding.
- Returns:
- The system that produced the finding.
-
sourceFindingId
The producer's own identifier for the finding.
- Returns:
- The producer's own identifier for the finding.
-
reportedAt
When the producer reported the finding -- its own clock, which is not Continuum's ingestion time.
createdAtis when Continuum accepted it; these are genuinely different instants and a reader usually wants this one.For CreateCodeFinding, this is the submitted OCSF document's own top-level
time. For findings Continuum's scanner produces, it is the finding's own creation time.Continuum does not validate it for plausibility: a producer's value is echoed as given, so a
timestamphere asserts the unit and format, not that the instant is genuine.- Returns:
- When the producer reported the finding -- its own clock, which is not Continuum's ingestion time.
createdAtis when Continuum accepted it; these are genuinely different instants and a reader usually wants this one.For CreateCodeFinding, this is the submitted OCSF document's own top-level
time. For findings Continuum's scanner produces, it is the finding's own creation time.Continuum does not validate it for plausibility: a producer's value is echoed as given, so a
timestamphere asserts the unit and format, not that the instant is genuine.
-
status
The current lifecycle 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 current lifecycle status of the finding.
- See Also:
-
statusAsString
The current lifecycle 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 current lifecycle status of the finding.
- See Also:
-
statusUpdatedAt
The timestamp when the status last transitioned.
- Returns:
- The timestamp when the status last transitioned.
-
createdAt
The timestamp when the finding was ingested.
- Returns:
- The timestamp when the finding was ingested.
-
scanRunId
The scan that produced the finding, when it came from one. For a finding Continuum's scanner produced, this is the Continuum scan run (see GetCodeScan). For a finding submitted with CreateCodeFinding, it is the OCSF document's
metadata.correlation_uid, when that value is a valid ScanRunId. Absent when the finding did not come from a scan.- Returns:
- The scan that produced the finding, when it came from one. For a finding Continuum's scanner produced,
this is the Continuum scan run (see GetCodeScan). For a finding submitted with CreateCodeFinding, it is
the OCSF document's
metadata.correlation_uid, when that value is a valid ScanRunId. Absent when the finding did not come from a scan.
-
statusMessage
Human-readable context about the current status.
- Returns:
- Human-readable context about the current status.
-
discardReason
Why the finding was not escalated. Present only when status is DISCARDED.
If the service returns an enum value that is not available in the current SDK version,
discardReasonwill returnFindingDiscardReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdiscardReasonAsString().- Returns:
- Why the finding was not escalated. Present only when status is DISCARDED.
- See Also:
-
discardReasonAsString
Why the finding was not escalated. Present only when status is DISCARDED.
If the service returns an enum value that is not available in the current SDK version,
discardReasonwill returnFindingDiscardReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdiscardReasonAsString().- Returns:
- Why the finding was not escalated. Present only when status is DISCARDED.
- See Also:
-
discardReasoning
Customer-facing explanation accompanying
discardReason.- Returns:
- Customer-facing explanation accompanying
discardReason.
-
duplicateOfIssueId
The existing issue this finding duplicates. Present only for the DUPLICATE_OF_* discard reasons.
- Returns:
- The existing issue this finding duplicates. Present only for the DUPLICATE_OF_* discard reasons.
-
createdIssueId
The issue Continuum created from this finding.
- Returns:
- The issue Continuum created from this finding.
-
completedAt
When processing finished, whether by creating an issue or discarding. Absent while the finding is still in flight.
- Returns:
- When processing finished, whether by creating an issue or discarding. Absent while the finding is still in flight.
-
type
What kind of finding this is.
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:
- What kind of finding this is.
- See Also:
-
typeAsString
What kind of finding this is.
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:
- What kind of finding this is.
- See Also:
-
title
The producer's title for the finding.
- Returns:
- The producer's title for the finding.
-
severity
The finding's severity.
If the service returns an enum value that is not available in the current SDK version,
severitywill returnFindingSeverityId.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- The finding's severity.
- See Also:
-
severityAsString
The finding's severity.
If the service returns an enum value that is not available in the current SDK version,
severitywill returnFindingSeverityId.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- The finding's severity.
- See Also:
-
category
The producer's vulnerability category.
- Returns:
- The producer's vulnerability category.
-
filePath
The file the finding is about, when it has a code location.
- Returns:
- The file the finding is about, when it has a code location.
-
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<FindingSummary.Builder,FindingSummary> - 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.
-