Regenerate system_profiler JSON schema (#33098)

Automation failing on `main`:
https://github.com/fleetdm/fleet/actions/runs/17796326638/job/50584699044?pr=33096
after merging https://github.com/fleetdm/fleet/pull/33084.

<img width="318" height="1169" alt="Screenshot 2025-09-17 at 8 53 26 AM"
src="https://github.com/user-attachments/assets/efe89548-2708-4e1a-b0b9-efd90cc1b35c"
/>
<img width="318" height="1169" alt="Screenshot 2025-09-17 at 8 53 43 AM"
src="https://github.com/user-attachments/assets/f9ce759e-8990-4a14-94e6-b1e9409be0fa"
/>
This commit is contained in:
Lucas Manuel Rodriguez
2025-09-17 07:42:57 -05:00
committed by GitHub
parent 95a9242e9d
commit aa663e2344
+4 -5
View File
@@ -27010,15 +27010,15 @@
},
{
"name": "system_profiler",
"description": "Query system_profiler data types and return the full result as JSON. Returns only the data types specified in the constraints. See available data types with `system_profiler -listDataTypes`.",
"description": "The macOS system_profiler binary reports on the hardware and software configuration of a Mac. It can generate detailed, plain text, XML or json reports which can be exported from the Terminal or generated as .spx files and read by the macOS System Information.app based on \"data types\". ",
"url": "https://fleetdm.com/tables/system_profiler",
"platforms": [
"darwin"
],
"evented": false,
"cacheable": false,
"notes": "",
"examples": "```\nselect json_extract(value, '$.platform_UUID') from system_profiler where data_type = 'SPHardwareDataType';\n```",
"notes": "\nThe system_profiler binary is a rich source of macOS data which can be used in many ways to enhance Mac management.\n\nNot all System Profiler data types are available via the system_profiler osquery table. Some data types are legacy & others are OS version-specific. \n\nThe following data types are available from the system_profiler binary as of macOS 26:\n\n- SPParallelATADataType\n- SPUniversalAccessDataType\n- SPSecureElementDataType\n- SPApplicationsDataType\n- SPAudioDataType\n- SPBluetoothDataType\n- SPCameraDataType\n- SPCardReaderDataType\n- SPiBridgeDataType\n- SPDeveloperToolsDataType\n- SPDiagnosticsDataType\n- SPDisabledSoftwareDataType\n- SPDiscBurningDataType\n- SPEthernetDataType\n- SPExtensionsDataType\n- SPFibreChannelDataType\n- SPFirewallDataType\n- SPFontsDataType\n- SPFrameworksDataType\n- SPDisplaysDataType\n- SPHardwareDataType\n- SPInstallHistoryDataType\n- SPInternationalDataType\n- SPNetworkLocationDataType\n- SPLogsDataType\n- SPManagedClientDataType\n- SPMemoryDataType\n- SPNVMeDataType\n- SPNetworkDataType\n- SPPCIDataType\n- SPParallelSCSIDataType\n- SPPowerDataType\n- SPPrefPaneDataType\n- SPPrintersSoftwareDataType\n- SPPrintersDataType\n- SPConfigurationProfileDataType\n- SPRawCameraDataType\n- SPLegacySoftwareDataType\n- SPSASDataType\n- SPSerialATADataType\n- SPSPIDataType\n- SPSmartCardsDataType\n- SPSoftwareDataType\n- SPStartupItemDataType\n- SPStorageDataType\n- SPSyncServicesDataType\n- SPThunderboltDataType\n- SPUSBHostDataType\n- SPNetworkVolumeDataType\n- SPAirPortDataType",
"examples": "\nCollect Mac Activation Lock Status:\n\n```\nSELECT json_extract (value,'$.activation_lock_status')\nFROM system_profiler\nWHERE data_type='SPHardwareDataType';\n```\n\nCollect Mac Hardware UUID (platform_uuid):\n\n```\nSELECT json_extract (value,'$.platform_UUID')\nFROM system_profiler\nWHERE data_type='SPHardwareDataType';\n```\n\nCollect Mac Serial Number:\n\n```\nSELECT json_extract (value,'$.serial_number')\nFROM system_profiler\nWHERE data_type='SPHardwareDataType';\n```",
"columns": [
{
"name": "data_type",
@@ -27039,8 +27039,7 @@
"index": false
}
],
"osqueryRepoUrl": "https://github.com/osquery/osquery/blob/master/specs/darwin/system_profiler.table",
"fleetRepoUrl": "https://github.com/fleetdm/fleet/new/main/schema?filename=tables%2Fsystem_profiler.yml&value=name%3A%20system_profiler%0Adescription%3A%20%7C-%20%23%20(required)%20string%20-%20The%20description%20for%20this%20table.%20Note%3A%20this%20field%20supports%20Markdown%0A%09%23%20Add%20description%20here%0Aexamples%3A%20%7C-%20%23%20(optional)%20string%20-%20An%20example%20query%20for%20this%20table.%20Note%3A%20This%20field%20supports%20Markdown%0A%09%23%20Add%20examples%20here%0Anotes%3A%20%7C-%20%23%20(optional)%20string%20-%20Notes%20about%20this%20table.%20Note%3A%20This%20field%20supports%20Markdown.%0A%09%23%20Add%20notes%20here%0Acolumns%3A%20%23%20(required)%0A%09-%20name%3A%20%23%20(required)%20string%20-%20The%20name%20of%20the%20column%0A%09%20%20description%3A%20%23%20(required)%20string%20-%20The%20column's%20description.%20Note%3A%20this%20field%20supports%20Markdown%0A%09%20%20type%3A%20%23%20(required)%20string%20-%20the%20column's%20data%20type%0A%09%20%20required%3A%20%23%20(required)%20boolean%20-%20whether%20or%20not%20this%20column%20is%20required%20to%20query%20this%20table."
"fleetRepoUrl": "https://github.com/fleetdm/fleet/blob/main/schema/tables/system_profiler.yml"
},
{
"name": "system_state",