Learn R Programming

paws.security.identity (version 0.1.0)

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

Description

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

Usage

inspector_add_attributes_to_findings(findingArns, attributes)

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

svc$add_attributes_to_findings(
  findingArns = list(
    "string"
  ),
  attributes = list(
    list(
      key = "string",
      value = "string"
    )
  )
)

Examples

Run this code
# NOT RUN {
# Assigns attributes (key and value pairs) to the findings that are
# specified by the ARNs of the findings.
# }
# NOT RUN {
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..."
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab