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

Fix KMS and S3 policies #54

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Fix KMS and S3 policies #54

merged 1 commit into from
Oct 27, 2023

Conversation

Stretch96
Copy link
Member

  • jsonencodes the s3 log bucket source arns
  • Correctly formats service-allow-decrypt.json.tpl

@Stretch96 Stretch96 force-pushed the fix-kms-and-s3-policies branch 5 times, most recently from 7827d1b to 0560389 Compare October 27, 2023 13:21
* `jsonencode`s the s3 log bucket source arns
* Correctly formats `service-allow-decrypt.json.tpl`
* Uses the key arn rather than alias for cloudtrail
* Replaces the key arn with a wildcard, as ARNs can't contain wildcards
* Corrects the logs service name
* Adds the aws account ID to the logs bucket, so that it is globally
  unique
@Stretch96 Stretch96 force-pushed the fix-kms-and-s3-policies branch from 0560389 to 3d8125a Compare October 27, 2023 13:29
@Stretch96 Stretch96 merged commit d61ef60 into main Oct 27, 2023
5 checks passed
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.

1 participant