inspector_add_attributes_to_findings: Assigns attributes (key and value pairs) to the findings that...

Description Usage Arguments Request syntax Examples

View source: R/inspector_operations.R

Description

Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.

Usage

1

Arguments

findingArns

[required] The ARNs that specify the findings that you want to assign attributes to.

attributes

[required] The array of attributes that you want to assign to specified findings.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
svc$add_attributes_to_findings(
  findingArns = list(
    "string"
  ),
  attributes = list(
    list(
      key = "string",
      value = "string"
    )
  )
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Assigns attributes (key and value pairs) to the findings that are
# specified by the ARNs of the findings.
svc$add_attributes_to_findings(
  attributes = list(
    list(
      key = "Example",
      value = "example"
    )
  ),
  findingArns = list(
    "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z0..."
  )
)

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