Interface ValidationEvidenceBody.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationEvidenceBody.Builder,,ValidationEvidenceBody> SdkBuilder<ValidationEvidenceBody.Builder,,ValidationEvidenceBody> SdkPojo
- Enclosing class:
ValidationEvidenceBody
-
Method Summary
Modifier and TypeMethodDescriptionattackFlowsConfirmed(String... attackFlowsConfirmed) Identifiers of attack flows upgraded to Confirmed provenance.attackFlowsConfirmed(Collection<String> attackFlowsConfirmed) Identifiers of attack flows upgraded to Confirmed provenance.default ValidationEvidenceBody.BuilderexecutedProof(Consumer<ValidationExecutedProof.Builder> executedProof) Proof the agent produced by executing code against the repository under test, with the output that execution produced.executedProof(ValidationExecutedProof executedProof) Proof the agent produced by executing code against the repository under test, with the output that execution produced.exploitable(String exploitable) Exploitability verdict.exploitable(ExploitabilityVerdict exploitable) Exploitability verdict.default ValidationEvidenceBody.BuilderexploitArtifact(Consumer<ValidationExploitArtifact.Builder> exploitArtifact) Concrete payload and its observed effect, when validation produced one by sending an HTTP request.exploitArtifact(ValidationExploitArtifact exploitArtifact) Concrete payload and its observed effect, when validation produced one by sending an HTTP request.flowVerdicts(Collection<FlowVerdict> flowVerdicts) One verdict per attack flow assessed in the bundle.flowVerdicts(Consumer<FlowVerdict.Builder>... flowVerdicts) One verdict per attack flow assessed in the bundle.flowVerdicts(FlowVerdict... flowVerdicts) One verdict per attack flow assessed in the bundle.perFindingResults(Collection<PerFindingResult> perFindingResults) Per-finding breakdown for a multi-finding bundle.perFindingResults(Consumer<PerFindingResult.Builder>... perFindingResults) Per-finding breakdown for a multi-finding bundle.perFindingResults(PerFindingResult... perFindingResults) Per-finding breakdown for a multi-finding bundle.default ValidationEvidenceBody.BuildersourceAnalysis(Consumer<ValidationSourceAnalysis.Builder> sourceAnalysis) Proof the agent produced by reading the repository's source, with nothing built or run.sourceAnalysis(ValidationSourceAnalysis sourceAnalysis) Proof the agent produced by reading the repository's source, with nothing built or run.terminalStatus(String terminalStatus) How the validation run ended.terminalStatus(ValidationTerminalStatus terminalStatus) How the validation run ended.Methods 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
-
exploitable
Exploitability verdict. Explicit UNCERTAIN replaces the producer's tri-state
exploitable: true | false | null, so an absent verdict is never confused with a negative one.- Parameters:
exploitable- Exploitability verdict. Explicit UNCERTAIN replaces the producer's tri-stateexploitable: true | false | null, so an absent verdict is never confused with a negative one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exploitable
Exploitability verdict. Explicit UNCERTAIN replaces the producer's tri-state
exploitable: true | false | null, so an absent verdict is never confused with a negative one.- Parameters:
exploitable- Exploitability verdict. Explicit UNCERTAIN replaces the producer's tri-stateexploitable: true | false | null, so an absent verdict is never confused with a negative one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
terminalStatus
How the validation run ended. Absent when the producer reported a status with no mapping yet: the rest of the body still projects, so one unmapped enum never costs a customer the whole artifact.
- Parameters:
terminalStatus- How the validation run ended. Absent when the producer reported a status with no mapping yet: the rest of the body still projects, so one unmapped enum never costs a customer the whole artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
terminalStatus
How the validation run ended. Absent when the producer reported a status with no mapping yet: the rest of the body still projects, so one unmapped enum never costs a customer the whole artifact.
- Parameters:
terminalStatus- How the validation run ended. Absent when the producer reported a status with no mapping yet: the rest of the body still projects, so one unmapped enum never costs a customer the whole artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
flowVerdicts
One verdict per attack flow assessed in the bundle.
- Parameters:
flowVerdicts- One verdict per attack flow assessed in the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowVerdicts
One verdict per attack flow assessed in the bundle.
- Parameters:
flowVerdicts- One verdict per attack flow assessed in the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowVerdicts
One verdict per attack flow assessed in the bundle.
This is a convenience method that creates an instance of theFlowVerdict.Builderavoiding the need to create one manually viaFlowVerdict.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflowVerdicts(List<FlowVerdict>).- Parameters:
flowVerdicts- a consumer that will call methods onFlowVerdict.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attackFlowsConfirmed
Identifiers of attack flows upgraded to Confirmed provenance.
- Parameters:
attackFlowsConfirmed- Identifiers of attack flows upgraded to Confirmed provenance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackFlowsConfirmed
Identifiers of attack flows upgraded to Confirmed provenance.
- Parameters:
attackFlowsConfirmed- Identifiers of attack flows upgraded to Confirmed provenance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exploitArtifact
Concrete payload and its observed effect, when validation produced one by sending an HTTP request.
Only an HTTP proof projects here. A validation agent that proves exploitability by RUNNING code against the repository projects
executedProof, and one that proves it by reading the source projectssourceAnalysis. All three are mutually exclusive: at most one is present.- Parameters:
exploitArtifact- Concrete payload and its observed effect, when validation produced one by sending an HTTP request.Only an HTTP proof projects here. A validation agent that proves exploitability by RUNNING code against the repository projects
executedProof, and one that proves it by reading the source projectssourceAnalysis. All three are mutually exclusive: at most one is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exploitArtifact
default ValidationEvidenceBody.Builder exploitArtifact(Consumer<ValidationExploitArtifact.Builder> exploitArtifact) Concrete payload and its observed effect, when validation produced one by sending an HTTP request.
Only an HTTP proof projects here. A validation agent that proves exploitability by RUNNING code against the repository projects
This is a convenience method that creates an instance of theexecutedProof, and one that proves it by reading the source projectssourceAnalysis. All three are mutually exclusive: at most one is present.ValidationExploitArtifact.Builderavoiding the need to create one manually viaValidationExploitArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexploitArtifact(ValidationExploitArtifact).- Parameters:
exploitArtifact- a consumer that will call methods onValidationExploitArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executedProof
Proof the agent produced by executing code against the repository under test, with the output that execution produced.
- Parameters:
executedProof- Proof the agent produced by executing code against the repository under test, with the output that execution produced.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executedProof
default ValidationEvidenceBody.Builder executedProof(Consumer<ValidationExecutedProof.Builder> executedProof) Proof the agent produced by executing code against the repository under test, with the output that execution produced.
This is a convenience method that creates an instance of theValidationExecutedProof.Builderavoiding the need to create one manually viaValidationExecutedProof.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutedProof(ValidationExecutedProof).- Parameters:
executedProof- a consumer that will call methods onValidationExecutedProof.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceAnalysis
Proof the agent produced by reading the repository's source, with nothing built or run.
- Parameters:
sourceAnalysis- Proof the agent produced by reading the repository's source, with nothing built or run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAnalysis
default ValidationEvidenceBody.Builder sourceAnalysis(Consumer<ValidationSourceAnalysis.Builder> sourceAnalysis) Proof the agent produced by reading the repository's source, with nothing built or run.
This is a convenience method that creates an instance of theValidationSourceAnalysis.Builderavoiding the need to create one manually viaValidationSourceAnalysis.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceAnalysis(ValidationSourceAnalysis).- Parameters:
sourceAnalysis- a consumer that will call methods onValidationSourceAnalysis.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
perFindingResults
Per-finding breakdown for a multi-finding bundle. Absent for a single-finding bundle.
- Parameters:
perFindingResults- Per-finding breakdown for a multi-finding bundle. Absent for a single-finding bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
perFindingResults
Per-finding breakdown for a multi-finding bundle. Absent for a single-finding bundle.
- Parameters:
perFindingResults- Per-finding breakdown for a multi-finding bundle. Absent for a single-finding bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
perFindingResults
ValidationEvidenceBody.Builder perFindingResults(Consumer<PerFindingResult.Builder>... perFindingResults) Per-finding breakdown for a multi-finding bundle. Absent for a single-finding bundle.
This is a convenience method that creates an instance of thePerFindingResult.Builderavoiding the need to create one manually viaPerFindingResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperFindingResults(List<PerFindingResult>).- Parameters:
perFindingResults- a consumer that will call methods onPerFindingResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-