Commit graph

59 commits

Author SHA1 Message Date
Guillaume Ross
c4ccf20bd6
Adding first set of CIS benchmark policies for macOS (#7296)
* Adding CIS 1.1 for macOS

* Adding CIS 1.2

* Fix linting

* Adding CIS 1.3

* Adding CIS 1.4

* Apply suggestions from code review

Committing Noah's suggestions

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Fixed copy pasta errors + changed formatting

Fixed some auto update queries that were accidentally the same, and put [CIS X.X] between brackets in `constants.ts`

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2022-08-22 19:23:09 +00:00
Luke Heath
2e640eee29
Remove macOS Ventura query from standard query library (#7306) 2022-08-19 18:12:12 -04:00
Noah Talerman
b0e37accc9
Update "Learn how to use Fleet" for Fleet Sandbox (#7142)
- Update "Learn how to use Fleet" docs page to walk a Fleet Sandbox user through adding their device and running a query
- Add a "Get operating system information" query to standard query library for the "Learn how to use Fleet" walkthrough
- Update Fleet's top level README to point users who want to try Fleet to Fleet Sandbox
- Update "How to install osquery..." (macOS, Windows, Linux) blog posts to point users who want to try Fleet to Fleet Sandbox
- Move `fleetctl preview` questions to "Contributing" FAQ section in docs. This is because `fleetctl preview` is now a testing tool for Fleet contributors
- Update "Deploying" docs to point users who want to try Fleet to Fleet Sandbox
2022-08-19 14:13:15 -04:00
Guillaume Ross
dcee7a15ea
Making Bitlocker policy stricter (#7253)
Adding a filter to check that this is happening on the C drive and not some random other drive.
2022-08-18 13:45:17 -04:00
RachelElysia
140a651f3b
Fix spelling and grammar in standard query library (#6937) 2022-08-02 10:12:54 -04:00
Desmi-Dizney
097f71e76c
Editor Pass - Adding password policy query to the default library (#6768)
* Editor Pass - Adding password policy query to the default library

Editor pass for:
-  https://github.com/fleetdm/fleet/pull/6641

* Update constants.ts

* Update frontend/utilities/constants.ts
2022-07-21 13:51:17 -05:00
Guillaume Ross
7559988000
Adding password policy query to the default library (#6641)
* Adding password policy query to the default library

Adding a built-in policy to check the minimum password length on macOS using the recently released password_policy table.

* Addding osquery minimum version + adding query to constants.ts
2022-07-13 15:26:31 -04:00
Noah Talerman
16cb302774
Update standard query library (#6564)
- Tweaked name and description of 2 policies in the standard query library to use consistent formatting
2022-07-08 17:06:26 -04:00
Desmi-Dizney
9444772e6c
Editor pass - add macOS Ventura hardware check (#6520)
Editor pass for:
-  https://github.com/fleetdm/fleet/pull/6494
2022-07-06 17:27:52 -05:00
Erik Gomez
2e2b5e7c1b
add macOS Ventura hardware check (#6494)
Adds a new policy to check for macOS Ventura. Adapted from https://gist.github.com/erikng/b1acc0e07f510f9378f6f78f3d7a7342
2022-07-05 17:39:25 -04:00
Guillaume Ross
04a0c355c5
Add Windows screen lock policy (#6167)
* Adding policy query to check firewall on Mac

This commit closes https://github.com/fleetdm/confidential/issues/1410 once merged.

* Adding policies

This commit closes https://github.com/fleetdm/confidential/issues/1412. Right now there is no way to check the screenlock so instead we check if a profile for screenlock is there.

https://github.com/fleetdm/confidential/issues/1410 also closed by this.

* Update constants.ts

Fixed space

* Resolution text fix for new policies

Fixed copy based on @zhumo's comments!

* Screen lock policy

Adding a policy to check if the inactivity timeout is enabled on Windows and set to 1800 seconds or less (30min)

* Update constants.ts

Fix identation

* Update Windows screen lock policy

Changed wording from "administrator" to "IT administrator" in both files.
2022-06-10 12:05:32 -04:00
Guillaume Ross
38aaaffd65
Add policies (#6158)
* Adding policy query to check firewall on Mac

This commit closes https://github.com/fleetdm/confidential/issues/1410 once merged.

* Adding policies

This commit closes https://github.com/fleetdm/confidential/issues/1412. Right now there is no way to check the screenlock so instead we check if a profile for screenlock is there.

https://github.com/fleetdm/confidential/issues/1410 also closed by this.

* Update constants.ts

Fixed space

* Resolution text fix for new policies

Fixed copy based on @zhumo's comments!
2022-06-09 15:20:30 -04:00
kswagler-rh
cffd324214
Adding Suspicious AutoStart Windows (#5977)
* Adding Suspicious AutoStart Windows

* Removed partial query

* switching the polarity of the query results
2022-06-03 14:04:11 -04:00
Desmi-Dizney
870219829b
Docs editor pass - 01-Using Fleet - Standard query library (#6040)
This has been edited for content and copy.
2022-06-02 14:14:08 -04:00
Guillaume Ross
293ede98d6
Adding tags to all queries (#5474) 2022-05-02 17:57:15 -04:00
Lucas Manuel Rodriguez
ed8faa791c
Add slack notification (#5481)
* Add slack notification

* Fix standard-query-library.yml
2022-05-02 08:42:20 -03:00
Desmi-Dizney
2feb1256f3
Docs editor pass - 01-Using-Fleet - Standard-query-library - README.md (#5420)
This has been edited for content and copy.
2022-04-29 09:18:13 -05:00
Desmi-Dizney
d6deec277f
Docs editor pass - 01-Using-Fleet - Standard-query-library - Standard-query-library.yml (#5427)
This has been reviewed for copy.
2022-04-29 09:17:53 -05:00
Desmi-Dizney
ed14c0b02a
Editor pass - New query and new policy: Identify optional fields to users - docs/01-Using-Fleet/standard-query-library/README.md (#5412)
Editor pass for: https://github.com/fleetdm/fleet/pull/5167 - docs/01-Using-Fleet/standard-query-library/README.md
2022-04-28 11:21:59 -05:00
RachelElysia
9ea6fe5efa
New query and new policy: Identify optional fields to users (#5167) 2022-04-20 08:48:47 -04:00
Noah Talerman
3ea0bc744b
Update standard query library to use platforms and platform (#5190)
* Add both `platform` and `platforms` keys as a workaround to support the website and Fleet product
2022-04-18 18:25:50 -04:00
Lucas Manuel Rodriguez
254c2c0208
Fix policies in standard query library (#5177) 2022-04-15 19:22:48 -03:00
Guillaume Ross
710afb3382
App up to date or not installed + no unencrypted SSH keys (#4989)
* App up to date or not installed

Adding "App installed and up to date OR not present" example

* Removed empty last line

* Update standard-query-library.yml

Added right descriptions and resolution for the Docker example, and added a new query to detect unencrypted SSH keys.

* Update docs/01-Using-Fleet/standard-query-library/standard-query-library.yml

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update docs/01-Using-Fleet/standard-query-library/standard-query-library.yml

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update docs/01-Using-Fleet/standard-query-library/standard-query-library.yml

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update standard-query-library.yml

Updated as per @noahtalerman's review

* Update docs/01-Using-Fleet/standard-query-library/standard-query-library.yml

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2022-04-12 09:23:55 -04:00
Mike McNeil
222d85178d
docs: Add link to standard query library (#4851) 2022-03-28 23:39:20 -05:00
Guillaume Ross
62042e35cd
Fix guest policy in standard query library and constants.ts (#4573)
* Fix guest policy in standard query library

* Fix guest policy in constants.ts
2022-03-14 14:31:33 -04:00
Guillaume Ross
4f8847ddd2
Adding new policy to check for MDM enrollment (#4343) 2022-03-03 14:22:23 -05:00
eashaw
0af5e161d0
Remove numbers from documentation filenames in Fleet repo (#4313)
* Renaming files and a lot of find and replace

* pageRank meta tags, sorting by page rank

* reranking

* removing numbers

* revert changing links that are locked to a commit

* update metatag name, uncomment github contributers

* Update basic-documentation.page.js

* revert link change

* more explicit errors, change pageOrderInSection numbers, updated sort

* Update build-static-content.js

* update comment

* update handbook link

* handbook entry

* update sort

* update changelog doc links to use fleetdm.com

* move standard query library back to old location, update links/references to location

* revert unintentional link changes

* Update handbook/community.md

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-02-23 12:17:55 -06:00
RachelElysia
50b71106db
Fix typos "included" to "include" (#4234) 2022-02-16 12:41:11 -05:00
Guillaume Ross
e68ff05243
Cleaning up standard library (#4215)
First cleanup as a part of #4212.
2022-02-15 15:43:16 -05:00
Guillaume Ross
531ef1eddc
Adding disk encryption policy query for Linux (#4211)
On website + constants.ts. Does not support all Linux encryption scenarios, we will add more to this query as we discover the patterns people need.

Closes #4208
2022-02-15 14:35:11 -05:00
Guillaume Ross
2378db08c8
3946-Adding antivirus queries (#4154)
* Adding antivirus queries

Adding 3 antivirus queries in the form of an information query as well as in the form of policy queries

* Update standard-query-library.yml

Adding newline at end of file
2022-02-14 14:35:22 -05:00
Noah Talerman
9c24c7d92c
Add policy templates to standard query library (#3956)
* Add remaining policy templates

* Removeempty resolution field

* Update naming for standard policies

* Add enabled word to SIP policy

* Use full SIP

* Also change in constants

* Update windows disk encryption

* Add changes file

* Tweak windows disk encryption policy

* Address lint errors

* Make requested changes

* Reflect changes in policy tempaltes

* Make sure that standard policies and policy templates are the same

* Edit automatic login disabled description

* Also edit in constants
2022-02-10 12:34:30 -05:00
Zach Wasserman
cb4171aa84
Add quoting around string in query library using colon (#4076) 2022-02-07 18:27:50 -08:00
Kelvin Oghenerhoro Omereshone
772457516d
fix: update Filevault to FileVault (#4072) 2022-02-08 02:31:56 +01:00
Kelvin Oghenerhoro Omereshone
6e7c14faef
fix: add warning to query to find log4j vulnerabilities (#4070)
* fix: add warning to query to find log4j vulnerabilities

* Update docs/01-Using-Fleet/standard-query-library/standard-query-library.yml

Co-authored-by: Zach Wasserman <zach@fleetdm.com>

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2022-02-08 01:15:27 +01:00
eashaw
243306de02
Add tags to standard query library and fleetdm.com/queries (#3970)
* handle query tags in build-static-content script, update query readme

* show tags in query library, add ability to filter by tags

* fix lint errors

* update mobile styles

* fix CTA link

* update mobile layout

* remove tag line-height and font size

* Update build-static-content.js

* Style update

* remove margin from selected tag, adjust OS logo placement

* requested changes from code review

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-02-03 15:49:36 -06:00
Noah Talerman
7dafc5ab66
Add policies to standard query library (#3848)
- Add 3 policies to `standard-query-library.yml` and update standard policy templates in the Fleet UI
2022-01-25 15:00:31 -05:00
Noah Talerman
d7e013643c
Remove policies from standard-query-library.yml (#3636)
- For now, remove policies from `standard-query-library.yml` so that the `fleetctl preview` command does not fail
2022-01-11 11:30:37 -05:00
Noah Talerman
0647e0b641
Add contributors to standard policies (#3635)
- Resolve failing "Deploy Fleet Website" CI task
2022-01-11 11:11:37 -05:00
Tomas Touceda
c662cd2b53
Add policies yaml (#3464)
* Add policies yaml

* Add documentation and address review comments

* Amend documentation
2022-01-11 11:04:29 -03:00
Kelvin Oghenerhoro Omereshone
897fa82ec1
Feature/add query to get apps opened within the last 24 hours (#3513)
* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* chore: remove queries from develop

* docs: add query to get running docker containers

* docs: add query to get machines with unencrypted primary disks

* fix: remove trailing ---

* fix: remove trailing ---

* chore: remove trailing ---

* docs: add query to get applications hogging memory

* fix: resolve merge conflicts

* chore: update PR

* chore: update PR

* chore: merge previous query

* feat: add query to find servers with root logins within the day

* fix: remove unneeded period

* docs: add instructions for submiting multiple queries

* fix: remove duplicate entry

* fix: remove period from get running docker containers query description

* docs: add instructions for submiting multiple queries

* fix: resolve merge conflicts

* feat: add description for query to fetch failing batteries

* fix: resolve duplicate descriptions

* fix: remove typo in deplying docs

* fix: reword description

* fix: add suggestions to improve description

* feat: add description to query to fet windows machines with unencrypted hard disks

* feat: update description for count apple applications installed query

* docs: 📝 Add query to get apps opened within the last 24 hours

* feat: add query to find apps not in Applications directory

* feat: add query to find subscription based applications that have not been opened for the last 30 days
2022-01-04 22:25:18 +01:00
Sevickson
e776c2ea36
Dedup Get installed Windows software query (#3417)
python_packages query was 2 times in the same query
2021-12-27 18:39:31 -03:00
Tony Gauda
00ccdfdce8
Update standard-query-library.yml to detect Log4J (#3367)
Added query to detect Log4j in response to CVE-2021–44228 on macOS and Linux
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-12-14 14:54:11 -08:00
Omereshone Kelvin
7d77579ead
Update description for query to get apple applications count (#3330) 2021-12-12 18:03:56 -08:00
Omereshone Kelvin
64203a022a
Fix duplicated description on standard query (#3286) 2021-12-12 18:02:52 -08:00
Omereshone Kelvin
8ec3986263
Fix description language on failing batteries query (#3328) 2021-12-11 16:24:41 -08:00
Omereshone Kelvin
c5aaeaab6f
Add description to windows machines with unencrypted hard disks query (#3329) 2021-12-11 16:23:42 -08:00
Omereshone Kelvin
10871172f6
Standard query library: Add description to "Get laptops with failing batteries" (#3254) 2021-12-09 12:23:54 -05:00
Omereshone Kelvin
71883ede82
Update instructions for contributing multiple queries to the standard query library (#3207) 2021-12-06 10:15:05 -05:00
Omereshone Kelvin
5a2ed6f395
Add 3 queries to the standard query library (#3138)
Queries:
- Get applications hogging memory
- Get Mac and Linux machines with unencrypted primary disks
- Get servers with root login in the last 24 hours
2021-12-03 17:13:41 -05:00