Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws - config workaround broken select resource api and normalize rds cluster snapshot #5802

Merged
merged 4 commits into from May 28, 2020

Conversation

kapilt
Copy link
Collaborator

@kapilt kapilt commented May 27, 2020

closes #5780

as noted in #5408 config is fairly arbitrary with regard to what it supports for a given resource type. for many resource type that it documents as supporting, it doesn't actually support resource select api, how arbitrary it is on being broken is unclear (ie. does it vary just by type or also include other mystery variations by account, region, time of day). fallback to our old way of handling this pre select resources api, of just iterating ids and fetching fo resource types where we're not able to get results via select resources. on empty sets this does involve an extra api query per region.

also handle the particularly mangled db cluster snapshot identifiers, and normalize them back to describe format.

@kapilt kapilt changed the title aws - config work around arbitrarily broken select resources supports and normalize rds cluster snapshot aws - config workaround arbitrarily broken select resources support and normalize rds cluster snapshot May 27, 2020
@kapilt kapilt marked this pull request as ready for review May 27, 2020 12:15
@kapilt kapilt changed the title aws - config workaround arbitrarily broken select resources support and normalize rds cluster snapshot aws - config workaround broken select resource api and normalize rds cluster snapshot May 27, 2020
@kapilt kapilt merged commit 0b6b7d9 into cloud-custodian:master May 28, 2020
fidelito pushed a commit to fidelito/cloud-custodian that referenced this pull request May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SecurityHub finding doesn't work for rds-cluster-snapshot resource in config-rule mode
1 participant