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: Correct the aws_sts_region behavior #8184

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

Smjert
Copy link
Member

@Smjert Smjert commented Nov 9, 2023

The aws_sts_region flag was controlling the region used by services using STS, like Kinesis and Firehose,
instead of controlling which region to generate the STS credential from. This changes the behavior of the flag so it controls the STS credentials region, and it also adds two new flags, aws_kinesis_region and aws_firehose_region to control the relative services regions.

@Smjert Smjert added bug feature AWS Related to Amazon Web Services tables labels Nov 9, 2023
@Smjert Smjert requested review from a team as code owners November 9, 2023 16:22
The `aws_sts_region` flag was controlling the region used
by services using STS, like Kinesis and Firehose,
instead of controlling which region to generate the STS credential from.
This changes the behavior of the flag so it controls the STS credentials
region, and it also adds two new flags, `aws_kinesis_region` and
`aws_firehose_region` to control the relative services regions.
@Smjert Smjert force-pushed the stefano/fix/aws-sts-region-flag branch from 6614043 to 83b2f11 Compare November 9, 2023 16:25
Copy link
Member

@zwass zwass left a comment

Choose a reason for hiding this comment

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

Generally I'm good with this, but I'd like to clarify the one question before approving.

osquery/utils/aws/aws_util.cpp Show resolved Hide resolved
@Smjert Smjert added this to the 5.11.0 milestone Dec 12, 2023
Copy link
Member

@directionless directionless left a comment

Choose a reason for hiding this comment

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

Seems okay to me. @zwass did your question resolve okay?

Copy link
Member

@zwass zwass left a comment

Choose a reason for hiding this comment

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

Yes, lgtm!

@Smjert Smjert merged commit e042cea into osquery:master Dec 18, 2023
16 checks passed
@Smjert Smjert deleted the stefano/fix/aws-sts-region-flag branch December 18, 2023 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AWS Related to Amazon Web Services tables bug feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants