Skip to content

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.

    To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the list_detectors API.

  • 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"
)