Skip to content

Update Malware Scan Settings

guardduty_update_malware_scan_settings R Documentation

Updates the malware scan settings

Description

Updates the malware scan settings.

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.

Usage

guardduty_update_malware_scan_settings(DetectorId, ScanResourceCriteria,
  EbsSnapshotPreservation)

Arguments

DetectorId

[required] The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.

ScanResourceCriteria

Represents the criteria to be used in the filter for selecting resources to scan.

EbsSnapshotPreservation

An enum value representing possible snapshot preservation settings.

Value

An empty list.

Request syntax

svc$update_malware_scan_settings(
  DetectorId = "string",
  ScanResourceCriteria = list(
    Include = list(
      list(
        MapEquals = list(
          list(
            Key = "string",
            Value = "string"
          )
        )
      )
    ),
    Exclude = list(
      list(
        MapEquals = list(
          list(
            Key = "string",
            Value = "string"
          )
        )
      )
    )
  ),
  EbsSnapshotPreservation = "NO_RETENTION"|"RETENTION_WITH_FINDING"
)