Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

GetBucketPolicy, getBucketReplication, GetPublicAccessBlock not found errors classified as access denied warning #265

Closed
yevgenypats opened this issue Nov 18, 2021 · 0 comments · Fixed by #274
Assignees
Labels
bug Something isn't working

Comments

@yevgenypats
Copy link
Member

Describe the Bug

WRN received access denied on GetBucketPolicy @module=aws account_id=7049xxxxxxxx bucket=emr-cluster-logscq-testingintegration err="operation error S3: GetBucketPolicy, https response error StatusCode: 404, RequestID: QG1C42H2C5G9ZWGV, HostID: M/qfpdP7qiTd/lUWIZn6WQt8WAvMVZX81kd78KhRHwY4WBFtjvxyw+PCOsmQ1ilos2o9ExTc+aQ=, api error NoSuchBucketPolicy: The bucket policy does not exist" timestamp=2021-11-18T10:46:32.298Z

WRN received access denied on getBucketReplication @module=aws account_id=7049xxxxxxxx bucket=elasticbeanstalk-eu-central-1-7049xxxxxxxx err="operation error S3: GetBucketReplication, https response error StatusCode: 404, RequestID: 7AAB5GTVWE3P42ZQ, HostID: +rc1uPinVi2vxAawp0wzDx3VIfKDWjquL8lJj0LKAaCg3dtIxNp2HrXHrLeJQQJzuqWdoq1Urpo=, api error ReplicationConfigurationNotFoundError: The replication configuration was not found" timestamp=2021-11-18T10:46:28.776Z

WRN received access denied on GetPublicAccessBlock @module=aws account_id=7049xxxxxxxx bucket=elasticbeanstalk-eu-central-1-7049xxxxxxxx err="operation error S3: GetPublicAccessBlock, https response error StatusCode: 404, RequestID: 7AA9WEH5ZFXGDCR5, HostID: xPbOGtNPatPA6CVvlrcdj4n/Jr97LEayiLJP0FxqWNmP1ZeKmHRGHp2T95RhZnR0kI7e8RUcv3Y=, api error NoSuchPublicAccessBlockConfiguration: The public access block configuration was not found" timestamp=2021-11-18T10:46:28.769Z

Expected Behavior

This shouldn't be classified as a warning and we should just skip this resource without propogating a warning/error

CloudQuery Version

Version: 0.15.11
Commit: f9e1e694756717dc3e5fe19d90f6273c0a37b086
Date: 2021-11-18 13:09:39.46229 +0200 IST m=+0.078011310

Debug Output

Steps to Reproduce

Additional Context

References

@yevgenypats yevgenypats added the bug Something isn't working label Nov 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants