fleet/schema/tables/file_lines.yml
Noah Talerman 78037e246b
Add attribution for Mac Admins tables (#19302)
- Add note for all tables
2024-05-28 12:59:35 -04:00

23 lines
No EOL
567 B
YAML

name: file_lines
notes: This table is from the [Mac Admins osquery extension](https://github.com/macadmins/osquery-extension).
description: Allows reading an arbitrary file.
platforms:
- darwin
- windows
- linux
evented: false
examples: |-
Output the content of `/etc/hosts` line by line.
```
SELECT * FROM file_lines WHERE path='/etc/hosts';
```
columns:
- name: path
description: Path of the file to read.
required: true
type: text
- name: line
description: Output of the file, line by line.
required: false
type: text