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

Add S3 logging #427

Open
boxabirds opened this issue Dec 18, 2019 · 3 comments
Open

Add S3 logging #427

boxabirds opened this issue Dec 18, 2019 · 3 comments

Comments

@boxabirds
Copy link
Contributor

I'm at the "Add Note attachment to S3" and I'm having some permission issues. It'd be great for the guide to enable object-level logging with CloudTrail when the note bucket is set up. Ironically the permission problem I have seems to be disabling the ability … to log as well… fun and games.

@jayair
Copy link
Contributor

jayair commented Dec 29, 2019

Oh. Post what you end up figuring out.

@boxabirds
Copy link
Contributor Author

Right I can't get my project to accept this line in the S3 bucket policy:

arn:aws:s3:::kiwi-notes-app-uploads/private/${cognito-identity.amazonws.com:sub}/*

I had to use this instead:

arn:aws:s3:::kiwi-notes-app-uploads/private/*

which is obviously a security issue.

@jayair
Copy link
Contributor

jayair commented Jan 19, 2020

Yeah that's really weird cos the first one should work.

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

No branches or pull requests

2 participants