Commit Graph
11417 Commits
Author SHA1 Message Date
Lucas Manuel Rodriguez 598dfa3061 Move and fix oncall.sh script (#18217)
In the future we can create automation to send reminders to a Slack
channel. Or send the list every time there's a oncall changeover.
2024-04-11 16:23:00 -03:00
c917ac3026 Handbook: Adds swag ordering (#18167)
Moving these details out of the event issue template and into the
handbook.

---------

Co-authored-by: Joanne Stableford <59930035+JoStableford@users.noreply.github.com>
Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-04-11 13:48:33 -05:00
github-actions[bot]andlucasmrod 5146420294 Update versions of fleetd components in Fleet's TUF [automated] (#18213)
Automated change from [GitHub
action](https://github.com/fleetdm/fleet/actions/workflows/fleetd-tuf.yml).

Co-authored-by: lucasmrod <lucasmrod@users.noreply.github.com>
2024-04-11 10:13:33 -03:00
Eric b98b050078 Website: Fix conditional logic in create-issues-from-todays-rituals script. (#18214)
Closes: #17991
Changes:
- Updated the logic in the create-issues-from-todays-rituals script that
determines if an issue for a ritual should be created.
2024-04-11 00:34:13 -05:00
Brock Walters b101e290a1 Update customer-success.rituals.yml (#18205)
Changed DRI to @nonpunctual for tasks:

"Prepare customer requests for feature fest"
"Present customer requests at feature fest"
2024-04-10 22:30:27 -05:00
Mike McNeilandSam Pfluger 265b6122e1 Handbook: Update leadership.md (#18158)
Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-04-10 22:19:21 -05:00
Jacob ShandlingandJacob Shandling 02563ffef9 Convert all values to string where possible, even if not derived from a table (#18210)
## Addresses #17946
results from querying chrome extension on macOS Chrome browser:
![Screenshot 2024-04-10 at 4 39
13 PM](https://github.com/fleetdm/fleet/assets/61553566/d67901f3-6e20-4190-8dbb-26e93361555b)

- [x] Changes file added for user-visible changes in `changes/`
- [x] Updated tests
- [x] Manual QA for all new/changed functionality
- [ ] TODO - Manual QA on actual Chromebook

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-04-10 18:38:41 -07:00
Eric 8159c2b44f Website: Update rituals script (#18211)
Closes: #17991

Changes:
- Updated the create-issues-for-todays-rituals script to calculate the
number of miliseconds until ritual issues should be created in whole
milliseconds.
2024-04-10 19:50:13 -05:00
Lucas Manuel Rodriguez cfdce42970 Fixes for releasing to stable channel (#18200)
Bug fixes found while releasing fleetd `1.23.0` to `stable`.
2024-04-10 18:34:33 -03:00
RachelElysia 565e45c041 Fleet UI: Pass teamId through all query flows (#18204) 2024-04-10 17:26:16 -04:00
Lucas Manuel Rodriguez 01f9963856 Add summary to test-go.yml Slack message when it fails (#18188)
This is to clearly see what is failing. (Looking through the thousands
of log lines via the URL is tedious.)

![Screenshot 2024-04-10 at 1 25
31 PM](https://github.com/fleetdm/fleet/assets/2073526/b64edc4b-6c88-4385-80e2-7babb1d4f3e5)
2024-04-10 18:04:26 -03:00
Rachael Shaw 966cf3fda5 Add redirect for broken link to downgrading docs (#18164)
For https://github.com/fleetdm/fleet/issues/17860 (the current link that
banner points to is broken, this will prevent that happening if things
move around again).
2024-04-10 15:47:44 -05:00
Rachael Shaw 57a28ed18d #14916 Configuration change: Host status webhook per-team (#15612)
Adds `webhook_settings.host_status_webhook` options to team config for
#14916.

Also updated conceptual docs that reference this config (and cut down
some content to make room).
2024-04-10 15:28:17 -05:00
RachelElysia 63ca8f44be Update types to config and remove unneeded keys being sent to API (#18183) 2024-04-10 16:19:18 -04:00
Benjamin Edwards 87a73682e3 firehose logging module -- add compression format variable (#18202) 2024-04-10 16:10:03 -04:00
Sam Pfluger 419dc84108 Add Communicate Fleet's potential energy (#18195) 2024-04-10 14:20:28 -05:00
Jacob ShandlingandJacob Shandling 3f32c870a6 Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455)
## Addresses #16615 and #18041

### #16615:
- Trim whitespace for backend filtered tables
- Trim whitespace in UI for Queries table search string
<img width="1271" alt="Screenshot 2024-03-06 at 11 46 56 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/b818591c-a977-4203-8adb-3a0d909fcfbb">
<img width="1271" alt="Screenshot 2024-03-06 at 11 47 21 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/3c95b992-31ed-4c12-9763-6f5fc7d78b1f">
<img width="1800" alt="Screenshot 2024-03-06 at 3 18 31 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/05c677a4-80e8-4f94-8abc-235cab4145b7">
<img width="1800" alt="Screenshot 2024-03-06 at 5 05 25 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/4a5529a4-dd5f-463c-97ae-6ceaaaff7f93">


_______________________
### #18041:
#### Global:
![Screenshot 2024-04-03 at 12 21
19 PM](https://github.com/fleetdm/fleet/assets/61553566/9a45a3a6-4136-4851-b887-bd176299d0c2)
 
#### Team:
![Screenshot 2024-04-03 at 12 56
36 PM](https://github.com/fleetdm/fleet/assets/61553566/793c70e7-384b-4705-a373-7e30a5188b03)

#### **Similar fix for `GET` ...`vulnerabilities`**


- [x] Changes file added for user-visible changes in `changes/`
- [x] Add integration tests for all affected endpoints
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-04-10 11:50:08 -07:00
George Karr f02d4706f5 Adding changes for patch 4.48.2 (#18148) 2024-04-10 13:21:59 -05:00
Jacob ShandlingandJacob Shandling dfe51474cd BadRequest when no payloads present; BadRequest for invalid payload types (#18169)
## Addresses #17157 
![Screenshot 2024-04-09 at 4 53
22 PM](https://github.com/fleetdm/fleet/assets/61553566/a6a57f55-275f-4a06-89e7-085262d2672c)

- [x] Changes file added for user-visible changes in `changes/`
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-04-10 10:55:38 -07:00
RachelElysia 21d1d90e3c Fleet UI: Select a query modal revamp (#18001) 2024-04-10 13:54:31 -04:00
Mike McNeilandEric 8d810a3a03 Update contact.page.js (#18171)
Co-authored-by: Eric <eashaw@sailsjs.com>
2024-04-10 12:36:49 -05:00
dependabot[bot] ffddd76b9c Bump tar from 6.1.13 to 6.2.1 (#18180) 2024-04-10 12:35:42 -05:00
RachelElysia 38e1307d6b Fleet UI: Show hidden columns in schema with a note (#17983) 2024-04-10 13:23:22 -04:00
RachelElysia 0b5e0069d4 Revert "Fleet UI: Add advanced setting to set expiry window for activity log (#17989) (#18185)
## Issue
#17989 

## Description
-BE not finished, in progress, but @lucasmrod is starting oncall so
might not be part of sprint

This reverts commit e99eaf6cd3.

# Checklist for submitter

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

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [ ] 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.
- [ ] 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
- [ ] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [ ] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [ ] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [ ] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [ ] 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)).
2024-04-10 12:30:39 -04:00
Victor Lyuboslavsky 3859c971cf Added error messages when scripts are disabled. (#18174)
#17148

Added error messages to lock/unlock/wipe when scripts are disabled.

# Checklist for submitter
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-04-10 11:29:46 -05:00
Eric 24d0f7005e Website: upgrade sails to 1.5.10 (#18177)
Closes: #18048

Changes:
- Updated the version of `sails` the website uses
2024-04-10 10:14:35 -05:00
George Karr e73fd55c5b Updating vuln check support (#15174) 2024-04-10 10:04:50 -05:00
Victor Lyuboslavsky a27634deb1 Updating orbit_info schema. (#18135)
#17148
#17361 

In orbit_info table, added the following fields:
- desktop_version
- scripts_enabled
2024-04-10 09:50:26 -05:00
RachelElysia e99eaf6cd3 Fleet UI: Add advanced setting to set expiry window for activity log (#17989) 2024-04-10 10:48:46 -04:00
Eric d2d1b8f0ca Website: Update styles for "tip" block quotes in the handbook (#18166)
Closes: #18161

Changes:
- Updated `basic-handbook.less` to fix a style issue with "tip"
blockquotes
2024-04-09 18:02:26 -05:00
Eric b1eb1ae456 Website: remove script tag (#18163)
Related to: #18153

Changes:
- Removed the Snitcher script tag from the Fleet website (It will be
added back via GTM after we are sure it is not causing issues for
website users.)
2024-04-09 17:32:56 -05:00
Martin Angers f4d6136236 Ignore pending DDM profiles when waiting to release a device (#18159)
#18160 

# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [x] Manual QA for all new/changed functionality
2024-04-09 17:12:51 -05:00
Sam Pfluger 3ca567f467 Fix crazy formatting (#18162)
![image](https://github.com/fleetdm/fleet/assets/108141731/db51a115-01b5-4f38-bc88-775008554145)
2024-04-09 16:51:55 -05:00
Lucas Manuel Rodriguez 23772c69b7 Create releaser.sh to release fleetd updates (#18134)
#16131

`releaser.sh` was used to release fleetd 1.23.0.
2024-04-09 18:37:55 -03:00
Victor Lyuboslavsky 3367b7e036 Added orbit_version, fleet_desktop_version, and scripts_enabled to host details. (#18123)
#17361
#17148

In GET fleet/hosts/:id response, added the following fields:
- orbit_version
  - `orbit_version == null` means this agent is not an orbit agent
- fleet_desktop_version
- `fleet_desktop_version == null` means this agent is not an orbit agent
or it is an older version which is not collecting the desktop version
- `fleet_desktop_version == ""` means this agent is an orbit agent but
does not have fleet desktop
- scripts_enabled
- `scripts_enabled == null` means this agent is not an orbit agent or it
is an older version which is not collecting scripts_enabled

In orbit_info table, added the following fields:
- desktop_version
- scripts_enabled

Updated docs for orbit_info PR:
https://github.com/fleetdm/fleet/pull/18135

Updated API docs: https://github.com/fleetdm/fleet/pull/17814

MDM lock/unlock/wipe error messages are not part of this PR. They will
be in a separate PR.

# Checklist for submitter
- [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 support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [x] Added/updated tests
- [x] If database migrations are included, checked table schema to
confirm autoupdate
- [x] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [x] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [x] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2024-04-09 16:33:44 -05:00
Award Malisi 630b71875e Added Award to humans (#18156) 2024-04-09 16:35:47 -04:00
Eric 6fac9aaf7e Website: update layout and personalization in website navigation (#18155)
Changes:
- Updated the link to the queries page in the website header navigation
menu and docs navigation menu to say "Device health checks" for users
who have a primaryBuyingSituation set to `eo-it` or `mdm`.
- Updated links in the docs side nav to be relative
- Replaced the snitcher script tag with an updated version from
snitcher's website.
2024-04-09 15:27:55 -05:00
Mike McNeil d3214fab51 Update primary-tagline.partial.ejs (#18140) 2024-04-09 15:01:44 -05:00
Lucas Manuel Rodriguez 1b35ffd0ef Release fleetd 1.23.0 (#18133) 2024-04-09 15:15:06 -03:00
Martin Angers 2da35b6a38 Fix missing collation in database migration (#18146) 2024-04-09 13:53:53 -04:00
Martin Angers 5d4bc856b9 Add changes file 2024-04-09 13:17:50 -04:00
Martin Angers c263923eab Explicitly set collation for character columns 2024-04-09 13:17:33 -04:00
Eric 98a41914ab Website: upgrade dependencies (#18145)
Related to: #18048

Changes:
Upgraded website dependencies:
- `@sailshq/lodash`: `^3.10.3` » `^3.10.6`
- `jsonwebtoken`: `9.0.0` » `9.0.2`
- `sails`: `^1.5.8` » `^1.5.9`
- `sails-hook-apianalytics`: `^2.0.5` » `^2.0.6`
- `sails-hook-orm`: `^4.0.2` » `^4.0.3`
- `sails-postgresql`: `^5.0.0` » `^5.0.1`
- `sails-hook-grunt`: `^4.0.0` » `^5.0.0`
2024-04-09 11:58:05 -05:00
George Karr af7f0fa89e Adding changes for patch 4.48.1 (#18129) 2024-04-09 11:41:41 -05:00
Sam Pfluger 36a75a0b64 Update README.md (#18143) 2024-04-09 09:27:35 -05:00
Roberto Dip f827a4727e use license.IsPremium to check for premium licenses (#18141)
a license can be considered premium for trials, this replaces
occurrences that used comparison operators to check for premium
licences.
2024-04-09 11:15:22 -03:00
Noah Talerman 65ab7a896d Remove duplicate DEP profile example (#18114)
- Remove duplicate
- Add redirect so the example profile can move later w/o breaking links
- Update links
2024-04-09 09:47:47 -04:00
Sam Pfluger 08e72db93a Update README.md (#18136) 2024-04-09 08:38:26 -05:00
Jason Lewis 3e31fbc373 Update open-positions.yml (#18125)
fixed error in "MYSql" and changed to proper format: "MySQL"

# Checklist for submitter

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

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [ ] 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.
- [ ] 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
- [ ] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [ ] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [ ] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [ ] 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)).
2024-04-09 08:37:50 -05:00
github-actions[bot]andlucasmrod b348243634 Update versions of fleetd components in Fleet's TUF [automated] (#18139)
Automated change from [GitHub
action](https://github.com/fleetdm/fleet/actions/workflows/fleetd-tuf.yml).

Co-authored-by: lucasmrod <lucasmrod@users.noreply.github.com>
2024-04-09 03:51:45 -03:00