Skip to main content

Module managed

Module managed 

Source
Expand description

leanctx.managed-config/v1: what an organisation preconfigures on a machine through MDM (contract: docs/contracts/managed-config-v1.md).

The carrier (a macOS profile, the Windows policy key, or /etc/lean-ctx/managed.toml) delivers members either nested ({"hive": {"url": …}}) or dotted ({"hive.url": …}, the natural form of a registry value name); ManagedConfigV1::from_members accepts both. The configuration names the Hive, the org, the IdP hint and the update mode. It carries no secret and no policy content. Every member is optional; an unknown member, a wrong type or a value out of shape refuses the whole configuration, and the engine then fails closed.

Precedence: managed > Hive floor > the user’s config.toml > defaults. telemetry.* members only tighten: false turns an upload off, true changes nothing.

Structs§

ManagedConfigV1
A validated managed configuration. None/empty: not managed.

Enums§

ManagedCarrierKindV1
Where a managed configuration came from (hive status).
ManagedUpdateModeV1
The update channel an organisation chose (updates.mode).

Constants§

MANAGED_CONFIG_SCHEMA