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

[Issue 966] Configure access log S3 buckets to allow SSL requests only #1219

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

jamesbursa
Copy link
Collaborator

Summary

Part of #966

Time to review: 5 mins

Changes proposed

  • Modify the bucket policy for the *access-logs* buckets to allow SSL requests only.

Context for reviewers

This policy is required by Security Hub control S3.5. See https://repost.aws/knowledge-center/s3-bucket-policy-for-config-rule

Additional information

Tested by deploying to dev using make infra-update-app-service APP_NAME=api ENVIRONMENT=dev.

Before deploy:
Screenshot 2024-02-12 at 19-20-47 api-dev-access-logs20231023213552646900000003 - S3 bucket S3 Global

After deploy:
Screenshot 2024-02-12 at 19-21-24 api-dev-access-logs20231023213552646900000003 - S3 bucket S3 Global

Confirmed that the control switched from FAILED to PASSED on Security Hub:
Screenshot 2024-02-12 at 19-30-46 S3 5 Controls Security Hub us-east-1

Copy link
Collaborator

@coilysiren coilysiren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏽

@jamesbursa jamesbursa merged commit f488e67 into main Feb 13, 2024
7 checks passed
@jamesbursa jamesbursa deleted the jamesbursa/966-access-logs-ssl-only branch February 13, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants