Skip to content

Update Filter

inspector2_update_filter R Documentation

Specifies the action that is to be applied to the findings that match the filter

Description

Specifies the action that is to be applied to the findings that match the filter.

Usage

inspector2_update_filter(action, description, filterArn, filterCriteria,
  name, reason)

Arguments

action

Specifies the action that is to be applied to the findings that match the filter.

description

A description of the filter.

filterArn

[required] The Amazon Resource Number (ARN) of the filter to update.

filterCriteria

Defines the criteria to be update in the filter.

name

The name of the filter.

reason

The reason the filter was updated.

Value

A list with the following syntax:

list(
  arn = "string"
)

Request syntax

svc$update_filter(
  action = "NONE"|"SUPPRESS",
  description = "string",
  filterArn = "string",
  filterCriteria = list(
    awsAccountId = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    codeVulnerabilityDetectorName = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    codeVulnerabilityDetectorTags = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    codeVulnerabilityFilePath = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    componentId = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    componentType = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ec2InstanceImageId = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ec2InstanceSubnetId = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ec2InstanceVpcId = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ecrImageArchitecture = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ecrImageHash = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ecrImagePushedAt = list(
      list(
        endInclusive = as.POSIXct(
          "2015-01-01"
        ),
        startInclusive = as.POSIXct(
          "2015-01-01"
        )
      )
    ),
    ecrImageRegistry = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ecrImageRepositoryName = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ecrImageTags = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    epssScore = list(
      list(
        lowerInclusive = 123.0,
        upperInclusive = 123.0
      )
    ),
    exploitAvailable = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    findingArn = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    findingStatus = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    findingType = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    firstObservedAt = list(
      list(
        endInclusive = as.POSIXct(
          "2015-01-01"
        ),
        startInclusive = as.POSIXct(
          "2015-01-01"
        )
      )
    ),
    fixAvailable = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    inspectorScore = list(
      list(
        lowerInclusive = 123.0,
        upperInclusive = 123.0
      )
    ),
    lambdaFunctionExecutionRoleArn = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    lambdaFunctionLastModifiedAt = list(
      list(
        endInclusive = as.POSIXct(
          "2015-01-01"
        ),
        startInclusive = as.POSIXct(
          "2015-01-01"
        )
      )
    ),
    lambdaFunctionLayers = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    lambdaFunctionName = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    lambdaFunctionRuntime = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    lastObservedAt = list(
      list(
        endInclusive = as.POSIXct(
          "2015-01-01"
        ),
        startInclusive = as.POSIXct(
          "2015-01-01"
        )
      )
    ),
    networkProtocol = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    portRange = list(
      list(
        beginInclusive = 123,
        endInclusive = 123
      )
    ),
    relatedVulnerabilities = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    resourceId = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    resourceTags = list(
      list(
        comparison = "EQUALS",
        key = "string",
        value = "string"
      )
    ),
    resourceType = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    severity = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    title = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    updatedAt = list(
      list(
        endInclusive = as.POSIXct(
          "2015-01-01"
        ),
        startInclusive = as.POSIXct(
          "2015-01-01"
        )
      )
    ),
    vendorSeverity = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    vulnerabilityId = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    vulnerabilitySource = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    vulnerablePackages = list(
      list(
        architecture = list(
          comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
          value = "string"
        ),
        epoch = list(
          lowerInclusive = 123.0,
          upperInclusive = 123.0
        ),
        name = list(
          comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
          value = "string"
        ),
        release = list(
          comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
          value = "string"
        ),
        sourceLambdaLayerArn = list(
          comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
          value = "string"
        ),
        sourceLayerHash = list(
          comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
          value = "string"
        ),
        version = list(
          comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
          value = "string"
        )
      )
    )
  ),
  name = "string",
  reason = "string"
)