fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Return last_opened_at timestamp for Linux hosts

Open ddribeiro opened this issue 9 months ago • 0 comments

Gong snippet: Customer does not allow call recordings

Problem

The GET /api/v1/fleet/hosts/:id API endpoint returns a last_opened_at timestamp for macOS hosts. Linux hosts do not have this timestamp.

customer-numa uses Flexera for software asset management. Rather than deploy the Flexera agent, they would like to just deploy the Fleet agent and build a connector to get the relevant information into Flexera. last_opened_at for Linux hosts is something numa would need from Fleet today in order to accomplish that.

This is similar to #27087, but for Linux.

What have you tried?

I made a GET /api/v1/fleet/hosts/:id API call to a Linux host to try to get last_opened_at timestamps for installed software. However, none of the objects in the software array in the response contained a last_opened_at property.

Potential solutions

Fleet would need to identify a way to reliably collect the last opened time for applications on Linux hosts, then return that timestamp on a per-host basis in the API response.

What is the expected workflow as a result of your proposal?

customer-numa would use the Fleet API to build a Flexera connector. They would deploy the Fleet agent to their Linux hosts and would not deploy the Flexera agent. The connector would call the Fleet API to ingest all relevant information into Flexera, including the last time an application was opened on a host.

ddribeiro avatar Apr 04 '25 19:04 ddribeiro