-
Notifications
You must be signed in to change notification settings - Fork 42
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
Prepare Cloudbeat for AWS Gov cloud #2050
Conversation
This pull request does not have a backport label. Could you fix it @kubasobon? 🙏
|
📊 Allure Report - 💚 No failures were reported.
|
internal/flavors/benchmark/aws.go
Outdated
) | ||
|
||
awsConfig, awsIdentity, err = a.getIdentity(ctx, cfg) | ||
// TODO(kuba): Ask when the DefaultRegion is empty. Is there a chance it is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be solved before merging, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, exactly. I would love someone more knowledgable would comment on how CloudConfig.Aws
is populated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
someone more knowledgable would comment on how
CloudConfig.Aws
is populated.
I don't qualify as very knowledgable, but afaik this configuration comes from the configuration yaml file + injected via agent.
I don't think overwriting is good idea.
But @amirbenun or @jeniawhite are better suited to explain how it's populated and if it's wise to overwrite it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kubasobon @romulets
The configuration comes from the agent and is based on the populated config during the installation of the AWS CSPM integration.
so it appears that the DefaultRegion
field is not being populated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, so there is no chance of getting a collision. Thank you.
Summary of your changes
us-gov-east-1
nil pointer dereference
errorsScreenshot/Data
Tested in AWS Gov cloud manually.
Related Issues
Fixes https://github.com/elastic/security-team/issues/8681
Checklist
Introducing a new rule?