Regarding the AWS table aws_securityhub_findings
(CloudQuery Documentation), I would like to filter the findings with record_state
of active
only.
How do I write the filter?
Update 1
Let me test with
table_options:
aws_securityhub_findings:
get_findings:
- filters:
created_at:
- date_range:
unit: DAYS
value: 7
record_state:
- value: ACTIVE
comparison: EQUALS
My other question is, will the two filter conditions be and
or or
conditions?
created_at
(createAt
)record_state
(recordState
)