Skip to content

Update Filter

guardduty_update_filter R Documentation

Updates the filter specified by the filter name

Description

Updates the filter specified by the filter name.

Usage

guardduty_update_filter(DetectorId, FilterName, Description, Action,
  Rank, FindingCriteria)

Arguments

DetectorId

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

FilterName

[required] The name of the filter.

Description

The description of the filter. Valid characters include alphanumeric characters, and special characters such as hyphen, period, colon, underscore, parentheses ({ }, ⁠[ ]⁠, and ⁠( )⁠), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.

[ ]: R:%20

Action

Specifies the action that is to be applied to the findings that match the filter.

Rank

Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.

FindingCriteria

Represents the criteria to be used in the filter for querying findings.

Value

A list with the following syntax:

list(
  Name = "string"
)

Request syntax

svc$update_filter(
  DetectorId = "string",
  FilterName = "string",
  Description = "string",
  Action = "NOOP"|"ARCHIVE",
  Rank = 123,
  FindingCriteria = list(
    Criterion = list(
      list(
        Eq = list(
          "string"
        ),
        Neq = list(
          "string"
        ),
        Gt = 123,
        Gte = 123,
        Lt = 123,
        Lte = 123,
        Equals = list(
          "string"
        ),
        NotEquals = list(
          "string"
        ),
        GreaterThan = 123,
        GreaterThanOrEqual = 123,
        LessThan = 123,
        LessThanOrEqual = 123
      )
    )
  )
)