exclusions
Creates, updates, deletes, gets or lists an exclusions resource.
Overview
| Name | exclusions |
| Type | Resource |
| Id | aws.inspector.exclusions |
Fields
The following fields are returned by SELECT queries:
- describe_exclusions
- list_exclusions
| Name | Datatype | Description |
|---|---|---|
exclusions | object | Information about the exclusions. |
failed_items | object | Exclusion details that cannot be described. An error code is provided for each failed item. |
| Name | Datatype | Description |
|---|---|---|
exclusion_arn | string | A list of exclusions' ARNs returned by the action. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_exclusions | select | region | Describes the exclusions that are specified by the exclusions' ARNs. | |
list_exclusions | select | region | List exclusions that are generated by the assessment run. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_exclusions
- list_exclusions
Describes the exclusions that are specified by the exclusions' ARNs.
SELECT
exclusions,
failed_items
FROM aws.inspector.exclusions
WHERE region = '{{ region }}' -- required
;
List exclusions that are generated by the assessment run.
SELECT
exclusion_arn
FROM aws.inspector.exclusions
WHERE region = '{{ region }}' -- required
;