Add kbn/test-saml-auth package#259074
Conversation
…ally, or add an exception to src/dev/yarn_deduplicate/index.ts and then commit the changes and push to your branch
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThis pull request extracts SAML authentication functionality from the ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
⏳ Build in-progress
History
|
|
Starting backport for target branches: 8.19, 9.2, 9.3 https://github.com/elastic/kibana/actions/runs/23637253096 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
## Summary `@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout, Cypress, and similar tooling to obtain SAML-backed session cookies / API credentials for predefined roles against Kibana (local or Elastic Cloud). It exposes SamlSessionManager and related types (HostOptions, GetCookieOptions, Role, etc.). ### Why `@kbn/test` is the bigger FTR / test-runner harness (servers, configs, providers, etc.). SAML session handling is a narrow, reusable capability used by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling that only need “log in as role X” without the rest of the FTR stack. Keeping SAML in `@kbn/test-saml-auth`: - Lets those consumers depend on a small, focused package instead of `@kbn/test`. - Avoids tying every SAML use case to the full test-runner dependency graph. - Keeps `SamlSessionManager` and its HTTP/auth details in one place; `@kbn/test` can stay a thin re-export for FTR ergonomics without owning the implementation. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d9cdddc) # Conflicts: # packages/kbn-repo-source-classifier/src/repo_source_classifier.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
## Summary `@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout, Cypress, and similar tooling to obtain SAML-backed session cookies / API credentials for predefined roles against Kibana (local or Elastic Cloud). It exposes SamlSessionManager and related types (HostOptions, GetCookieOptions, Role, etc.). ### Why `@kbn/test` is the bigger FTR / test-runner harness (servers, configs, providers, etc.). SAML session handling is a narrow, reusable capability used by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling that only need “log in as role X” without the rest of the FTR stack. Keeping SAML in `@kbn/test-saml-auth`: - Lets those consumers depend on a small, focused package instead of `@kbn/test`. - Avoids tying every SAML use case to the full test-runner dependency graph. - Keeps `SamlSessionManager` and its HTTP/auth details in one place; `@kbn/test` can stay a thin re-export for FTR ergonomics without owning the implementation. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d9cdddc) # Conflicts: # packages/kbn-repo-source-classifier/src/repo_source_classifier.ts # src/platform/packages/shared/kbn-test-saml-auth/src/session_manager.ts # x-pack/solutions/security/test/security_solution_cypress/cypress/tsconfig.json
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
## Summary `@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout, Cypress, and similar tooling to obtain SAML-backed session cookies / API credentials for predefined roles against Kibana (local or Elastic Cloud). It exposes SamlSessionManager and related types (HostOptions, GetCookieOptions, Role, etc.). ### Why `@kbn/test` is the bigger FTR / test-runner harness (servers, configs, providers, etc.). SAML session handling is a narrow, reusable capability used by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling that only need “log in as role X” without the rest of the FTR stack. Keeping SAML in `@kbn/test-saml-auth`: - Lets those consumers depend on a small, focused package instead of `@kbn/test`. - Avoids tying every SAML use case to the full test-runner dependency graph. - Keeps `SamlSessionManager` and its HTTP/auth details in one place; `@kbn/test` can stay a thin re-export for FTR ergonomics without owning the implementation. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d9cdddc) # Conflicts: # .github/CODEOWNERS # packages/kbn-repo-source-classifier/src/repo_source_classifier.ts # src/platform/packages/shared/kbn-ftr-common-functional-services/services/saml_auth/serverless/auth_provider.ts # src/platform/packages/shared/kbn-scout/src/common/constants.ts # src/platform/packages/shared/kbn-scout/src/common/services/saml_auth.ts # src/platform/packages/shared/kbn-scout/src/playwright/fixtures/scope/worker/core_fixtures.ts # src/platform/packages/shared/kbn-test-saml-auth/src/session_manager.test.ts # src/platform/packages/shared/kbn-test-saml-auth/src/session_manager.ts # x-pack/solutions/security/test/security_solution_cypress/cypress/support/saml_auth.ts # x-pack/solutions/security/test/security_solution_cypress/cypress/tsconfig.json
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
# Backport This will backport the following commits from `main` to `9.2`: - [Add kbn/test-saml-auth package (#259074)](#259074) <!--- Backport version: 11.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2026-03-27T08:13:23Z","message":"Add kbn/test-saml-auth package (#259074)\n\n## Summary\n\n`@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout,\nCypress, and similar tooling to obtain SAML-backed session cookies / API\ncredentials for predefined roles against Kibana (local or Elastic\nCloud). It exposes SamlSessionManager and related types (HostOptions,\nGetCookieOptions, Role, etc.).\n\n### Why\n\n`@kbn/test` is the bigger FTR / test-runner harness (servers, configs,\nproviders, etc.). SAML session handling is a narrow, reusable capability\nused by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling\nthat only need “log in as role X” without the rest of the FTR stack.\n\nKeeping SAML in `@kbn/test-saml-auth`:\n\n- Lets those consumers depend on a small, focused package instead of\n`@kbn/test`.\n- Avoids tying every SAML use case to the full test-runner dependency\ngraph.\n- Keeps `SamlSessionManager` and its HTTP/auth details in one place;\n`@kbn/test` can stay a thin re-export for FTR ergonomics without owning\nthe implementation.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d9cdddc9730c89c0c05753fa2127f7495f63fe9f","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","ci:build-serverless-image","v9.4.0"],"title":"Add kbn/test-saml-auth package","number":259074,"url":"https://github.com/elastic/kibana/pull/259074","mergeCommit":{"message":"Add kbn/test-saml-auth package (#259074)\n\n## Summary\n\n`@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout,\nCypress, and similar tooling to obtain SAML-backed session cookies / API\ncredentials for predefined roles against Kibana (local or Elastic\nCloud). It exposes SamlSessionManager and related types (HostOptions,\nGetCookieOptions, Role, etc.).\n\n### Why\n\n`@kbn/test` is the bigger FTR / test-runner harness (servers, configs,\nproviders, etc.). SAML session handling is a narrow, reusable capability\nused by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling\nthat only need “log in as role X” without the rest of the FTR stack.\n\nKeeping SAML in `@kbn/test-saml-auth`:\n\n- Lets those consumers depend on a small, focused package instead of\n`@kbn/test`.\n- Avoids tying every SAML use case to the full test-runner dependency\ngraph.\n- Keeps `SamlSessionManager` and its HTTP/auth details in one place;\n`@kbn/test` can stay a thin re-export for FTR ergonomics without owning\nthe implementation.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d9cdddc9730c89c0c05753fa2127f7495f63fe9f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/259074","number":259074,"mergeCommit":{"message":"Add kbn/test-saml-auth package (#259074)\n\n## Summary\n\n`@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout,\nCypress, and similar tooling to obtain SAML-backed session cookies / API\ncredentials for predefined roles against Kibana (local or Elastic\nCloud). It exposes SamlSessionManager and related types (HostOptions,\nGetCookieOptions, Role, etc.).\n\n### Why\n\n`@kbn/test` is the bigger FTR / test-runner harness (servers, configs,\nproviders, etc.). SAML session handling is a narrow, reusable capability\nused by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling\nthat only need “log in as role X” without the rest of the FTR stack.\n\nKeeping SAML in `@kbn/test-saml-auth`:\n\n- Lets those consumers depend on a small, focused package instead of\n`@kbn/test`.\n- Avoids tying every SAML use case to the full test-runner dependency\ngraph.\n- Keeps `SamlSessionManager` and its HTTP/auth details in one place;\n`@kbn/test` can stay a thin re-export for FTR ergonomics without owning\nthe implementation.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d9cdddc9730c89c0c05753fa2127f7495f63fe9f"}},{"url":"https://github.com/elastic/kibana/pull/260136","number":260136,"branch":"9.3","state":"OPEN"}]}] BACKPORT-->
# Backport This will backport the following commits from `main` to `9.3`: - [Add kbn/test-saml-auth package (#259074)](#259074) <!--- Backport version: 11.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2026-03-27T08:13:23Z","message":"Add kbn/test-saml-auth package (#259074)\n\n## Summary\n\n`@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout,\nCypress, and similar tooling to obtain SAML-backed session cookies / API\ncredentials for predefined roles against Kibana (local or Elastic\nCloud). It exposes SamlSessionManager and related types (HostOptions,\nGetCookieOptions, Role, etc.).\n\n### Why\n\n`@kbn/test` is the bigger FTR / test-runner harness (servers, configs,\nproviders, etc.). SAML session handling is a narrow, reusable capability\nused by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling\nthat only need “log in as role X” without the rest of the FTR stack.\n\nKeeping SAML in `@kbn/test-saml-auth`:\n\n- Lets those consumers depend on a small, focused package instead of\n`@kbn/test`.\n- Avoids tying every SAML use case to the full test-runner dependency\ngraph.\n- Keeps `SamlSessionManager` and its HTTP/auth details in one place;\n`@kbn/test` can stay a thin re-export for FTR ergonomics without owning\nthe implementation.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d9cdddc9730c89c0c05753fa2127f7495f63fe9f","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","ci:build-serverless-image","v9.4.0"],"title":"Add kbn/test-saml-auth package","number":259074,"url":"https://github.com/elastic/kibana/pull/259074","mergeCommit":{"message":"Add kbn/test-saml-auth package (#259074)\n\n## Summary\n\n`@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout,\nCypress, and similar tooling to obtain SAML-backed session cookies / API\ncredentials for predefined roles against Kibana (local or Elastic\nCloud). It exposes SamlSessionManager and related types (HostOptions,\nGetCookieOptions, Role, etc.).\n\n### Why\n\n`@kbn/test` is the bigger FTR / test-runner harness (servers, configs,\nproviders, etc.). SAML session handling is a narrow, reusable capability\nused by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling\nthat only need “log in as role X” without the rest of the FTR stack.\n\nKeeping SAML in `@kbn/test-saml-auth`:\n\n- Lets those consumers depend on a small, focused package instead of\n`@kbn/test`.\n- Avoids tying every SAML use case to the full test-runner dependency\ngraph.\n- Keeps `SamlSessionManager` and its HTTP/auth details in one place;\n`@kbn/test` can stay a thin re-export for FTR ergonomics without owning\nthe implementation.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d9cdddc9730c89c0c05753fa2127f7495f63fe9f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/259074","number":259074,"mergeCommit":{"message":"Add kbn/test-saml-auth package (#259074)\n\n## Summary\n\n`@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout,\nCypress, and similar tooling to obtain SAML-backed session cookies / API\ncredentials for predefined roles against Kibana (local or Elastic\nCloud). It exposes SamlSessionManager and related types (HostOptions,\nGetCookieOptions, Role, etc.).\n\n### Why\n\n`@kbn/test` is the bigger FTR / test-runner harness (servers, configs,\nproviders, etc.). SAML session handling is a narrow, reusable capability\nused by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling\nthat only need “log in as role X” without the rest of the FTR stack.\n\nKeeping SAML in `@kbn/test-saml-auth`:\n\n- Lets those consumers depend on a small, focused package instead of\n`@kbn/test`.\n- Avoids tying every SAML use case to the full test-runner dependency\ngraph.\n- Keeps `SamlSessionManager` and its HTTP/auth details in one place;\n`@kbn/test` can stay a thin re-export for FTR ergonomics without owning\nthe implementation.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d9cdddc9730c89c0c05753fa2127f7495f63fe9f"}}]}] BACKPORT-->
# Backport This will backport the following commits from `main` to `8.19`: - [Add kbn/test-saml-auth package (#259074)](#259074) <!--- Backport version: 11.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2026-03-27T08:13:23Z","message":"Add kbn/test-saml-auth package (#259074)\n\n## Summary\n\n`@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout,\nCypress, and similar tooling to obtain SAML-backed session cookies / API\ncredentials for predefined roles against Kibana (local or Elastic\nCloud). It exposes SamlSessionManager and related types (HostOptions,\nGetCookieOptions, Role, etc.).\n\n### Why\n\n`@kbn/test` is the bigger FTR / test-runner harness (servers, configs,\nproviders, etc.). SAML session handling is a narrow, reusable capability\nused by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling\nthat only need “log in as role X” without the rest of the FTR stack.\n\nKeeping SAML in `@kbn/test-saml-auth`:\n\n- Lets those consumers depend on a small, focused package instead of\n`@kbn/test`.\n- Avoids tying every SAML use case to the full test-runner dependency\ngraph.\n- Keeps `SamlSessionManager` and its HTTP/auth details in one place;\n`@kbn/test` can stay a thin re-export for FTR ergonomics without owning\nthe implementation.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d9cdddc9730c89c0c05753fa2127f7495f63fe9f","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","ci:build-serverless-image","v9.4.0"],"title":"Add kbn/test-saml-auth package","number":259074,"url":"https://github.com/elastic/kibana/pull/259074","mergeCommit":{"message":"Add kbn/test-saml-auth package (#259074)\n\n## Summary\n\n`@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout,\nCypress, and similar tooling to obtain SAML-backed session cookies / API\ncredentials for predefined roles against Kibana (local or Elastic\nCloud). It exposes SamlSessionManager and related types (HostOptions,\nGetCookieOptions, Role, etc.).\n\n### Why\n\n`@kbn/test` is the bigger FTR / test-runner harness (servers, configs,\nproviders, etc.). SAML session handling is a narrow, reusable capability\nused by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling\nthat only need “log in as role X” without the rest of the FTR stack.\n\nKeeping SAML in `@kbn/test-saml-auth`:\n\n- Lets those consumers depend on a small, focused package instead of\n`@kbn/test`.\n- Avoids tying every SAML use case to the full test-runner dependency\ngraph.\n- Keeps `SamlSessionManager` and its HTTP/auth details in one place;\n`@kbn/test` can stay a thin re-export for FTR ergonomics without owning\nthe implementation.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d9cdddc9730c89c0c05753fa2127f7495f63fe9f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/259074","number":259074,"mergeCommit":{"message":"Add kbn/test-saml-auth package (#259074)\n\n## Summary\n\n`@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout,\nCypress, and similar tooling to obtain SAML-backed session cookies / API\ncredentials for predefined roles against Kibana (local or Elastic\nCloud). It exposes SamlSessionManager and related types (HostOptions,\nGetCookieOptions, Role, etc.).\n\n### Why\n\n`@kbn/test` is the bigger FTR / test-runner harness (servers, configs,\nproviders, etc.). SAML session handling is a narrow, reusable capability\nused by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling\nthat only need “log in as role X” without the rest of the FTR stack.\n\nKeeping SAML in `@kbn/test-saml-auth`:\n\n- Lets those consumers depend on a small, focused package instead of\n`@kbn/test`.\n- Avoids tying every SAML use case to the full test-runner dependency\ngraph.\n- Keeps `SamlSessionManager` and its HTTP/auth details in one place;\n`@kbn/test` can stay a thin re-export for FTR ergonomics without owning\nthe implementation.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d9cdddc9730c89c0c05753fa2127f7495f63fe9f"}},{"url":"https://github.com/elastic/kibana/pull/260136","number":260136,"branch":"9.3","state":"OPEN"},{"url":"https://github.com/elastic/kibana/pull/260137","number":260137,"branch":"9.2","state":"OPEN"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
## Summary `@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout, Cypress, and similar tooling to obtain SAML-backed session cookies / API credentials for predefined roles against Kibana (local or Elastic Cloud). It exposes SamlSessionManager and related types (HostOptions, GetCookieOptions, Role, etc.). ### Why `@kbn/test` is the bigger FTR / test-runner harness (servers, configs, providers, etc.). SAML session handling is a narrow, reusable capability used by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling that only need “log in as role X” without the rest of the FTR stack. Keeping SAML in `@kbn/test-saml-auth`: - Lets those consumers depend on a small, focused package instead of `@kbn/test`. - Avoids tying every SAML use case to the full test-runner dependency graph. - Keeps `SamlSessionManager` and its HTTP/auth details in one place; `@kbn/test` can stay a thin re-export for FTR ergonomics without owning the implementation. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
## Summary `@kbn/test-saml-auth` is a `dev-only` shared package used by FTR, Scout, Cypress, and similar tooling to obtain SAML-backed session cookies / API credentials for predefined roles against Kibana (local or Elastic Cloud). It exposes SamlSessionManager and related types (HostOptions, GetCookieOptions, Role, etc.). ### Why `@kbn/test` is the bigger FTR / test-runner harness (servers, configs, providers, etc.). SAML session handling is a narrow, reusable capability used by `@kbn/test`, `kbn/scout`, Cypress helpers, and other tooling that only need “log in as role X” without the rest of the FTR stack. Keeping SAML in `@kbn/test-saml-auth`: - Lets those consumers depend on a small, focused package instead of `@kbn/test`. - Avoids tying every SAML use case to the full test-runner dependency graph. - Keeps `SamlSessionManager` and its HTTP/auth details in one place; `@kbn/test` can stay a thin re-export for FTR ergonomics without owning the implementation. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
@kbn/test-saml-authis adev-onlyshared package used by FTR, Scout, Cypress, and similar tooling to obtain SAML-backed session cookies / API credentials for predefined roles against Kibana (local or Elastic Cloud). It exposes SamlSessionManager and related types (HostOptions, GetCookieOptions, Role, etc.).Why
@kbn/testis the bigger FTR / test-runner harness (servers, configs, providers, etc.). SAML session handling is a narrow, reusable capability used by@kbn/test,kbn/scout, Cypress helpers, and other tooling that only need “log in as role X” without the rest of the FTR stack.Keeping SAML in
@kbn/test-saml-auth:@kbn/test.SamlSessionManagerand its HTTP/auth details in one place;@kbn/testcan stay a thin re-export for FTR ergonomics without owning the implementation.