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

Restore S3 FIPS and custom endpoint capabilities #48684

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

rosstimothy
Copy link
Contributor

When migrating the S3 events handler to use aws-sdk-go-v2 applying the FIPS settings and custom endpoint were inadvertently dropped. This restores the functionality, while also adding tests to ensure that they are always respected going forward.

A similar test was added to the dynamodb events handler as well to prevent any regressions with FIPS settings there.

@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Nov 8, 2024
Comment on lines -37 to -40
func TestMain(m *testing.M) {
utils.InitLoggerForTests()
os.Exit(m.Run())
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is removed because it's already defined in the package. This went unnoticed because this file is gated by a build tag is not often ran 😢.

@rosstimothy rosstimothy force-pushed the tross/s3_fips branch 3 times, most recently from 7bdba16 to a169a8d Compare November 8, 2024 17:18
@rosstimothy rosstimothy marked this pull request as ready for review November 8, 2024 17:38
@github-actions github-actions bot requested review from fspmarshall and Tener November 8, 2024 17:38
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log size/md labels Nov 8, 2024
@rosstimothy rosstimothy requested a review from r0mant November 8, 2024 17:43
@rosstimothy
Copy link
Contributor Author

@r0mant @zmb3 would one of you mind excluding TestThirdpartyStreams from the FTD?

@zmb3
Copy link
Collaborator

zmb3 commented Nov 12, 2024

/excludeflake TestThirdpartyStreams

When migrating the S3 events handler to use aws-sdk-go-v2 applying
the FIPS settings and custom endpoint were inadvertently dropped.
This restores the functionality, while also adding tests to ensure
that they are always respected going forward.

A similar test was added to the dynamodb events handler as well to
prevent any regressions with FIPS settings there.
@rosstimothy rosstimothy added this pull request to the merge queue Nov 12, 2024
Merged via the queue into master with commit 56d85fa Nov 12, 2024
39 checks passed
@rosstimothy rosstimothy deleted the tross/s3_fips branch November 12, 2024 17:04
@public-teleport-github-review-bot

@rosstimothy See the table below for backport results.

Branch Result
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit-log Issues related to Teleports Audit Log backport/branch/v17 merge-for-v17 no-changelog Indicates that a PR does not require a changelog entry size/md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants