[Contextual Security] Add sanity UI tests for serverless project#233754
Merged
gurevichdmitry merged 9 commits intomainfrom Sep 7, 2025
Merged
[Contextual Security] Add sanity UI tests for serverless project#233754gurevichdmitry merged 9 commits intomainfrom
gurevichdmitry merged 9 commits intomainfrom
Conversation
jbudz
approved these changes
Sep 2, 2025
Contributor
jbudz
left a comment
There was a problem hiding this comment.
.buildkite/ftr_security_serverless_configs.yml LGTM
seanrathier
approved these changes
Sep 3, 2025
Contributor
seanrathier
left a comment
There was a problem hiding this comment.
One nit to remove the commented code, otherwise looks great! thanks!
...solutions/security/test/serverless/functional/configs/config.cloud_secuirty_posture.cloud.ts
Outdated
Show resolved
Hide resolved
Contributor
💚 Build Succeeded
Metrics [docs]
History
|
Contributor
|
Starting backport for target branches: 9.1 https://github.com/elastic/kibana/actions/runs/17529212767 |
kibanamachine
added a commit
to kibanamachine/kibana
that referenced
this pull request
Sep 7, 2025
…stic#233754) ## Summary This PR introduces sanity UI tests, adapted to run on the serverless project, which is created on demand. <img width="835" height="248" alt="Screenshot 2025-09-02 at 17 49 38" src="https://github.com/user-attachments/assets/db3172b1-3361-4497-a43e-4a1ba27840c2" /> ### How To Test To test this PR, deploy a serverless project using the [Create Environment](https://github.com/elastic/cloudbeat/actions/workflows/test-environment.yml) workflow, define the environment variables, ``` bash export TEST_KIBANA_URL=https://elastic:password@my-kbn-cluster.elastic-cloud.com:443 export TEST_ES_URL=https://elastic:password@my-es-cluster.elastic-cloud.com:443 export TEST_CLOUD=1 export ES_SECURITY_ENABLED=1 export TEST_BROWSER_HEADLESS=1 ``` and then execute the following command: `node scripts/functional_test_runner --config=x-pack/solutions/security/test/serverless/functional/configs/config.cloud_security_posture.cloud.ts ` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit ff659a3)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Sep 7, 2025
#233754) (#234248) # Backport This will backport the following commits from `main` to `9.1`: - [[Contextual Security] Add sanity UI tests for serverless project (#233754)](#233754) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dmitry Gurevich","email":"dmitry.gurevich@elastic.co"},"sourceCommit":{"committedDate":"2025-09-07T13:30:08Z","message":"[Contextual Security] Add sanity UI tests for serverless project (#233754)\n\n## Summary\n\nThis PR introduces sanity UI tests, adapted to run on the serverless\nproject, which is created on demand.\n\n\n<img width=\"835\" height=\"248\" alt=\"Screenshot 2025-09-02 at 17 49 38\"\nsrc=\"https://github.com/user-attachments/assets/db3172b1-3361-4497-a43e-4a1ba27840c2\"\n/>\n\n\n### How To Test\nTo test this PR, deploy a serverless project using the [Create\nEnvironment](https://github.com/elastic/cloudbeat/actions/workflows/test-environment.yml)\nworkflow, define the environment variables,\n\n``` bash\nexport TEST_KIBANA_URL=https://elastic:password@my-kbn-cluster.elastic-cloud.com:443\nexport TEST_ES_URL=https://elastic:password@my-es-cluster.elastic-cloud.com:443\n\nexport TEST_CLOUD=1\nexport ES_SECURITY_ENABLED=1\nexport TEST_BROWSER_HEADLESS=1\n```\nand then execute the following command:\n\n`node scripts/functional_test_runner\n--config=x-pack/solutions/security/test/serverless/functional/configs/config.cloud_security_posture.cloud.ts\n`\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"ff659a37e70de1784f0701422beec008db532a90","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v9.2.0"],"title":"[Contextual Security] Add sanity UI tests for serverless project","number":233754,"url":"https://github.com/elastic/kibana/pull/233754","mergeCommit":{"message":"[Contextual Security] Add sanity UI tests for serverless project (#233754)\n\n## Summary\n\nThis PR introduces sanity UI tests, adapted to run on the serverless\nproject, which is created on demand.\n\n\n<img width=\"835\" height=\"248\" alt=\"Screenshot 2025-09-02 at 17 49 38\"\nsrc=\"https://github.com/user-attachments/assets/db3172b1-3361-4497-a43e-4a1ba27840c2\"\n/>\n\n\n### How To Test\nTo test this PR, deploy a serverless project using the [Create\nEnvironment](https://github.com/elastic/cloudbeat/actions/workflows/test-environment.yml)\nworkflow, define the environment variables,\n\n``` bash\nexport TEST_KIBANA_URL=https://elastic:password@my-kbn-cluster.elastic-cloud.com:443\nexport TEST_ES_URL=https://elastic:password@my-es-cluster.elastic-cloud.com:443\n\nexport TEST_CLOUD=1\nexport ES_SECURITY_ENABLED=1\nexport TEST_BROWSER_HEADLESS=1\n```\nand then execute the following command:\n\n`node scripts/functional_test_runner\n--config=x-pack/solutions/security/test/serverless/functional/configs/config.cloud_security_posture.cloud.ts\n`\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"ff659a37e70de1784f0701422beec008db532a90"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/233754","number":233754,"mergeCommit":{"message":"[Contextual Security] Add sanity UI tests for serverless project (#233754)\n\n## Summary\n\nThis PR introduces sanity UI tests, adapted to run on the serverless\nproject, which is created on demand.\n\n\n<img width=\"835\" height=\"248\" alt=\"Screenshot 2025-09-02 at 17 49 38\"\nsrc=\"https://github.com/user-attachments/assets/db3172b1-3361-4497-a43e-4a1ba27840c2\"\n/>\n\n\n### How To Test\nTo test this PR, deploy a serverless project using the [Create\nEnvironment](https://github.com/elastic/cloudbeat/actions/workflows/test-environment.yml)\nworkflow, define the environment variables,\n\n``` bash\nexport TEST_KIBANA_URL=https://elastic:password@my-kbn-cluster.elastic-cloud.com:443\nexport TEST_ES_URL=https://elastic:password@my-es-cluster.elastic-cloud.com:443\n\nexport TEST_CLOUD=1\nexport ES_SECURITY_ENABLED=1\nexport TEST_BROWSER_HEADLESS=1\n```\nand then execute the following command:\n\n`node scripts/functional_test_runner\n--config=x-pack/solutions/security/test/serverless/functional/configs/config.cloud_security_posture.cloud.ts\n`\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"ff659a37e70de1784f0701422beec008db532a90"}}]}] BACKPORT--> Co-authored-by: Dmitry Gurevich <dmitry.gurevich@elastic.co>
KodeRad
pushed a commit
to KodeRad/kibana
that referenced
this pull request
Sep 15, 2025
…stic#233754) ## Summary This PR introduces sanity UI tests, adapted to run on the serverless project, which is created on demand. <img width="835" height="248" alt="Screenshot 2025-09-02 at 17 49 38" src="https://github.com/user-attachments/assets/db3172b1-3361-4497-a43e-4a1ba27840c2" /> ### How To Test To test this PR, deploy a serverless project using the [Create Environment](https://github.com/elastic/cloudbeat/actions/workflows/test-environment.yml) workflow, define the environment variables, ``` bash export TEST_KIBANA_URL=https://elastic:password@my-kbn-cluster.elastic-cloud.com:443 export TEST_ES_URL=https://elastic:password@my-es-cluster.elastic-cloud.com:443 export TEST_CLOUD=1 export ES_SECURITY_ENABLED=1 export TEST_BROWSER_HEADLESS=1 ``` and then execute the following command: `node scripts/functional_test_runner --config=x-pack/solutions/security/test/serverless/functional/configs/config.cloud_security_posture.cloud.ts ` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
CAWilson94
pushed a commit
to CAWilson94/kibana
that referenced
this pull request
Sep 24, 2025
…stic#233754) ## Summary This PR introduces sanity UI tests, adapted to run on the serverless project, which is created on demand. <img width="835" height="248" alt="Screenshot 2025-09-02 at 17 49 38" src="https://github.com/user-attachments/assets/db3172b1-3361-4497-a43e-4a1ba27840c2" /> ### How To Test To test this PR, deploy a serverless project using the [Create Environment](https://github.com/elastic/cloudbeat/actions/workflows/test-environment.yml) workflow, define the environment variables, ``` bash export TEST_KIBANA_URL=https://elastic:password@my-kbn-cluster.elastic-cloud.com:443 export TEST_ES_URL=https://elastic:password@my-es-cluster.elastic-cloud.com:443 export TEST_CLOUD=1 export ES_SECURITY_ENABLED=1 export TEST_BROWSER_HEADLESS=1 ``` and then execute the following command: `node scripts/functional_test_runner --config=x-pack/solutions/security/test/serverless/functional/configs/config.cloud_security_posture.cloud.ts ` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
niros1
pushed a commit
that referenced
this pull request
Sep 30, 2025
…3754) ## Summary This PR introduces sanity UI tests, adapted to run on the serverless project, which is created on demand. <img width="835" height="248" alt="Screenshot 2025-09-02 at 17 49 38" src="https://github.com/user-attachments/assets/db3172b1-3361-4497-a43e-4a1ba27840c2" /> ### How To Test To test this PR, deploy a serverless project using the [Create Environment](https://github.com/elastic/cloudbeat/actions/workflows/test-environment.yml) workflow, define the environment variables, ``` bash export TEST_KIBANA_URL=https://elastic:password@my-kbn-cluster.elastic-cloud.com:443 export TEST_ES_URL=https://elastic:password@my-es-cluster.elastic-cloud.com:443 export TEST_CLOUD=1 export ES_SECURITY_ENABLED=1 export TEST_BROWSER_HEADLESS=1 ``` and then execute the following command: `node scripts/functional_test_runner --config=x-pack/solutions/security/test/serverless/functional/configs/config.cloud_security_posture.cloud.ts ` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
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
This PR introduces sanity UI tests, adapted to run on the serverless project, which is created on demand.
How To Test
To test this PR, deploy a serverless project using the Create Environment workflow, define the environment variables,
and then execute the following command:
node scripts/functional_test_runner --config=x-pack/solutions/security/test/serverless/functional/configs/config.cloud_security_posture.cloud.ts