Values.FindingSourceRepresents a security finding discovered during a pentest job. A finding contains details about a vulnerability, including its risk level, confidence, and remediation status.
type nonrec t = {findingId : String_.t option;The unique identifier of the finding.
*)agentSpaceId : String_.t option;The unique identifier of the agent space associated with the finding.
*)pentestId : String_.t option;The unique identifier of the pentest associated with the finding.
*)pentestJobId : String_.t option;The unique identifier of the pentest job that produced the finding.
*)codeReviewId : String_.t option;The unique identifier of the code review associated with the finding.
*)codeReviewJobId : String_.t option;The unique identifier of the code review job that produced the finding.
*)taskId : String_.t option;The unique identifier of the task that produced the finding.
*)name : String_.t option;The name of the finding.
*)description : String_.t option;A description of the finding.
*)status : FindingStatus.t option;The current status of the finding. Valid values include ACTIVE, RESOLVED, ACCEPTED, and FALSE_POSITIVE.
*)riskType : String_.t option;The type of security risk identified by the finding.
*)riskLevel : RiskLevel.t option;The risk level of the finding. Valid values include UNKNOWN, INFORMATIONAL, LOW, MEDIUM, HIGH, and CRITICAL.
*)riskScore : String_.t option;The numerical risk score of the finding.
*)reasoning : String_.t option;The reasoning behind the finding, explaining why it was identified as a vulnerability.
*)confidence : ConfidenceLevel.t option;The confidence level of the finding. Valid values include FALSE_POSITIVE, UNCONFIRMED, LOW, MEDIUM, and HIGH.
*)attackScript : String_.t option;The attack script used to reproduce the finding.
*)codeRemediationTask : CodeRemediationTask.t option;The code remediation task associated with the finding, if code remediation was initiated.
*)lastUpdatedBy : String_.t option;The identifier of the entity that last updated the finding.
*)codeLocations : CodeLocationList.t option;The file locations involved in the vulnerability, as reported by the code scanner.
*)createdAt : SyntheticTimestamp_date_time.t option;The date and time the finding was created, in UTC format.
*)updatedAt : SyntheticTimestamp_date_time.t option;The date and time the finding was last updated, in UTC format.
*)}val make :
?findingId:??? ->
?agentSpaceId:??? ->
?pentestId:??? ->
?pentestJobId:??? ->
?codeReviewId:??? ->
?codeReviewJobId:??? ->
?taskId:??? ->
?name:??? ->
?description:??? ->
?status:??? ->
?riskType:??? ->
?riskLevel:??? ->
?riskScore:??? ->
?reasoning:??? ->
?confidence:??? ->
?attackScript:??? ->
?codeRemediationTask:??? ->
?lastUpdatedBy:??? ->
?codeLocations:??? ->
?createdAt:??? ->
?updatedAt:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string * [> `Integer of Integer.t | `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of (string * [> `String of String_.t ]) list ]
list
| `String of String_.t ])
list
| `Timestamp of SyntheticTimestamp_date_time.t ])
list ]