Commit Graph
11387 Commits
Author SHA1 Message Date
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
Eric 455cb861e1 Website: update IDs and currentSection values of landing pages (#18131)
Closes: #18072

Changes:
- Updated the IDs of landing pages to prevent auto-generated IDs of
Markdown headings having the same ID as pages.
- Added a `currentSection` value to the /endpoint-ops and
/vulnerability-management pages.
2024-04-08 15:00:39 -05:00
Sarah Gillespie 05ccf9ee23 Fix issues related to Fleet builtin labels and reserved MDM profile names (#18043) 2024-04-08 14:34:55 -05:00
Eric 36366f9071 Website: Update parallax city component (#18124)
Changes:
 - Updated function names used by the parallax-city component.
2024-04-08 12:28:46 -05:00
Roberto Dip 02f4d5c134 run make generate-docs for DDM activities (#17888) 2024-04-08 13:19:56 -03:00
Eric d89af24955 Website: Update /start questionnaire to update leads (#18120)
Changes: 
- Updated the `save-questionnaire-progress` to send a request to Zapier
when a user completes the "What are you using Fleet for" step of the
/start questionnaire.
2024-04-08 10:51:15 -05:00
George Karr b9ef0290b9 Fixed invalid bash (empty if) / ignore directories we don't need to change versions (#18116) 2024-04-08 10:49:47 -05:00
Eric 4fec1c9efb Website: browser compatibility fixes 2024-04-05 (#18109)
Closes: #18089
Closes: #18107

Changes:
- Updated styles for the buttons on the /register and /login pages to
fix alignment issues on Opera v64.
- Updated the style of the "start now" header button to fix an alignment
issue on Opera v64.
- updated the animation the logo carousel uses to fix weird behavior on
Safari 13
2024-04-08 10:20:15 -05:00
Roberto Dip bac13b4af2 Prevent MDM migration without assigned ADE profile (#17999)
for #15929 this prevents us sending the notification to start the MDM
migration if the device doesn't have the right JSON profile assigned.
2024-04-08 11:10:29 -03:00
Martin Angers f7c9fe735c Fix and add enable_release_device_manually to puppet-related integration test (#17892) 2024-04-08 09:23:23 -04:00
Martin Angers 66f90ccd93 Merge branch 'main' into mna-17401-puppet-related-integration-tests 2024-04-08 08:45:56 -04:00
Roberto Dip f1b45a3865 friday tidy up party (#18106)
- add missing tests
- remove unused code
- remove unnecessary nested branches
2024-04-08 08:42:42 -03:00
EricandMike Thomas a389822f42 Website: Add steps to /start questionnaire (#18074)
Closes: #18047

Changes:
- Added three steps to the /start questionnaire
- Updated the contact page to prefill information for logged-in users by
default
- Updated the layout of the f/leetctl-preview page for users navigating
to it from the /start page.
- Updated the quote for vulnerability management on the /start and
/contact pages to have a logo (There will be a separate PR, to add it to
testimonials.yml)

---------

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2024-04-08 19:39:19 +09:00
Eric 14c312361b Website: update <parallax-city> component to conditionally disable animation (#17816)
Closes: #17482

Changes:
- Updated the `<parallax-city>` component to display a static image if a
user's browser has hardware/graphics acceleration disabled.
2024-04-05 19:09:58 -05:00
Sam PflugerandJason Lewis f0e3259765 Add CSE role (#17990)
Co-authored-by: Jason Lewis <57552211+Patagonia121@users.noreply.github.com>
2024-04-05 17:46:35 -05:00
Victor Lyuboslavsky e8487fae53 In kubequery, updating golang.org/x/net dependency to fix GO-2024-2687 (#18108)
#17903
In kubequery, updating golang.org/x/net dependency to fix GO-2024-2687
2024-04-05 17:43:10 -05:00
Eric e21be6d275 Handbook: fix duplicate ritual description in digital experience rituals (#18090)
Changes: 
- Updated the description and moreInfoUrl for the "Check browser
compatibility for fleetdm.com" ritual.
2024-04-05 17:37:04 -05:00
Eric d6036b181b Schema: Remove unused and outdated schema/fleet_schema.json (#18092)
Changes:
- Deleted `schema/fleet_schema.json` (This file was previously used when
merging the osquery schema with Fleet's overrides before we switched to
using YAML override files).
- Updated the description of the `generate-merged-schema` script.
2024-04-05 17:13:32 -05:00
Victor Lyuboslavsky ffc2d9f68a Fixing frontend code scanning vulnerability alerts (#18042)
#17903

- Fixing https://osv.dev/vulnerability/GHSA-crh6-fp67-6883 by updating
@xmldom/xmldom@0.8.3 to @xmldom/xmldom@0.8.4
- Fixing https://osv.dev/vulnerability/GHSA-wf5p-g6vw-rhxx by overriding
axios@0.21.1 to axios@0.28.0
- Fixing https://osv.dev/vulnerability/GHSA-p6mc-m468-83gw by removing
lodash.set dependency by updating nock@13.2.4 to nock@13.5.4
- Fixing https://osv.dev/vulnerability/GHSA-4wf5-vphf-c2xc by updating
terser from 5.12.1 to 5.14.2
- Fixing https://osv.dev/vulnerability/GHSA-566m-qj78-rww5 and
https://osv.dev/vulnerability/GHSA-7fh5-64p2-3v2j by:
- Updating to autoprefixer@10.4.19, node-sass-glob-importer@5.3.3, and
postcss-loader@4.3.0
- Overriding css-selector-extract@3.3.6 to css-selector-extract@4.0.1
- Overriding css-node-extract@2.1.3 to css-node-extract@3.0.4 and
overriding its postcss dependency to ^8.4.31
2024-04-05 16:45:22 -05:00
Victor Lyuboslavsky c19ebfee46 Update golang.org/x/net dependency to fix GO-2024-2687 (#18086)
#17903 
Update golang.org/x/net dependency to fix GO-2024-2687
2024-04-05 16:45:07 -05:00
Lucas Manuel Rodriguez 5a02624f27 Add support for pre-release on Windows orbit builder (#18102)
We need to support semantic versioning with pre-releases to comply with
semantic versioning required by goreleaser allowing us to build orbit
pre-releases.
2024-04-05 18:41:46 -03:00
Eric 766d08e767 Schema: remove requires_user_context related code, regenerate schema json. (#18091)
Changes:
- Updated the `build-static-content` script to remove support for the
`requires_user_context` column attribute
- Updated `get-extended-osquery-schema` to not set a
`requires_user_context` value in the merged schema json.
- Regenerated `schema/osquery_fleet_schema.json`
2024-04-05 15:39:02 -05:00
Brock WaltersandVictor Lyuboslavsky 8d0d309a1f Update macos-install-wine.sh with codesign warning (#17982)
The Wine developer does have an Apple Develeoper certificate but the
"Wine Stable" app bundle is not code-signed or notarized post-install &
disables Gatekeeper for the install. This adds a warning to the script
user about the app not being signed. post-install

---------

Co-authored-by: Victor Lyuboslavsky <victor.lyuboslavsky@gmail.com>
2024-04-05 16:14:57 -04:00
Rachael Shaw 7bf3157fef Add redirects for calendar integration setup (#18094)
Adds redirects used in the Fleet UI for [calendar integration
setup](https://www.figma.com/file/p81nWodxL04YD7iNyr9xVa/%2317230-Fleet-in-your-calendar?type=design&node-id=362%3A3864&mode=design&t=p2gszo7V6sbbI2nF-1).
2024-04-05 14:00:04 -05:00
Jacob ShandlingandJacob Shandling 9e2be0028c UI: Restore missing JavaScript context in HQR config (#18087)
## Addresses #18083 
![Screenshot 2024-04-05 at 9 37
20 AM](https://github.com/fleetdm/fleet/assets/61553566/b683d30c-9af2-4cbb-8cea-b4a6e2422464)



- [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-05 11:47:42 -07:00
Victor Lyuboslavsky 5a6c407e1b Calendar webhook will retry if it receives response 429 (#18067)
#18044 
Calendar webhook will retry if it receives response 429 Too Many
Requests. Webhook request will retry for 30 minutes with a 1 minute max
delay between retries.

# 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. -->

- [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.
- [ ] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-04-05 12:44:56 -05:00
George Karr 6f78531280 Small changes to release and adding start of README (#18012) 2024-04-05 11:13:58 -05:00
Rachael ShawandEric 55df14a23e Update schema overrides to clarify which tables require joining against users (#18045)
For #16784.

These tables require joining against `users`:
+ `chrome_extension_content_scripts`
+ `chrome_extensions`
+ `firefox_addons`
+ `vscode_extensions`
+ `browser_plugins`
+ `crashes`
+ `preferences`
+ `safari_extensions`
+ `ssh_configs`
+ `user_ssh_keys`
+ `authorized_keys`
+ `known_hosts`
+ `shell_history`

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-04-05 11:11:18 -05:00
Eric 51c59e59b8 Website: update personalization (#18075)
Changes:
- updated the custom hook to support clearing the
`primaryBuyingSituation` with a query string (`?utm_content=clear`)
- Updated the pricing page to pre-select a pricing table mode based on a
user's `primaryBuyingSituation`
- reordered content on and updated the /support page to personalize/hide
community slack links based on a user's `primaryBuyingSituation`
- Updated the meta description of the product category landing pages
- updated personalization based on `primaryBuyingSituation` on the
/contact page.
- Updated the title of the /queries page based on the user's
`primaryBuyingSituation`
- Added personalization to the product category landing pages.
2024-04-05 12:57:45 +09:00
Eric 58db642f0a Website: remove /imagine policy and route. (#18076)
Changes:
- Removed `/imagine/*` policies.
2024-04-04 21:05:00 -05:00
Eric bb932c4659 Website: remove /imagine pages (#18073)
Changes:
- Removed /imagine pages
2024-04-04 19:18:38 -05:00