Commit Graph

779 Commits

Author SHA1 Message Date
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
Noah Talerman
ce4a3a84d2
Update documentation for /policies API routes (#2840)
- Add note that calls out breaking changes coming in the planned Fleet 4.6.0 release
- Add example policy
2021-11-08 13:57:08 -05:00
Martin Angers
1b5ec19cf5
Add author_email to payload of queries (Get/List) (#2798) 2021-11-08 09:06:56 -05:00
Zach Wasserman
11adfb4fe3
Fix typo in build docs (#2833) 2021-11-07 19:26:42 -08:00
Noah Talerman
8e3c4ac67f
Add top level links to "Contributing" section and move up Load testing "Results" (#2779)
- Add top level links to the "Seeding Data" and "API for contributors" doc pages
- Move "Results" section in "Loading testing" closer to the top of document
2021-11-05 10:03:05 -04:00
eashaw
76c5e2944f
Update adding hosts documentation (#2810)
* orbit -> fleetctl package

* Update docs/01-Using-Fleet/04-Adding-hosts.md

* Update docs/01-Using-Fleet/04-Adding-hosts.md

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2021-11-05 12:20:28 +09:00
Lucas Manuel Rodriguez
21908f31cf
GET packs to always return disabled field (#2799) 2021-11-04 14:25:08 -03:00
Tomas Touceda
2902da76ca
Issue 2027 better error visibility (#2069) 2021-11-02 13:35:57 -04:00
Martin Angers
a8735d55bb
Implement async processing of hosts for label queries (#2288) 2021-11-01 14:13:16 -04:00
Noah Talerman
5d926a4aed
Add a new "API for contributors" documentation page (#2743)
- Add `07-API-for-contributors.md` documentation page
- Move all API routes used exclusively by the Fleet UI and fleetctl clients into the new documentation page
2021-11-01 11:38:34 -04:00
Noah Talerman
45c5e29ca0
Update permissions documentation (#2721)
- Removed create/edit/delete enroll secret permissions from team level users
- Update verbiage to clarify the distinction between users with global access and users with team access.
2021-10-28 13:27:03 -05:00
eashaw
59a6dde7d1
fix code block and indentation (#2672) 2021-10-28 10:24:52 -05:00
dsbaha
51e35e1ba0
Implementation of a Kafka REST Proxy logging plugin (#2534)
This PR implements the status/result logger functions necessary interface with a Kafka REST Proxy service.  

Specifically, this is compatible with the [Confluent KAFKA Rest Proxy Service ](https://docs.confluent.io/1.0/kafka-rest/docs/intro.html).
2021-10-27 21:51:17 -07:00
Noah Talerman
e65bfc8185
Update "Learn how to use Fleet" (#2722)
* Add 3 policies and update contributor instructions

* Update capitalization

* Add policy kind option

* Add policies spec

* Remove the 'purpose' field

* Add single policy yaml documents. Update Learn how to use Fleet.

* Remove no longer relevant screenshot of live query results

* Revert changes to standard query library

* Revert changes to standard query library

* Update docs/01-Using-Fleet/00-Learn-how-to-use-Fleet.md

typo fix.

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2021-10-28 12:31:59 +09:00
eashaw
a4ae68dd1d
Add question to deployment FAQ (#2706)
* add question to faq

* Update FAQ.md

* Update FAQ.md

* Update docs/02-Deploying/FAQ.md

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2021-10-28 12:31:40 +09:00
eashaw
37a960e15d
Add documentation about vulnerability processing results (#2688)
* add faq entry about CVE detection

* Add line about where to find CVE detections

* Revert "add faq entry about CVE detection"

This reverts commit 13f623c147efbd9f29294839be7089c5b204a542.

* results section

* Update 13-Vulnerability-Processing.md

* Update 13-Vulnerability-Processing.md

* Apply suggestions from code review

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

* changing placeholder text to use brackets instead of `<>`

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2021-10-28 12:28:50 +09:00
Tomas Touceda
623a38aa9d
Live queries post merge fixes (#2684)
* Refactor based on PR review comments

* Use deadline instead of duration

* Address review comments

* Only set the timeout once
2021-10-26 16:12:07 -03:00
Tomas Touceda
79f2c7c391
Issue 1798 rest api for live queries (#2675)
* wip

* wip

* Make tests not flaky

* Add changes file

* Make logging and authz thread safe

* Move cancel defer below err check
2021-10-26 11:33:31 -03:00
Martin Angers
c0e0e461e6
Allow empty TLS CA for Redis TLS connections (#2668) 2021-10-25 14:47:53 -04:00
Lucas Manuel Rodriguez
fb1e78d039
Make /refetch run labels and policies for the host (#2651)
* Make /refetch run labels and policies for the host

* PR rework changes
2021-10-25 15:46:49 -03:00
Noah Talerman
11ecb7c1f7
Fix query syntax for several queries in the standard query library (#2664)
Fix syntax for the following queries:
- Get user files matching a specific hash
- Check for artifacts of the Floxif trojan
- Get malicious Python backdoors
2021-10-25 11:37:28 -04:00
eashaw
675f14b16b
Standard query library updates (#2546)
* update Floxif trojan query description, Add puffyCid's query, update query description styles

* Update standard-query-library.yml
2021-10-23 06:58:34 +09:00
RachelElysia
36babcc510
UI feature: Frontend of performance impact bubbles (#2589)
Includes backend fixes and test
Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-10-22 16:05:49 -04:00
Benjamin Edwards
0fb6416d45
Add Cloudwatch monitoring to AWS Terraform configs (#2485)
* add support for minio backend file carving
* add changes file
* rds alarm and sns topic
* added cloudwatch alarm documenation
* Update docs/01-Using-Fleet/06-Monitoring-Fleet.md
* update aws provider version to fix bug in ecs container insights, add more redis alerts
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-10-22 15:38:00 -04:00
Noah Talerman
887b3fa3ed
Add FAQ question and answer for "Why my host is not updating a policy's response" (#2641) 2021-10-22 15:28:43 -04:00
eashaw
d4c230fea7
Rename load testing documentation. (#2632)
* TODO: make redirect work with wildcard route

* duplicate docs route as a workaround, move redirect
2021-10-22 13:43:24 -05:00
Lucas Manuel Rodriguez
54805b5b72
Perform early session check on fleetctl commands (#2620)
* Perform early session check on fleetctl

* Add fleetctl test for the early session check
2021-10-22 15:41:17 -03:00
Zach Wasserman
4808e86c40
Add dev DB management rules to Makefile (#2643) 2021-10-22 11:26:54 -07:00
Luke Heath
99673eb148
Fix broken links to docs (#2561) 2021-10-22 12:39:20 -05:00
Lucas Manuel Rodriguez
91ae5ba870
By default, force password reset on CreateUser (#2570)
* By default, force password reset on CreateUser

* Use ptr.Bool and add test

* Add changes file

* Simple fix for e2e tests

* Add API changes
2021-10-21 15:00:38 -03:00
m4wh6k
b856f351b0
Fix broken link on QueriesListWrapper and in docs to std query lib docs (#2614) 2021-10-20 16:53:01 -07:00
Tomas Touceda
c2696c1261
Issue 1892 query perf everywhere (#2580)
* wip

* wip

* wip

* Add performance stats

* Add docs and other self review fixes

* lint

* Update based on review comments

* Add quick cleanup first and then reset to 1hr

* Reduce the load in the test
2021-10-20 18:35:38 -03:00
Tomas Touceda
cbe931c0e9
Add vulnerable filter for software and also wire up the query search (#2604)
* Add vulnerable filter for software and also wire up the query search

* Add documentation

* Update to use software list options
2021-10-20 18:01:20 -03:00
Zach Wasserman
92e3e83a74
Remove software object in list host API example (#2608) 2021-10-20 13:27:33 -07:00
Zach Wasserman
0a94cc9fa0
Update enroll secrets/teams docs (#2588) 2021-10-20 10:14:35 -07:00
Tomas Touceda
c3f7577bd8
Add query description and resolution to the list of policies in hosts (#2584)
* Add query description and resolution to the list of policies in hosts

* Add docs

* Fix get host tests
2021-10-20 12:07:16 -03:00
Martin Angers
07cf136d03
Add TLS support to Redis connections (#2568) 2021-10-20 10:09:18 -04:00
Martin Angers
057d4e8b2e
Add configuration and support for Redis to read from replicas (#2509) 2021-10-18 09:32:17 -04:00
Noah Talerman
e821bcb054
Edits to Fleet public load testing documentation (#2535)
- Add a summary to the top of the document
- Rename "Baseline Test" section to "Test parameters"
- Rename "Bare minimum setup" section to "1,000 hosts"
- Several smaller edits that call out the number of hosts tested and the results (did Fleet work?)
2021-10-15 13:52:25 -04:00
Tomas Touceda
89c6d18ed2
Issue 2293 reveal failing policies list host (#2528)
* Add host issues

* Update docs

* Remove comment

* Update tests
2021-10-15 07:34:30 -03:00
Tomas Touceda
d3a0d62902
Issue 2456 policies yaml (#2512)
* wip

* Add policy specs support

* Add documentation

* Make policy apply idempotent

* Fold in code

* Improve tests and simplify auth checks

* Lint and fix test
2021-10-15 07:34:11 -03:00
Tomas Touceda
bb1dc401a3
Load vulnerabilities alongisde the software (#2518)
* Load vulnerabilities alongisde the software

* Update docs
2021-10-14 13:51:41 -03:00
Tomas Touceda
d904d501ac
Add infra for loadtest (#2218)
* Add infra for loadtest

* Move loadtest stuff to a new file and parametrize fleet min/max capacity

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update to be ready for review

* Update link and other variables needed

* Address review comments and update links
2021-10-14 12:04:27 -03:00
Tomas Touceda
0510075398
Issue 2134 add team admin role (#2499)
* wip

* Add team admin role and tests

* Revert change in invites

* Update permission doc

* Fix lint
2021-10-13 12:34:59 -03:00
eashaw
f97072f2a4
Update using fleet FAQ (#2483)
* add question to faq

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

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2021-10-12 17:11:03 -05:00
Benjamin Edwards
16c5823692
add support for minio backend file carving (#2448)
* add support for minio backend file carving
* add changes file
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-10-12 15:32:06 -04:00
Tomas Touceda
782f276e0b
Issue 2050 add software filter list hosts (#2486)
* Add software_id filter to list hosts

* Add integration test for API endpoint

* Add doc

* Simplify sql query
2021-10-12 11:38:12 -03:00
RachelElysia
981028705e
Sentence Case: Throughout UI, tests, validators, docs (#2455) 2021-10-11 10:58:27 -04:00
Mike Thomas
f4c6c8e534
Update 00-Learn-how-to-use-Fleet.md (#2393)
Update to enroll device command to remove line-break.
2021-10-07 23:43:02 +09:00
eashaw
14ac341b30
Normalize docs and handbook headings (#2428)
* header styles

* update headers

* updated headings

* update padding

* handbook headings, update landing page breadcrumbs

* update heading and font-size

* Update 03-Example-deployment-scenarios.md

* handbook styles

* Update basic-handbook.page.js

* lint fixes
2021-10-07 23:40:22 +09:00
Martin Angers
3aef96e15c
Add test for fleetctl preview (#2388)
* Start a fleetctl preview test

* Add tests for fleetctl preview

* Fix setting of fleetctl auth token in test

* Add fleet instance vulnerabilities config to response of GetAppConfig

* Add checks that fleetctl preview enables vulnerability detection

* Adjust doc for get config API response

* Add the include-server-config flag to fleetctl get config

* Update test now that some of the PRs have been merged

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-10-07 10:19:10 -03:00
Tomas Touceda
876aa0e366
Add host count API (#2356)
* Add host count API

* Add rest api docs

* Add host count for labels and address review comments

* Add regex for id
2021-10-07 08:25:35 -03:00
Tomas Touceda
9b809a2d35
Issue 1890 host details policy (#2410)
* wip

* Add policies to hosts
2021-10-07 08:11:10 -03:00
Mike McNeil
2972b2fde0
Update 03-Example-deployment-scenarios.md (#2398)
* Update 03-Example-deployment-scenarios.md

* Update 03-Example-deployment-scenarios.md
2021-10-06 19:32:51 -05:00
Noah Talerman
a067fc1145
Update GET /software documentation to reflect the current response (#2348)
- Remove the `hosts_count` property from the `GET /api/v1/fleet/software` API route because this property is not currently included in the response.
2021-10-06 10:05:14 -04:00
eashaw
87b3563db7
Add questions to Contributing and Using Fleet FAQ (#2366)
* Update FAQ.md

* Update FAQ.md

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

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

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

I couldn't make a decision about the correct science around the mum and baby reference, so I just deleted to be safe 😅

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2021-10-06 11:51:00 +09:00
Benjamin Edwards
b2cae6321d
update deployment docs to include AWS deployment scenario (#2370) 2021-10-05 12:53:45 -04:00
eashaw
afc8bdd093
Update instructions in Enroll your own device (#2364) 2021-10-05 21:28:52 +09:00
Zach Wasserman
f8971f6f59
Fix links to tools in contributor documentation (#2363)
Fixes #2354
2021-10-04 16:36:20 -07:00
eashaw
ac45bc0706
Docs image updates (#2297)
* addred cropped images to replace images in configuration.md, fixed duplicated alt text, added box-shadow to images

* more cropping

* reduce padding on ordered lists, point urls in markdown to where images will be

* Update 02-Configuration.md

* Update build-static-content.js

* remove box-shadow on images

* Update 02-Configuration.md

* Added handbook entry about images

* changed img tags to markdown links to be consistent

* undo small style change

* Update build-static-content.js

* Update handbook/product.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>
2021-10-05 08:25:34 +09:00
eashaw
5de5b13223
Dynamic titles for documentation, query, and handbook pages (#2298)
* handling redirect

* clean up redirect/notFound flow

* dynamic query titles and description

* dynamic docs titles

* Remove locals from queries and docs, updated comment and variable names

* handling FAQ page titles

* update comment, title in meta, and adjust get started title

* remove unneeded meta tag

* handbook titles

* cleaning up conditionals

* update comments

* removed added meta tags, change meta variable names

* passing in meta description if provided, update conditionals and comments

* Update FAQ.md
2021-09-30 21:14:02 -05:00
RachelElysia
f397b77c1a
Schedule Page: Team maintainer can modify their team's schedule (#2243)
* Change permissions to schedule UI to include team maintainers
* Update e2e tests
2021-09-30 10:30:44 -04:00
Mike McNeil
d3a2083188
add example query that checks a malware artifact (#2296) 2021-09-29 22:08:39 -05:00
Tomas Touceda
36b4c0df5d
Allow team maintainers to read global policies and schedule (#2282)
* Allow team maintainers to read global policies and schedules

* Update docs
2021-09-29 14:07:10 -03:00
Renee Jackson
37c6ca1043
add e2e test descriptions (#2263)
* add e2e test descriptions

* Update docs/03-Contributing/02-Testing.md

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

Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>
2021-09-29 13:53:27 -03:00
Tomas Touceda
d9f34b2c19
Issue 1840 bulk delete hosts (#2268)
* wp

* Add test by ids

* Add changes file

* Update docs and remove unneeded return values

* Address review comments

* Improve integration tests

* Use TearDownTest
2021-09-29 13:13:23 -03:00
Tomas Touceda
435178e93c
Add bundle identifier to software when available (#2220)
* Add bundle identifier to software when available

* Update docs

* Delete unneeded test
2021-09-28 18:13:34 -03:00
Tomas Touceda
e2caf46d6d
Issue 2133 team maintainer can edit delete queries (#2256)
* wip

* Team maintainers can edit and delete queries they authored

* Update documentation

* Fix test
2021-09-28 14:53:05 -03:00
Tomas Touceda
968854c721
Correct documentation typo for interval (#2248) 2021-09-27 16:28:02 -03:00
Tomas Touceda
2033d8208c
Add policy updated at (#2246)
* wip

* Add policy updated at interval and update the UI to use that

* Update rest api

* Fix tests
2021-09-27 16:27:38 -03:00
Benjamin Edwards
2c6fbe4ea2
update deployment faq (#2216)
* update deployment faq

* Update docs/02-Deploying/FAQ.md

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

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-09-27 13:12:08 -04:00
Tomas Touceda
5653f1e868
Update URLs from team to teams, add tests for policy auth (#2228)
* Update URLs from team to teams, add tests for policy auth

* Fix test

* Address review comments
2021-09-27 14:02:11 -03:00
noahtalerman
97750d1e07
Improve examples and API documentation for managing teams with fleetctl (#2199)
- Add example `team.yml` configuration file. A file with this format can be used to apply teams using `fleetctl apply`
- Add `spec/teams` API route to API docs
2021-09-27 10:08:40 -04:00
Mike Thomas
429875d4e5
Update 00-Learn-how-to-use-Fleet.md (#2217)
Updated to reflect latest UI and query library content changes in Fleet 4.3.0.
2021-09-27 20:25:23 +09:00
Benjamin Edwards
655b57789d
add faq about host team enrollment 2021-09-23 23:38:21 -04:00
Benjamin Edwards
3987cdf82d
update deploy docs to mention the need for the mysql user to have the ability to create temporary tables for migrations (#2209) 2021-09-23 22:57:38 -04:00
Zach Wasserman
a859d46af9
Fixes to fleetctl debug archive docs (#2203) 2021-09-23 08:50:34 -07:00
Martin Angers
3ea0439cf0
Document the recommended max lifetime config for read replicas (#2189) 2021-09-22 14:44:45 -04:00
Renee Jackson
ca27bd9d5c
fix broken links by adding missing 0 (#2187)
* fix broken links by adding missing 0

* fix broken links take 2

gather links missed in first pass
2021-09-22 13:28:25 -03:00
Tomas Touceda
1f324339f8
Add jitter to intervals (#2158)
* Add max jitter percent config

* Fix jitter calc

* Remove comment

* Reduce test jitter to make tests less flaky

* Remove jitter entirely

* Document new config

* Fix doc link
2021-09-21 14:21:44 -03:00
eashaw
470889ba3a
Update code blocks in documentation (#2151)
* updated css to be compatible with Chrome 87 and earlier

* fixed JSON syntax code blocks, remove empty response data

* Update code-blocks.less

* fix broken links
2021-09-20 20:59:45 -05:00
noahtalerman
bcb5288f71
Add Policies feature to permissions documentation (#2153) 2021-09-20 18:40:11 -04:00
Martavis Parker
4f3f6187d6
Top-level seed data doc and re-numbering (#2109)
* created separate doc for seeding data

* re-numbered doc names
2021-09-20 11:48:24 -07:00
Martin Angers
86dce785ae
Improve performance of the Go test suite (#2060)
Closes #1805
2021-09-20 14:09:38 -04:00
Tomas Touceda
baa42d367e
Add team policies (#2103)
* Add team policies

* Add team policy documentation

* Add changes file

* Update titles

* Fix lint

* Rewrite TeamAuthorize for more clarify

* Explicitly use two slices for clarity

* Simplify switch
2021-09-20 11:00:57 -03:00
AndrewB
2c4ee75bc2
Update 4-Committing-Changes.md (#2047) 2021-09-17 11:19:30 -05:00
Zach Wasserman
a905cb3be5
Update SSO configuration docs (#2092)
- Include full example for Google IDP configuration
2021-09-16 12:47:04 -07:00
eashaw
57b063125e
json highlighting (#2084) 2021-09-16 16:45:14 +09:00
Mike Thomas
98499a0349
Docs image replacement (#2073)
https://github.com/fleetdm/fleet/pull/2071 (removing hardcoded widths on images) undoes what we previously did for making smaller images look good at <990px breakpoints.

Only current examples of these smaller images are on this page in the docs, although there are a couple of instances in the handbook. So I propose that we only crop images that will work at full container width sizes.

With that in mind I have replaced one of the affected images on this page.
2021-09-16 15:42:22 +09:00
Mike McNeil
e968a26b2d
Make support challenges on Chrome OS explicit in docs (#2037)
re https://github.com/fleetdm/fleet/issues/969
2021-09-15 12:00:19 -05:00
Benjamin Edwards
0bc485b32f
fix some broken document separators in standard-query-library file (#2072)
* fix some broken document separators in standard-query-library file

* remove in progress dockerfile
2021-09-15 10:21:26 -05:00
Martin Angers
1fa5ce16b8
Add configurable Redis connection retries and following of cluster redirections (#2045)
Closes #1969
2021-09-15 08:50:32 -04:00
eashaw
404ae820c9
Documentation image updates (#2071)
* remove hardcoded width on images

* fix inconsistent image padding on fleet ui docs page

* Broken link fix

Fixed a couple of broken links to help this PR pass the automated tests.

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2021-09-15 11:19:21 +09:00
Mike McNeil
029f67d36b
remove concept of "Detection", for now (in favor of what's coming) (#2046)
* remove concept of "Detection", for now (in favor of what's coming)

* remove extra --- to make YAML parse properly

* Simplify the check to remove remediation check for now

* Run compile script any time docs or handbook is changed
2021-09-14 11:43:45 -05:00
Tomas Touceda
176037cad2
Implement fleetctl get software and the underlying API (#1999)
* Implement fleetctl get software and the underlying API

* Add documentation

* Simplify list software implementation

* Lint fixes

* Make team name unique

* Address review comments

* Fix lint

* Fix tests
2021-09-14 10:58:48 -03:00
Tomas Touceda
429af72b69
Issue 1963 vulnerabilities no sync (#1976)
* wip

* Add tests for skip sync

* Add changes file

* Fix lint
2021-09-14 10:58:35 -03:00
AndrewB
ac5decde20
Update standard-query-library.yml (#2036)
* Update standard-query-library.yml

Added new queries to library

* sentence-case capitalization + standardize first word in name

* andrewbare => alphabrevity (so your picture shows up correctly on the website)

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2021-09-13 18:27:41 -05:00
noahtalerman
c5bc6b8128
Add note to POST /api/v1/fleet/queries/run about required parameter for running live query as an observer (#2028) 2021-09-13 10:58:36 -07:00
RachelElysia
d32479622c
App Settings Page: Host status webhook UI (#1899)
* Skeleton UI

* Rebase to main

* Work towards config API request modification

* Nest and unnest when formatting for server and frontend

* Changelog

* Add validation to UI, fix ? vertical spacing

* Rebase e2e

* 1 of 2 passing unit tests for config

* Update REST-API.md to include webhook_settings

* Destructure / flatten config webhook in unit test

* Merge advance options e2e conflict

* x and y example not x and x

* Fix observer e2e

* Add new data to read only example request

Co-authored-by: Noah Talerman <noahtal@umich.edu>
Co-authored-by: Martavis Parker <martavis@auraticdevelopment.com>
2021-09-10 10:49:11 -07:00
Tomas Touceda
13e5e6a6db
Debug log per host (#1978)
* Add extra debug logging for hosts

* Add changes file

* Ignore if appconfig is nil

* Use slice of uints instead of a string

* Debug response request for enabled hosts

* Add host-id to request/response

* Lint fixes

* Add missing AppConfigFuncs
2021-09-10 14:48:33 -03:00
Mike Thomas
d81698bbf5
syntax highlight text (#1989) 2021-09-09 19:04:58 -05:00
Benjamin Edwards
823775844e
added package command from orbit as fleetctl command (#1802)
* added package command from orbit as fleetctl command

* update deployment docs

* add changes file

* added tests for package command, run go mod tidy & go mod verify

* validate that package files exist

* comment out msi packaging test until we can investigate github runner permission issues
2021-09-09 01:34:12 -04:00
Tomas Touceda
b2efc9f51c
Make redis conn timeout and keep alive configurable (#1968)
* Make redis conn timeout and keep alive configurable

* Document new configs

* Correct config name
2021-09-08 17:55:12 -03:00
eashaw
13cae833c0
Change code block headings in documentation (#1943)
* updated headings to remove codeblocks

* Update 3-REST-API.md

* Update 2-Configuration.md

* h5 styles

* h6 styles, removed h5 font-size
2021-09-08 03:55:55 +09:00
Tomas Touceda
99e9e846f4
Remove id column from host_users to allow for bulk insert (#1931)
* Remove id column from host_users to allow for bulk insert

* Update documentation
2021-09-07 11:02:35 -03:00
Tomas Touceda
6d2ae02efd
Rename core->free and basic->premium (#1870)
* Rename core->free and basic->premium

* Fix lint js

* Comment out portion of test that seems to timeout

* Rename tier  to premium if basic is still loaded
2021-09-03 13:05:23 -03:00
eashaw
0cb2f21233
updated two links that linked to github (#1913) 2021-09-03 13:02:26 +09:00
Martin Angers
3755a58070
Add support for MySQL read replicas (#1786)
Adds configuration options to use a read-only MySQL replica,
and uses it instead of the primary for reads.
2021-09-01 15:50:52 -04:00
eashaw
1cca9a2a92
Remove IE11 from supported browsers on fleet website (#1865)
* adjusted isUnsupportedBrowser to include all versions of internet explorer and changed unsupported browser message for ie11

* removed ie11 from supported browsers docs page
2021-08-31 18:33:06 -05:00
noahtalerman
e1ba813f0c
Add Schedule feature to permissions documentation (#1864) 2021-08-31 09:04:55 -04:00
noahtalerman
247267daa5
Add canonical URL for link to prometheus example configuration (#1854) 2021-08-30 17:00:34 -04:00
Tomas Touceda
15b7f5dd80
Create vuln path if dynamic (#1830)
* Create vuln path if possible

* Make sure we skip creation if static instance is selected

* Document behavior

* Fix return in crons and test without sleeps
2021-08-30 12:29:05 -03:00
noahtalerman
731fb599a1
Update sources (links) to check when on call in Support process document (#1833)
- Add item and link to all "Reported bugs" (GitHub issues with the "bug" and ":reproduce" label). This way, the individual on call can navigate to a list of bugs that need reproduction. 
- Add a link to the open pull requests. This way, the individual on call can identify any PRs that have been opened by the community.
2021-08-27 14:45:41 -04:00
Tomas Touceda
8b908f6506
Issue 1599 offline webhook (#1777)
* wip

* Add tests and finish implementation

* Add proper default for periodicity, changes file, and documentation

* Fix tests and add defaults also to new installs

* EnableHostUsers should be true if undefined as well

* In some cases, periodicity can be zero because of the migrations

* Apply defaults when migrating appconfig

* Fix lint

* lint

* Address review comments
2021-08-27 11:15:36 -03:00
gillespi314
edd4366abf
Update 3-REST-API.md
Update `/config` API documentation for `osquery_detail` response in nanoseconds instead of string
2021-08-26 22:15:38 -05:00
Zach Wasserman
4eec4ebbbe
Fix typo in Prometheus docs (#1814) 2021-08-25 20:08:22 -07:00
Zach Wasserman
53e4f1077e
Add make changelog command and update documentation (#1795) 2021-08-25 15:14:24 -07:00
noahtalerman
a02bede9c7
Update "Policies" section in API docs (#1801)
- Add anchor link to "Policies" section. Move this section below "Packs"
- Add note on Fleet version in which the Policies feature will be released
2021-08-25 17:05:48 -04:00
RachelElysia
f10636f8d1
Host Details Page: Render disk space (#1770) 2021-08-25 13:05:54 -07:00
Tomas Touceda
a8642493ad
Add global policies (#1750)
* Add global policies

* Update documentation and add extra parameter to config

* Fix failing tests

* Store historic policy records

* Address review comments

And also remove other inmem references I saw by chance

* Add documentation for get by id request

* Add parameter doc

* Move schema generation to a cmd instead of a test

Otherwise it messes up running all tests sometimes depending on how parallel it does

* Remove brain dump for another task

* Make migration tests a separate beast

* Make schema generation idempotent and move dbutils cmd to tools

* Allow all filters and add counts to Policy

* Add test for Policy
2021-08-24 17:24:52 -03:00
Martin Angers
80fb3cb145
Run golangci-lint with the make lint-go target, adjust workflows (#1778) 2021-08-24 15:36:50 -04:00
William Theaker
c81a18922d
Vuln processing documentation tweak (#1768) 2021-08-23 16:37:00 -07:00
Martin Angers
605983f422
Mention the forward-only migrations in the docs (#1767) 2021-08-23 14:26:34 -04:00
Zach Wasserman
2d22020973
Update live query API documentation (#1745)
Attempt to add clarity to the process of using the API to run live queries.
2021-08-19 16:39:17 -07:00
Zach Wasserman
23fabff12a
Update host API doc (#1744)
Include software inventory and users in example response.
2021-08-19 16:22:17 -07:00
noahtalerman
4836864db6
Fix anchor links for "Get enroll secrets" and "Modify enroll secrets" sections in API docs (#1738) 2021-08-19 17:03:35 -04:00
Mike Thomas
7b3b24547d
Updated product name on website and docs (#1731)
Updated product name on website and docs
2021-08-19 12:50:21 -05:00
Mike Thomas
9bef2a1a1b
update-ask-questions-about-your-devices.md (#1734)
Changes name to "0-Learn-how-to-use-Fleet.md," moved into "1-Using-Fleet" folder, and deleted "Tutorials" folder.
2021-08-19 23:39:22 +09:00
Mike Thomas
457ba20aa0
Update Ask-questions-about-your-devices.md (#1733)
* Update Ask-questions-about-your-devices.md

Further edited the doc for tone and grammar.
Added section about enrolling your own device.

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

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

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

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

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

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

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

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

Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>
2021-08-19 22:27:53 +09:00
Zach Wasserman
403f9d2c74
Clarify Safari in supported browsers doc (#1725) 2021-08-18 17:29:25 -07:00
noahtalerman
3725781597
Move vulnerabilities configuration options into 2-Deploying/2-Configuration.md (#1722)
- Move vulnerabilities config options into `2-Deploying/2-Configuration.md` and link to these options from the Vulnerability processing docs
2021-08-18 17:16:59 -04:00
Tomas Touceda
70f728fe84
Make vulnerability processing more configurable (#1718)
* Make vulnerability processing more configurable

* Simplify leader selection
2021-08-18 17:25:14 -03:00
Mike McNeil
8097251565
Put live documentation on fleetdm.com (#1380)
* minor clarifications

* further expand comments and stubs

* absorb custom titles embedded in metadata, plus further comment expansion and a followup fix for something i left hanging in f8cbc14829d91e7577c63307fd9c4346dbc229bb

* Skip non-markdown files and use real path maths

* Prep for running in parallel (Remove `continue` so this isn't dependent on the `for` loop)

* determine + track unique HTML output paths

* Compile markdown + spit out real HTML  (without involving any but the crunchy nougaty dependency from the very center of everything)

* add md metadata parsing

* add timestamp

* Update build-static-content.js

* attach misc metadata as "other"

* how doc images might should work (this also aligns with how the select few images in the sailsjs.com docs work)

* add file extension to generated HTML files

* "options"=>"meta"

* Make "htmlId" useful for alphabetically sorting pages within their bottom-level section

See recent comments on https://github.com/fleetdm/fleet/issues/706 for more information.

* list out the most important, specific build-time transformations

* Omit ordering prefixes like "1-" from expected content page URLs

* add a little zone for consolidating backwards compatible permalinks

* interpret README.md files by mapping their URLs to match their containing folder

* clarify plan for images

* decrease probability of collisions

* Make capitalization smarter using known acronyms, proper nouns, and a smarter numeric word trim

* Resolve app path in case pwd is different in prod

* Delete HTML output from previous runs, if any

* condense the stuff about github emojis

* got rid of "permalink" thing, since id gets automatically attached during markdown compilation anyway

Also "permalink" isn't even a good name for what this is.  See https://github.com/fleetdm/fleet/issues/706#issuecomment-884693931

* …and that eliminates the need for the cheerio dep!

* Bring in bubbles+syntax highlighting into build script, and remove sails.helpers.compileMarkdownContent()  -- this leaves link munging as a todo though

* trivial (condense comments)

* Remove unused code from toHtml() helper

* Implemented target="_blank" and root-relative-ification

* remove todo about emojis after testing and verifying it works just fine

* trivial: add link to comment in case github emojis matter at some point

* consolidate "what ifs" in comments

* Leave this up to Sarah, for now. (Either bring it back here in the build script or do it all on the frontend)

* Enable /docs and /handbook routes, and add example of a redirect for a legacy/deprecated URL

* implement routing

* Upgrade deps

this takes advantages of the latest work from @eashaw, @rachaelshaw, and the rest of the Sails community

* tweak var names and comments

* make readme pages use their folder names to determine their default (fallback) titles

as discussed in https://github.com/fleetdm/fleet/issues/706#issuecomment-884788002

* first (good enough for now) pass at link rewriting

as discussed in https://github.com/fleetdm/fleet/issues/706#issuecomment-884742072

* Adapt docs pages to build from markdown output

* Continue work on docs pages

* Add landing page

* Remove unused code; minor changes

* Replace regex

* fixes https://github.com/fleetdm/fleet/pull/1380#issuecomment-891429581

* Don't rely on "path" being a global var

* Syle fleetdm doc pages

* Continue work on docs pages

* Fix linting error

* Disable lesshint style warnings

* parasails-has-no-page-script attribute

Added a parasails-has-no-page-script attribute to the docs template, added a check for that attribute in parasails.js and removed the empty page script for 498

* bring in latest parasails dep

* trivial

* Update links to dedupe and not open in new tab unless actually external

* Disable handbook for now til styles are ready

* fix CTA links

* trivial

* make sitemap.xml get served in prod

* hide search boxes for now, remove hard-coded version and make releases open in new tab

* clean out unused files

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: eashaw <caglc@live.com>
2021-08-17 19:55:13 -05:00
Martin Angers
ed428d707b
Clarify a few points in the Contributing docs (#1692)
Document that `fleet serve --dev` requires `make generate-dev` and
that for changelog we now use changes files.
2021-08-16 14:59:03 -04:00
RachelElysia
7d23ff2b53
Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
Zach Wasserman
9a5842d9c3
Document minimal online keys for Orbit updates (#1678) 2021-08-15 16:47:24 -07:00
Benjamin Edwards
2d5c7ed683
issue 1313 -- add file destination for convert command (#1672)
* add file destination flag for convert command, add tests
* add changes file
* remove leftover debugging code, add comment explaing why sorting was necessary
* update docs for fleetctl convert
* Update cmd/fleetctl/convert_test.go
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-08-13 20:42:58 -04:00
noahtalerman
b2c7faf251
Update "Ask questions about your devices" walkthrough and update API docs (#1670)
- Remove "How to add Fleet's standard query library" section from the "Ask questions about your devices" walkthrough.
- Add `license`, `vulnerability_settings`, and `logging` properties to the example response for the `GET /api/v1/fleet/config` and `PATCH /api/v1/fleet/config` API routes
2021-08-13 15:01:53 -04:00
noahtalerman
e2e812d9c2
Add correct query (#1669)
- Replace incorrect query
2021-08-13 15:00:46 -04:00
Mike Thomas
4cb315e2f1
Update 12-Supported-browsers.md (#1653)
Grammar/typo fix.
2021-08-11 20:26:29 -05:00
Mike Thomas
bc24e88b66
Update Ask-questions-about-your-devices.md 2021-08-12 10:20:54 +09:00
noahtalerman
2df7c71749
Prepare for Fleet 4.2.0 (#1645) 2021-08-11 17:14:32 -07:00
Zach Wasserman
544652e833
Clarify label responses and API docs (#1633)
- Include platform and description even when empty in API responses.
- Update docs to indicate immutability.
2021-08-11 14:57:05 -07:00
Mike Thomas
1d6aa19990
Update Ask-questions-about-your-devices.md 2021-08-12 06:34:24 +09:00
Mike Thomas
dca5aac6e1
Update Ask-questions-about-your-devices.md (#1642)
* Update Ask-questions-about-your-devices.md

Added screenshots.

* Update Ask-questions-about-your-devices.md

changed to img tags for better control of sizing.

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md
2021-08-12 06:31:34 +09:00
Tomas Touceda
3d8a766ca1
Make receive calls to redis conn thread safe (#1641)
* Make receive calls to redis conn thread safe

Also removes REDIS_TEST env var. Redis is lightweight and fast, no need
to skip these tests.

* No need to increase the wait
2021-08-11 17:34:35 -03:00
Tomas Touceda
ae2bd137b1
Issue 1632 software inventory config (#1636)
* Add config option for software inventory

* Add documentation for the new config
2021-08-11 15:57:53 -03:00
Tomas Touceda
cf6f2152b6
Document vulnerability processing configuration (#1616)
* Document vulnerability processing configuration

* Fix review comments
2021-08-11 13:42:16 -03:00
noahtalerman
63e598e595
API documentation for "filter hosts by team" (#1510) 2021-08-11 11:14:59 -04:00
Tomas Touceda
989e638cc0
Make creating dirs and files more secure by checking permissions (#1566)
* Add safe mkdirall and open

* Use secure as much as possible and merge gomodules for orbit to fleet

* Improve openfile and mkdirall to check for permissiveness instead of equality

* Don't shift

* Fix links

* Address review comments
2021-08-11 11:02:22 -03:00
Mike Thomas
41e8ab271c
Update Ask-questions-about-your-devices.md (#1575)
Checked and fixed a couple of typos here and there, and made some edits to some of the sentence structure to improve the flow, and to soften the tone a bit.
2021-08-11 12:15:49 +09:00
Zach Wasserman
6a1b82f52f
Add yarn install to Windows instructions (#1606) 2021-08-09 18:21:42 -07:00
Tomas Touceda
ccd52985ac
Add Team Schedule documentation (#1576)
* Add Team Schedule documentation

* Update docs/1-Using-Fleet/3-REST-API.md

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

Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>
2021-08-06 11:19:20 -03:00
noahtalerman
d5974aad97
Add valid time units to Configuration documentation (#1548)
- Specify valid time units of `s`, `m`, and `h` for the `session_duration`, `osquery_label_update_interval`, and `osquery_detail_update_interval` configuration options.
2021-08-04 12:31:24 -04:00
noahtalerman
dea00479d7
Add "Asking questions about your devices" tutorial to "Using Fleet" documentation (#1530)
This tutorial is the first step at bridging the gaps between trying Fleet, getting to know Fleet in an enterprise setting, and deploying Fleet.

- Add "tutorials" subdirectory 
- Add walkthrough
- Remove duplicate documentation from "Fleet UI" section
- Link to walkthrough from top-level README
2021-08-03 11:22:42 -04:00
noahtalerman
741cfb6a58
Add /activities API route to API documentation (#1529) 2021-08-02 13:49:51 -04:00
Tomas Touceda
da46ecc002
Update FAQs based on lessons learned (#1495)
* Update FAQs based on lessons learned

* Update docs/2-Deploying/FAQ.md

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

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-07-28 19:30:03 -03:00
noahtalerman
da7925e1d7
Remove changes files. Update release process. Update support process (#1492)
- Remove changes files that were collected during the 4.1.0 release cycle
- Add removing changes files step to release process documentation
- Update support process docs to reflect the change to discussing the last on-call rotation at 🍽️  Daily standup meeting
2021-07-27 17:06:16 -04:00
Mike McNeil
7a9d530938
fix copy/paste mistake in docs (#1487) 2021-07-27 11:17:04 -05:00
AndrewB
1decb2a56f
Add "Find deleted files from disk" to Standard query library (#1481) 2021-07-27 09:33:33 -04:00
noahtalerman
3478e2759d
Add the query that populates the 'Users' table in the Fleet UI to the standard query library (#1453)
- The included query populates the `users` property in the `/api/v1/fleet/hosts/{id}` response object.
- This information also populates the new "Users" table on the Host details page
2021-07-26 09:54:50 -04:00
Mike Thomas
27303765cf
Update FAQ.md (#1462)
fixed a small grammatical error.
2021-07-23 21:33:52 +09:00
Mike McNeil
200bc0c036
revert 39d55bf66a 2021-07-22 02:23:42 -05:00
Mike McNeil
39d55bf66a
Test emoji compilation 2021-07-22 02:21:58 -05:00
Benjamin Edwards
799243ffb5
Windows friendly changes after walking through getting started guide (#1441)
* update .gitattributes to be explicit about line endings with regards to the test certs
* update building-fleet guide to include python2 dependency on windows
* update configuration to default to OS specific temporary directories
2021-07-21 20:49:44 -04:00
Tomas Touceda
484c6153e3
Issue 1359 fleetctl team transfer (#1413)
* wip

* Add delete user command and translator

* Add host transfer command

* Add changes file

* Undo bad refactor

* Fix copypaste error

* Implement with interfaces instead of assertions

* Ad documentation and simplify implementation further

* Update docs/1-Using-Fleet/3-REST-API.md

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

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-07-21 14:03:10 -03:00
noahtalerman
00ea74ed80
Add YARA configuration to documentation (#1428)
- Add example YARA config to the configuration-files documentation
- Update `single-file-configuration.yml`
2021-07-21 10:04:50 -04:00
noahtalerman
285d1e66ca
Remove duplicate sections from REST API documentation (#1427)
- Remove duplicate "Transfer hosts to a team" and "Transfer hosts to a team by filter" sections
2021-07-20 09:57:14 -04:00
noahtalerman
7caedd9347
Add routes for Schedule feature to REST API documentation (#1401)
Add documentation (route, parameters, example) for the following routes:
- `GET /api/v1/fleet/global/schedule`
- `POST /api/v1/fleet/global/schedule`
- `PATCH /api/v1/fleet/global/schedule/{id}`
- `DELETE /api/v1/fleet/global/schedule/{id}`
2021-07-19 09:58:41 -04:00
noahtalerman
6c22965917
Update screenshots and verbiage in Configuring Single Sign On documentation (#1396)
- Add new example Okta configuration screenshot
- Add new example Fleet configuration screenshot
2021-07-15 15:55:12 -04:00
noahtalerman
2c277ba28a
Update documentation for auto table construction (#1353)
- Move auto table construction (ATC) docs into the "Organization settings" section.
2021-07-12 10:36:49 -04:00
gillespi314
099b26724e
Update 2-Testing.md
Correct commands for launching Cypress tests in interactive mode
2021-07-11 10:51:05 -05:00
Tomas Touceda
587f6166a8
Add changes files doc (#1311)
* Describe changes files

* Minor fixes
2021-07-06 18:50:42 -03:00
noahtalerman
498209614c
Update examples in documentation to use FleetDM where possible (#1310)
- Remove "Connecting a host" from fleetctl documentation
- Remove queries from REST API examples
- Point to Launcher documentation
- Update community projects
2021-07-06 12:14:20 -04:00
Zach Wasserman
fe230bb9f4
Add FAQ entries for common migration and TLS questions (#1307)
Closes #1303
2021-07-05 17:52:13 -07:00
noahtalerman
9fb1f9cac1
Add link to Loom video that walks through setting up dev environment (#1304) 2021-07-05 18:45:41 -04:00
Mike Thomas
27c3a6dcd8
Remove legacy images from docs (#1296) 2021-07-06 07:13:48 +09:00
Mike McNeil
77f5b60b52
Fix broken links to binaries in docs (#1277)
* Update 8-Updating-Fleet.md

* Update 8-Updating-Fleet.md

* Update 3-Example-deployment-scenarios.md
2021-07-03 11:36:27 -05:00
Zach Wasserman
8384034e04
Update create user validation and documentation (#1285)
Closes #1272
2021-07-02 08:35:26 -07:00
Mike Thomas
8ca5031071
Update standard-query-library.yml (#1284) 2021-07-01 19:16:00 -05:00
Mike McNeil
162d9fd892
Update 1-Installation.md 2021-07-01 15:57:35 -05:00
Martavis Parker
5d0c7e510e
New Cypress configs and commands (#1268)
* #1024 added configs and commands to run

* #1024 fixed github actions for e2e tests

* #1024 optimized test configs
2021-07-01 10:32:12 -07:00
noahtalerman
2f42c281f9
Move configuration examples out of fleetctl-CLI documentation (#1253)
- Move configuration files examples from 2-fleetctl-CLI.md into /configuration-files/README.md. 
- Update example configuration files with "agent options" and remove all references to "osquery options"
- Update numbering for documentation files
2021-06-29 13:59:54 -04:00
Mike Thomas
ba2bffd34c
Add supported browsers to Fleet docs (#1227) 2021-06-29 10:38:27 -04:00
noahtalerman
59e31911c9
Update REST API documentation in preparation for Fleet 4.0.0 (#1235)
- Add link and warning to REST API docs for Fleet v3
- Update various endpoints
2021-06-28 14:41:01 -04:00
noahtalerman
7a9e662f07
Add documentation for publishing a prerelease version of fleetctl to npm (#1236) 2021-06-28 13:58:33 -04:00
noahtalerman
6c03415dae
Update documentation structure (#1230)
- Remove `2-Orbit-osquery` directory
- Rename `3-Deployment` directory to `2-Deploying`
- Rename `4-Contribution` directory to `3-Contributing`
2021-06-28 11:15:22 -04:00
Zach Wasserman
b00df0929e
Fix URLs in documentation (#1218)
Fix URLs not caught in previous PR CI run.
2021-06-25 19:23:45 -07:00
Zach Wasserman
444a935404
Fix doc directories (#1217)
Erroneous merge required fixing of doc directory naming.
2021-06-25 19:02:57 -07:00
Zach Wasserman
5e26af701b Merge branch 'main' into teams 2021-06-25 18:48:20 -07:00
Zach Wasserman
07b89c4cbd
Implement release automation (#1215)
- Use goreleaser to automate release process.
- Add new dockerfiles for fleet (with fleetctl) and fleetctl (only).
- Add GitHub Action Workflow to run goreleaser on new tag.
- Update NPM to match new archive naming.
2021-06-25 18:40:26 -07:00
noahtalerman
7aa380b0f0
Add testing fleetctl to the manual QA doc and update example config files (#1213)
- Update enroll secret config file with updated fields for Fleet 4.0.0
- Remove agent options config file. In Fleet 4.0.0, agent options are part of the organization settings configuration
2021-06-25 17:56:00 -04:00