Learn R Programming

paws.security.identity (version 0.1.0)

inspector_remove_attributes_from_findings: 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

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

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

svc$remove_attributes_from_findings(
  findingArns = list(
    "string"
  ),
  attributeKeys = list(
    "string"
  )
)

Examples

Run this code
# NOT RUN {
# 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.
# }
# NOT RUN {
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..."
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab