Skip to content

Conversation

@MadameSheema
Copy link
Contributor

@MadameSheema MadameSheema commented Nov 27, 2025

Summary

Adds support for the essentials and ease severless tiers to the Scout testing framework, enabling local server startup with the Security Essentials and Security EASE tier configuration.

Testing

  • Verified that node scripts/scout.js start-server --serverless=security-essentials successfully starts the environment
  • Verified that node scripts/scout.js start-server --serverless=security-ease successfully starts the environment

@MadameSheema MadameSheema changed the title Add support for security-essentials serverless project type in Scout Add support for essentials and ease tiers in Scout Nov 28, 2025
@MadameSheema MadameSheema self-assigned this Nov 28, 2025
@MadameSheema MadameSheema added Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v9.3.0 release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Nov 28, 2025
@MadameSheema MadameSheema marked this pull request as ready for review November 28, 2025 10:36
@MadameSheema MadameSheema requested a review from a team as a code owner November 28, 2025 10:36
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

...defaultConfig.kbnTestServer,
serverArgs: [
...defaultConfig.kbnTestServer.serverArgs,
'--serverless=security',
Copy link
Contributor

Choose a reason for hiding this comment

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

just to make sure: serverless arg should be security. Not EASE or essentials?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, serverless arg should be security, EASE and essentials refers to the tier used in the security project.

Copy link
Member

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

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

LGTM

@MadameSheema I think it would be better to backport PR to "all-open" to avoid merge conflicts in the future even though we don't run svl tests in those branches.

With this PR tests won't be run for tiers, you need to make changes in

# Define run modes based on group
declare -A RUN_MODES
RUN_MODES["platform"]="--stateful --serverless=es --serverless=oblt --serverless=security"
RUN_MODES["observability"]="--stateful --serverless=oblt --serverless=oblt-logs-essentials"
RUN_MODES["search"]="--stateful --serverless=es"
RUN_MODES["security"]="--stateful --serverless=security"
# Define serverless-only run modes based on group
declare -A RUN_MODES_SERVERLESS_ONLY
RUN_MODES_SERVERLESS_ONLY["platform"]="--serverless=es --serverless=oblt --serverless=security"
RUN_MODES_SERVERLESS_ONLY["observability"]="--serverless=oblt --serverless=oblt-logs-essentials"
RUN_MODES_SERVERLESS_ONLY["search"]="--serverless=es"
RUN_MODES_SERVERLESS_ONLY["security"]="--serverless=security"

I'm not sure if we need to run all the platform tests for each tier, let me know you thoughts

@MadameSheema
Copy link
Contributor Author

With this PR tests won't be run for tiers, you need to make changes in

Thank you for pointing this out! I'll make the changes 😊

I'm not sure if we need to run all the platform tests for each tier, let me know you thoughts

I’m not sure because I don’t know what the platform tests cover. Could you please share the link with me?

@MadameSheema MadameSheema added backport:all-open Backport to all branches that could still receive a release and removed backport:skip This PR does not require backporting labels Dec 1, 2025
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #77 / Console App CCS Perform CCS Search in Console it should be able to access remote data

Metrics [docs]

✅ unchanged

History

cc @MadameSheema

@MadameSheema MadameSheema requested a review from a team as a code owner December 1, 2025 16:30
Copy link
Contributor

@delanni delanni left a comment

Choose a reason for hiding this comment

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

scout_configs.sh 👍

Side question:
@elastic/appex-qa - do you think the tools/scripts around scout are located close enough, so we could share or hand over ownership of these scripts? You probably know more about it, so your approval might be more relevant

@MadameSheema MadameSheema merged commit d273b13 into elastic:main Dec 2, 2025
12 checks passed
@MadameSheema MadameSheema deleted the scout-security-project-configurations branch December 2, 2025 09:38
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1, 9.2

https://github.com/elastic/kibana/actions/runs/19853977541

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1 Backport failed because of merge conflicts
9.2 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 244553

Questions ?

Please refer to the Backport tool documentation

NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Dec 2, 2025
## Summary

Adds support for the essentials and ease severless tiers to the Scout
testing framework, enabling local server startup with the Security
Essentials and Security EASE tier configuration.

### Testing
* Verified that node scripts/scout.js start-server
--serverless=security-essentials successfully starts the environment
* Verified that node scripts/scout.js start-server
--serverless=security-ease successfully starts the environment

---------

Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants