No MDM for Linux? A 68-line Elastic workflow keeps every endpoint's config current
Elastic InfoSec uses a 68-line workflow to keep Linux endpoint and AI-agent config current without MDM.
Elastic Security Labs describes a 68-line Elastic Workflow that keeps Linux workstation configuration current without MDM. Every six hours it lists endpoints running Elastic Agent and Elastic Defend, then queues one response action only if that script is not already pending. The production use case pushes managed Cursor and Codex settings, including legacy OpenTelemetry defaults in managed_config.toml. The pattern was validated on Elastic Stack 9.5.1 and requires Workflows, available as GA since Elastic 9.4.
- A 68-line Elastic workflow configures Linux endpoints that MDM does not cover.
- Every six hours it lists hosts and skips any with the same script already queued.
- Elastic Defend response actions deliver managed Cursor and Codex configuration.
- The flow was validated on Elastic Stack 9.5.1; Workflows are GA in 9.4.
- Organizations
- Elastic
From the original article
9 min read at elastic.co
Elastic InfoSec runs Linux endpoint management through Elastic Defend with a scheduled workflow that gets Cursor and Codex config onto new laptops without piling up duplicate actions on offline hosts, and it works for other config too.
By Wieger van der Meulen,Spencer Niemi · elastic.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.