Interface Finding.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Finding.Builder,,Finding> SdkBuilder<Finding.Builder,,Finding> SdkPojo
- Enclosing class:
Finding
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) Identifier of the agent space that created this findingattackScript(String attackScript) Proof-of-concept code demonstrating the vulnerabilitydefault Finding.BuildercodeRemediationTask(Consumer<CodeRemediationTask.Builder> codeRemediationTask) Code remediation task associated with this findingcodeRemediationTask(CodeRemediationTask codeRemediationTask) Code remediation task associated with this findingconfidence(String confidence) Confidence level of the findingconfidence(ConfidenceLevel confidence) Confidence level of the findingTimestamp when the finding was createddescription(String description) Detailed description of the security vulnerabilityUnique identifier for the findinglastUpdatedBy(String lastUpdatedBy) Identifier of the task or agent that last updated this findingName or title of the findingIdentifier of the parent pentestpentestJobId(String pentestJobId) Identifier of the pentest jobJustification for the assigned risk scoreSeverity level of the identified riskSeverity level of the identified riskRisk score associated with the findingType of security risk identifiedCurrent status of the findingstatus(FindingStatus status) Current status of the findingIdentifier of the associated taskTimestamp when the finding was last updatedMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
findingId
Unique identifier for the finding
- Parameters:
findingId- Unique identifier for the finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSpaceId
Identifier of the agent space that created this finding
- Parameters:
agentSpaceId- Identifier of the agent space that created this finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestId
Identifier of the parent pentest
- Parameters:
pentestId- Identifier of the parent pentest- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestJobId
Identifier of the pentest job
- Parameters:
pentestJobId- Identifier of the pentest job- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskId
Identifier of the associated task
- Parameters:
taskId- Identifier of the associated task- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Name or title of the finding
- Parameters:
name- Name or title of the finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Detailed description of the security vulnerability
- Parameters:
description- Detailed description of the security vulnerability- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Current status of the finding
- Parameters:
status- Current status of the finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Current status of the finding
- Parameters:
status- Current status of the finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
riskType
Type of security risk identified
- Parameters:
riskType- Type of security risk identified- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
riskLevel
Severity level of the identified risk
- Parameters:
riskLevel- Severity level of the identified risk- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
riskLevel
Severity level of the identified risk
- Parameters:
riskLevel- Severity level of the identified risk- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
riskScore
Risk score associated with the finding
- Parameters:
riskScore- Risk score associated with the finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasoning
Justification for the assigned risk score
- Parameters:
reasoning- Justification for the assigned risk score- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confidence
Confidence level of the finding
- Parameters:
confidence- Confidence level of the finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
Confidence level of the finding
- Parameters:
confidence- Confidence level of the finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attackScript
Proof-of-concept code demonstrating the vulnerability
- Parameters:
attackScript- Proof-of-concept code demonstrating the vulnerability- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeRemediationTask
Code remediation task associated with this finding
- Parameters:
codeRemediationTask- Code remediation task associated with this finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeRemediationTask
default Finding.Builder codeRemediationTask(Consumer<CodeRemediationTask.Builder> codeRemediationTask) Code remediation task associated with this finding
This is a convenience method that creates an instance of theCodeRemediationTask.Builderavoiding the need to create one manually viaCodeRemediationTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeRemediationTask(CodeRemediationTask).- Parameters:
codeRemediationTask- a consumer that will call methods onCodeRemediationTask.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedBy
Identifier of the task or agent that last updated this finding
- Parameters:
lastUpdatedBy- Identifier of the task or agent that last updated this finding- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Timestamp when the finding was created
- Parameters:
createdAt- Timestamp when the finding was created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Timestamp when the finding was last updated
- Parameters:
updatedAt- Timestamp when the finding was last updated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-