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

refactor(s3): object ownership support #2104

Merged

Conversation

ml019
Copy link
Contributor

@ml019 ml019 commented May 5, 2023

Intent of Change

  • Refactor (non-breaking change which improves the structure or operation of the implementation)
  • New feature (non-breaking change which adds functionality)

Description

Add support for control of the object ownership for the bucket.

Also, per https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html, switch from using an ACL to using bucket policy to permit logging to the audit bucket.

Motivation and Context

  • align with AWS best practices
  • avoid deployment failures where an SCP enforces bucket owner object ownership.

How Has This Been Tested?

Local generation. Use in customer site will also be undertaken once part of the unicycle release.

Related Changes

Prerequisite PRs:

  • None

Dependent PRs:

  • None

Consumer Actions:

  • None

Add support for control of the object ownership for the bucket.

Also, per https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html,
switch from using an ACL to using bucket policy to permit logging to the
audit bucket.
@roleyfoley roleyfoley merged commit bc4b47e into hamlet-io:master May 5, 2023
2 checks passed
@ml019 ml019 deleted the refactor/s3-audit-logging-permissions branch May 5, 2023 06:37
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.

None yet

2 participants