mondoohq / cnquery

open source, cloud-native, graph-based asset inventory
https://cnquery.io
Other
284 stars 19 forks source link

AWS provider: Can't use dot-notation for `aws.s3.bucket.policy` #3612

Open mm-weber opened 3 months ago

mm-weber commented 3 months ago

Describe the bug The .dot-notation doesn't work for aws.s3.bucket.policy : image

But aws.s3.bucket {policy} does work: image

cnquery version

cnquery v10.8.2 (e9b2af3af, unknown)

  aws 10.3.6 with connectors: aws
vjeffrey commented 3 months ago

this is an interesting one....it seems like when we access via aws.s3.bucket { policy { * }} everything is fine, but when we try to access via aws.s3.bucket.policy { * }, the bucket information is empty, so we can't fetch the policy. not sure why yet