Creates a filter resource using specified filter criteria
Source:R/inspector2_operations.R
inspector2_create_filter.RdCreates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS this action creates a suppression rule.
See https://www.paws-r-sdk.com/docs/inspector2_create_filter/ for full documentation.
Usage
inspector2_create_filter(
action,
description = NULL,
filterCriteria,
name,
tags = NULL,
reason = NULL
)Arguments
- action
[required] Defines the action that is to be applied to the findings that match the filter.
- description
A description of the filter.
- filterCriteria
[required] Defines the criteria to be used in the filter for querying findings.
- name
[required] The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.
A list of tags for the filter.
- reason
The reason for creating the filter.