inspector_remove_attributes_from_findings: Removes entire attributes (key and value pairs) from the...

Description Usage Arguments Request syntax Examples

View source: R/inspector_operations.R

Description

Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.

Usage

1
inspector_remove_attributes_from_findings(findingArns, attributeKeys)

Arguments

findingArns

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

attributeKeys

[required] The array of attribute keys that you want to remove from specified findings.

Request syntax

1
2
3
4
5
6
7
8
svc$remove_attributes_from_findings(
  findingArns = list(
    "string"
  ),
  attributeKeys = list(
    "string"
  )
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Removes entire attributes (key and value pairs) from the findings that
# are specified by the ARNs of the findings where an attribute with the
# specified key exists.
svc$remove_attributes_from_findings(
  attributeKeys = 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.