Commit Graph
6384 Commits
Author SHA1 Message Date
EricandMike McNeil 112dffbd1e Website: Update license key generator action and helper inputs (#9265)
Changes:
- Updated the `expiresAt` input description in
`api/controllers/admin/generate-license-key.js` and
`api/helpers/create-license-key.js`
- Updated timestamps sent to `generate-license-key` and
`create-license-key` to be in seconds.

 . .

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-01-11 11:11:43 -06:00
Eric 3072f34c1b Website: update copyright year in page footers (#9280) 2023-01-11 10:56:52 -06:00
Roberto Dip 90350f8257 add docs for MDM local development (#9193) 2023-01-11 11:05:35 -03:00
Eric b5d2d0c4b4 Increase Fleet Sandbox time to five days (#9251)
Changes:
- Updated the expiration timestamp of new Fleet Sandbox instances to be
five days from when a user signs up. (Previously 24 hours)
2023-01-10 17:48:36 -06:00
Roberto DipandMike McNeil 5919931a4c fix conflicts in docs about unified_logs vs macadmins_unified_logs (#9214)
As raised by a community member in
[Slack](https://osquery.slack.com/archives/C01DXJL16D8/p1672751794862639),
this updates our documentation to account for both `unified_log` and
`macadmins_unified_log`.

Per my testing, it should also help with the #9158 bug in Fleet's UI.

I have updated the columns of `macadmins_unified_log` according to
what's in the [source
code](https://github.com/macadmins/osquery-extension/blob/50f94d0d7001c048e0a5564911e46d1952420a80/tables/unifiedlog/unified_log.go#L47-L69),
and modified the example to work.

Since I was there I have also updated the osquery version we use to pull
the JSON to `5.6.0` and fixed a small bug related to the examples we
pull from there.

. . . . . . .

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-01-10 17:45:53 -06:00
Nathanael Holliday 93f39f40c2 Update SLAs (#8713)
Incorporated changes discussed at CEO office hour into SLA chart. 

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [ ] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- [ ] Documented any permissions changes
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2023-01-10 17:39:39 -06:00
Mike McNeil 4a125fe6ab Expand auto-approvals (#9249)
.
2023-01-10 16:25:59 -06:00
Jacob ShandlingandJacob Shandling 6c04cc24d7 UI: Settings modals mdm (#9156)
# Addresses parts 1 and 2 of #8872

[Demo (updated
1/6)](https://www.loom.com/share/be6d21cd3dfd42019a96431848ced7a3)

1/9: updated Success state with canonical Fleet icon and new copy:
<img width="669" alt="Screenshot 2023-01-09 at 5 17 58 PM"
src="https://user-images.githubusercontent.com/61553566/211440074-a69c420a-920c-40dd-a96f-f2d3917ad73a.png">

TODO:
- finalize API call once those specs are clarified and implemented:
https://github.com/fleetdm/fleet/issues/9202
- tests
- Change team modal (pt3)

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-01-10 12:19:46 -08:00
Zachary Winnerman fa7e8f3d49 Use new image (#9211)
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [ ] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- [ ] Documented any permissions changes
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2023-01-10 13:22:02 -05:00
Mike McNeil 5183e2c4c9 "Why open source?" (#9233)
In the footer, instead of https://fleetdm.com/transparency, include a
link to ["Why open
source?"](https://fleetdm.com/handbook/company/why-this-way#why-open-source)
(in "Why this way?", in the handbook)

Why? "Transparency" is a page designed especially for end users, and
linked to already from within Fleet Desktop. Let's use this footer link
to help communicate some of the same ideas, but with additional context
for IT and security folks within customer and contributor organizations.
2023-01-10 11:24:09 -06:00
RachelElysia b8965da82c Fleet UI: Remove team policy stale time, remove team policy automation statetime (#9226) 2023-01-10 11:53:11 -05:00
Luke Heath d4bf6fd428 Remove epic label from all new feature issues (#9221) 2023-01-09 16:27:30 -06:00
RachelElysia 907dfd0a7f Fleet UI: Fix manage host page for invalid query strings spinner (#9198) 2023-01-09 15:16:17 -05:00
Chris McGillicuddy 4f8be572f8 Create fleet-terraform-module.md (#9204)
# Checklist for submitter

If some of the following don't apply, delete the relevant line.   

- [ ] Manual QA for all new/changed functionality
2023-01-09 12:52:19 -06:00
Luke Heath a0ca5ae7d0 Update handbook GitHub labels section to remove rules column (#9224)
Removing "Rules" column as we found this unnecessarily constricting.
2023-01-09 12:27:30 -06:00
Tomas ToucedaandLucas Rodriguez 65783d49c7 Add feature to change or disable Fleet's hardcoded detail queries (#9117)
#8984

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
2023-01-09 08:56:10 -03:00
Tomas ToucedaandLucas Rodriguez 398bb38da7 Add software_updated_at field to host (#9116)
#9012

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- [x] Added/updated tests

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
2023-01-09 08:55:43 -03:00
EricandMike McNeil 9bd023dbbf Website: Add optional inputs to Fleet Sandbox registration form. (#9203)
cc: @alexmitchellii

Changes:
- Added optional inputs to the Fleet Sandbox signup page:
   - First name
   - Last name
   - Organization
- Updated signup.js to send the optional inputs to the Zapier webhook

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-01-06 18:37:10 -06:00
Eric 896918bc79 Website: Fleet Premium subscription renewals (#9200)
https://github.com/fleetdm/fleet/issues/9172

Changes:
- Added
`website/api/controllers/webhooks/recieve-stripe-subscription-events.js`
a webhook for receiving Stripe events.
- If the stripe event received is from a user's subscription
automatically renewing, A new license key is generated, the subscription
record is updated, and a renewal confirmation email is sent.
- If the stripe event received is from a user's subscription's upcoming
renewal, a renewal notification email is sent.
- If any other event type is received from Stripe, the webhook returns a
200 response.
- Added new email templates:
   - `email-subscription-renewal-confirmation`
   - `email-upcoming-subscription-renewal`
- Updated `website/api/controllers/admin/view-email-template-preview.js`
to have fake data for the added email templates.
- Updated `website/api/controllers/customers/view-dashboard.js` to set
two boolean variables: `subscriptionExpiresSoon` and
`subscriptionHasBeenRecentlyRenewed`
- Updated the customer dashboard to display notifications on the top of
the page if a user's subscription will renew in the next 30 days, or if
the user's subscription has been renewed in the past 30 days.
- `website/views/layouts/layout-email.ejs` - Updated the font, padding,
and text color to match wireframes.
2023-01-06 18:36:29 -06:00
Eric 379f61a39f Update Github URL for tables that have Fleet overrides (#9213)
Changes:
- Updated the fleetRepoUrl value for osquery schema tables that have
Fleet overrides to use the correct URL.
2023-01-06 17:14:04 -06:00
Luke Heath abb5a332c5 UI hackathon: transitions, tooltips, empty states, buttons, bookmarks (#9195) 2023-01-06 17:08:48 -06:00
creedjaxandKatheryn Satterlee b204647c49 Update deploying-fleet-on-aws-with-terraform.md (#8748)
Changed some wording under "Deployments" to remove confusion, and
updated instructions for "Prepare the database" to better reflect the
previous outputs from the terraform apply.

Co-authored-by: Katheryn Satterlee <me@ksatter.com>
2023-01-06 15:40:24 -06:00
656e5bfc70 Flag when the Apple BM terms have expired (#9091)
#8862 

Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
2023-01-06 17:44:20 -03:00
Guillaume Ross 62f8c7d760 Adding Nudge info (#9210) 2023-01-06 11:57:37 -05:00
d5e4a9a66f Signing tool for MDM Push CSRs (#8884)
This PR provides the tooling that fleetdm.com will use to sign MDM Push
CSRs.

This was tested against the output of #8812, and the resulting requests
were validated to be accepted by Apple.

Co-authored-by: Roberto Dip <me@roperzh.com>
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
2023-01-06 08:25:54 -08:00
Gabriel Hernandez 6eddaae9ca Feat/add mdm modal (#9207)
relates to https://github.com/fleetdm/fleet/issues/8987

adds an MDM modal users can use to download an enrollment profile. It
purposely is not displayed anywhere currently.


![image](https://user-images.githubusercontent.com/1153709/211021307-a3c41209-08d9-458f-98fd-3c668ef265e3.png)

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2023-01-06 15:58:43 +00:00
Gabriel Hernandez 08bce97a1b add pendo to sandbox instances (#9191)
relates to https://github.com/fleetdm/fleet/issues/9022

add pendo to sandboxes instances

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2023-01-06 14:57:32 +00:00
RachelElysia 9a5789459e Fleet UI: Autofocus forms (#9180) 2023-01-06 09:25:00 -05:00
gillespi314 f9f1a94b48 Update mdm enrollment status API response (#9189) 2023-01-05 15:52:46 -06:00
Artemis Tosini 152a1b792e orbit: Always update orbit symlink when changing channels (#9188) 2023-01-05 16:16:19 -05:00
Gabriel Hernandez 97902a779f small style fixes after main merge 2023-01-05 18:00:40 +00:00
Gabriel Hernandez 71a2e8f517 merge in main 2023-01-05 17:48:46 +00:00
Gabriel Hernandez a2d672435d update buttons to match new styleguide (#9183)
* update button to follow new style guide

* update button styles for inverted ghost buttons

* update a color name to match new styleguide
2023-01-05 15:23:27 +00:00
Jacob Shandling f2bdf7139e UI hackathon - add datetime details in tooltip for most "Last Xed" data presentations (#9166) 2023-01-05 09:08:27 -06:00
Lucas Manuel Rodriguez 08aafe821e Remove duplicate FAQ document (#9185)
* Remove duplicate FAQ document

* Remove entries that are already present in docs/Deploying/FAQ.md

* Fix index
2023-01-04 17:30:44 -03:00
RachelElysia 68aefc8e56 Fleet UI Hackathon: Empty states (#9094) 2023-01-04 14:16:34 -05:00
Gabriel Hernandez afed2e35e0 change integration page layout to side nav layout. (#9057) 2023-01-04 18:39:39 +00:00
Chris McGillicuddyandMike McNeil c887679387 Proposed depuffery revisions (#9138)
* Proposed depuffery revisions

@mikermcneil I proposed some revisions to simplify the content, add consistency, and improve readability. I like the extra detail. I just want to make sure it flows and feels focused.

The "living, breathing API" line trips me up a bit, but I don't know if that's just a personal reaction.

* Update homepage.ejs

* Update homepage.ejs

Thanks for the feedback, @mikermcneil! I've addressed your notes. Is it okay to merge these changes?

* Update homepage.ejs

* surprise »» "shock"

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-01-04 11:51:42 -06:00
Gabriel Hernandez 7ec3cfbfe1 add bookmarkability for search query filtering on hosts (#9067) (#9182) 2023-01-04 16:41:15 +00:00
Luke Heath dea1d6b66e UI hackathon transitions (#9163) 2023-01-04 10:06:30 -06:00
Marcos Oviedo 326bce8dbe Windows MDM Server proof of concept (#9178) 2023-01-04 12:05:51 -03:00
RachelElysia 772caeaa09 Fleet UI: Fix packs target details to show on click (#9155) 2023-01-04 09:58:18 -05:00
Nathanael HollidayandMike McNeil 56d54e8cd1 Offboarding (#9174)
Removed Frank.

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-01-04 08:51:50 -06:00
Lucas Manuel Rodriguez ba6b6e12cc Fix ingestion of MDM server for macOS and Windows hosts (#9133)
* Fix ingestion of MDM server for macOS and Windows hosts

* Return early if there are no mobile_device_management_solutions to clean up

* Run make dump-test-schema

* Fix TestHosts/DeleteHosts test

* Add test for host unenrolling from MDM

* Fix lint

* Fix typo

* Identify Fleet MDM

* Move logic to deduce MDM name out of Datastore

* Run make dump-test-schema

* Remove printfs from migration
2023-01-04 10:29:48 -03:00
Lucas Manuel Rodriguez a506a8e66b Update outdated Orbit and osquery logging documentation (#9064)
* Update some outdated Orbit and osquery logs

* Revert index change
2023-01-04 08:46:28 -03:00
Mike Thomas cb230a8291 Mike t patch 4.25 release post update (#9173)
* Added Fleet MDM image

* updated image
2023-01-03 20:36:45 -06:00
Zachary Winnerman 571848177a Fix some findings from checkov (#9171) 2023-01-03 20:08:39 -05:00
Zachary Winnerman f858186a17 Bump module versions (#9170) 2023-01-03 19:58:13 -05:00
Zachary Winnerman 114e97ba6c Make code match what we are running in prod for sandbox timeout (#9169) 2023-01-03 19:37:19 -05:00
Zachary Winnerman 9ff51fdce8 Bump provider version and module versions (#9168)
* Bump provider version and module versions

* fixup
2023-01-03 19:27:20 -05:00