Skip to content

Host activity: Show configuration profile name and status (success/fail) #40177

@marko-lisica

Description

@marko-lisica

Goal

User story
As an IT admin looking at the MDM commands in the Activity card on the Host details page,
I want to see the configuration profiles name for InstallProfile and RemoveProfile commands
so that I can debug configuration profile issues.

Changes

Product

  • UI changes: Figma
  • CLI (fleetctl) usage changes: No changes
  • YAML changes: No changes
  • REST API changes: Add MDM command names #41292
  • Fleet's agent (fleetd) changes: No changes
  • Fleet server configuration changes: No changes
  • Exposed, public API endpoint changes: No changes
  • fleetdm.com changes: No changes
  • GitOps mode UI changes: No changes
  • GitOps generation changes: No changes
  • Activity changes: No changes
  • Permissions changes: No changes
  • Changes to paid features or tiers: No changes
  • My device and fleetdm.com/better changes: No changes
  • Usage statistics: No changes
  • Other reference documentation changes: No changes
  • First draft of test plan added
  • Once shipped, requester has been notified
  • Once shipped, dogfooding issue has been filed

Engineering

  • Test plan is finalized
  • Contributor API changes: No changes
  • Feature guide changes: No changes
  • Database schema migrations: See subtasks
  • This is a premium only feature: No

ℹ️  Please read this issue carefully and understand it. Pay special attention to UI wireframes, especially "dev notes".

QA

Risk assessment

  • Risk level: Low

Test plan

Make sure to go through the list and consider all events that might be related to this story, so we catch edge cases earlier.

  • InstallProfile and RemoveProfile activities on global activity feed now include display name.
  • If no display name available, show activity without name and include host affected with status (was acknowledged, failed, is pending, is deferred).
  • Activities returning "NotNow", should say "is deferred".
  • Activities returning "Pending" should say "is pending".
  • Confirm activity still shows regardless of MDM turned on/off for windows and macOS.
  • Confirm all permission levels are able to view activities, and interact in modal (highlight request/response sections, "Copy" functions for both "Request payload" and "Response from ...").

All MDM command activities:

  • "Copy command details" in modal provides same content as fleetctl get mdm-command-results --id ...

Testing notes

Confirmation

  1. Engineer: Added comment to user story confirming successful completion of test plan.
  2. QA: Added comment to user story confirming successful completion of test plan.

Metadata

Metadata

Assignees

Labels

#g-softwareSoftware product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.customer-reedtimmercustomer-shackletonstoryA user story defining an entire feature~assisting g-mdmThis is a #g-mdm issue that another product group is assisting~customer promiseA feature request, or user story for a request, that Fleet has contractually agreed to deliver~macos-workstationProduct maturity category~product-maturityContributes to Fleet's product maturity goals for the current year

Type

No type

Projects

Status

🥚 Ready

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions