Module Values.GetMalwareScanResponseSource

Retrieves the detailed information for a specific malware scan. Each member account can view the malware scan details for their own account. An administrator can view malware scan details for all accounts in the organization. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

Sourcetype nonrec t = {
  1. scanId : NonEmptyString.t option;
    (*

    A unique identifier associated with the malware scan. Each malware scan has a corresponding scan ID. Using this scan ID, you can monitor the status of your malware scan.

    *)
  2. detectorId : DetectorId.t option;
    (*

    The unique ID of the detector that is associated with the request, if it belongs to an account which is a GuardDuty customer. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

    *)
  3. adminDetectorId : DetectorId.t option;
    (*

    The unique detector ID of the administrator account that the request is associated with. If the account is an administrator, the AdminDetectorId will be the same as the one used for DetectorId. If the customer is not a GuardDuty customer, this field will not be present.. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

    *)
  4. resourceArn : NonEmptyString.t option;
    (*

    Amazon Resource Name (ARN) of the resource on which a malware scan was invoked.

    *)
  5. resourceType : MalwareProtectionResourceType.t option;
    (*

    The type of resource that was scanned for malware.

    *)
  6. scannedResourcesCount : NonNegativeInteger.t option;
    (*

    The total number of resources that were successfully scanned. This is dependent on the resource type.

    *)
  7. skippedResourcesCount : NonNegativeInteger.t option;
    (*

    The total number of resources that were skipped during the scan.

    *)
  8. failedResourcesCount : NonNegativeInteger.t option;
    (*

    The total number of resources that failed to be scanned.

    *)
  9. scannedResources : ScannedResources.t option;
    (*

    A list of resources along with their metadata that were scanned as part of the malware scan operation.

    *)
  10. scanConfiguration : ScanConfiguration.t option;
    (*

    Information about the scan configuration used for the malware scan.

    *)
  11. scanCategory : ScanCategory.t option;
    (*

    The category of the malware scan, indicating the type of scan performed.

    *)
  12. scanStatus : MalwareProtectionScanStatus.t option;
    (*

    A value representing the current status of the malware scan.

    *)
  13. scanStatusReason : ScanStatusReason.t option;
    (*

    Represents the reason for the current scan status, if applicable.

    *)
  14. scanType : MalwareProtectionScanType.t option;
    (*

    A value representing the initiator of the scan.

    *)
  15. scanStartedAt : Timestamp.t option;
    (*

    The timestamp representing when the malware scan was started.

    *)
  16. scanCompletedAt : Timestamp.t option;
    (*

    The timestamp representing when the malware scan was completed.

    *)
  17. scanResultDetails : GetMalwareScanResultDetails.t option;
    (*

    Detailed information about the results of the malware scan, if the scan completed.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `InternalServerErrorException of InternalServerErrorException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?scanId:??? -> ?detectorId:??? -> ?adminDetectorId:??? -> ?resourceArn:??? -> ?resourceType:??? -> ?scannedResourcesCount:??? -> ?skippedResourcesCount:??? -> ?failedResourcesCount:??? -> ?scannedResources:??? -> ?scanConfiguration:??? -> ?scanCategory:??? -> ?scanStatus:??? -> ?scanStatusReason:??? -> ?scanType:??? -> ?scanStartedAt:??? -> ?scanCompletedAt:??? -> ?scanResultDetails:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `InternalServerErrorException of InternalServerErrorException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `InternalServerErrorException of InternalServerErrorException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of NonNegativeInteger.t | `List of [> `Structure of (string * [> `Enum of string | `String of NonEmptyString.t | `Structure of (string * [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ]) list ]) list ] list | `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of NonEmptyString.t | `Structure of (string * [> `String of NonEmptyString.t ]) list ]) list ] list | `Long of PositiveLong.t | `String of NonEmptyString.t ]) list ] list | `Long of PositiveLong.t | `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `String of NonEmptyString.t ]) list ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t