fleet/schema/tables/mdm_bridge.yml
Lucas Manuel Rodriguez 4784217b57
Add documentation for missing fleetd tables and regenerate JSON (#9960)
Updating documentation of Fleetd tables as part of the oncall duty.

Updating the json used by Fleet using the following command:
```sh
cd website
 ./node_modules/sails/bin/sails.js run generate-merged-schema
```

Samples:
![Screenshot 2023-02-20 at 17 20
55](https://user-images.githubusercontent.com/2073526/220192112-69a116e4-badb-4328-92d3-9a2a6f8657fe.png)
![Screenshot 2023-02-20 at 17 21
09](https://user-images.githubusercontent.com/2073526/220192117-dfa06c69-2166-47d4-99c3-e108911e2084.png)


@mikermcneil @eashaw: `generate-merged-schema` generates a different
output every time it's executed. Guess: It seems it should sort the
output lexicograhically?
2023-02-22 16:05:36 -03:00

28 lines
1.2 KiB
YAML

name: mdm_bridge
platforms:
- windows
description: Allows querying MDM enrolled devices using "get" commands.
columns:
- name: enrollment_status
type: text
required: false
description: Contains the enrollment status of the device, possible values are "device_enrolled" and "device_unenrolled".
- name: enrolled_user
type: text
required: false
description: Contains the enrollment URI of the device.
- name: mdm_command_input
type: text
required: false
description: The "get" command to execute on the device. If empty, no command is executed and the "enrollment_status" and "enrolled_user" columns are returned.
- name: mdm_command_output
type: text
required: false
description: Value of the "Results" field of the MDM command output.
- name: raw_mdm_command_output
type: text
required: false
description: The full raw output of the MDM command execution.
notes: This table is not a core osquery table. It is included as part of [Fleetd](https://fleetdm.com/docs/using-fleet/orbit), the osquery manager from Fleet. Fleetd can be built with [fleetctl](https://fleetdm.com/docs/using-fleet/adding-hosts#osquery-installer).
evented: false