Commit Graph

609 Commits

Author SHA1 Message Date
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