Commit Graph
3471 Commits
Author SHA1 Message Date
RachelElysia ffe024be23 Frontend Validators: Form URLs and email addresses (#3511) 2022-01-25 11:06:47 -05:00
Martin Angers 8b8cebb6fe Migrate remaining user-authenticated endpoints (#3796) 2022-01-25 09:34:00 -05:00
Mike Thomas 3204ff8e0c style fixes iOS (#3867) 2022-01-25 14:52:11 +09:00
Mike Thomas 3e02f5c500 platform ios layout bug fix (#3866)
Attempt two. See https://github.com/fleetdm/fleet/pull/3865 for context.
2022-01-25 13:30:19 +09:00
Mike Thomas 42a828d01b Update platform.ejs (#3865)
attempted to fix a layout bug on iOS where the position:fixed circle svg is fixes to the top of the viewport rather than it's parent div.
2022-01-25 13:06:08 +09:00
eashawandMike Thomas 001626eae8 Add /platform page (#3858)
* platform page and images

* add hrefs and link styles

* update responsive layout and images

* remove waves, lint fixes

* page locals

* Update new-license.ejs

* Revert "Update new-license.ejs"

This reverts commit ade27acf43c6373993f74febe89881ea0a47f944.

* Update platform.ejs

* reorder topnav, adjust mobile styles

* add href, fix padding

* a couple of style tweaks

• Reduced space between sections.
• Center-aligned images and text vertically.

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-01-25 12:40:16 +09:00
eashaw 48f66a3da5 Website redirect updates and bug fixes (#3859)
* fix logout redirect

* clear form input when clearing a quote

* reset password redirect

* fix new-password styes, fix broken links on unauthorized view

* disable IOS dropdown appearance
2022-01-25 11:12:41 +09:00
RachelElysia a655e04b57 User Management Page: Flash messages for reseting password and session (#3851) 2022-01-24 21:03:56 -05:00
Zach Wasserman e097a4fe01 Remove dangling sentence in infrastructure docs (#3838) 2022-01-24 17:41:13 -08:00
Mike Thomas 0b72dc8e5f Update README.md (#3862)
Added communities sub-section to Community.
2022-01-25 10:17:07 +09:00
Kelvin Oghenerhoro Omereshone 789b1d1c20 [DOCS] add FAQ for what happens to logs if Fleet or log destination are offline (#3860)
* feat: add FAQ for what happens to logs

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

* fix: add the default buffered_log_max
2022-01-25 01:34:59 +01:00
Mike Thomas 08dac76a70 Update community.md (#3861)
• changed ownership of this section from Zach to myself.
• Removed HackerNews from our list of daily engagements with the Fleet community.
2022-01-25 09:26:38 +09:00
Andrew BakerandMike Thomas 2a5695ebc8 Update community.md (#3748)
* Update community.md

Added new PR request to reflect Communities within the handbook.

Closed previous PR in order to direct users to MacAdmins slack #fleet channel instead of #osquery channel.

* Capitalization

Hackernews -> HackerNews

* Update handbook/community.md

I just cut out some of the fat and reduced repetition slightly for clarity.

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2022-01-25 08:49:54 +09:00
gillespi314 3f81b24cae Refactor e2e premium observer spec (#3817) 2022-01-24 15:21:05 -06:00
Benjamin Edwards d4312bec59 remove broken terraform references (#3856) 2022-01-24 15:58:36 -05:00
Tomas Touceda a18e09b613 Simplify fleetctl implementation and improve testing (#3830)
* Simplify fleetctl implementation and improve testing

* Add a few more

* Handle not founds better

* Fix tests

* Check that logout ds func is called
2022-01-24 16:40:51 -03:00
35f806f7d1 Merge Release candidate 4.9.0 into main (#3844)
* Better jitter (#3716) (#3744)

* Better jitter (#3716)

* Better jitter

* Fix lint

* Use milliseconds

* Make duration milliseconds

* Update based on Lucas' suggestion

* Add changes file

* Panic on error

* Fix compilation error

* Use time.after instead of time.tick to not leak

* Include browser extensions in software inventory (#3733) (#3757)

Use appropriate JOINs against users table to include all results.

For #3557

* Build Docker images on push to any branch (#3756) (#3758)

Allows for testing release branches and any others.

* Optimize users detail query (#3754) (#3770)

@Smjert reported instances of Windows Domain Controllers having massive
resource utilization and being killed by the watchdog when running this
query. In his test environment, this new query performs much better.

* Refactor async host processing to avoid redis SCAN keys (for policies) (#3657) (#3755)

* Issue 3707 clean targets on delete (#3739) (#3776)

* wip

* Delete targets when deleting teams, hosts, and labels

* Add changes file

* Fix error message

* Remove unused teamsTable

* Cleanup new pack

* Clean new packs at end of test

* Update operating system policy (#3779)

- Update policy's query to check for operating system versions greater than or equal to

* Improve loading of manage policies page (#3695) (#3781)

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

* Fix logo (#3765)

* fixed duplicate query modal not closing (#3787)

* fixed style for connection line on activity feed (#3789)

* Improve loading state for query platform compatibility (#3752) (#3783)

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

* Disable pagination for teams page (#3794)

* Shorten "simple" query API period to 25s (#3775) (#3804)

This helps the period stay under the default request timeouts for most
load balancers.

Some default timeouts:
* AWS ALB - 60s
* Nginx - 60s
* GCP LB - 30s

* Clear user checkbox selections after successfully removing selected row from table UI #3798 (#3801)

* Alias fleetctl sandbox to fleetctl preview (#3803) (#3806)

Preparing for some work the product team is planning to rebrand preview
to sandbox.

* Remove flash of spinner to no spinner (#3799)

* Revert "Better jitter (#3716) (#3744)" (#3807)

This reverts commit c857b52d2b373ed9e302d643e6d2212af7353408.

* Fix teams dropdown sizing (#3759) (#3810)

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

* fixed link for expiration message (#3788)

* Fixed empty string for compatible platforms (#3812)

* fixed empty string for compatible platforms

* default checked for platforms on policy query

* Block autocomplete for username and password in SMTP settings (#3732) (#3816)

* No hosts for software/policy renders better message (#3701) (#3821)

Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>

* Get failing policies webhook data on page load (#3824)

* Fix reset password flow (#3826)

* Prepare for 4.9.0 (#3820)

- Add CHANGELOG
- Bump versioning
- Remove changes files
- Spelling fix for operating system policy's description

* Remove merge artifact

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Luke Heath <luke@fleetdm.com>
Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com>
Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
2022-01-24 15:32:25 -03:00
Tomas Touceda f02bef6f2c Add platform filter to host_summary (#3845)
* Add platform filter to host_summary

* Add documentation

* Actually forward the platform param down the chain

* Update mock

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

- updated terraform based on some feedback of usage
- pinned fleet docker version in terraform as to no get unexpected upgrades when applying
- updated some documentation around apply migration tasks
2022-01-21 16:27:55 -08:00
Andrew Bakerandeashaw 9dd6968c5d Update Google Site Tag for UA property (#3832)
* Update Google Site Tag for UA property

Switching over our Google Analytics tag to send data to our UA property instead of the previous GA4 property.

* Update website/views/layouts/layout.ejs

Reverted Whitespace changes

Co-authored-by: eashaw <eric@fleetdm.com>

Co-authored-by: eashaw <eric@fleetdm.com>
2022-01-21 16:19:51 -06:00
Lucas Manuel Rodriguez 81672ee50e Add dev sql interceptor for logging of queries (#3815)
* Add dev sql interceptor for logging of queries

* Remove extra spaces and tabs from queries

* Make regex global
2022-01-21 14:28:21 -03:00
RachelElysia 85487eb5b2 Settings > Organization Settings: Code revamp (#3580) 2022-01-21 12:06:58 -05:00
Reed Haynes d4275a6f9a Update smoke-tests.md (#3743)
Updating Fleet premium license keys for per release Smoke Test template.
2022-01-21 10:10:08 -06:00
Noah Talerman bf8a681c10 Update fleetdm.com/pricing to indicate released features (#3828)
- Remove "Coming soon" asterisks to indicate that Fleet's current feature set
2022-01-21 10:43:58 -05:00
Lucas Manuel Rodriguez 330e3d6c10 Add clarification to run fleetctl preview on Windows as administrator (#3808)
* Add clarification to run fleetctl preview on windows as administrator

* Update get started page
2022-01-21 00:08:12 +01:00
Martavis Parker fe36c2d64a fixed link for expiration message (#3818) 2022-01-20 15:42:36 -06:00
Tomas Touceda 9d572309ae Add sentry (#3669)
* Add sentry

* Fix gosum

* More gosum fixes

* Add missing def for config

* Enrich sentry scope a bit

* Add changes file

* Add goroutine safe scope to errors

* Encapsulate sentry logic

* Add documentation for new flag

* Add sentry capturing to crons and other background tasks

* Only send to sentry when enabled
2022-01-20 16:41:02 -03:00
Tomas Touceda 43b78e6d0d Add redis stress (#3363)
* Add redis stress tool

* Parametrize more things

* Rename folder back

* Log error

* Fix lint
2022-01-20 16:18:17 -03:00
Luke Heath 67326e16cc Block autocomplete for username and password in SMTP settings (#3732) 2022-01-20 11:39:55 -06:00
Kelvin Oghenerhoro Omereshone f3afd186ec fix: move optional to clarify its for Node.js (#3795) 2022-01-20 19:26:42 +09:00
Zach Wasserman d55108fcbf Alias fleetctl sandbox to fleetctl preview (#3803)
Preparing for some work the product team is planning to rebrand preview
to sandbox.
2022-01-19 22:12:28 -08:00
Mike Thomas 4d6a844c6a Updated Communicating as Fleet (#3802)
* Updated Communicating as Fleet

I have made a start to our Communicating as Fleet style guide. It's not perfect. Feedback welcome.

* Update handbook/growth.md

* Update handbook/growth.md
2022-01-20 11:23:37 +09:00
Zach Wasserman b9696f67e6 Skip link check for goreportcard.com (#3805)
It goes down relatively often, causing flaky CI.
2022-01-19 17:56:01 -08:00
Zach Wasserman 4a70cd69fa Shorten "simple" query API period to 25s (#3775)
This helps the period stay under the default request timeouts for most
load balancers.

Some default timeouts:
* AWS ALB - 60s
* Nginx - 60s
* GCP LB - 30s
2022-01-19 17:48:57 -08:00
gillespi314 fc44970f49 Fix bug in row select checkbox for table UI (#3798) 2022-01-19 18:22:45 -06:00
Kelvin Oghenerhoro OmereshoneandMike Thomas 1c4c0156e0 doc: add FAQ for orbit running alongside osquery (#3685)
* doc: add FAQ for orbit running alongside osquery

* fix: update FAQ to be more clear.

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

* fix: typo on osquery

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

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2022-01-20 00:07:11 +01:00
Lucas Manuel Rodriguez e5cb68cee9 Return 404 when listing policies for a team that does not exist (#3793)
* Return 404 when listing policies for a team that does not exist

* Set mock for auth test
2022-01-19 18:17:42 -03:00
Martavis ParkerandTomas Touceda 4a83201092 No hosts for software/policy renders better message (#3701)
* Allow sort by more than one key

* more accurate message for no hosts on filter

* added changes file

* lint fix

* more accurate message for no hosts on filter

* added changes file

* lint fix

* small logical change

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-01-19 12:49:14 -08:00
Lucas Manuel Rodriguez 77c3a8a61e Fix flaky TestPolicyWebhooks (#3777)
* Fix flaky TestPolicyWebhooks

* Run test redis cleanup before running tests
2022-01-19 16:17:00 -03:00
Lucas Manuel Rodriguez 47df5e83fe Return 400 when trying to create packs, queries and policies with empty names (#3761)
* Return 400 when trying to create packs, queries and policies with empty names

* Amend sql query test
2022-01-19 16:07:58 -03:00
gillespi314 fe368c6238 Fix teams dropdown sizing (#3759) 2022-01-19 12:55:10 -06:00
Mike Thomas 5b57719e3a Removed video from hero section (#3774)
In favor of not directing users away from the site, I propose removing this video link until we have something stronger.
2022-01-19 12:02:20 -06:00
Katheryn SatterleeandKatheryn Satterlee a9949d869e Issue 2873 kafka docs improvement (#3771)
* Updating Upgrade docs

* making changes to database section of upgrade docs

* Corrected anchor tags, ready to merge

* Adding section for Kafka to Osquery-logs

Co-authored-by: Katheryn Satterlee <ksatter@Kathys-MacBook-Pro.local>
2022-01-19 11:59:56 -06:00
Mike McNeil 5ffc3d8588 ☯ (#3735) 2022-01-19 11:46:43 -06:00
Martin Angers afb3310937 Migrate team-related endpoints to new pattern (#3740) 2022-01-19 10:52:14 -05:00
Tomas Touceda eee539cccc Issue 3707 clean targets on delete (#3739)
* wip

* Delete targets when deleting teams, hosts, and labels

* Add changes file

* Fix error message

* Remove unused teamsTable

* Cleanup new pack

* Clean new packs at end of test
2022-01-19 10:28:08 -03:00
331a04121a 3205 improve updating docs (#3593)
* Updating Upgrade docs

* making changes to database section of upgrade docs

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

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

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

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

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

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

* Corrected anchor tags, ready to merge

Co-authored-by: Katheryn Satterlee <ksatter@Kathys-MacBook-Pro.local>
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2022-01-19 11:25:46 +09:00
Zach Wasserman be1105757b Simplify docker publish action (#3769) 2022-01-18 18:03:14 -08:00
Zach Wasserman a79d5fbfcc Optimize users detail query (#3754)
@Smjert reported instances of Windows Domain Controllers having massive
resource utilization and being killed by the watchdog when running this
query. In his test environment, this new query performs much better.
2022-01-18 16:39:32 -08:00
Kelvin Oghenerhoro Omereshone c975766545 fix: make osquery website link on hero open in a new tab (#3766) 2022-01-19 09:29:16 +09:00