Commit graph

770 commits

Author SHA1 Message Date
eashaw
4f624e91ee
fixed indentation on ordered lists (#4356) 2022-02-24 16:56:35 -06: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
Martin Angers
84ac0f05a9
Grant write to policies to global maintainer (#4321) 2022-02-22 16:57:36 -05:00
Martin Angers
ad5146c491
Allow updating the policy platform (part 1 of the ticket) (#4311) 2022-02-22 13:42:03 -05:00
Tomas Touceda
4b9d427176
Improve documentation vulnerability pipeline (#4264)
* Improve documentation for how we do vulnerability processing

* Add mermaid diagrams

* Mermaid, next try

* Change style of once an hour node

* Improve collection diagram

* Improve readability of diagrams

* Improve flow charts

* Update broken link
2022-02-22 14:01:16 -03:00
Michal Nicpon
4ce23c7d1b
Add team targets to pack spec (#4272)
* skip flaky tests
2022-02-21 09:18:58 -07:00
Kelvin Oghenerhoro Omereshone
f4d130dde9
Update stale screenshots (#4294)
* docs: add new manage-packs.png

* feat: add new team-agent-options.png

* feat: add new global-agent-options.png

* docs: update screenshots and docs context

* chore: delete stale screenshots

* feat: update screenshot to recommended preset size

* chore: remove editor new line

* feat: update new line
2022-02-18 16:25:53 +01:00
eashaw
1f5e655b84
update broken anchor links (#4199) 2022-02-17 16:47:17 +09:00
RachelElysia
6f1c61bc86
UI Revamp: Add hosts modal (#4217) 2022-02-16 16:21:42 -05:00
RachelElysia
50b71106db
Fix typos "included" to "include" (#4234) 2022-02-16 12:41:11 -05:00
gillespi314
089f49cc5d
Add new activity types for policy-related activities (#4043)
* Add new activities for policy create, delete, and modify, and apply policy spec
* Add PoliciesByID ds method; refactor delete svcs
2022-02-16 09:33:56 -06:00
Kelvin Oghenerhoro Omereshone
7af7d5f25d
Feature/add architecture diagram (#4222)
* feat: add fleet architecture diagram

* feat: add Fleet architecture diagram to deployment guide
2022-02-15 23:37:49 +01: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
Kelvin Oghenerhoro Omereshone
afa63805c8
fix: update heading to conform to Fleet's style guide (#4153)
* fix: update heading to conform to Fleet's style guide

* fix: update heading link to conform to style guide
2022-02-15 10:16:58 +01: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
Lucas Manuel Rodriguez
be72dc356c
Add CentOS parsing+post-processing to reduce false positives in vulnerability processing (#4037)
* Add CentOS parsing and post-processing in fleet

* Add tests and amend SyncCPEDatabase

* Add test for centosPostProcessing

* Changes from PR comments

* Amend software test

* Fix sync test

* Add index to source and vendor

* Use os.MkdirTemp

* Rearrange migrations

* Regenerate test schema

* Add support for testing migrations (#4112)

* Add support for testing migrations

* Rename migration in tests

* Changes suggested in PR

* Go mod tidy
2022-02-14 15:13:44 -03:00
Noah Talerman
f14653fcd6
Fix broken link and sentence casing in UI (#4127)
- Fix broken link in the empty state for the "Software" card on Home page
- Update "API Token" to sentence case "API token"
2022-02-14 10:19:33 -05:00
Kelvin Oghenerhoro Omereshone
8070e1e606
fix: update heading (#4152)
* fix: update heading

* Update docs/01-Using-Fleet/README.md

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2022-02-14 15:50:19 +01:00
Kelvin Oghenerhoro Omereshone
e1708466b5
[DOCS] the last of the headings normalization (#4157)
* fix: update headings in configuration files docs

* fix: update heading in testing docs

* fix: update heading in seeding data docs

* fix: update headings in committing changes docs

* fix: update heading from External Contributors to External contributors

* fix: update headings in API for contributors docs.

* fix: update heading in API versioning docs.
2022-02-14 15:49:43 +01:00
Noah Talerman
67827474c2
Prepare for Fleet 4.10.0 (#4161)
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2022-02-13 18:13:06 -08:00
Noah Talerman
e0716d0c2a
Add vulnerability automations to "Automations" docs (#4130) 2022-02-13 18:12:51 -08:00
Zach Wasserman
e20a9b4508
Add platform filters for MDM/Munki/Chrome queries (#4144)
* Add platform filters for MDM/Munki/Chrome queries

This should help quiet warnings that users/customers have reported when
these queries try to run on platforms without the macadmins extension
tables.

For #4123

* Improve documentation

* add changes file

* revert doc formatting

* Update tests

* Yet another test fix

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-02-11 14:10:26 -03:00
eashaw
9af92b23aa
Update links to documentation (#4163)
* update links to documentation

* revert .sailsrc change

* fix broken link
2022-02-10 19:26:18 -06: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
Kelvin Oghenerhoro Omereshone
f3b1a53cd4
fix: update heading to sentence case (#4143) 2022-02-10 15:36:57 +09:00
Kelvin Oghenerhoro Omereshone
b4a2ce44ed
fix: change headings to sentence case (#4142) 2022-02-10 15:36:37 +09:00
Kelvin Oghenerhoro Omereshone
e02e3b7b1a
fix: update heading to conform to Fleet's guideline (#4141) 2022-02-10 15:36:14 +09:00
Kelvin Oghenerhoro Omereshone
d5bc0c6b62
fix: update headings on server installation docs (#4138)
Update headings to conform to Fleet's style guide
2022-02-10 15:35:57 +09:00
Kelvin Oghenerhoro Omereshone
56dba36deb
fix: update heading to conform to Fleet style guide (#4136) 2022-02-10 15:35:26 +09:00
Kelvin Oghenerhoro Omereshone
4926e6406f
fix: normalize headings to conform to Fleet guidelines (#4135) 2022-02-10 00:49:11 +01:00
Tomas Touceda
11887f87f7
Add enable scheduled query stats to fleet config (#4066)
* Add enable scheduled query stats to fleet config as well

* Add documentation

* Revert "Allow disabling scheduled query stats via app config (#4049)"

This reverts commit f98fd4d331.

* Add changes file

* Update ref

* Add missing docs
2022-02-09 08:20:29 -03:00
Kelvin Oghenerhoro Omereshone
3e0b443f5b
fix: change case for identity provider (#4081) 2022-02-09 15:36:06 +09:00
Kelvin Oghenerhoro Omereshone
58ff55bead
docs: add FAQ for minimum version of MySQL (#4069) 2022-02-08 09:49:45 +01:00
Kelvin Oghenerhoro Omereshone
c507aff94b
docs: add instructions for enabling SSO for existing users (#4014)
* docs: add instructions for enabling SSO for existing users

* fix: update sentence to emphasize admin

Reword sentence for clarity that admins are the ones supposed to carry out the enable SSO action for existing users

* fix: remove extraneous whitespace
2022-02-08 13:56:02 +09:00
Benjamin Edwards
4ecb61e61c
update sso docs -- users have to exist in fleet before saml assertion is valid (#4078) 2022-02-07 21:51:28 -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
7d659e5a0a
fix: update reference to container to image (#4071) 2022-02-08 01:33:10 +01:00
Kelvin Oghenerhoro Omereshone
ead1551ac2
fix: add Apple ID and app-specific password (#3981) 2022-02-08 01:21: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
Kelvin Oghenerhoro Omereshone
bc86591b14
doc: add introduction to fleetctl docs (#3974)
* doc: add introduction to fleetctl docs

* Update docs/01-Using-Fleet/02-fleetctl-CLI.md

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2022-02-08 07:56:02 +09:00
Tomas Touceda
35eac78aed
Add CountsUpdatedAt for munki/mdm status (#4045)
* Add CountsUpdatedAt for munki/mdm status

* Update doc
2022-02-07 14:53:33 -03:00
Tomas Touceda
f98fd4d331
Allow disabling scheduled query stats via app config (#4049)
* Allow disabling scheduled query stats via app config

* Update tests

* Fix test

* Moar test fixes

* Remove redundant set

* Add documentation

* Fix typo in docs
2022-02-07 13:37:54 -03:00
Tharun Rajendran
2084b7d310
feat(api): add endpoint to get team by id (#4018)
* feat(api): add endpoint to get team by id

* fix review feedbacks

* add integration test in enterprise suite
2022-02-04 14:33:22 -03: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
Kelvin Oghenerhoro Omereshone
4dc4bc51a5
fix: update server_name to tls_server_name (#3986) 2022-02-03 13:32:46 +09:00
Martin Angers
6e2ba62744
Trigger webhooks for recently published vulnerabilities (#3941) 2022-02-02 16:34:37 -05:00
Tony Gauda
892b18e6dd
Finishing moving to deployment FAQ 2022-01-28 10:23:57 -05:00
Tony Gauda
a2189c7260
api endpoints 2022-01-28 10:23:11 -05:00
Tony Gauda
f34bab62c8
Moving to deployment FAQ 2022-01-28 10:21:48 -05:00
Tony Gauda
f1f68273bd
Discuss API endpoints that should be public 2022-01-28 10:18:15 -05:00
Tony Gauda
d5e4ac207a
What API endpoints are public? 2022-01-28 10:17:12 -05:00
Tomas Touceda
e956b0ba04
Add filter software by CVE and make osquery-perf also push vulnerable software (#3902)
* Add filter software by CVE and make osquery-perf also push vulnerable software

* Update based on review comments
2022-01-28 10:05:11 -03:00
Mike McNeil
d79f27a7a5
Brand guidelines: “FleetDM” >> “Fleet” or “Fleet Device Management” (#3903)
* Brand guidelines: “FleetDM”  >> “Fleet” or “Fleet Device Management”

* Update FAQ.md
2022-01-27 12:50:18 -06:00
Tomas Touceda
1667fdcf22
Add vulnerabilities webhook config (#3897)
* Add vulnerabilities webhook config

* Fix tests

* Update documentation

* Update docs
2022-01-27 10:48:46 -03:00
Tomas Touceda
ffabf803a3
Aggregate munki and mdm data (#3886)
* Aggregate munki and mdm data

* Update doc

* Use reader to read

* Reader to read

* Address review comments
2022-01-26 17:55:07 -03:00
Noah Talerman
433843ae94
"Releasing Fleet" docs: Add instructions for "Performance" section (#3857)
- Add instructions for performance section
- Remove changes files that were included in the 4.9.0 release
2022-01-26 14:33:39 -05:00
Martin Angers
9a0f749641
Add hosts_count field to "list software" endpoint (#3873) 2022-01-26 09:47:56 -05: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
Zach Wasserman
e097a4fe01
Remove dangling sentence in infrastructure docs (#3838) 2022-01-24 17:41:13 -08:00
Kelvin Oghenerhoro Omereshone
789b1d1c20
[DOCS] add FAQ for what happens to logs if Fleet or log destination are offline (#3860)
* feat: add FAQ for what happens to logs

FAQ for what happens to log if either the Fleet's server or the log destination are offline

* fix: add the default buffered_log_max
2022-01-25 01:34:59 +01:00
Tomas Touceda
f02bef6f2c
Add platform filter to host_summary (#3845)
* Add platform filter to host_summary

* Add documentation

* Actually forward the platform param down the chain

* Update mock

* Update mock
2022-01-24 14:49:21 -03:00
Benjamin Edwards
d650423be0
Reference Architectures (#3712)
Added reference architectures using https://docs.gitlab.com/ee/administration/reference_architectures/ as inspiration.

- updated terraform based on some feedback of usage
- pinned fleet docker version in terraform as to no get unexpected upgrades when applying
- updated some documentation around apply migration tasks
2022-01-21 16:27:55 -08:00
RachelElysia
85487eb5b2
Settings > Organization Settings: Code revamp (#3580) 2022-01-21 12:06:58 -05:00
Tomas Touceda
9d572309ae
Add sentry (#3669)
* Add sentry

* Fix gosum

* More gosum fixes

* Add missing def for config

* Enrich sentry scope a bit

* Add changes file

* Add goroutine safe scope to errors

* Encapsulate sentry logic

* Add documentation for new flag

* Add sentry capturing to crons and other background tasks

* Only send to sentry when enabled
2022-01-20 16:41:02 -03:00
Zach Wasserman
4a70cd69fa
Shorten "simple" query API period to 25s (#3775)
This helps the period stay under the default request timeouts for most
load balancers.

Some default timeouts:
* AWS ALB - 60s
* Nginx - 60s
* GCP LB - 30s
2022-01-19 17:48:57 -08:00
Kelvin Oghenerhoro Omereshone
1c4c0156e0
doc: add FAQ for orbit running alongside osquery (#3685)
* doc: add FAQ for orbit running alongside osquery

* fix: update FAQ to be more clear.

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

* fix: typo on osquery

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>
2022-01-20 00:07:11 +01:00
Katheryn Satterlee
a9949d869e
Issue 2873 kafka docs improvement (#3771)
* Updating Upgrade docs

* making changes to database section of upgrade docs

* Corrected anchor tags, ready to merge

* Adding section for Kafka to Osquery-logs

Co-authored-by: Katheryn Satterlee <ksatter@Kathys-MacBook-Pro.local>
2022-01-19 11:59:56 -06:00
Katheryn Satterlee
331a04121a
3205 improve updating docs (#3593)
* Updating Upgrade docs

* making changes to database section of upgrade docs

* Update docs/02-Deploying/06-Upgrading-Fleet.md

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

* Update docs/02-Deploying/06-Upgrading-Fleet.md

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

* Update docs/02-Deploying/06-Upgrading-Fleet.md

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

* Corrected anchor tags, ready to merge

Co-authored-by: Katheryn Satterlee <ksatter@Kathys-MacBook-Pro.local>
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2022-01-19 11:25:46 +09:00
Kelvin Oghenerhoro Omereshone
dd751cccf6
docs: add description for /translate endpoint (#3715) 2022-01-18 13:23:20 -06:00
Lucas Manuel Rodriguez
d4243d0a72
Team observers can browse global policies (#3737)
* Allow team observers to browse global policies

* Add integration core test for team observer

* Fix integration tests
2022-01-18 13:18:40 -03:00
Martin Angers
f19e676e62
Refactor async host processing to avoid redis SCAN keys (for policies) (#3657) 2022-01-18 09:56:43 -05:00
Kelvin Oghenerhoro Omereshone
31459b97e4
fix: add clarity on signing and notarising on macOS (#3714)
Add clarity on signing and notarising macOS osquery installers
2022-01-17 18:30:18 +01:00
Zach Wasserman
6bc4718a20
Update FAQ for duplicate host enrollment (#3698) 2022-01-14 09:58:56 -08:00
Kelvin Oghenerhoro Omereshone
27c76a0e47
fix: update link to Orbit repository (#3684)
Current link leads to the archived Orbit repo
2022-01-14 18:25:50 +01:00
Kelvin Oghenerhoro Omereshone
5b3d7bb55c
fix: typo on indefinite article used (#3641)
Fixed the use of `an` instead of `a`
2022-01-12 17:31:17 +01:00
Martin Angers
f14f97156c
Add read and write timeout options for redis (#3624) 2022-01-11 17:08:39 -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
Noah Talerman
76dba03628
Add product process to handbook and update vuln processing docs (#3629)
- Add outline of the product process to handbook
- Add a "Priority drafting" section to handbook
- Update the vulnerability processing docs
2022-01-11 09:15:49 -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
6c851e0e12
[DOCS] add docs for signing osquery installers with fleetctl (#3577)
* 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

* chore: add dominuskelvin as maintainer

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

* feat: add link to signing installers

* fix: typo with link to the getting started page

* feat: docs on how to sign an osquery installer

* feat: make signing installer a subsection of osquery installer

* feat: make description for signing installer shorter and compact

* fix: change package to installers

* fix: reword note section
2022-01-10 17:31:10 +01:00
Mike McNeil
eba183d506
add clarification about 90s timeout in new api endpoint (#3592)
* add clarification about 90s timeout

* further clarify warning based on Tomas's feedback
2022-01-06 22:51:55 -06:00
Mike Thomas
c6f9cb4cf3
Update FAQ.md (#3552)
* Update FAQ.md

Added a question about duplicate IP addresses.

* Update docs/01-Using-Fleet/FAQ.md

Add relevant link to "Fleet's teams feature..."
2022-01-05 13:25:56 +09:00
Luke Heath
a269e9a5f9
Update 02-Testing.md 2022-01-04 16:50:49 -06: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
Noah Talerman
40ba098913
Add "Automations" documentation page (#3537)
- Add "Automations" documentation page to document the available automations in Fleet
- Update the "Vulnerability processing" documentation
- Update the "REST API" documentation
2021-12-30 17:50:27 -05: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
Lucas Manuel Rodriguez
787944482b
Global policies automation webhooks (#3378)
* Add webhook to app config

* Add redis failing policies set and webhook

* Add basic webhook test

* Store hostname in redis

* Global policy deletion to remove policy ID from set and config

* Also process new passing policies

* Fix unit test

* Sort hosts

* Add more tests

* Add ListSets to the failing policies interface

* Fix server URL and garbage collect on the triggering side

* Do not use Redis SCAN

* Fix Redis operation order

* Add API changes to doc

* Add comments

* Add more tests

* Fix tests

* Add tests for config update upon deletion of policies

* Run make dump-test-schema

* Ignore policies that failed to run

* Add proper unit tests to trigger logic

* Fix comments

* WIP

* Add tests to service_osquerty_test.go

* Use SSCAN for listing hosts instead of SMEMBERS

* Add failing policies to docs/01-Using-Fleet/configuration-files/README.md

* Remove skip

* Fix PR comments
2021-12-23 18:26:55 -03:00
Martin Angers
1e2059585a
Add support for google chrome profiles (#3423) 2021-12-21 15:36:19 -05:00
Omereshone Kelvin
27691fe82a
Fix a typo in a configuration flag (#3405)
Fixed a typo in the `allow_missing_migrations` configuration flag.
2021-12-21 08:19:48 -08:00
Tomas Touceda
fe67b0486b
Finish first draft of API versions (#3216)
* Finish first draft of API versions

* wip

* Finalize tests

* Revert change in handler

* Remove made up version

* Update versioning with aliases

* Add changes file

* Address review comments

* Revert overupdated routes

* Expand life time of deprecated APIs

* Fix test

* Comment out problematic part of test

* Revert bad path changes
2021-12-21 12:23:12 -03:00
Tomas Touceda
7d527f9d01
Update faq with common problem in docker (#3438) 2021-12-21 11:25:00 -03:00
Tomas Touceda
5a9e207fbf
Update documentation and add changes file (#3437) 2021-12-21 10:47:02 -03:00
Katheryn Satterlee
2c8f0dac42
Update Kafka Rest Plugin results section
Corrected `##### kafkarest_result_topic` to indicate that it set the results log location rather than status.
2021-12-20 08:06:53 -06:00
Katheryn Satterlee
9eeaf5ed16
Add links in configuration docs (#3393)
Added links from configuration docs to osquery logs docs for logging plugins. Resolves #2872
2021-12-17 18:06:41 -06:00
Mike McNeil
552b2c9f54
capitalization (#3388) 2021-12-15 16:41:48 -06: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
Martin Angers
4143a37056
Fix redis scan keys issue for live queries (#3107) 2021-12-14 16:30:26 -05:00
Zach Wasserman
ac3d8ddf02
Increase default login session length to 24 hours (#3340) 2021-12-13 20:42:30 -08:00
Noah Talerman
ca6c51d397
API docs: Add host status webhook parameters to PATCH /config docs (#3348) 2021-12-13 14:48:03 -05: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
Noah Talerman
1f8f5b0d27
Update recieve-from-github.js and add fixes to API docs (#3310) 2021-12-10 15:40:29 -05:00
Zach Wasserman
2f4ea1da85
Update documentation for file carving (#3213) 2021-12-09 09:59:23 -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
Zach Wasserman
9343c9b832
Fix broken link in documentation (#3270) 2021-12-08 22:18:50 -06:00
Tony Gauda
c39191cb00
Updated docs to fix a few areas of confusion (#2903)
* updating docs to make things a bit more clear

* fixing broken links

* more broken links

* fixing broken links

* website updates

* PR review changes

* fixing bad links
2021-12-08 16:23:35 -06:00
Zach Wasserman
1806838cf4
Update documentation for redis cluster support (#3246) 2021-12-07 18:36:01 -08:00
Lucas Manuel Rodriguez
edec1abc86
Remove platform and team from policy editing (#3233) 2021-12-07 13:01:00 -03:00
gillespi314
6ee6dba4a4
Update anonymous usage statistics to record Fleet feature adoption (#3056)
* Collect additional anonymous usage statistics

* Update fleetdm.com and docs for usage stats

* Fix lint-go errors

* Fix failing test

* update webhook inputs

* Update receive-usage-analytics.js

* fix failing test

* Update statistics_test.go

Co-authored-by: eashaw <eashaw@sailsjs.com>
2021-12-06 14:39:00 -06:00
Lucas Manuel Rodriguez
c5375263b6
Change policy platforms name to platform singular (for consistency) (#3221)
* Change policy platforms name to platform singular

* Fix fleetctl tests
2021-12-06 13:56:28 -03: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
Lucas Manuel Rodriguez
b9a408704e
Add platforms field to policies (#3181)
* Add platforms field to policies

* Fix fleetctl tests

* PR review changes

* Add missing tests

* Add changes for ListPoliciesForHost
2021-12-03 15:33:33 -03:00
Tomas Touceda
142006cbdd
Issue 2099 enable vulnerability processing new installs (#3104)
* Enable vulnerability processing by default

* Add changes file

* Remove wrong env var

* Fix import

* Fix tests

* Update log line

* Remove unneeded import
2021-12-03 14:44:57 -03:00
Tomas Touceda
a0404b6736
Add software count API (#3105)
* Add software count API

* Fix makefile

* Fine no mock generating at this point

* Actually, one last try

* Use go install instead

* Fix go sum/mod

* Improve documentation

* Try setting node to 14
2021-12-03 10:54:17 -03:00
Omereshone Kelvin
2302606ca0
Standard query library: add query for running docker containers (#3137)
Query: Get running docker containers
2021-12-01 09:42:56 -05:00
Tomas Touceda
925d4df8f7
Add new disable_failing_policies query parameter to list hosts (#3123)
* Update documentation

* Update based on review comments

* Explain why the switch exists
2021-11-29 18:04:33 -03:00
Tomas Touceda
036093874d
Add cursor pagination to list hosts (#3120)
* Add cursor pagination to list hosts

* Update docs

* Update based on review comments
2021-11-29 15:06:00 -03:00
Lucas Manuel Rodriguez
964f85b174
Amend policy creation and spec (for proprietary query), and add update APIs (#2890)
* Amend policy creation (proprietary query), add update APIs

* Fix Datastore.SavePolicy bug (and add tests)

* Add integration tests for new policy APIs

* Add author email

* Add activities

* Push breaking changes for return policy fields

* WIP

* Add integration test for host policies

* Make more improvements to policy representation

* Improve upgrade code (from PR review comments)

* PR changes

* Revert activities for policies

* Use *uint instead of uint for queryID, use fleet.PolicyPayload

* Filter out other schemas

* New policy flow (#2922)

* created new policy flow -- no API connection

* added api props

* fixed prop name

* lint fixes

* removed unused modal; fixed style

* name, desc icons; created global components

* lint fixes

* ignoring certain files and lines for prettier

* Update frontend/pages/policies/PolicyPage/PolicyPage.tsx

* Make policy names unique across deployment

* Amend upgrade script

* Fix migration for unique names

* Do not deduplicate but instead rename policies

Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
2021-11-24 14:16:42 -03:00
RachelElysia
5dd2b5c0ad
Update 13-Vulnerability-Processing.md (#3025)
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Noah Talerman <noahtal@umich.edu>
2021-11-23 15:53:40 -05:00
Tomas Touceda
c65f8507fe
Remove host counts from software (#3082)
* Remove host counts from software

* Actually remove the host count from the struct

* Fix get test
2021-11-23 15:50:51 -03:00
Lucas Manuel Rodriguez
028c2643f7
Fleet serve to exit if migrations are missing (default) (#2803)
* Add option to fleet to exit if migrations are missing

* Reverse serve exit migrations logic

* Fix typo
2021-11-22 14:47:24 -03:00
Noah Talerman
cca1e2e043
Update "Adding hosts" documentation to emphasize osquery installers (#2956)
- Emphasize generating an "osquery installer" (also referred as "Orbit") using the `fleetctl package` command
- Add instructions for adding multiple hosts and automatically adding hosts to a team
- Remove instructions for generating an enrollment package with the tooling in `tools/mac/`
- Remove the `tools/mac/` directory from the repository because it is no longer used or referenced in any documentation
- Update "Automatically adding hosts to a team" section of "Teams" documentation to point to "Adding hosts" documentation
- Add instructions for migrating from plain osquery to Fleet's osquery installers
2021-11-19 09:38:01 -05:00
Zach Wasserman
4d8e028299
Document enroll secret rotation (#2989) 2021-11-17 10:00:12 -08:00
gillespi314
bfdedd65e8
Allow API user to delete all team secrets (#2941) 2021-11-17 10:26:24 -06:00
eashaw
39e210cd98
Update load testing documentation (#2979)
* update load testing, mobile table styles

* testing table layouts

* final tables

* update table styles

* Update basic-documentation.less

* revert unintentional change

* Update basic-documentation.less
2021-11-17 11:48:33 +09:00
Mike McNeil
7767c51076
on multiple enrollments (#2966) 2021-11-16 14:01:55 -06:00
eashaw
b7f2f3a0f0
Add questions to using Fleet FAQ and deployment FAQ (#2912)
* add faq questions

* Apply suggestions from code review

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

* fix broken links

* Update FAQ.md

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2021-11-15 17:55:57 -06:00
RachelElysia
a7c6b3e7d7
Add/Edit/Delete enroll secret UI (#2645) 2021-11-15 16:16:06 -05:00
Zach Wasserman
e279dc1682
Implement fleetctl updates rotate (#2831)
Add support for updating keys used in the TUF update system.
2021-11-15 10:01:48 -08:00
Martin Angers
a4b0d9d4a1
Add team_id to host summary when filtered for a specific team (#2869) 2021-11-15 09:56:13 -05:00
Martin Angers
348841c90b
Add explanation output to fleetctl package (#2864) 2021-11-15 08:40:58 -05:00
Noah Talerman
8c0c00884f
Fix broken link in "Osquery logs" documentation (#2906)
- Fix a broken link in the summary of the "Osquery logs" documentation
- Update instructions for linking to a specific section within a page in the Fleet documentation in product handbook
2021-11-12 17:40:32 -05:00
gillespi314
6520e90006
Update API docs for host.users.shell 2021-11-12 16:03:11 -06:00
Benjamin Edwards
44add9cc2b
snowflake & splunk logging destination documentation (#2889)
Add documentation for forwarding osquery logs to Splunk and Snowflake.
2021-11-12 17:01:58 -05:00
Noah Talerman
de1084e920
Update documentation for /policies API routes (#2892)
- Update note to inform users to expect breaking changes in Fleet 4.7.0
2021-11-12 09:08:02 -05:00
Lucas Manuel Rodriguez
1f560c56a2
Return all scheduled queries and their stats on the host fetch API (#2855)
* Return all scheduled queries and their stats on the host fetch API (pack_stats)

* Use 'pack' instead of null and wrap errs with ctxerr
2021-11-12 08:18:25 -03:00
Tomas Touceda
a0730ca643
Add update invite API (#2837) 2021-11-11 17:33:06 -03:00
gillespi314
229b91b530
Add endpoint for management of team enroll secrets (#2849) 2021-11-11 10:45:39 -06:00
Noah Talerman
f9d249882c
In API docs, update description for GET /software parameters (#2870)
- Update the specified filterable and searchable fields in `order_key`'s and `query`'s descriptions
2021-11-11 10:06:05 -05:00
Tomas Touceda
b802af6f44
Add host count to software API (#2879)
* Add host count to software API

* Update docs

* Update fleetctl tests to account for host counts

* Update docs to mention host_count special case

* Update func comment
2021-11-11 08:49:17 -03:00
Zach Wasserman
e1f273fdc0
Add multiple users for SSO testing (#2885) 2021-11-10 15:15:41 -08:00
Martin Angers
b57b64ccb2
Add total and per platform counts to host summary endpoint (#2845) 2021-11-09 09:35:36 -05:00
Zach Wasserman
f327aaaa91
Update documentation for patch releases (#2652) 2021-11-08 18:17:42 -08:00
Sevickson
ce56f81130
Add proxy usage documentation (#2836) 2021-11-08 15:25:00 -08:00