Skip to content

[9.4] [One Workflow] Deprecate legacy Cases step types in workflow authoring (#262070)#263084

Merged
kibanamachine merged 2 commits intoelastic:9.4from
kibanamachine:backport/9.4/pr-262070
Apr 17, 2026
Merged

[9.4] [One Workflow] Deprecate legacy Cases step types in workflow authoring (#262070)#263084
kibanamachine merged 2 commits intoelastic:9.4from
kibanamachine:backport/9.4/pr-262070

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.4:

Questions ?

Please refer to the Backport tool documentation

elastic#262070)

Closes elastic/security-team#16736

## Summary
Hide the legacy `kibana.*` Cases steps from workflow authoring surfaces
and warn when existing workflows still use them.
Keep deprecated step metadata shared so the editor and agent tooling can
steer users toward the `cases.*` replacements consistently.

## Screenshots
### `kibana.createCase` marked as deprecated
<img width="884" height="237" alt="Screenshot 2026-04-08 at 16 44 43"
src="https://github.com/user-attachments/assets/ae137fb8-4d2e-4053-a528-79ec5ce0e976"
/>

### Agent Builder
| Listing cases steps | Showing the step as deprecated |
|--------|--------|
| <img width="657" height="1132" alt="Screenshot 2026-04-08 at 23 13 34"
src="https://github.com/user-attachments/assets/dda3523a-f305-43ce-841a-2191d0dbad39"
/> | <img width="380" height="573" alt="Screenshot 2026-04-08 at 16 57
09"
src="https://github.com/user-attachments/assets/5c962eec-adcd-4590-acd2-1f5f08248201"
/> |

(cherry picked from commit 15d8c4a)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Apr 14, 2026
@botelastic botelastic Bot added the Team:One Workflow Team label for One Workflow (Workflow automation) label Apr 14, 2026
@kibanamachine kibanamachine enabled auto-merge (squash) April 14, 2026 13:45
@kibanamachine kibanamachine merged commit d4b2c25 into elastic:9.4 Apr 17, 2026
14 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
agentBuilder 1463 1464 +1
alertingVTwo 965 966 +1
cases 2079 2080 +1
genAiSettings 612 613 +1
securitySolution 9337 9338 +1
workflowsExtensions 244 245 +1
workflowsManagement 1596 1598 +2
workplaceAIApp 525 526 +1
total +9

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/workflows 557 586 +29

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
workflowsManagement 2.2MB 2.2MB +2.6KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
workflowsManagement 31.7KB 32.0KB +235.0B
Unknown metric groups

API count

id before after diff
@kbn/workflows 668 699 +31

ESLint disabled line counts

id before after diff
workflowsManagement 144 145 +1

Total ESLint disabled count

id before after diff
workflowsManagement 178 179 +1

cc @Kiryous

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 Team:One Workflow Team label for One Workflow (Workflow automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants