Commit graph

173 commits

Author SHA1 Message Date
Andrea Scarpino
12a92f3407
doc: firefox_preferences works on linux and windows (#23967)
Solves #23955

# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes
- [ ] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [ ] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [ ] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [ ] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [ ] Manual QA for all new/changed functionality
- For Orbit and Fleet Desktop changes:
- [ ] Orbit runs on macOS, Linux and Windows. Check if the orbit
feature/bugfix should only apply to one platform (`runtime.GOOS`).
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2024-11-20 16:46:07 -06:00
Brock Walters
d84fd349d5
Update groups.yml (#23828)
Added new example query.

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-11-15 14:25:32 -05:00
Lucas Manuel Rodriguez
4b4fc976a2
Add team_identifier to macOS software (#23766)
Changes to add `team_identifier` signing information to macOS
applications on the `/api/latest/fleet/hosts/:id/software` API endpoint.

Docs: https://github.com/fleetdm/fleet/pull/23743

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [X] Added/updated tests
- [X] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes
- [X] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [X] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [X] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [ X Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [X] Manual QA for all new/changed functionality
- For Orbit and Fleet Desktop changes:
- [X] Orbit runs on macOS, Linux and Windows. Check if the orbit
feature/bugfix should only apply to one platform (`runtime.GOOS`).
- [X] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [X] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).

---------

Co-authored-by: Tim Lee <timlee@fleetdm.com>
Co-authored-by: Ian Littman <iansltx@gmail.com>
2024-11-15 14:17:04 -03:00
Rachael Shaw
4175df17ee
Remove note about using the certificates table sparingly (#23700)
Looks like the bug was fixed:
https://github.com/fleetdm/fleet/issues/13065
2024-11-12 12:06:12 -06:00
Harrison Ravazzolo
446200bdf2
Override osquery core schema, incorrect support for Windows (#23361)
The core osquery schema incorrectly lists Windows as a supported os for
this query:https://osquery.io/schema/5.12.1/#yara_events

Adding a yaml override to reflect this in Fleet's docu

---------

Co-authored-by: Harrison John <harrisonjohn@Harrisons-MacBook-Pro.local>
Co-authored-by: Eric <eashaw@sailsjs.com>
2024-10-29 15:16:59 -07:00
Mike McNeil
89d53330f5
Update process_open_sockets.yml (#23033)
Co-authored-by: Eric <eashaw@sailsjs.com>
2024-10-22 12:41:33 -05:00
Manoj Guglani
f9c0b2444b
Update account_policy_data.yml (#22684)
Missing comma between u.username, u.uid causes the query to fail with
this error (Note the query is only applicable to Mac OS):

```
osquery> SELECT u.username u.uid, strftime('%Y-%m-%dT%H:%M:%S', a.password_last_set_time, 'unixepoch') AS password_last_set_time, a.failed_login_count, strftime('%Y-%m-%dT%H:%M:%S', a.failed_login_timestamp, 'unixepoch') AS failed_login_timestamp FROM account_policy_data AS a CROSS JOIN users AS u USING (uid) ORDER BY password_last_set_time ASC;
Error: near ".": syntax error
```
Output after fixing the missing , (removed part of the output):

```
osquery> SELECT u.username, u.uid, strftime('%Y-%m-%dT%H:%M:%S', a.password_last_set_time, 'unixepoch') AS password_last_set_time, a.failed_login_count, strftime('%Y-%m-%dT%H:%M:%S', a.failed_login_timestamp, 'unixepoch') AS failed_login_timestamp FROM account_policy_data AS a CROSS JOIN users AS u USING (uid) ORDER BY password_last_set_time ASC;
+--------------+------------+------------------------+--------------------+------------------------+
| username     | uid        | password_last_set_time | failed_login_count | failed_login_timestamp |
+--------------+------------+------------------------+--------------------+------------------------+
| nobody       | 4294967294 |                        |                    |                        |
| root         | 0          |                        |                    |                        |
```
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-10-07 11:05:17 -05:00
Eric
0fb66e58af
Schema: show iptables table documentation (#21956)
Related to: https://github.com/fleetdm/fleet/issues/15651

Changes:
- Removed `hidden: true` from the YAML override file for the iptables
table.
- Regenerated osquery_fleet_schema.json
2024-09-10 14:30:30 -05:00
Brock Walters
80e37fb787
Update cryptoinfo.yml (#21762) 2024-09-03 12:24:24 -05:00
Sam Pfluger
7ae1fe9527
Add note from the community (#20433)
Co-authored-by: Eric <eashaw@sailsjs.com>
2024-07-12 18:15:43 -05:00
Marko Lisica
5555f7c651
Design for TCC access fleetd table (#19719)
Table design for:  #18222

Old PR: #18224

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
Co-authored-by: Eric <eashaw@sailsjs.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2024-06-20 11:53:15 -05:00
Victor Lyuboslavsky
accf7b5ae7
windows_updates doc update (#19899)
#19057 
windows_updates doc update
2024-06-20 10:18:39 -05:00
Dante Catalfamo
cf39a24778
Mdm bridge docs warning (#19785)
Adds docs for changes made to table as part of #19709
2024-06-17 15:19:48 -05:00
Brock Walters
7fb3d12477
Update sip_config.yml (#19747)
Update sip_config table per #16993
2024-06-14 17:34:02 -04:00
Brock Walters
93ba31ebef
Create scheduled_tasks.yml (#19739)
Create scheduled_tasks table per #16993

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-13 23:01:05 -04:00
Brock Walters
faa673634b
Update programs.yml (#19742)
Added link for the choclately_pacakages table
2024-06-13 20:50:07 -04:00
Brock Walters
9d453280b5
Update safari_extensions.yml (#19738)
Update safari_extensions table per #16993
2024-06-13 20:47:54 -04:00
Brock Walters
dd73758ebc
Update software_update.yml (#19714)
Updates to software_update per #16993
2024-06-13 19:46:41 -04:00
Brock Walters
db8e16bf66
Create patches.yml (#19700)
Create patches.yml per #16993

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-13 19:29:37 -04:00
Brock Walters
793c4a2b5e
Create registry.yml (#19711)
Create registry.yml per #16993 

ps. just got your message in Slack. This has a particularly gnarly query
because the registry data is gross. I have broken it on new lines at the
commands but it's all going to be a big blob in the fixed width columns
on the site & Fleet UI anyway. We'll see what it does. If you would
prefer I could "minify" these all onto 1 line no matter how long they
are?
2024-06-12 21:11:38 -04:00
Brock Walters
f38076ef69
Create programs.yml (#19701)
Create programs.yml per #16993
2024-06-12 21:09:54 -04:00
Brock Walters
fb7e39da76
Update pipes.yml (#19685)
Added PowerShell link & updated PowerShell command to include prompt in
example.
2024-06-12 15:03:16 -04:00
Eric
44680cbe15
(2024-06-11) Regenerate osquery_fleet_schema.json (#19653)
Closes: #19611

Changes:
- Regenerated `schema/osquery_fleet_schema.json`
2024-06-11 11:37:30 -05:00
Brock Walters
c9ebab7cac
Update package_install_history.yml (#19635)
Update package_install_history per #16993
2024-06-11 11:56:22 -04:00
Brock Walters
7698bde029
Update etc_hosts.yml (#19640)
added backticks / fixed width font for file paths
2024-06-11 11:44:07 -04:00
Brock Walters
6e0ef1f446
Create pipes.yml (#19638)
Create pipes table per #16993

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-11 11:43:54 -04:00
Brock Walters
d69a4406a5
Update platform_info.yml (#19637)
Updates to Update platform_info table per #16993
2024-06-11 11:30:43 -04:00
Brock Walters
b45dbdc58e
Update package_bom.yml (#19634)
Updates to the package_bom table per #16993
2024-06-11 11:13:23 -04:00
Dante Catalfamo
ecef0d4263
fleetd_logs table (#19489)
#18234
2024-06-11 11:02:50 -04:00
Brock Walters
9b263de850
Update etc_hosts.yml (#19532)
made file paths bullets instead of 1 line.

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-06 17:02:25 -04:00
Brock Walters
1045136cb1
Update etc_hosts.yml (#19517)
Updates to etc_hosts per #16993

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-05 11:14:06 -04:00
Eric
ba6ae8f8db
Regenerate osquery_fleet_schema.json (#19488)
Closes: #19439
2024-06-04 10:47:47 -05:00
Brock Walters
82f592bfdd
Update authdb.yml (#19477)
The Example header was not showing on this page. Moved the query up to
the example block with explanation.

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-04 11:27:15 -04:00
Brock Walters
23d8e0a9bf
Update system_controls.yml (#19478)
Updates to system_controls data table in Fleet Table Docs per #16993

Added 2-space indent on every line following |- scaler...
2024-06-04 11:26:52 -04:00
Brock Walters
3968c49683
Create cpu_info.yml (#19435)
Updates to cpu_info data table in Fleet Table Docs per #16993

I am trying something. The arp_cache table .yml has no references to the
Column || Type || Description schema table on the page, so, I am
assuming you are doing magic to combine the other sections of the page
(Description, Examples, Notes) with the data from osquery tables.

If I needed to make explicit reference to them, I am dumb. 

If I only to need to make explicit reference to them IFF I am changing
the schema table, yay.

Thanks!!!!!!!

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-03 21:17:14 -04:00
Brock Walters
d8489c4f2b
Update cpu_time.yml (#19432)
Updates to cpu_time data table in Fleet Table Docs per
https://github.com/fleetdm/fleet/issues/16993

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-03 17:05:48 -04:00
Brock Walters
608f3d82f7
Update arp_cache.yml (#19406)
Moved ARP Cache wikipedia link into sentence to save some room...
2024-06-03 10:40:23 -04:00
Eric
02d29759a2
Schema: fix example queries (#19426)
Changes:
- Fixed schema examples that were mistakenly updated in #19296
2024-05-31 15:42:06 -05:00
Brock Walters
893766efdd
Update chrome_extensions.yml (#19397)
Please check the new scalar is working correctly. I am going to have to
do a PR on the authdb table because some of the markdown syntax is
showing on the updated page. Thanks!

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-05-31 12:02:06 -04:00
Brock Walters
72827bc3ad
Update authdb.yml (#19399)
Fixed copy+paste or find+replace booboo when scalar was changed from >-
to |-

Copy operation caught up the angle brackets used around "right_name" in
this doc.

Thanks.
2024-05-31 09:18:14 -05:00
Noah Talerman
78037e246b
Add attribution for Mac Admins tables (#19302)
- Add note for all tables
2024-05-28 12:59:35 -04:00
Eric
02437a098e
Schema: change default block scalar used in schema override files (#19296)
Closes: #19271
Closes: #19286

Changes:
- Updated the example in the schema folder readme
- Updated the block scalar used in Fleet's osquery override
documentation (`>-` » `|-`) and removed extra newlines
- Updated the block scalar used in URLs used to create new yaml override
files
- Regenerated osqeury_fleet_schema.json
2024-05-27 18:18:56 -05:00
Brock Walters
88e94b1c4f
Update authdb.yml (#19274)
Modified Description field.
2024-05-24 15:23:09 -04:00
Brock Walters
4545e960ae
Update arp_cache.yml (#19254)
Updates to Fleet Table Docs per
https://github.com/fleetdm/fleet/issues/16993

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-05-24 15:05:57 -04:00
Brock Walters
3f926e7569
Update authdb.yml (#19161)
Need help to get the correct formatting for the notes key/val

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
Co-authored-by: Drew Baker <89049099+Drew-P-drawers@users.noreply.github.com>
2024-05-24 07:40:32 -04:00
Eric
9eb8508b30
Schema: Update version of osquery schema (#18890)
Changes:
- Updated the version of osquery schema that is merged with Fleet's
overrides: (5.11.0 » 5.12.1)
- Regenerated schema/osquery_fleet_schema.json
2024-05-13 16:52:01 -05:00
Victor Lyuboslavsky
c77dea8c2b
Schema documentation for new SOFA tables. (#18853)
#18832 
Schema documentation for new SOFA tables from macadmins extension.
2024-05-09 10:50:16 -05:00
Eric
85a8647700
Schema: Regenerate osquery_fleet_schema.json (#18781)
Closes: #18761

changes:
- Regenerated `schema/osquery_fleet_schema.json`
2024-05-06 16:42:00 -05:00
Brock Walters
a603304946
Update puppet_info.yml (#18687)
Fixed type in noop_pending key
2024-05-02 10:14:22 -04:00
Eric
5db04b937c
Regenerate osquery_fleet_schema.json (2024-04-30) (#18658)
Closes: #18600

Changes:
 - regenerated `schema/osquery_fleet_schema.json`
2024-04-30 16:55:01 -05:00