Filtering out collected resources in CloudQuery to reduce collection time

Hello Community,

Is there a way to filter out collected resources? We have 300k+ items in aws_inspector and although I do want to collect it, it takes a ton of time to collect.

You can use table_options to specify input parameters on some aws_inspector2 tables, documented in CloudQuery Documentation.

aws_inspector2_covered_resources can get a FilterCriteria, which is of type CoverageFilterCriteria. It takes a bit of effort to translate that info into the YAML, but it should work.

Which table are you referring to, by the way? If it’s not covered in the table_options and the API provides some kind of filtering, we can probably add it.

aws_inspector2_findings

that one supports FilterCriteria filters.

@settled-moray - We have released aws_inspector2_findings with support for incremental syncing in v24.1.0. Please note that if you are using the incremental syncing functionality, it is considered a premium table and will be charged as such.