pub struct CloudCliStatusV1 {Show 21 fields
pub available: bool,
pub connected: bool,
pub instance: Option<CloudStatusInstanceV1>,
pub org: Option<CloudStatusOrgV1>,
pub last_seen: Option<UtcTimestamp>,
pub url: String,
pub drafts: CloudStatusDraftsV1,
pub filter_packs: Vec<CloudStatusFilterPackV1>,
pub policy_refusal: Option<String>,
pub web_url: Option<String>,
pub bus_controls: Vec<CloudStatusBusControlV1>,
pub bus_controls_inactive: Option<CloudBusControlsInactiveV1>,
pub metrics_v2: Option<CloudStatusMetricsV2>,
pub vault_mismatch: Option<CloudStatusVaultMismatchV1>,
pub managed: Option<CloudStatusManagedV1>,
pub team_stop: Option<Option<CloudStatusTeamStopV1>>,
pub role: Option<String>,
pub org_slug: Option<String>,
pub company: Option<CloudStatusCompanyV1>,
pub step_up_url: Option<String>,
pub user: Option<CloudStatusUserV1>,
}Expand description
Output of lean-ctx cloud status --json. null fields are printed.
Fields§
§available: boolThe engine build has the Cloud connector.
connected: boolEnrolled and the lease is not lapsed.
instance: Option<CloudStatusInstanceV1>§org: Option<CloudStatusOrgV1>§last_seen: Option<UtcTimestamp>Last successful exchange with Cloud.
url: StringCloud web origin (the configured [cloud] url, default hosted).
drafts: CloudStatusDraftsV11.2.
filter_packs: Vec<CloudStatusFilterPackV1>1.2.
policy_refusal: Option<String>1.2: why the newest policy bundle was refused (the last verified one stays).
web_url: Option<String>1.3: origin of the LeanCTX Cloud web app (its “Open” link): the one enrollment
named, else url.
bus_controls: Vec<CloudStatusBusControlV1>1.5: bus controls in force. Left out when empty, so readers of earlier shapes see unchanged output.
bus_controls_inactive: Option<CloudBusControlsInactiveV1>1.5: why recorded controls do not apply; left out when they do or none are recorded.
metrics_v2: Option<CloudStatusMetricsV2>Engine metrics v2 (telemetry SPEC §4); left out when not connected.
vault_mismatch: Option<CloudStatusVaultMismatchV1>1.6: the project here was resolved to a vault its link file or its identity no longer backs. Left out when they agree, so readers of earlier shapes see unchanged output.
managed: Option<CloudStatusManagedV1>1.7: this machine carries a managed configuration
(leanctx.managed-config/v1). Left out when it carries none, so
readers of earlier shapes see unchanged output.
team_stop: Option<Option<CloudStatusTeamStopV1>>1.8: the team stop (kill switch) as the Cloud last answered it. Left
out when not connected or the Cloud does not offer it, so readers of
earlier shapes see unchanged output; null (Some(None)) when
connected but no answer is kept yet, so nothing reads as “running”.
role: Option<String>1.8: the linked person’s acting role in the team (the Cloud’s word).
org_slug: Option<String>1.8: the team’s slug (what cloud stop --release --confirm names).
company: Option<CloudStatusCompanyV1>1.8: the person’s standing in the team’s company, when the Cloud names it.
step_up_url: Option<String>1.8: the browser page that confirms a release (admin, two-factor); only while the team is stopped and this person may release it.
user: Option<CloudStatusUserV1>1.9 (rc3-9): the linked account as the Cloud’s instance card names it; absent before the first card, after a disconnect and from older Clouds.
Implementations§
Source§impl CloudCliStatusV1
impl CloudCliStatusV1
Sourcepub fn not_connected(url: Option<&str>) -> Self
pub fn not_connected(url: Option<&str>) -> Self
Status of an engine that was never connected.