You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Fixes a problem where ACLs have become required on configuration of the
AWS S3 exporter.
AWS explicitly recommends to disable ACLs on buckets
https://docs.aws.amazon.com/AmazonS3/latest/userguide/ensure-object-ownership.html
<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixesopen-telemetry#39346
<!--Describe what testing was performed and which tests were added.-->
#### Testing
Added test to ensure configuration of the exporter worked as expected
when ACL values were set.
Updated existing config tests to ensure no ACL is set by default.
<!--Describe the documentation added.-->
#### Documentation
Updated README.md to show ACLs are optional and off by default.
Additionally added myself as a codeowner as I'm willing to take on
partial ownership here.
<!--Please delete paragraphs that you did not use before submitting.-->
# Use this changelog template to create an entry for release notes.
2
+
3
+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4
+
change_type: bug_fix
5
+
6
+
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
7
+
component: awss3exporter
8
+
9
+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10
+
note: "Fixes an issue where the AWS S3 Exporter was forcing an ACL to be set, leading to unexpected behavior in S3 bucket permissions"
11
+
12
+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13
+
issues: [39346]
14
+
15
+
# (Optional) One or more lines of additional information to render under the primary note.
16
+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17
+
# Use pipe (|) for multiline entries.
18
+
subtext: "Current behavior of the AWS S3 Exporter is to set the ACL to 'private' by default, this removes that behavior and sets no ACL if not specified."
19
+
20
+
# If your change doesn't affect end users or the exported elements of any package,
21
+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
22
+
# Optional: The change log or logs in which this entry should be included.
23
+
# e.g. '[user]' or '[user, api]'
24
+
# Include 'user' if the change is relevant to end users.
25
+
# Include 'api' if there is a change to a library API.
|`s3_prefix`| prefix for the S3 key (root directory inside bucket). ||
27
27
|`s3_partition_format`| filepath formatting for the partition; See [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) for format specification. | "year=%Y/month=%m/day=%d/hour=%H/minute=%M" |
28
-
|`role_arn`| the Role ARN to be assumed ||
29
-
|`file_prefix`| file prefix defined by user ||
30
-
|`marshaler`| marshaler used to produce output data |`otlp_json`|
31
-
|`encoding`| Encoding extension to use to marshal data. Overrides the `marshaler` configuration option if set. ||
32
-
|`encoding_file_extension`| file format extension suffix when using the `encoding` configuration option. May be left empty for no suffix to be appended. ||
33
-
|`endpoint`| (REST API endpoint) overrides the endpoint used by the exporter instead of constructing it from `region` and `s3_bucket`||
34
-
|`storage_class`|[S3 storageclass](https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html)| STANDARD |
|`s3_force_path_style`|[set this to `true` to force the request to use path-style addressing](http://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html)| false |
37
-
|`disable_ssl`| set this to `true` to disable SSL when sending requests | false |
38
-
|`compression`| should the file be compressed | none |
39
-
|`sending_queue`|[exporters common queuing](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md)| disabled |
40
-
|`timeout`|[exporters common timeout](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md)| 5s |
28
+
|`role_arn`| the Role ARN to be assumed ||
29
+
|`file_prefix`| file prefix defined by user ||
30
+
|`marshaler`| marshaler used to produce output data |`otlp_json`|
31
+
|`encoding`| Encoding extension to use to marshal data. Overrides the `marshaler` configuration option if set. ||
32
+
|`encoding_file_extension`| file format extension suffix when using the `encoding` configuration option. May be left empty for no suffix to be appended. ||
33
+
|`endpoint`| (REST API endpoint) overrides the endpoint used by the exporter instead of constructing it from `region` and `s3_bucket`||
34
+
|`storage_class`|[S3 storageclass](https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html)| STANDARD |
35
+
|`acl`|[S3 Object Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl)|none (does not set by default) |
36
+
|`s3_force_path_style`|[set this to `true` to force the request to use path-style addressing](http://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html)| false |
37
+
|`disable_ssl`| set this to `true` to disable SSL when sending requests | false |
38
+
|`compression`| should the file be compressed | none |
39
+
|`sending_queue`|[exporters common queuing](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md)| disabled |
40
+
|`timeout`|[exporters common timeout](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md)| 5s |
0 commit comments