[Context Security] fix csp-agnostic regressions #242592
Merged
seanrathier merged 9 commits intoelastic:mainfrom Dec 2, 2025
Merged
[Context Security] fix csp-agnostic regressions #242592seanrathier merged 9 commits intoelastic:mainfrom
seanrathier merged 9 commits intoelastic:mainfrom
Conversation
amirbenun
reviewed
Nov 12, 2025
Contributor
amirbenun
left a comment
There was a problem hiding this comment.
Thanks @Omolola-Akinleye
...ud-security-posture/public/src/components/fleet_extensions/hooks/use_cloud_setup_context.tsx
Show resolved
Hide resolved
| mockCore.uiSettings.get.mockReturnValue(true); | ||
| }); | ||
|
|
||
| it('enables AWS cloud connector only on AWS host', () => { |
Contributor
There was a problem hiding this comment.
Many of the tests that you deleted are still relevant - please keep some of them.
Contributor
Author
There was a problem hiding this comment.
@amirbenun We can refactor the tests to check enablement but we no longer need hosts check test case because we remove hostProvider check.
Contributor
Author
|
/ci |
amirbenun
reviewed
Nov 13, 2025
...ud-security-posture/public/src/components/fleet_extensions/hooks/use_cloud_setup_context.tsx
Outdated
Show resolved
Hide resolved
Contributor
Author
|
/ci |
6 similar comments
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
8064b5f to
4448ca1
Compare
Contributor
|
Pinging @elastic/contextual-security-apps (Team:Cloud Security) |
Contributor
💚 Build Succeeded
Metrics [docs]Async chunks
History
|
opauloh
approved these changes
Dec 2, 2025
Contributor
opauloh
left a comment
There was a problem hiding this comment.
LGTM - tested on Kibana hosted in GCP and AWS cloud providers
NicholasPeretti
pushed a commit
to NicholasPeretti/kibana
that referenced
this pull request
Dec 2, 2025
JordanSh
pushed a commit
to JordanSh/kibana
that referenced
this pull request
Dec 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Checking CSP from
cloudHosthas cause a few regression. In9.3.0, AWS cloud connectors will support AWS, GCP, Azure clusters. We need to remove the cloud provider host check and logic to ensure All cloud providers for ECH deployments or Serverless projects are supported. This will also help prevent bug regression slipping in to production since we are unable to verify Azure or GCP clusters until Serverless promotion.