findings
Creates, updates, deletes, gets or lists a findings resource.
Overview
| Name | findings |
| Type | Resource |
| Id | aws.macie2.findings |
Fields
The following fields are returned by SELECT queries:
- get_findings
- list_findings
| Name | Datatype | Description |
|---|---|---|
findings | array | An array of objects, one for each finding that matches the criteria specified in the request. |
| Name | Datatype | Description |
|---|---|---|
finding_id | string | An array of strings, where each string is the unique identifier for a finding that matches the filter criteria specified in the request. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_findings | select | region | Retrieves the details of one or more findings. | |
list_findings | select | region | Retrieves a subset of information about one or more findings. | |
create_sample_findings | insert | region | Creates sample findings. |
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
- get_findings
- list_findings
Retrieves the details of one or more findings.
SELECT
findings
FROM aws.macie2.findings
WHERE region = '{{ region }}' -- required
;
Retrieves a subset of information about one or more findings.
SELECT
finding_id
FROM aws.macie2.findings
WHERE region = '{{ region }}' -- required
;
INSERT examples
- create_sample_findings
- Manifest
Creates sample findings.
INSERT INTO aws.macie2.findings (
findingTypes,
region
)
SELECT
'{{ findingTypes }}',
'{{ region }}'
;
# Description fields are for documentation purposes
- name: findings
props:
- name: region
value: "{{ region }}"
description: Required parameter for the findings resource.
- name: findingTypes
value:
- "{{ findingTypes }}"