Skip to content

Commit

Permalink
Revert "Revert "[u] Fix: S3 server access logs are inherently incompl…
Browse files Browse the repository at this point in the history
…ete (#5043, PR #5230)""

This reverts commit 75a01ee.
  • Loading branch information
dsotirho-ucsc committed Jun 8, 2023
1 parent 629fe05 commit df27ec5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
10 changes: 10 additions & 0 deletions UPGRADING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ a deployment just before pushing the merge commit to the GitLab instance in that
deployment.


#5043 S3 server access logs are inherently incomplete
=====================================================

Operator
~~~~~~~~

Manually deploy the ``shared`` component of any main deployment just before
pushing the merge commit to the GitLab instance in that deployment.


#5133 Trigger an alarm on absence of logs
=========================================

Expand Down
10 changes: 9 additions & 1 deletion terraform/shared/shared.tf.json.template.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,15 @@ def conformance_pack(name: str) -> str:
'enable_log_file_validation': True,
'is_multi_region_trail': True,
'cloud_watch_logs_group_arn': '${aws_cloudwatch_log_group.trail.arn}:*',
'cloud_watch_logs_role_arn': '${aws_iam_role.trail.arn}'
'cloud_watch_logs_role_arn': '${aws_iam_role.trail.arn}',
'event_selector': {
'read_write_type': 'All',
'include_management_events': True,
'data_resource': {
'type': 'AWS::S3::Object',
'values': ['arn:aws:s3']
}
}
}
},
'aws_cloudwatch_log_group': {
Expand Down

0 comments on commit df27ec5

Please sign in to comment.