mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
19f995d3b5
This removes policy information from `GET /api/_version_/fleet/device/{token}` from non-premium Fleet instances. Starting the server with `./build/fleet serve --dev --dev_license` ```bash $ curl -s https://localhost:8080/api/latest/fleet/device/1804e808-171f-4dda-9bec-f695b2f2371a | jq '.host.policies // "not present"' [ { "id": 3, "name": "Antivirus healthy (Linux)", "query": "SELECT score FROM (SELECT case when COUNT(*) = 2 then 1 ELSE 0 END AS score FROM processes WHERE (name = 'clamd') OR (name = 'freshclam')) WHERE score == 1;", "description": "Checks that both ClamAV's daemon and its updater service (freshclam) are running.", "author_id": 1, "author_name": "Roberto", "author_email": "test@example.com", "team_id": null, "resolution": "Ensure ClamAV and Freshclam are installed and running.", "platform": "darwin,linux", "created_at": "2022-05-23T20:53:36Z", "updated_at": "2022-06-03T13:17:42Z", "response": "" } ] ``` Starting the server with `./build/fleet serve --dev` ```bash $ curl -s https://localhost:8080/api/latest/fleet/device/1804e808-171f-4dda-9bec-f695b2f2371a | jq '.host.policies // "not present"' "not present" ``` |
||
---|---|---|
.. | ||
.keep | ||
issue-4733-improve-fleet-desktop-my-device-url | ||
issue-5291-support-failing-policies-automation | ||
issue-5380-software-ui-epss | ||
issue-5405-api-token-modal | ||
issue-5514-orphan-software | ||
issue-5585-cve-data-sync | ||
issue-5685-device-policies-endpoint | ||
issue-5685-policies-in-premium-only | ||
issue-5734-fix-orbit-shell-root | ||
issue-5776-fix-orphaned-policies | ||
issue-5836-fix-device-redirect |