Class Finding
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Finding.Builder,Finding>
Represents a security vulnerability or issue discovered during testing
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringIdentifier of the agent space that created this findingfinal StringProof-of-concept code demonstrating the vulnerabilitystatic Finding.Builderbuilder()final CodeRemediationTaskCode remediation task associated with this findingfinal ConfidenceLevelConfidence level of the findingfinal StringConfidence level of the findingfinal InstantTimestamp when the finding was createdfinal StringDetailed description of the security vulnerabilityfinal booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringUnique identifier for the findingfinal <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringIdentifier of the task or agent that last updated this findingfinal Stringname()Name or title of the findingfinal StringIdentifier of the parent pentestfinal StringIdentifier of the pentest jobfinal StringJustification for the assigned risk scorefinal RiskLevelSeverity level of the identified riskfinal StringSeverity level of the identified riskfinal StringRisk score associated with the findingfinal StringriskType()Type of security risk identifiedstatic Class<? extends Finding.Builder> final FindingStatusstatus()Current status of the findingfinal StringCurrent status of the findingfinal StringtaskId()Identifier of the associated taskTake 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 InstantTimestamp when the finding was last updatedMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
findingId
Unique identifier for the finding
- Returns:
- Unique identifier for the finding
-
agentSpaceId
Identifier of the agent space that created this finding
- Returns:
- Identifier of the agent space that created this finding
-
pentestId
Identifier of the parent pentest
- Returns:
- Identifier of the parent pentest
-
pentestJobId
Identifier of the pentest job
- Returns:
- Identifier of the pentest job
-
taskId
Identifier of the associated task
- Returns:
- Identifier of the associated task
-
name
-
description
Detailed description of the security vulnerability
- Returns:
- Detailed description of the security vulnerability
-
status
Current 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:
- Current status of the finding
- See Also:
-
statusAsString
Current 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:
- Current status of the finding
- See Also:
-
riskType
Type of security risk identified
- Returns:
- Type of security risk identified
-
riskLevel
Severity level of the identified risk
If the service returns an enum value that is not available in the current SDK version,
riskLevelwill returnRiskLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromriskLevelAsString().- Returns:
- Severity level of the identified risk
- See Also:
-
riskLevelAsString
Severity level of the identified risk
If the service returns an enum value that is not available in the current SDK version,
riskLevelwill returnRiskLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromriskLevelAsString().- Returns:
- Severity level of the identified risk
- See Also:
-
riskScore
Risk score associated with the finding
- Returns:
- Risk score associated with the finding
-
reasoning
Justification for the assigned risk score
- Returns:
- Justification for the assigned risk score
-
confidence
Confidence level of the finding
If the service returns an enum value that is not available in the current SDK version,
confidencewill returnConfidenceLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfidenceAsString().- Returns:
- Confidence level of the finding
- See Also:
-
confidenceAsString
Confidence level of the finding
If the service returns an enum value that is not available in the current SDK version,
confidencewill returnConfidenceLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfidenceAsString().- Returns:
- Confidence level of the finding
- See Also:
-
attackScript
Proof-of-concept code demonstrating the vulnerability
- Returns:
- Proof-of-concept code demonstrating the vulnerability
-
codeRemediationTask
Code remediation task associated with this finding
- Returns:
- Code remediation task associated with this finding
-
lastUpdatedBy
Identifier of the task or agent that last updated this finding
- Returns:
- Identifier of the task or agent that last updated this finding
-
createdAt
Timestamp when the finding was created
- Returns:
- Timestamp when the finding was created
-
updatedAt
Timestamp when the finding was last updated
- Returns:
- Timestamp when the finding was last updated
-
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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-