Commit Graph

5713 Commits

Author SHA1 Message Date
Sharvil Shah
cfb3c7ae9f
switch orbit enroll logic to use osquery_host_id (#7984) 2022-09-28 01:29:25 +05:30
Eric
2eb24b974a
Website: Osquery schema tables updates (#7964)
* update syntax highlighting, fix scrollbars on safari and firefox, expand mobile nav when searching

* use purpose="" instead of css class

* Update osquery-table-details.ejs

* make type column uppercase
2022-09-27 14:34:37 -05:00
gillespi314
749ff9ec2b
Add logging to capture user email upon successful login (#7927)
* Log user email upon successful login

* Add user email to logger context

* Use logging.With Extras for login email
2022-09-27 16:32:46 -03:00
Roberto Dip
474fd8fab8
fix flag formatting in Orbit (#7981) 2022-09-27 19:31:23 +00:00
Eric
a79a249d81
Website: Hide vue templates on osquery table pages (#7977)
* update layout to hide vue templates

* Update osquery-table-details.ejs
2022-09-27 13:47:19 -05:00
Charlie Chance
86058b91cb
Handbook: new equipment requests (#7976) 2022-09-27 11:15:54 -06:00
Zach Wasserman
f7b341cb6e
Use dark theme icon in Fleet Desktop by default (#7973)
This seems to be a better fit as a default due to what renders best in Ubuntu.

Keeps themes the same as prior Desktop releases.
2022-09-27 08:56:16 -07:00
Noah Talerman
818d603274
Edit 4.18.0 blogpost (#7944)
- Remove "Automated testing for upgrading to a new version of Fleet" section
2022-09-27 08:41:20 -07:00
Lucas Manuel Rodriguez
edb8fce195
Fix post-merge issue (#7971) 2022-09-27 12:30:00 -03:00
Zach Wasserman
855cca9368
Update notarization to use notarytool (#7962)
Updating from github.com/mitchellh/gon (old API) to the newer xcrun notarytool.

See https://github.com/fleetdm/fleet/actions/runs/3132173324/jobs/5084249006 for example run.
2022-09-27 08:25:42 -07:00
Lucas Manuel Rodriguez
3ee29c38ad
Orbit: Handle SIGTERM on unix and kill pre-existing fleet-desktop processes at startup (#7966)
* Handle SIGTERM on unix and kill pre-existing fleet-desktop processes at startup

* Add unix build tag

* Remove unused import
2022-09-27 11:57:56 -03:00
Marcos Oviedo
381f628be7
Bug 7874: Adding SCM calls to register Orbit as a windows service (#7934)
* Bug 7874: Adding SCM calls to register Orbit as a windows service
2022-09-27 11:52:41 -03:00
Martin Angers
142e298631
Update osquery validations from 5.4.0 to 5.5.1 (#7960) 2022-09-27 08:35:57 -04:00
Eric
cb8f290488
Add Nunito sans bold italic (#7953) 2022-09-26 15:29:49 -05:00
Roberto Dip
3a349bb07b
fix data race in TestAutomationsSchedule (#7952) 2022-09-26 17:19:38 -03:00
Martin Angers
1fd6844bb0
Make osquery-perf aware of kubequery so that hosts are not reported as such erroneously (#7949) 2022-09-26 15:39:39 -04:00
Roberto Dip
b9927eade4
make orbit and device ping paths unversioned (#7933) 2022-09-26 14:39:56 -03:00
Martin Angers
84903deffb
Remove gotestfmt formatting on CI (#7939) 2022-09-26 11:37:21 -04:00
Luke Heath
b14929f213
Update assertions to singular host (#7935) 2022-09-26 10:00:00 -05:00
Roberto Dip
a509bdd0ac
add backwards compatiblity to orbit enrollment via the API (#7921) 2022-09-26 11:44:09 -03:00
Roberto Dip
2fcb27ed3f
add headers denoting capabilities between fleet server / desktop / orbit (#7833)
This adds a new mechanism to allow us to handle compatibility issues between Orbit, Fleet Server and Fleet Desktop.

The general idea is to _always_ send a custom header of the form:

```
fleet-capabilities-header = "X-Fleet-Capabilities:" capabilities
capabilities              = capability * (,)
capability                = string
```

Both from the server to the clients (Orbit, Fleet Desktop) and vice-versa. For an example, see: 8c0bbdd291

Also, the following applies:

- Backwards compat: if the header is not present, assume that orbit/fleet doesn't have the capability
- The current capabilities endpoint will be removed

### Motivation

This solution is trying to solve the following problems:

- We have three independent processes communicating with each other (Fleet Desktop, Orbit and Fleet Server). Each process can be updated independently, and therefore we need a way for each process to know what features are supported by its peers.
- We originally implemented a dedicated API endpoint in the server that returned a list of the capabilities (or "features") enabled, we found this, and any other server-only solution (like API versioning) to be insufficient because:
  - There are cases in which the server also needs to know which features are supported by its clients
  - Clients needed to poll for changes to detect if the capabilities supported by the server change, by sending the capabilities on each request we have a much cleaner way to handling different responses.
- We are also introducing an unauthenticated endpoint to get the server features, this gives us flexibility if we need to implement different authentication mechanisms, and was one of the pitfalls of the first implementation.

Related to https://github.com/fleetdm/fleet/issues/7929
2022-09-26 07:53:53 -03:00
Eric
9dbf84fb4b
Website: Add pages for schema tables (#7679)
* add osquery tables page

* update build script, add fleet schema folder

* update layout and page script

* add edit-page button, search, remove test attribute from fleet schema

* update styles

* syntax highlighting, update highlight.js, adjust layout

* lint fixes

* Update view-osquery-tables.js

* requested changes from 1:1

* requested changes

- Rename osquery-tables to osquery-table-details & update routes and policies
- Update wildcard input and tables details route
- Fix lint error
- adjust self-calling functions in page script
- rename function and adjust the order of functions in page script

* add osquery tables to builtStaticContent.markdownPages

* update schema folder readme

* add redirect for /tables

* update table input

* remove comment from stylesheet, update syntax highlighting, use variable names from colors.less

* update inputs in view action

* Updates from PR review

* fix lint error

* update syntax highlighting, table page styles

* Update build-static-content.js

* requested changes from code review

* Update build-static-content.js

* fix build script error

* remove string.replaceAll()

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-09-23 19:06:55 -05:00
Eric
6ded99c789
Website: Update homepage logos (#7932)
* add segment logo

* update homepage logo layout
2022-09-23 18:39:44 -05:00
Eric
9eb518bd4d
Website: Add metadata error to build-static-content (#7776)
* add error message to metadata processing

* Update error message

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-09-23 18:23:37 -05:00
Luke Heath
51aaa7755a
Fix tooltip jank and hosts text on query target selection (#7909) 2022-09-23 18:28:43 -04:00
Sharvil Shah
1b59b05862
Orbit enroll retry on unauth (#7928) 2022-09-24 03:16:33 +05:30
Tomas Touceda
7c11401f64
Handbook on call procedure for Fleet sandbox (#7704) 2022-09-23 15:38:46 -04:00
Juan Fernandez
d7ca8fcd66
Reverted changes made to Fleet Desktop - should not use the lightweight 'desktop' endpoint (#7919)
Reverted changes made to Fleet Desktop. Desktop should not use the lightweight 'desktop' endpoint
2022-09-23 15:18:19 -04:00
Andrew Baker
140c5caa9d
Upload podcast ep 6 (#7922)
* Create the-future-of-device-management-ep6.md

* add podcast ep 6 cover

* Update links within article

* Update articles/the-future-of-device-management-ep6.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

* Update articles/the-future-of-device-management-ep6.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

* Update articles/the-future-of-device-management-ep6.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

* Update articles/the-future-of-device-management-ep6.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

* Update articles/the-future-of-device-management-ep6.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

* Update articles/the-future-of-device-management-ep6.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

* Update articles/the-future-of-device-management-ep6.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

* Update articles/the-future-of-device-management-ep6.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>
2022-09-23 15:09:31 -04:00
Sharvil Shah
7d4e2e2b4b
Orbit remote management for flags (#7246)
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
2022-09-24 00:30:23 +05:30
Zach Wasserman
db7d1c5bf5
Strongly discourage use of MariaDB (#7699) 2022-09-23 11:18:34 -07:00
Zach Wasserman
c01bf03435
Windows desktop theme detection (#7363)
Windows portion of #6675. Detect dark vs. light theme and change the icon to match (as best as we can).
2022-09-23 10:07:38 -07:00
Roberto Dip
8a8caa8a84
fix hash link to FAQ on policy response (#7859) 2022-09-23 13:47:48 -03:00
gillespi314
639b85e47b
Refactor cron worker to schedule package (#7886) 2022-09-23 11:45:48 -05:00
Gabriel Hernandez
fca5ad3158
add edit agent options activity text (#7695) 2022-09-23 12:05:07 -04:00
RachelElysia
24a7b1f8fd
Frontend Tech Debt: Software card API dependency moved to page level component (#7672) 2022-09-23 10:45:00 -04:00
RachelElysia
b23374ad16
Fleet UI: Placeholder text vertical padding (#7828) 2022-09-23 10:44:14 -04:00
Noah Talerman
0170326853
Move packs API and YAML file to contributor docs (#7885)
- Move docs for packs API routes to "API for contributors" page
- Clean up "Overview" section in the "REST API" page
- Organize anchor link list in the "API for contributors" page
- Move docs for `pack` YAML file to the "Configuration for contributors" doc page
- Add instructions for using teams to schedule queries for groups of hosts
2022-09-22 17:41:57 -04:00
Luke Heath
a6dd4c3d0c
Add Cypress dashboard to CI (#7899) 2022-09-22 13:52:22 -05:00
Eric
15ac7ac189
Update save-billing-info-and-subscribe.js (#7897) 2022-09-22 11:58:31 -05:00
Benjamin Edwards
e665e85a90
update engineering handbook to include connection details for dogfood mysql & redis instances (#7822) 2022-09-22 11:54:30 -04:00
wclithero
eac6134b79
Request to add wclithero as a maintainer (#7087)
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2022-09-21 17:08:14 -07:00
Eric
2f00e528dc
Website: Move docsearch public api key to config variable (#7771)
* move docsearch api key to a config variable, update styles to disable outline on input

* Update basic-handbook.less

* Update basic-handbook.less

* update config variable name & update comment
2022-09-21 18:13:47 -05:00
Eric
a5d2d7e390
Website: add support for description meta tags in markdown articles (#7887)
* add support for meta description tags on markdown articles

* Add description meta tag section to article formatting guide
2022-09-21 17:14:58 -05:00
Chris McGillicuddy
c299e9581c
Osquery evented tables overview revisions.md (#7883)
Proposed revisions after article has been merged. Most are line edits, but I also suggested a different title and introduction.
2022-09-21 15:04:21 -05:00
Martin Angers
5477acb688
Add low_disk_space_count property to GET /host_summary (#7872) 2022-09-21 15:56:17 -04:00
Martin Angers
db24cf32fa
Add new low_disk_space URL parameter to the GET /hosts endpoint (and GET /hosts/count) (#7853) 2022-09-21 15:16:31 -04:00
Guillaume Ross
9db772d931
7848 table yum_sources and intel me info show as Mac compatible in fleet but are not according to osquery (#7881)
* Removing darwin from two tables

According to the osquery schema these two tables (secureboot and intel_me_info) do not support macOS.

* Removing darwin from yum_sources

This table is not compatible with macOS. Removing Darwin from the list of platforms.
2022-09-22 00:36:12 +05:30
Zach Wasserman
bdad9ac1d3
Use Group SID on fleetctl on Windows (#7854)
This is intended to allow packages to be built on localizations other than English.

See #5065.

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
2022-09-21 11:39:26 -07:00
KanchiMoe
cde973293b
server_side_encryption_configuration attribute is deprecated (#7866) 2022-09-21 14:25:08 -04:00