Tilman Bender
03/01/2022, 9:49 AMno spec field on "" document
koo
03/01/2022, 1:32 PMTilman Bender
03/01/2022, 2:07 PMkoo
03/01/2022, 3:39 PMTomas Touceda
03/01/2022, 3:43 PMTilman Bender
03/01/2022, 5:36 PMsudo fleetctl --version
fleetctl - version 4.10.0
branch: HEAD
revision: 67827474c22b61a08f112e682b994aa3e9356133
build date: 2022-02-14
build user: runner
go version: go1.17.7
{
"policies": [
{
"id": 1,
"name": "Windows: Remote Assistance disabled",
"query": "SELECT 1 FROM registry WHERE path = 'HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Remote Assistance\\fAllowFullControl' AND data=0;",
"description": "Check the Windows regsitry to see if Windows Remote Assistance is disabled",
"author_id": 1,
"author_name": "Tilman Bender",
"author_email": "<mailto:tilman@XXXXX.de|tilman@XXXXX.de>",
"team_id": null,
"resolution": "PS: \nSet-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Remote Assistance\\' -Name fAllowFullControl –Value 0",
"platform": "",
"created_at": "2022-02-22T17:20:40Z",
"updated_at": "2022-02-23T16:16:57Z",
"passing_host_count": 1,
"failing_host_count": 2
},
...
curl -H "Authorization: Bearer ${FLEET_TOKEN}" "https://${FLEET_SERVER}/api/v1/fleet/global/policies" -o policies.json
Tomas Touceda
03/01/2022, 8:00 PMTilman Bender
03/02/2022, 9:40 AMfleetctl apply
understands. Details can also be found in issue 4046