guardduty_create_filter: Creates a filter using the specified finding criteria

Description Usage Arguments Request syntax

View source: R/guardduty_operations.R

Description

Creates a filter using the specified finding criteria.

Usage

1
2
guardduty_create_filter(DetectorId, Name, Description, Action, Rank,
  FindingCriteria, ClientToken, Tags)

Arguments

DetectorId

[required] The unique ID of the detector of the GuardDuty account for which you want to create a filter.

Name

[required] The name of the filter.

Description

The description of the filter.

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

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

ClientToken

The idempotency token for the create request.

Tags

The tags to be added to a new filter resource.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
svc$create_filter(
  DetectorId = "string",
  Name = "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
      )
    )
  ),
  ClientToken = "string",
  Tags = list(
    "string"
  )
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.