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

Removes S3 object bodies from HTTP request/response logs #661

Merged
merged 3 commits into from
Sep 20, 2023
Merged

Conversation

gdavison
Copy link
Contributor

Removes S3 object bodies from HTTP request/response logs. Replaces bodies with

[Redacted: <size>, Type: <content type>]

@gdavison gdavison requested a review from a team as a code owner September 19, 2023 23:54
Copy link
Member

@jar-b jar-b left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

%  make test
go test -timeout=30s -parallel=4 ./...
?       github.com/hashicorp/aws-sdk-go-base/v2/internal/awsconfig      [no test files]
?       github.com/hashicorp/aws-sdk-go-base/v2/internal/constants      [no test files]
?       github.com/hashicorp/aws-sdk-go-base/v2/internal/errs   [no test files]
?       github.com/hashicorp/aws-sdk-go-base/v2/internal/slices [no test files]
?       github.com/hashicorp/aws-sdk-go-base/v2/internal/test   [no test files]
ok      github.com/hashicorp/aws-sdk-go-base/v2 (cached)
ok      github.com/hashicorp/aws-sdk-go-base/v2/diag    (cached)
ok      github.com/hashicorp/aws-sdk-go-base/v2/internal/config (cached)
ok      github.com/hashicorp/aws-sdk-go-base/v2/internal/endpoints      (cached)
ok      github.com/hashicorp/aws-sdk-go-base/v2/internal/expand (cached)
?       github.com/hashicorp/aws-sdk-go-base/v2/mockdata        [no test files]
?       github.com/hashicorp/aws-sdk-go-base/v2/servicemocks    [no test files]
ok      github.com/hashicorp/aws-sdk-go-base/v2/logging (cached)
ok      github.com/hashicorp/aws-sdk-go-base/v2/tfawserr        (cached)
ok      github.com/hashicorp/aws-sdk-go-base/v2/useragent       (cached)
cd v2/awsv1shim && go test -timeout=30s -parallel=4 ./...
?       github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/mockdata   [no test files]
ok      github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2    (cached)
ok      github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr   (cached)

@gdavison gdavison merged commit ceb3158 into main Sep 20, 2023
6 checks passed
@gdavison gdavison deleted the f-s3-logging branch September 20, 2023 20:03
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.

2 participants