Values.GetScanResponseSourceReturns details about a scan, including whether or not a scan has completed.
type nonrec t = {scanName : ScanName.t option;The name of the scan.
*)runId : Uuid.t option;UUID that identifies the individual scan run.
*)scanState : ScanState.t option;The current state of the scan. Returns either InProgress, Successful, or Failed.
*)createdAt : Timestamp.t option;The time the scan was created.
*)analysisType : AnalysisType.t option;The type of analysis CodeGuru Security performed in the scan, either Security or All. The Security type only generates findings related to security. The All type generates both security findings and quality findings.
*)updatedAt : Timestamp.t option;The time when the scan was last updated. Only available for STANDARD scan types.
*)numberOfRevisions : Long.t option;The number of times a scan has been re-run on a revised resource.
*)scanNameArn : ScanNameArn.t option;The ARN for the scan name.
*)errorMessage : ErrorMessage.t option;Details about the error that causes a scan to fail to be retrieved.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Long of Long.t
| `String of ScanName.t
| `Timestamp of Timestamp.t ])
list ]