Skip to content

Start Malware Scan

guardduty_start_malware_scan R Documentation

Initiates the malware scan

Description

Initiates the malware scan. Invoking this API will automatically create the Service-linked role in the corresponding account.

When the malware scan starts, you can use the associated scan ID to track the status of the scan. For more information, see describe_malware_scans.

Usage

guardduty_start_malware_scan(ResourceArn)

Arguments

ResourceArn

[required] Amazon Resource Name (ARN) of the resource for which you invoked the API.

Value

A list with the following syntax:

list(
  ScanId = "string"
)

Request syntax

svc$start_malware_scan(
  ResourceArn = "string"
)