Files
Gray WilliamsandLucas Manuel Rodriguez 43b8a27950 Update disk_space.yml (#50142)
Resolves #50058 where links do not show the expected text in the table
description


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Updated disk space table documentation to improve cross-referenced
links for Windows logical drives and Linux mounts by adjusting Markdown
formatting.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
2026-07-29 14:02:38 -03:00

22 lines
950 B
YAML

name: disk_space
platforms:
- darwin
description: |-
Returns available and total disk capacity on macOS using NSURLVolumeAvailableCapacityForImportantUsageKey, which includes purgeable space and matches what macOS reports in Finder's "Get Info" dialog. For Windows disk space, use the [logical_drives](https://fleetdm.com/tables/logical_drives) table. For Linux, use the [mounts](https://fleetdm.com/tables/mounts) table.
examples: |-
```
SELECT * FROM disk_space;
```
columns:
- name: bytes_available
type: bigint
required: false
description: Available disk capacity in bytes, including purgeable space (matches macOS "Get Info" available space).
- name: bytes_total
type: bigint
required: false
description: Total disk capacity in bytes.
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)).
evented: false