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

Retrieving object metadata requires downloading the object #2311

Closed
JonMerlevede opened this issue Sep 23, 2024 · 0 comments · Fixed by #2312
Closed

Retrieving object metadata requires downloading the object #2311

JonMerlevede opened this issue Sep 23, 2024 · 0 comments · Fixed by #2312
Assignees
Labels
bug Something isn't working

Comments

@JonMerlevede
Copy link
Contributor

Describe the bug
Querying S3 object metadata, such as an object's encryption key, requires downloading object contents.

Steampipe version (steampipe -v)
Steampipe v0.24.2

Plugin version (steampipe plugin list)
Example: v0.147.0

To reproduce
Execute a query such as select sse_kms_key_id from aws.aws_s3_object where bucket_name = 'yourbucket'.

Expected behavior
Steampipe retrieves only the object's metadata, not the object itself.

Additional context
The current code does use getS3ObjectAttributes for some limited metadata keys, but calls getObject for most.

@JonMerlevede JonMerlevede added the bug Something isn't working label Sep 23, 2024
@ParthaI ParthaI self-assigned this Sep 23, 2024
@ParthaI ParthaI assigned JonMerlevede and unassigned ParthaI Sep 24, 2024
@ParthaI ParthaI linked a pull request Sep 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants