Commit Graph
9413 Commits
Author SHA1 Message Date
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
Roberto DipandMartin Angers 540f8b9657 Bring MDM hotfixes to main (#14494)
This brings the hotfixes in https://github.com/fleetdm/fleet/pull/14433
for https://github.com/fleetdm/confidential/issues/3922 and
https://github.com/fleetdm/confidential/issues/https://github.com/fleetdm/fleet/issues/3904

---------

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2023-10-13 08:49:11 -03:00
Sampfluger88 b32af97863 Handbook/leadership: Removed step in hiring adding GitHub username to Fleeties (#14521)
Closes fleetdm/classified#610
2023-10-12 22:58:18 -05:00
Sampfluger88 92bbc4a1c0 Handbook/leadership (#14513)
- Add "Outline of departmental structure"
- Typos
- Add description of responsibilities
2023-10-12 22:56:07 -05:00
Sampfluger88andMike McNeil 54971df031 Docs: Make Mike CODEOWNER of the docs (#14483)
Closes fleetdm/classified#588

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-10-12 22:54:29 -05:00
Jahziel Villasana-Espinoza f92695fda5 osquery-perf: can send scheduled query results (#14502) 2023-10-12 20:41:04 -06:00
Roberto DipandMartin Angers e46e83baf8 upgrade Go to 1.21.1 for infra (#13878)
related to #13715, this updates the infra dependencies for the general
go upgrade that's happening at
https://github.com/fleetdm/fleet/pull/13877

I'm thinking we probably want to merge this after we're sure that
everything works well, maybe even after we have a release with go 1.21.1
out, so I'm making a separate PR.

---------

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2023-10-12 21:09:17 -05:00
Joanne Stableford 972b61967f Update humans list in receive-from-github.js (#14518)
...
2023-10-12 17:58:59 -05:00
Jacob ShandlingandJacob Shandling 600fb401d6 Match no results tooltip text to Figma (#14516)
## Addresses [Reed's comment in
Slack](https://fleetdm.slack.com/archives/C01EZVBHFHU/p1697144038116529)
<img width="655" alt="Screenshot 2023-10-12 at 2 45 51 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/b48621a6-092a-4623-91f5-03d7749733f6">
<img width="655" alt="Screenshot 2023-10-12 at 2 47 47 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/e7844ecd-a2d8-4122-ae3e-35a4a62f45c6">
<img width="655" alt="Screenshot 2023-10-12 at 2 47 32 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/2932fe4a-6b5c-4d09-9a96-1d88c39808e9">

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-10-12 14:52:27 -07:00
Jacob ShandlingandJacob Shandling 2a8e69b964 Remove extra change file (#14481)
Removes a changefile that was included in a previous release and
accidentally re-introduced to main.

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-10-12 14:49:30 -07:00
Jacob Shandling aeba3f0396 Disable edit query for o and o+ (#14514) 2023-10-12 13:45:37 -07:00
Tim Lee 148386e956 Docs: Query Report API (#14204) 2023-10-12 14:17:41 -06:00
Rachael Shaw 8bbdadfb42 Fix link formatting in "Get a list of Visual Studio Code extensions" query (#14512)
Fixed link formatting in "Get a list of Visual Studio Code extensions"
query
2023-10-12 14:44:11 -05:00