Commit Graph
9425 Commits
Author SHA1 Message Date
Roberto Dip 436733763a always assign a DEP profile if the host is assigned in ABM (#14606)
for #13703 and #13992, this updates the logic used by the functions that
gather hosts that need DEP profile updates to use hosts directly from
`host_dep_assignments`, regardless of their MDM status.
2023-10-18 11:29:40 -03:00
Roberto Dip 45236e23d6 fix flaky test by ignoring order of elements (#14611)
As far as I can tell, the order doesn't matter here, we wan to test that
the slice has the elements with the higher `UnixTime` value
2023-10-18 11:07:00 -03:00
Pratham 9ec2efb979 docs/MDM-Windows-setup: fixup environment variable (#14593)
The correct variable to use seems to be `FLEET_DEV_MDM_ENABLED`,
`FLEET_MDM_WINDOWS_ENABLED_AND_CONFIGURED` is not present in the
codebase
2023-10-17 21:43:41 -05:00
Mike McNeil f4c8ce1812 Handbook: product groups: caps (#14592) 2023-10-17 21:25:57 -05:00
Mike McNeil c4d6e6c882 Handbook: 🦢 (#14610) 2023-10-17 18:10:33 -05:00
Noah Talerman 4197b5a052 Fix typo (#14605) 2023-10-17 17:35:25 -04:00
Andrew Baker ed10db33cb Publish script execution blog post (#14598)
Adding visibility to script execution blog post again.
2023-10-17 12:57:42 -04:00
Lucas Manuel Rodriguez 22bba274b7 Run logger, distributed and config in separate goroutines (#14584) 2023-10-17 11:30:59 -03:00
Mike Thomas 82534168d9 Updated grammar and typos on FAQ.md (#14587)
I was in this file and got sucked into fixing up a bunch of typos and
grammar issues. (I just had to clear all the Grammarly red marks 😵‍💫)

- Added missing punctuation
- Removed unnecessary punctuation
- Fixed some typos
- Hypenated some compound adjectives 
- Removed some unnecessary hyphens

.
2023-10-16 23:36:23 -05:00
10ed97e570 Docs: API changes for #7766 (#13484)
Draft PR to show API changes for #7766

#13469

---------

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-10-16 23:34:32 -05:00
637430f442 Fixing typo on the proxies page (#14576)
Fixing typos - replacing capital case with lower case.

Removed all the checklist because it doesn't apply to changes in the
documentation....
...
...

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
Co-authored-by: Sampfluger88 <108141731+Sampfluger88@users.noreply.github.com>
2023-10-16 21:03:10 -05:00
George Karr c360d75c06 Add engineering specific Hiring process that was previously undocumented. (#14511) 2023-10-16 18:15:50 -05:00
Lucas Manuel Rodriguez e58e72fb77 Prevent empty logging_type when creating and editing queries (#14575)
#14551

- ~[ ] 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 (docs/Using
Fleet/manage-access.md)~
- ~[ ] 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.~
- [X] Added/updated tests
- [x] 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-10-16 19:33:39 -03:00
Mike Thomas 37cacac1d8 Update to "Can you host Fleet for me?" in FAQ.md (#14585)
I added a link to the license dispenser in the "Can you host Fleet for
me?" section.

# Checklist for submitter
- [x] Manual QA for all new/changed functionality
2023-10-16 17:24:23 -05:00
a8b790c617 2023-10-13 Add Certificate renewal steps to engineering handbook (#14501)
Adding the annual ritual to make sure our Cert is always valid for new
customers to generate Push certificates. ...

---------

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-10-16 17:16:16 -05:00
Noah Talerman fb64a9ee73 Configuration reference docs: WSTEP cert/key (#14567)
- Inform user that they will have to turn disk encryption on/off again
if they change their WSTEP cert/key pair
2023-10-16 18:08:07 -04:00
Gabriel Hernandez db580e4eba update broken link for mdm macOS setup assistant docs (#14530)
fix broken link for mdm macos setup docs
2023-10-16 17:03:48 -05:00
Rachael Shaw 283e694e06 Fix link formatting (#14541)
Fixed markdown syntax for links in a couple places where it was
formatted incorrectly (`(…)[…]` instead of `[…](…)`)

(Fixed one earlier and just searched the docs folder for `)[` to find
these; hopefully this PR nabs the rest.)
2023-10-16 16:52:58 -05:00
Luke Heath 1b428aff94 Fix typo on MDM-Windows-setup.md (#14552)
......
2023-10-16 16:52:28 -05:00
Luke Heath 2b726f4b38 Update product groups membership (#14583)
...
2023-10-16 16:50:01 -05:00
RachelElysia 32019d4219 Fleet UI: [Unreleased bug] Observer/Observer+ trying to reach edit query page fix redirects to query report page (#14582) 2023-10-16 16:15:01 -04:00
Luke Heath 59d663ae54 Remove infrastructure engineer role (#14581)
Our interview pipeline is full....
2023-10-16 14:38:26 -05:00
Lucas Manuel RodriguezandRachael Shaw 87e2cfca71 Add query report to manage-access.md (#14542)
Adding the permissions docs change for #7766.

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2023-10-16 14:18:42 -03:00
gillespi314 71f67b845f Update UI helper function to work with new HumanTimeDiffWithDateTip component (#14573) 2023-10-16 11:48:03 -05:00
RachelElysia b3b8e5b586 Fleet UI: Interim fix for tooltip not being cut off by table edge (#14119) 2023-10-16 11:46:25 -04:00
Jordan Wright 39e9cdd7b1 Fix certain datetimes to display "Never" when they are prior to Fleet's launch date (#14487)
# Checklist for submitter

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality

> [!NOTE]  
> For the reviewer, you won't hurt my feelings at all if you have a
better implementation in mind and want to close this out! I'll be
upfront that I'm much more of a Go dev than a frontend dev. I'm just
using this issue as an opportunity to become more familiar with Fleet,
since I'm a fan of what y'all are doing and have been looking for a
project to spend some spare-time contributing to 😄
>
> You should also have edit access to this branch, so feel free to
commandeer it as you see fit.

# Summary

This PR aims to fix a regression identified in #14353 in which certain
"zero" datetimes are displayed as "54 years ago" instead of the
preferred "Never". The "zero" datetimes are commonly used [as a proxy to
indicate](https://github.com/fleetdm/fleet/blob/5cb8051a409df9e82178d9cbe67e7d2370016db2/server/datastore/mysql/hosts.go#L1649)
that a date wasn't set, e.g. when a host hasn't had its details fetched
yet.

We don't want to apply this treatment to _all_ datetimes, since some
(like vulnerability data) have valid dates before Fleet was created.

To support both use cases, I:

* Added an optional boolean, `cutoffBeforeFleetLaunch`, to indicate that
dates should be cutoff prior to the hardcoded Fleet launch date. This is
set to `false` in `HumanTimeDiffWithDateTip` for
backwards-compatibility.
* Created `HumanTimeDiffWithFleetLaunchCutoff` which is a drop-in
replacement for `HumanTimeDiffWithDateTip` that sets the
`cutoffBeforeFleetLaunch` flag to `true`.

I then used `HumanTimeDiffWithFleetLaunchCutoff` in the various host
related fields I could find. It's possible I missed some, so please
double-check me! I'm still getting my bearings on the codebase.

Here's a screenshot showing the host table with a host that I had
deleted and waited to appear again:

<img width="1381" alt="Screenshot 2023-10-11 at 11 27 29 PM"
src="https://github.com/fleetdm/fleet/assets/1317288/3cd23879-3233-409f-91a0-8b5e02d09deb">

You may find it helpful to review this commit-by-commit.

Closes #14353
2023-10-16 16:43:47 +01:00
RachelElysia cf6f226bd5 Fleet UI: [unreleased bug] Fix online hosts percentage string that wasn't rendering (#14568) 2023-10-16 10:55:47 -04:00
Marcos OviedoandMartin Angers 4edab240ff Fixing issue with Orbit not sending bitlocker error (#14547)
This is related to #14546 

- [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

---------

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2023-10-16 11:07:40 -03:00
Mike McNeil 7350e1e420 features.yml: Various improvements, one potential change (#14564) 2023-10-15 22:04:15 -05:00
Mike McNeil 87006de426 Update pricing-features-table.yml (#14563) 2023-10-15 20:43:32 -05:00
Mike McNeil 353e107472 Update pricing-features-table.yml (#14562) 2023-10-15 16:50:02 -05:00
Mike McNeil f0fea17d59 Update pricing-features-table.yml (#14561) 2023-10-15 02:43:36 -05:00
Mike McNeil 519e40c9ba Update pricing-features-table.yml (#14560) 2023-10-14 22:20:29 -05:00
Sampfluger88andMike McNeil 847fb729bd Update pricing-features-table.yml (#14559)
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-10-14 20:13:27 -05:00
Rachael Shaw 8f4ae0c50a Small formatting fix (#14553)
Added some missing backticks where we had a larger-than-intended block
of text highlighted as code.
2023-10-14 17:03:04 -05:00
Sampfluger88andMike McNeil 03bb027441 CODEOWNERS: docs (#14558)
Closes fleetdm/fleet#14536

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-10-14 17:02:42 -05:00
Luke HeathandGeorge Karr db93da95a8 Update sprint demos description (#14532)
I want to highlight: 

1. That we only demo features, improvements, and bug fixes. (not all
accomplishments might be unrelated to the release)

2. Specify that we want the content of the presentations to be
accessible to everyone and not too technical.

---------

Co-authored-by: George Karr <georgekarrv@users.noreply.github.com>
2023-10-14 16:57:43 -05:00
Sampfluger88 2ad19735cd Bring file current with Fleeties (#14557)
Remove Head of Demand Gen position and comment out SDR position with
12-15 start date ...
2023-10-14 13:20:07 -05:00
Jacob ShandlingandJacob Shandling 53b08bfa99 UI: Fix edit query form padding; align all Fleet checkboxes with their text (#14545)
## Addresses #14535 

- Fix the issue
- Dedupe and modularize styles while at it

**Left: fix | Right: bug**
<img width="1750" alt="Screenshot 2023-10-13 at 11 27 31 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/f13daf10-977c-45f1-bfcc-c294551ca18c">

- Also fix global alignment issue with checkboxes and their text:

**Left: fix | Right: bug**
<img width="868" alt="Screenshot 2023-10-13 at 11 46 42 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/33e92582-65b8-4c5d-aa46-45f8730ef439">

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-10-13 16:07:53 -07:00
Victor Lyuboslavsky 8d0f37f926 Added getvictor to list of humans (#14548)
...
2023-10-13 16:31:30 -05:00
Roberto Dip 9172b69669 don't preemptively set disk encryption as on (#14533)
for #14422

# Checklist for submitter

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

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2023-10-13 18:05:03 -03:00
Robert Fairburn eb0babe51a Sandbox-v4.38.1 (#14524) 2023-10-13 15:35:42 -05:00
Lucas Manuel Rodriguez 910e26b93e Amend loadtesting terraform docs (#14549) 2023-10-13 17:05:00 -03:00
Jordan Wright bcb70fad41 Fleet UI: Fix agent options link (#14403) 2023-10-13 14:34:00 -04:00
Lucas Manuel RodriguezandRachael Shaw 138d66cfcb Add release notes for #7766 (#14497)
I'm not sure this is the best place to put this information or if this
is the best format. But we need to inform users of these changes
somewhere in the v4.39.0 release notes. Am all ears.

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2023-10-13 14:58:24 -03:00
Jacob ShandlingandJacob Shandling defd64d806 Check interval when determining if 'collecting results' (#14523)
## Addresses #14515 

- Include a check that a query's interval is set to something other than
never when deciding whether to display "Collecting results"

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-10-13 10:27:38 -07:00
Lucas Manuel Rodriguez 8c6cefc4f4 Fix panic in osquery-perf (#14534)
This is safe to merge during freeze as this is an osquery-perf only
change.
```
panic: runtime error: index out of range [1] with length 1

goroutine 14 [running]:
main.(*agent).config(0xc0001e5b80)
        /Users/luk/fleetdm/git/fleet/cmd/osquery-perf/agent.go:847 +0xb74
main.(*agent).runLoop(0xc0001e5b80, 0x0?, 0x0?)
        /Users/luk/fleetdm/git/fleet/cmd/osquery-perf/agent.go:463 +0x4d2
created by main.main in goroutine 1
        /Users/luk/fleetdm/git/fleet/cmd/osquery-perf/agent.go:1666 +0x1285
```
2023-10-13 14:26:46 -03:00
Lucas Manuel Rodriguez 7d13769de6 Fix false positive vulnerability for python on macOS (#14531)
#11923

- [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.
- ~[ ] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)~
- ~[ ] Documented any permissions changes (docs/Using
Fleet/manage-access.md)~
- ~[ ] 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~
- [x] 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-10-13 14:24:35 -03:00
Gabriel Hernandez 8950d46cbc Fix script details modal UI bug (#14527)
fix a UI bug of the script details modal rendering incorrectly under the
top nav.

**Before:**


![image](https://github.com/fleetdm/fleet/assets/1153709/07370735-c305-42da-8934-7a375f4c3359)

**After:**


![image](https://github.com/fleetdm/fleet/assets/1153709/0a3cae2c-4cdb-4b72-8941-757949772993)

- [x] Manual QA for all new/changed functionality
2023-10-13 15:09:45 +01:00
Roberto Dip 2003677355 update TUF guide for target removals (#14528) 2023-10-13 09:47:37 -03:00