From 0b4e5cdc899c56146dae40a3141b070b35c2c365 Mon Sep 17 00:00:00 2001 From: Lucas Manuel Rodriguez Date: Mon, 30 Mar 2026 10:23:37 -0300 Subject: [PATCH] Fix copy/paste on schema (#42643) Fixes a bug introduced in https://github.com/fleetdm/fleet/pull/42569/changes --- schema/osquery_fleet_schema.json | 10 +++++----- schema/tables/macos_soc_power.yml | 5 +++-- schema/tables/macos_thermal_pressure.yml | 3 ++- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/schema/osquery_fleet_schema.json b/schema/osquery_fleet_schema.json index e5befab0d0..a08331276a 100644 --- a/schema/osquery_fleet_schema.json +++ b/schema/osquery_fleet_schema.json @@ -16626,7 +16626,7 @@ "fleetRepoUrl": "https://github.com/fleetdm/fleet/blob/main/schema/tables/macos_rsr.yml" }, { - "name": "macos_thermal_pressure", + "name": "macos_soc_power", "platforms": [ "darwin" ], @@ -16666,13 +16666,13 @@ "name": "interval", "type": "integer", "required": false, - "description": "Sampling duration in milliseconds. Longer intervals produce more accurate averages." + "description": "Sampling duration in milliseconds. Longer intervals produce more accurate averages. (Default: 3000.)\n" } ], "notes": "This table is not a core osquery table. It is included as part of Fleet's agent ([fleetd](https://fleetdm.com/docs/get-started/anatomy#fleetd)). This table is from the [Mac Admins osquery extension](https://github.com/macadmins/osquery-extension).", "evented": false, - "url": "https://fleetdm.com/tables/macos_thermal_pressure", - "fleetRepoUrl": "https://github.com/fleetdm/fleet/blob/main/schema/tables/macos_thermal_pressure.yml" + "url": "https://fleetdm.com/tables/macos_soc_power", + "fleetRepoUrl": "https://github.com/fleetdm/fleet/blob/main/schema/tables/macos_soc_power.yml" }, { "name": "macos_thermal_pressure", @@ -16697,7 +16697,7 @@ "name": "interval", "type": "integer", "required": false, - "description": "Sampling duration in milliseconds." + "description": "Sampling duration in milliseconds. (Default 1000.)\n" } ], "notes": "This table is not a core osquery table. It is included as part of Fleet's agent ([fleetd](https://fleetdm.com/docs/get-started/anatomy#fleetd)). This table is from the [Mac Admins osquery extension](https://github.com/macadmins/osquery-extension).", diff --git a/schema/tables/macos_soc_power.yml b/schema/tables/macos_soc_power.yml index c72ff02646..d4c4751b39 100644 --- a/schema/tables/macos_soc_power.yml +++ b/schema/tables/macos_soc_power.yml @@ -1,4 +1,4 @@ -name: macos_thermal_pressure +name: macos_soc_power platforms: - darwin description: Power draw in milliwatts for the CPU, GPU, Apple Neural Engine (ANE), and total System on a Chip (SoC), plus GPU active ratio, sampled via powermetrics. Requires root. @@ -26,6 +26,7 @@ columns: - name: interval type: integer required: false - description: Sampling duration in milliseconds. Longer intervals produce more accurate averages. + description: | + Sampling duration in milliseconds. Longer intervals produce more accurate averages. (Default: 3000.) notes: This table is not a core osquery table. It is included as part of Fleet's agent ([fleetd](https://fleetdm.com/docs/get-started/anatomy#fleetd)). This table is from the [Mac Admins osquery extension](https://github.com/macadmins/osquery-extension). evented: false diff --git a/schema/tables/macos_thermal_pressure.yml b/schema/tables/macos_thermal_pressure.yml index 6b58d9b41b..622256e7a2 100644 --- a/schema/tables/macos_thermal_pressure.yml +++ b/schema/tables/macos_thermal_pressure.yml @@ -14,6 +14,7 @@ columns: - name: interval type: integer required: false - description: Sampling duration in milliseconds. + description: | + Sampling duration in milliseconds. (Default 1000.) notes: This table is not a core osquery table. It is included as part of Fleet's agent ([fleetd](https://fleetdm.com/docs/get-started/anatomy#fleetd)). This table is from the [Mac Admins osquery extension](https://github.com/macadmins/osquery-extension). evented: false