Skip to content

Conversation

@elena-shostak
Copy link
Contributor

Backport

This will backport the following commits from main to 8.17:

Questions ?

Please refer to the Backport tool documentation

…ic#230385)

## Summary

Excluded deprecated features from solution visibility.

## How to test
1. Change the solution from `classic` to `observability` for the very
first time in the default space.
Make sure the response of the active space `GET
internal/spaces/_active_space` doesn't contain deprecated features.
(`siem`, `siemV2`, `securitySolutionCases` and `securitySolutionCasesV2`
were deprecated, so only `siemV3` and `securitySolutionCasesV3` should
be on the list)
```
{
    "id": "default",
    "name": "Default",
    "description": "This is your default space!",
    "color": "#00bfb3",
    "initials": "D",
    "imageUrl": "",
    "disabledFeatures": [
        "siemV3",
        "securitySolutionCasesV3",
        "securitySolutionAssistant",
        "securitySolutionAttackDiscovery",
        "securitySolutionTimeline",
        "securitySolutionNotes",
        "securitySolutionSiemMigrations"
    ],
    "_reserved": true,
    "solution": "oblt"
}
```
2. Change the solution back to `classic` and enable all security
features.
<img width="1252" height="540" alt="Screenshot 2025-08-04 at 12 35 36"
src="https://github.com/user-attachments/assets/bf0db3df-362f-4814-8fc8-2be3b6c8740c"
/>
3. Update the space and go back to Edit Space page.
3. Make sure the enabled features counter is correctly displayed in the
UI.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

__Fixes: https://github.com/elastic/kibana/issues/220743__

## Release Note
Excluded deprecated features from spaces solution visibility.

(cherry picked from commit 81f252c)

# Conflicts:
#	x-pack/plugins/spaces/server/lib/utils/space_solution_disabled_features.test.ts
#	x-pack/test/spaces_api_integration/common/suites/create.ts
#	x-pack/test/spaces_api_integration/common/suites/get.ts
#	x-pack/test/spaces_api_integration/common/suites/get_all.ts
@elena-shostak elena-shostak added the backport This PR is a backport of another PR label Aug 5, 2025
@elena-shostak elena-shostak enabled auto-merge (squash) August 5, 2025 09:27
@elena-shostak elena-shostak changed the title [Spaces] Excluded deprecated features from solution visibility (#230385) [8.17] [Spaces] Excluded deprecated features from solution visibility (#230385) Aug 5, 2025
@elena-shostak elena-shostak merged commit ca8d178 into elastic:8.17 Aug 5, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants