Skip to content

[Fleet] Package-managed workflow, agent, skill and index-alias assets - #290708

Draft
patrykkopycinski wants to merge 1 commit into
elastic:mainfrom
patrykkopycinski:feat/fleet-package-workflow-assets
Draft

[Fleet] Package-managed workflow, agent, skill and index-alias assets#290708
patrykkopycinski wants to merge 1 commit into
elastic:mainfrom
patrykkopycinski:feat/fleet-package-workflow-assets

Conversation

@patrykkopycinski

Copy link
Copy Markdown
Contributor

Summary

Fleet packages can ship workflows, agents, skills and index aliases as managed assets (FLEET epic).

Extracted from the SDLC visibility-platform POC (Nir's project #2511).

Evidence

  • 30 workflows + 4 agents + 8 tools deployed and running via package on the dogfood instance

Draft — extracted from a larger POC branch; not ready for review.

Feature-scoped net-diff squash of the fleet package-asset surface from the SDLC
visibility-platform dogfood branch:
- New install_state_machine steps: workflow assets, agent assets, skill assets,
  index aliases; wired into _state_machine_package_install with new INSTALL_STATES
- KibanaAssetType/KibanaSavedObjectType extensions for the new asset kinds
- Workflow enablement on install (opt-in), package-managed asset immutability,
  user-disabled state preserved on upgrade, orphaned workflows removed
- Install without HTTP request context (fake_request) for background installs
- Convention-based workflow placeholder + connector-id substitution, re-applied
  on package policy update
- Uninstall coverage for package workflow/agent/skill assets in deleteKibanaAssets

Excludes the alerting-template reconcile and the AB-006 live contract test, which
ship in their own rungs.

Verified on fresh origin/main: fleet type_check shows no errors introduced by this
change — the 4 remaining 'skill' asset-map errors are pre-existing on the source
branch (identical in the branch's own type_check logs), and the other 4 are
unrelated upstream @kbn/test-jest-helpers drift.
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown
🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!
  • Click to trigger kibana-entity-store-performance-from-pr for this PR!
  • Click to trigger kibana-storybooks-from-pr for this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant