Commit Graph

1172 Commits

Author SHA1 Message Date
Zach Wasserman
9606196feb
Minor improvements in the FAQ (#93) 2020-12-03 08:41:38 -08:00
Zach Wasserman
698b8ab882
Add FAQ question about resetting auth tokens (#92)
Related to #89
2020-12-03 08:41:23 -08:00
Zach Wasserman
47b4f07afb
Add documentation on Fleet performance (#86)
- Document scaling.
- Document debugging steps/tools.
- Update issue template to request debug archive.
2020-12-02 09:46:02 -08:00
Zach Wasserman
7d299ca6f7
Add fleetctl.exe.zip to release process (#80)
Closes #56
2020-12-02 08:24:34 -08:00
noahtalerman
268b752366
Change name to Fleet in documentation. (#77)
In the documentation, all references to the Fleet product now use "Fleet" instead of "Kolide Fleet"
2020-12-01 13:34:08 -05:00
noahtalerman
ff2ebf513b
Add answer to label refresh question to infrastructure docs. (#62)
This question and answer originated from issue #57.

Closes #57
2020-11-23 11:07:51 -08:00
noahtalerman
32f466d6c0
Add documentation for authentication API endpoints (#44)
Endpoints that have been added:
- /api/v1/kolide/login POST
- /api/v1/kolide/logout POST
- /api/v1/kolide/forgot_password POST
- /api/v1/kolide/me GET
- /api/v1/kolide/change_password POST
- /api/v1/kolide/perform_required_password_reset POST
- /api/v1/kolide/sso POST
- /api/v1/kolide/sso GET
2020-11-20 16:57:13 -08:00
noahtalerman
d3d4f81530
Add instructions for running osquery agents to development docs. (#58)
Used same verbiage from osquery-in-a-box README (https://github.com/fleetdm/osquery-in-a-box#run-osquery).
2020-11-19 16:36:27 -08:00
Mike McNeil
df3b7f2852
Has anyone stress tested Fleet? (#49)
Update FAQ with answer to this question.
2020-11-19 15:53:12 -08:00
Zach Wasserman
d89523c830
Add fleetctl installer for NPM (#52)
This PR adds all the necessary configuration to install fleetctl via NPM.

Binaries are downloaded from the GitHub release page.
2020-11-18 13:20:08 -08:00
noahtalerman
ecf6fd1c91
Add instructions to connect to Mailhog server in development docs. (#46)
Added walkthrough for users attempting to connect to MailHog server.

Connecting to the simulated mail server allows contributors to interact with features in Fleet UI that require email configuration.
2020-11-17 15:20:46 -08:00
noahtalerman
74700fc2fb
Linked development-infra docs from building-the-code docs. (#41)
Added link to development-infrastructure docs at the end of building-the-code docs to walk contributors to the next step of serving Fleet locally.

Added --auth_jwt_key="insecure" flag to fleet serve command in development-infrastructure docs.
2020-11-16 11:50:58 -08:00
Zach Wasserman
6cbd10965c
Add dev infrastructure and docs for Prometheus monitoring (#33)
- Set up a simple example of Prometheus monitoring in the development
  docker-compose.yml.
- Add documentation for configuring Prometheus.
2020-11-12 19:06:56 -08:00
Zach Wasserman
138329c371
Fix markdown documentation links (#35)
- Update/remove broken links
- Add appropriate ignore rules for example URLs and osquery site
2020-11-12 19:06:06 -08:00
Zach Wasserman
89c775dd95
Include fleetctl binary archives in release (#31)
This adds tooling to include fleetctl binaries (in separate .tar.gz
archives for each platform) in the release.
2020-11-12 18:03:01 -08:00
noahtalerman
6536ba6ab7
Removed $ character from all shell commands in docs. (#32)
$ character is now removed from all shell commands in markdown documentation.

When docs are eventually compiling to we can add $ automatically to code blocks.
2020-11-12 13:50:08 -08:00
noahtalerman
227f854d8f
Beginning of REST API documentation. Added info for /hosts endpoint. (#29)
The beginning of REST API documentation for Fleet.
Added information and example for the /hosts endpoint.
2020-11-12 12:20:39 -08:00
noahtalerman
0085ba4246
Answer to database connection error added to infrastructure faq. (#30)
My best attempt at steps to solve the common database connection error users receive when installing or updating Fleet.

Inserted 'Why am I receiving a database connection error when attempting to "prepare" the database?'.

Also simplified the answer to "Is Fleet available as a SaaS product?".
2020-11-12 10:09:02 -08:00
Zachary Wasserman
f08557d33b
Update Slack channel names (#22) 2020-11-04 21:52:20 -08:00
noahtalerman
ecacbf212b
Changes to additional links for transition to fleetdm (#21) 2020-11-04 21:48:39 -08:00
noahtalerman
0ff621670c
Changed the Help link and other links to fleetdm/fleet documentation 2020-11-04 21:36:06 -08:00
Zachary Wasserman
e452cc6a8a
Add file carving support (#15)
- Add endpoints for osquery to register and continue a carve.
- Implement client functionality for retrieving carve details and contents in fleetctl.
- Add documentation on using file carving with Fleet.

Addresses kolide/fleet#1714
2020-11-04 20:45:16 -08:00
Mike McNeil
660289e89d
Add GOPATH tips to contributor docs (#13) 2020-11-04 20:29:27 -08:00
noahtalerman
be28d8e3c6
Update build documentation (#3)
Co-authored-by: Mike McNeil <7157539-mikerlmcneil@users.noreply.gitlab.com>
2020-11-03 15:18:45 -08:00
Brendan Shaklovitz
c6b285c56e
Remove soft-deletion pattern (#2327)
* Perform migration to delete any entries with `deleted` set, and
subsequently drop columns `deleted` and `deleted_at`.
* Remove `deleted` and `deleted_at` references.

Closes #2146
2020-10-22 10:51:26 -07:00
Brendan Shaklovitz
8246b4d1f8
fleetctl: allow disabling packs via apply (#2325)
Closes issue #2240
2020-10-21 16:29:27 -07:00
daniel-infosec
6a8a02fdd2
Update faq with bad record MAC fix suggestion (#2331) 2020-10-14 08:41:35 -07:00
Stefhen Hovland
7ce0472c2c
Add -L option to curl (#2305)
The example in the README won't follow the github redirect without `-L`, so the example as is will download an html file instead of the actual `fleet.zip`. This fixes that.
2020-09-24 10:42:19 -07:00
Zachary Wasserman
d959a4e4af
Fix Slack invitation URL (#2303)
Closes #2299
2020-09-17 13:18:04 -07:00
Lars Lehtonen
d193ea1717
Remove Support for Deprecated TLSProfileOld (#2142)
Co-authored-by: Zachary Wasserman <zach@dactiv.llc>
2020-09-10 09:31:01 -07:00
James Alseth
3a63dac4a3
Add compression option for filesystem logs when they're rotated (#2292) 2020-09-09 13:33:32 -07:00
James Alseth
e88ea5dca5
Fix typo in logging_disable_banner docs (#2289) 2020-09-09 13:32:13 -07:00
billcobbler
20328b0f87
Add stdout and kinesis logger plugins and sts assume role to Firehose (#2282)
Co-authored-by: Brendan Shaklovitz <nyanshak@users.noreply.github.com>
2020-08-19 14:56:44 -07:00
Zachary Wasserman
09632fb1ed
Add note about downtime during database migrations (#2279)
This should help clarify that migrations should be run with server
instances stopped.
2020-08-06 17:16:23 -07:00
Stephan Miehe
2ad5205a4b
Add support for conn_max_lifetime (#2270)
This adds support to configure MySQL conn_max_lifetime.
2020-07-30 09:00:42 -07:00
Stephan Miehe
cf4d8ecfee
Add redis database number support (#2269)
Fixes #2268
2020-07-30 08:57:25 -07:00
Zachary Wasserman
42bea2a144 Implement manual labels
"Manual" labels can be specified by hostname, allowing users to specify
the membership of a label without having to use a dynamic query. See the
included documentation.
2020-07-21 14:05:46 -07:00
William Theaker
b5b43e7aa7
Brief Auto Table Construction docs (#2249) 2020-06-30 09:18:50 -07:00
Zachary Wasserman
c1aa8355cb
Add support for multiple enroll secrets (#2238)
- Support multiple enroll secrets
- Record name of enroll secret used when host enrolls
- Update fleetctl and UI to support these features
2020-05-29 09:12:39 -07:00
Zachary Wasserman
619e36755c
Add capability to collect "additional" information from hosts (#2236)
Additional information is collected when host details are updated using
the queries specified in the Fleet configuration. This additional
information is then available in the host API responses.
2020-05-21 08:36:00 -07:00
William Theaker
ea2390614a
Update Firehose logging docs (#2230)
Fixes a couple of inconsistencies and clarifies configuration.
2020-05-12 13:30:14 -07:00
Zachary Wasserman
08225f9c34
Update client auth docs (#2219)
Suggest that users front Fleet with a proxy to do TLS client auth.
2020-04-13 13:49:09 -07:00
Zachary Wasserman
53256917a3
Add fleetctl convert to fleetctl file format docs (#2201) 2020-03-02 17:05:01 -08:00
Zachary Wasserman
f6223ca0e4
Add ability to modify host detail update interval (#2200)
This may be desirable for some deployments to reduce server load.
2020-03-02 11:08:08 -08:00
Zachary Wasserman
6dbc3bc77a
Implement fleetctl goquery (#2186)
- Update fleet APIs to support necessary operations in goquery
- Implement support for goquery in fleetctl
2020-01-23 21:27:20 -08:00
Zachary Wasserman
ee0a6e9064
Add deprecation warning for "old" TLS compatibility (#2183)
Warn users in advance of removing this in #2142.
2020-01-14 09:36:07 -08:00
billcobbler
a856fd5c0b Add fleetctl get/apply config (#2143)
Implements #1953
2019-11-19 21:13:15 -08:00
Zachary Wasserman
b02a42dc3b
Document release process (#2151)
Closes #2056
2019-11-17 14:09:48 -08:00
Zachary Wasserman
7cb45305b2
Update query scheduling FAQ (#2144) 2019-11-12 08:55:46 -08:00
Zachary Wasserman
adf87140a7
Add ability to prefix Fleet URLs (#2112)
- Add the server_url_prefix flag for configuring this functionality
- Add prefix handling to the server routes
- Refactor JS to use appropriate paths from modules
- Use JS template to get URL prefix into JS environment
- Update webpack config to support prefixing

Thanks to securityonion.net for sponsoring the development of this feature.

Closes #1661
2019-10-16 16:40:45 -07:00
Austin Burnett
59efb495ca Add automatic host expiration capability (#2117)
When configured, this feature will delete hosts that have not checked in after the specified number of days.

Closes #1860.
2019-10-16 16:35:17 -07:00
William Theaker
12f288730f Update SAML documentation (#2113)
Provide details for Okta and split out Salesforce example.
2019-10-11 15:14:56 -07:00
Zachary Wasserman
3b50bf0a5f
Update documentation to use enroll_secret_path (#2088)
Fixes #2002
2019-08-01 16:20:22 -07:00
Michael Samuel
969d5f25af Add Google Cloud PubSub logging (#2049)
Adds Google Cloud PubSub logging for status and results.

This also changes the Write interface for logging modules to add a context.Context (only used by pubsub currently).
2019-07-16 15:41:50 -07:00
Vegar Sechmann Molvig
e513cd275c Fix documentation typos: fileystem -> fileystem (#2070) 2019-07-03 12:41:15 -07:00
Zachary Wasserman
bf6c6b3a40 Update docs and Makefile to use Github releases for binaries (#2055) 2019-06-04 13:42:41 -04:00
Zachary Wasserman
bf36146320 Modify updating documentation to point to Github releases page (#2045) 2019-05-16 17:53:54 -04:00
Zachary Wasserman
e59714242e
Add Firehose logging capabilities for result and status logs (#2022)
- Refactor configuration for logging to use separate plugins
- Move existing filesystem logging to filesystem plugin
- Create new AWS firehose plugin
- Update documentation around logging
2019-04-08 11:47:15 -07:00
Joseph Henrich
878879faa3 Update uses of config_tls_refresh to config_refresh in docs (#2009) 2019-03-09 13:48:19 -08:00
Zachary Wasserman
c8229cc0d6
Replace uses of the term "Kolide" with "Fleet" (#1999)
Almost two years ago, we began referring to the project as Fleet, but there are
many occurences of the term "Kolide" throughout the UI and documentation. This
PR attempts to clear up those uses where it is easily achievable.

The term "Kolide" is used throughout the code as well, but modifying this would
be more likely to introduce bugs.
2019-01-24 09:39:32 -08:00
Zachary Wasserman
fb9be42a45
Add jwt_key to the example Fleet configurations (#1993) 2019-01-17 11:26:44 -08:00
Zachary Wasserman
38d280bca1
Add FAQ for Fleet deployments (#1992) 2019-01-16 15:28:38 -08:00
Zachary Wasserman
76591eaee2
Add documentation on OWASP Top 10 (#1991)
Thanks to @benbasscom who interviewed me and put together this document.

Closes #1951
2019-01-16 12:50:50 -08:00
Joseph Henrich
4cc41b9485 Fix typo in query yaml example (#1984) 2019-01-14 13:48:44 -08:00
Zachary Wasserman
f7875dc19e
Clarify platform overrides in fleetctl docs (#1985) 2019-01-11 09:21:28 -05:00
Zachary Wasserman
546bfc0e03
Add documentation on server_tls_compatibility flag (#1982) 2019-01-07 15:03:51 -08:00
Zachary Wasserman
c9334f1c83
Fix missing word in adding hosts to fleet docs (#1964) 2018-12-07 15:20:44 -08:00
Zachary Wasserman
545bc6fccb
Add LimitNOFILE to example systemd file (#1958)
This mitigates a common issue for systemd users.

Closes #1955
2018-11-20 17:19:44 -08:00
Blake Atkinson
510ec10769 Documentation: Add mysql conn limits (#1947) 2018-11-01 17:43:24 -04:00
Matt Southworth
863677515e Update README.md (#1936)
Grammar fix
2018-10-09 17:54:48 -06:00
Zachary Wasserman
85ff9d6cf1
Update API docs for Fleet 2.0 (#1926) 2018-09-21 11:22:45 -04:00
Adam Guenther
55ca7bd351 Update osqueryd launch command with flags (#1925)
Update command to be more copy paste ready.
2018-09-19 10:03:56 -04:00
Zachary Wasserman
686e8516e6
Add MySQl version information to infra docs (#1919) 2018-09-11 10:56:14 -07:00
Zachary Wasserman
b220aa23e6
Remove reference to quickstart in documentation (#1905) 2018-08-17 09:21:11 -07:00
Zachary Wasserman
6bdddfacf0
Expose API Token in UI (#1868)
Useful for SAML login users who cannot log in with `fleetctl login`. Instead
they can pull their session token from the UI and configure the fleetctl client
to use it.

Closes #1865
2018-07-17 11:27:30 -07:00
Mike Arpaia
626cda2d4f
Add the scheduling queries doc back to the repo (#1862) 2018-07-12 10:08:37 -06:00
Zachary Wasserman
88cc73e4ca
Fix errors and clarify docs on config platform overrides (#1855)
Closes #1846
2018-06-28 12:02:31 -07:00
Zachary Wasserman
de4e744b80
Fix All Hosts label in docs (#1841) 2018-06-20 10:07:42 -07:00
Fritz
ece499d2f6 Add workspace preparation instructions (#1833)
Individuals unaccustomed to building Go projects from source may encounter difficulties cloning into the repo if they choose an arbitrary directory not in ~/go/src. Attempting to build the repo elsewhere will result in the `make deps` command failing. This change adds workspace prep instructions.
2018-06-18 09:23:52 -06:00
Adam Guenther
8f0131cc1d Update fleet-on-centos.md (#1832)
-Updated cp to reflect addition of fleetctl to archive
-Updated MySQL setup to reflect setting root password when installed from .rpm and taking into account password validation requirement defaults.
-Updated echo command with sudo tee due to permission denied
2018-06-17 10:00:26 -06:00
Caleb Coy
cc11ba1deb Fix link to readme for osquery configuration(#1826) 2018-06-15 11:26:34 -04:00
adamguenther
ead1a1bdab Update fleet-on-ubuntu.md (#1825)
- Updat binary names to reflect binaries in latest archive
- Add line to 'sudo cp fleet/linux/fleetctl  /usr/bin/fleetctl
- Change echo string for enroll_secret to use sudo tee due to permission denied
2018-06-15 11:24:41 -04:00
Mike Arpaia
f91790b174
Add template and directory for ADRs (#1807) 2018-06-04 09:39:50 -06:00
Mike Arpaia
f6aa2fbb23
Fix an error in the file format docs thanks to @thorduri 2018-05-30 16:29:13 -07:00
Mike Arpaia
3639aebc4f
Fix typo in CLI docs 2018-05-30 10:19:07 -07:00
Mike Arpaia
3a6c923d8d
Use https://fleet.corp.example.com as demo Fleet server address 2018-05-23 22:02:55 -06:00
Mike Arpaia
fc33f3cbd1
update the update instructions 2018-05-23 15:43:28 -06:00
Mike Arpaia
1d70b082a5
Add a setup guide for new CLI users (#1798) 2018-05-22 17:57:56 -06:00
Mike Arpaia
bd91095905
Fleet 2.0.0 Changlelog (#1797)
This PR adds a "New Features" and "Upgrade Plan" section to the pending 2.0.0 release notes.

close #1793 
close #1794
2018-05-22 12:48:18 -06:00
Mike Arpaia
2f997b7f22
Merge master 2018-05-07 22:57:08 -06:00
Mike Arpaia
567e3bb228
Update documentation (#1767) 2018-05-07 19:53:53 -06:00
Mike Arpaia
2795a61b3c
Working prototype of fleetctl apply (#1762) 2018-05-07 17:50:20 -06:00
Caleb Coy
4e8c3482c8 Fleet on ubuntu docs (#1757) 2018-05-04 14:10:22 -06:00
Mike Arpaia
178cab530f
Update the CLI docs on the master branch (#1756) 2018-05-04 11:39:36 -06:00
Mike Arpaia
559e54286f
fix typos in CLI readme 2018-05-04 11:38:53 -06:00
Victor Vrantchan
2482176d90 update ubuntu docs and add notes on systemd (#1702)
closes #1593
2018-05-04 11:01:45 -06:00
dso
d1a2c25697 adding the linux development setup (#1710) 2018-05-04 10:56:51 -06:00
Zachary Wasserman
a0d05f4e2a Merge branch 'master' into fleetctl 2018-05-01 17:26:32 -07:00
Mike Arpaia
ee0a400a60
Update the apiVersion used in fleetctl files and docs (#1747) 2018-05-01 14:51:54 -06:00
Caleb Coy
753756721e Updated docs (#1746)
moved compile instructions to development page, added link to binaries in adding hosts page
2018-04-30 16:46:11 -04:00
Caleb Coy
7ddd9ba510 Updated support contact info, removed "help@kolide.co" email address. (#1723) 2018-03-07 09:44:50 -05:00
Zachary Wasserman
2e9598de66
Merge decorators into other config options (#1707) 2018-02-09 11:35:09 -08:00
Zachary Wasserman
e3d2af325c
Use UUID as host identifier in adding hosts docs (#1690) 2018-01-23 09:26:32 -08:00
groob
19cb29375c add a mini faq 2018-01-04 09:19:50 -05:00
ferhat elmas
d2a7e38c85 Fix documentation typos (#1682) 2017-12-21 18:37:32 -08:00
Zachary Wasserman
a162ace30b
Update fleetctl docs (#1678)
- Revert erroneous changes in 6442736c.
- Remove Osquery prefix from entity kinds.
- Define Query first in combination with Label and Decorator definitions.
2017-12-19 15:03:45 -08:00
Zachary Wasserman
6442736c12
Replace mistaken uses of OsqueryQuery (#1677) 2017-12-19 13:13:17 -08:00
Zachary Wasserman
5e9fe9d5a1
Transition osquery options interfaces for compatibility with fleetctl (#1649)
- Refinements to options yaml definition
- Datastore and service implementations
- Migration to bring existing options into new table format
2017-12-13 18:14:54 -05:00
Victor Vrantchan
ca5f63dd4f
replace support email with github issue link (#1656) 2017-12-01 12:15:50 -05:00
Zachary Wasserman
2389e13d80
Fix redis_address documentation error (#1648)
Fixes #1647.
2017-11-20 16:43:03 -08:00
Mike Arpaia
ce61fe6adb
Fix typo 2017-11-20 10:00:08 -07:00
Greg
cb3c14e16a Match release executable name to install commands (#1640)
Current fleet_latest.zip linux executable name is fleet_linux_amd64, which doesn't match sudo cp
2017-11-19 11:01:43 -05:00
Victor Vrantchan
b2771b80c0
rename old references to the binary (#1638) 2017-11-18 19:58:19 -05:00
Mike Arpaia
3259e7149b
Documenting deploying Fleet on Kubernetes (#1626) 2017-11-17 12:48:59 -07:00
Zachary Wasserman
f909f4808b
Make OsqueryOptions hierarchical by platform (#1625)
- Allow overriding base config on a per-platform basis.
- Merge FIM configs into the OsqueryOptions object.
2017-11-16 10:58:47 -08:00
Mike Arpaia
b251366c1e
Each file resource should map to a Fleet data model object (#1627) 2017-11-15 21:23:37 -07:00
Mike Arpaia
607b9141ea
Remove OsqueryQueries file type (#1622) 2017-11-15 16:10:11 -07:00
Zachary Wasserman
80d31a2722
Minor copy edits to fleetctl docs (#1621) 2017-11-15 12:06:55 -08:00
Mike Arpaia
a0909e6bee
Making the file format more operator friendly (#1605) 2017-11-13 18:11:08 -07:00
Mike Arpaia
1a3bda57ab
CLI documentation and design (#1603) 2017-11-13 16:00:40 -07:00
Mike Arpaia
1819a8d867
Update the required Go version 2017-11-13 09:25:42 -07:00
viq
1c009999b7 Use a working MySQL version (#1598)
Use repo that installs `5.7` version of MySQL, as opposed to `5.6` that fails when running `prepare db`
2017-11-12 03:18:02 -05:00
securityclippy
0ad4caa95c Update configuring-the-fleet-binary.md (#1592) 2017-10-30 16:11:03 -04:00
Mike Arpaia
83ac03a6e8 Remove support for apt and yum repositories (#1570) 2017-10-17 23:30:02 -06:00
Mike Arpaia
57ec5fc331 Update root directory in docs (#1568) 2017-10-17 22:36:01 -06:00
Mike Arpaia
90c623d27d Remove license linting (#1563) 2017-10-12 11:06:29 -06:00
Mike Arpaia
5cbef6270b Updating docs to reference new binary and package (#1557) 2017-10-05 19:33:41 -06:00
Mike Arpaia
a947f39080 Rename Kolide to Fleet in the docs (#1554) 2017-09-21 16:51:26 -06:00
Mike Arpaia
153b19bc94 Adding docs for using Launcher (#1552) 2017-09-06 09:18:48 -06:00
John Murphy
6e2e24df43 updated doco (#1549) 2017-08-23 12:42:50 -05:00
John Murphy
1e92f8fcfd gRPC Server for Launcher (#1544)
Add a gRPC server that will interact with osquery through Launcher. This endpoint will expose the osquery configuration suitable for use via the Launcher plugin, and collect log and query results.
2017-08-17 16:43:02 -05:00
Zachary Wasserman
68522c3c09 Add agent-api and appropriate changes to builder image (#1546)
- Add SSH configuration to allow checkout of Kolide private repos in CI
- Add kolide/agent-api repo to glide.yaml
- Update testify version to fix broken test build

Closes #1545
2017-08-10 12:45:55 -07:00
John Murphy
990c911867 Fix user menu on Firefox (#1542)
Closes #1536

Firefox doesn't propagate mouse events to components nested inside a button element. So we switch button to a div to fix.
2017-08-02 14:02:09 -05:00
Mike Arpaia
018b91ab2c Rename project to Kolide Fleet (#1529) 2017-06-22 15:50:45 -04:00
John Murphy
019191c36b SSO Login and Configuration Support (#1506)
Closes issue #1456 This PR adds a single sign on option to the login form, exposes single sign on to the end user, and allows an admin user to set single sign on configuration options.
2017-05-17 10:58:40 -05:00
John Murphy
368b9d774c Server Side SSO Support (#1498)
This PR partially addresses #1456, providing SSO SAML support. The flow of the code is as follows.

A Kolide user attempts to access a protected resource and is directed to log in.
If SSO identity providers (IDP) have been configured by an admin, the user is presented with SSO log in.
The user selects SSO, which invokes a call the InitiateSSO passing the URL of the protected resource that the user was originally trying access. Kolide server loads the IDP metadata and caches it along with the URL. We then build an auth request URL for the IDP which is returned to the front end.
The IDP calls the server, invoking CallbackSSO with the auth response.
We extract the original request id from the response and use it to fetch the cached metadata and the URL. We check the signature of the response, and validate the timestamps. If everything passes we get the user id from the IDP response and use it to create a login session. We then build a page which executes some javascript that will write the token to web local storage, and redirect to the original URL.
I've created a test web page in tools/app/authtest.html that can be used to test and debug new IDP's which also illustrates how a front end would interact with the IDP and the server. This page can be loaded by starting Kolide with the environment variable KOLIDE_TEST_PAGE_PATH to the full path of the page and then accessed at https://localhost:8080/test
2017-05-08 19:43:48 -05:00
Zachary Wasserman
5a69cf1530 Update TLS cert documentation (#1499) 2017-04-27 14:11:04 -04:00
John Murphy
2945031a86 Fix bug in Osquery import and updated import docs (#1478)
This PR contains a fix for a bug that turned up when I was testing configimporter. If the platform field is not specified, its supposed to default to all per the osquery configuration spec. The default was not properly implemented, and if the platform value was missing from the imported configuration it failed. The PR also added instructions to the api documentation describing how to import an osquery configuration.
2017-04-23 19:41:27 -05:00
Zachary Wasserman
629a740b45 Require JWT Key to be specified for server startup (#1480)
If server is started without a JWT key, a message like the following is printed:
```
################################################################################
# ERROR:
#   A value must be supplied for --auth_jwt_key. This value is used to create
#   session tokens for users.
#
#   Consider using the following randomly generated key:
#   om3w95gMA2drT5xAdLd2Q5oE8fLw+Miz
################################################################################
```

Closes #1480.
2017-04-12 15:05:56 -07:00
Mike Arpaia
40610e508f Removing app_token_key from documentation (#1489)
d3eb3b7272 removed `app_token_key` from
the application, but not the docs.
2017-04-12 09:57:19 -06:00
John Murphy
c90368c4af Changed default osquery logging behavior
Made log rotation for osquery results and status logs optional.  This required writing the logwriter package which is a drop in replacement for lumberjack.  We still use lumberjack if the log rotation flag --osquery_enable_log_rotation flag is set. Note that the performance of the default is quite a bit better than lumberjack.


BenchmarkLogger-8       	 2000000	       747 ns/op
BenchmarkLumberjack-8   	 1000000	      1965 ns/op
PASS
BenchmarkLogger-8       	 2000000	       731 ns/op
BenchmarkLumberjack-8   	 1000000	      2040 ns/op
PASS
BenchmarkLogger-8       	 2000000	       741 ns/op
BenchmarkLumberjack-8   	 1000000	      1970 ns/op
PASS
BenchmarkLogger-8       	 2000000	       737 ns/op
BenchmarkLumberjack-8   	 1000000	      1930 ns/op
PASS
2017-04-03 16:48:50 -05:00
Zachary Wasserman
be34ecc557 Add a debug endpoint for collecting performance statistics and profiles. (#1461)
When `kolide serve --debug` is used, additional handlers will be started to
 provide access to profiling tools. These endpoints are authenticated with a
 randomly generated token that is printed to the Kolide logs at startup. The
 profiling tools are not intended for general use, but they may be useful when
 providing performance-related bug reports to the Kolide developers.
2017-03-31 09:56:38 -07:00
Victor Vrantchan
cab8ed7c00 remove references to missing bits (#1434) 2017-03-20 10:42:47 -04:00
Kyle Knight
a64d88ff67 Update Webpack to v2 (#1393) 2017-03-13 15:13:33 -04:00
Zachary Wasserman
b4e40cf466 Warn before running migrations (#1385)
- Refactor MigrationStatus() to return relevant info
- Warn before running migrations

Closes #1368
2017-03-09 10:40:52 -08:00
Mike Stone
a56dba63a2 Get app to work in IE (#1344)
* Use lodash for endsWith support
* Fix IE Promise and Object.assign
2017-03-03 12:21:07 -05:00
Zachary Wasserman
3d6ca7d5a4 Use sockjs to gracefully degrade websockets (#1255)
Use the [SockJS Protocol](https://github.com/sockjs/sockjs-protocol) to handle
bidirectional communication instead of plain websockets. This allows
distributed queries to function in situations in which they previously failed
(Load balancers not supporting websockets, issues with Safari and self-signed
certs, etc.).

Also includes fixes to the JS message handling logic where slightly different
message delivery semantics (when using XHR) were exposing bugs.

Fixes #1241, #1327.
2017-03-01 13:14:26 -08:00
Zachary Wasserman
d0bc2e5a87 Add updating kolide documentation (#1302)
Also add quickstart script information to install docs.

Closes #1300
2017-02-24 11:11:46 -08:00
Victor Vrantchan
8d4d6fa486 update flag documentation (#1280)
updates documentation to account for changes introduced in #1266
2017-02-23 13:46:34 -05:00
Victor Vrantchan
1ee94d4f75 add mysql client certificate support (#1240) 2017-02-16 17:14:00 -07:00
Mike Arpaia
a90bb0f623 Updating the migrations docs (#1218) 2017-02-14 13:16:26 -07:00
Mike Arpaia
e8f1285364 Removing glide instructions from building code docs (#1217)
I think these were useful when none of us knew how to use glide except
@groob and needed copy-pasteable commands to run, but this seems like
it's much less useful now.
2017-02-14 13:16:16 -07:00
Mike Arpaia
b8805803fd Installation docs (#1214)
* Adding infrastructure install documentation

* publishing the latest tag on releases
2017-02-13 15:57:16 -07:00
Mike Arpaia
77243b36e3 Linking to the wiki page for public domain licenses (#1206) 2017-02-10 15:51:40 -07:00
Zachary Wasserman
672aaaad6c Proper handling of link for Public Domain in lint-license (#1205) 2017-02-10 14:28:52 -08:00
Mike Arpaia
c16230dac8 Adding a README to the third-party docs and renaming a file (#1204) 2017-02-10 15:11:36 -07:00
Zachary Wasserman
728c2c3475 Add license linting and dependencies.md (#1184)
Adds a `make lint-license` command that will crawl through the Golang and
Javascript dependencies, trying to automatically determine the license of each
dependency. If any dependencies have incompatible licensing (or if the
automatic detection fails), the tool will print an error and exit with a
non-zero status code. After a successful run, the
docs/third-party/dependencies.md file will be updated with attribution
information as determined by the crawl.

The configuration file has been bootstrapped with the manual analysis needed for
all of the existing dependencies.
2017-02-10 12:51:33 -08:00
Zachary Wasserman
f4060402f4 Migrate NPM to Yarn (#1197)
- Modify `make deps` to use yarn
- Add `yarn.lock`
- Add yarn to `kolide-builder` docker image
- Remove `npm-shrinkwrap.json`
- Remove build for `node-sass` (fixes #1151)
2017-02-10 10:22:26 -08:00
Victor Vrantchan
838c73ff0a add graceful server shutdown (#1185)
* add graceful server shutdown

Also refactors server to use `http.Server` instead of the global
http.ListenAndServe method. In the future it allows us to set
ratelimits and timeouts for http connections.
2017-02-07 16:02:08 -05:00
Mike Arpaia
25b56e6ee5 Making the case of section headers more consistent in application docs (#1173) 2017-02-05 11:44:32 -07:00
Mike Arpaia
646574c874 Fixing broken docs links (#1169) 2017-02-03 09:47:45 -07:00
Mike Arpaia
22118dfdac Force links to README (#1166) 2017-02-02 15:51:02 -07:00
Mike Arpaia
8f433d81ae Cursory application documentation (#1165)
* Running Queries

* Scheduling Queries

* Configuring Osquery Options

* Working With Osquery Logs

* kolide for the osquery user
2017-02-02 15:13:54 -07:00
Mike Arpaia
a000751bfe renaming kolide-ose to kolide (#1143) 2017-02-01 10:20:50 -07:00
Mike Arpaia
ee7c12e36e Filling in some forgotten descriptions (#1136) 2017-01-30 22:13:08 -07:00
Mike Arpaia
e17ab76cff Setting up and using Kolide (#1133) 2017-01-30 18:51:10 -07:00
Mike Arpaia
e23d081a89 State of affairs API docs (#1106) 2017-01-26 11:16:13 -07:00
Mike Arpaia
2938a8438f installing kolide documentation (#1107) 2017-01-26 11:15:40 -07:00
Mike Arpaia
a4d9fe8dfd Documentation Structure (#1101)
Initial structure and content for the Kolide documentation.
2017-01-25 14:51:00 -07:00
Victor Vrantchan
3e5ff9060f make mac enrollment package (#1088)
* make mac enrollment package

* add doc

* validate certificate and load the launchd without restarting
2017-01-25 16:29:24 -05:00
Jason Meller
b0587a958e Add initial host documentation (#1049) 2017-01-20 10:14:53 -05:00
Jason Meller
4a7e74fdfa Add Contrived Documentation (#736)
* Add some contrived documentation for testing

* Fix broken images
2017-01-04 14:22:38 -07:00