Commit Graph

10588 Commits

Author SHA1 Message Date
RachelElysia
c2d7c61d92
Fleet UI: Fix show versions toggle (#16716) 2024-02-09 15:00:09 -05:00
Victor Lyuboslavsky
e4d5e27dd9
fleetctl gitops (#16535)
Add `fleetctl gitops` command for #13643 

Code review video:
https://www.loom.com/share/7941c51c709b44ccafd618dd05837d99?sid=27b923d7-1393-4396-bac7-30616b2d6de9

fleet-gitops PR that also needs review:
https://github.com/fleetdm/fleet-gitops/pull/26

Working global/team gitops configs that can be used for testing:
https://github.com/fleetdm/fleet-gitops/tree/victor/fixing-configs

# 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/`.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-02-09 13:34:57 -06:00
Victor Lyuboslavsky
6aedcf97be
Obfuscate enroll secret in error (#16684)
When attempting to set an enroll secret which already exists in DB,
error message no longer contains the secret in cleartext.
#16621 

# 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.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-02-09 13:31:34 -06:00
Eric
d402f72c81
Handbook: Fix broken links (#16711)
Changes:
- Updated broken links in the handbook
- Removed a section that linked to a handbook page that no longer
exists.
2024-02-09 13:13:17 -06:00
Benjamin Edwards
9ba0dafa94
vuln processing as distinct service (#16544)
create a distinct service to managed vulnerability processing
2024-02-09 13:58:28 -05:00
Roberto Dip
5629b271d0
fix profile verification for windows and macos (#16705)
for #16675
2024-02-09 15:06:36 -03:00
RachelElysia
abc0f00cf3
(Released bugs) Fleet UI label bugs: Dynamic platform labels, chromeos dashboard filters for missing chromeos hosts (#16680) 2024-02-09 11:02:23 -05:00
RachelElysia
2a718087cc
(Released Bugs) Fleet UI: Fix software query params bugs (#16682) 2024-02-09 09:16:44 -05:00
Sam Pfluger
dbbb501358
Rename README.md to README.md (#16685) 2024-02-08 16:10:17 -06:00
Sam Pfluger
cfe0e3dd11
Make Sam CODEOWNER of dept handbook pages (#16686) 2024-02-08 16:10:00 -06:00
Luke Heath
1becf7ebe6
Add engineering-initiated stories back to handbook (#16656)
In favor of being succinct, I omitted the specifics. Let me know if you
think I should add them or if this PR is reference enough:

1. Not more than 10% of the sprint. 
2. Not every sprint; only when there is clear business value.
3. Is used for boring solutions only (not chasing new and shiny tech).  
4. I will be DRI for determining when and what to prioritize. I will tag
@noahtalerman any time this happens.
5. @noahtalerman's decision if it changes an interface (UI/API/CLI) or
config surface or changes that require extra work from users (uptime or
manual migration).
2024-02-08 15:41:06 -06:00
Rachael Shaw
102d80e463
Document how to list all hosts on "No team" (#16635)
Example of documentation work for
https://github.com/fleetdm/fleet/issues/16350
2024-02-08 16:27:38 -05:00
Gabriel Hernandez
f0cb1017b6
Feat UI improve troubleshooting profile messaging (#16590)
related to #16417

Improve the error messages for windows mdm profile errors.

This will now format the errors in the UI tooltip


![image](https://github.com/fleetdm/fleet/assets/1153709/a3f69d84-639f-47e9-b361-1cd7be238235)
2024-02-08 13:28:26 -03:00
Lucas Manuel Rodriguez
ab55bd7bfd
Add osquery-perf changes to buffer log results (#16659)
These are the osquery-perf changes for the load test to be performed in
#16423.

- Adding buffering of results when they fail to be sent to the server
(when Fleet is offline/down).
- I'm changing many `a.waitingDo(req, res)` to just do one request and
if it fails it will retry on the next interval, which is what osquery
does on
`/api/osquery/config`/`/api/osquery/distributed/read`/`/api/osquery/distributed/write`/`/api/osquery/log`.
- I'm reducing the logs as they will accumulate considerably while Fleet
is down for 30m with 140k hosts.
- Changing from `fmt.Printfs` to `log.Printfs` for consistency.
- Adding more fine grained stats (to know which endpoints are failing)
- Adding a mode to disable Fleet Desktop to simulate what the customer
is running.
- Adding `logger_tls_max_lines` flag that simulates the osquery setting.
2024-02-08 12:40:13 -03:00
Luke Heath
e7d2aee8a1
Add strategic DRIs to communications handbook (#16652) 2024-02-07 18:57:49 -06:00
Mike Thomas
9b3e9452f1
Update README.md (#16647)
Typo spotted.
2024-02-07 17:34:53 -06:00
Eric
5c7574964f
Website: Update confusing/outdated links. (#16522)
Closes: #16451

Changes:
- Updated the "spin up for yourself" link in the FAQ to go to the
deploying docs.
- Updated the custom idp integration card link to go to the IDP
configuration section of the SSO docs page.
2024-02-07 16:56:33 -06:00
Noah Talerman
633768676a
Docs: Windows custom OS settings (profiles) (#16398)
- Update "Custom macOS settings" page to cross-platform "Custom OS
settings" page
- Match format w/ "Disk encryption" and "OS updates" pages
- Cut content and make the docs more of reference
- Link to best practice GitOps
- Update pricing page
- Add redirects
2024-02-07 17:51:23 -05:00
Sarah Gillespie
45d1f91b48
Expand saved scripts features for Linux hosts (#16639) 2024-02-07 15:32:51 -06:00
Roberto Dip
2d4c1b079a
improvements for troubleshooting workflow for MDM commands (#16654)
for #16416
2024-02-07 16:24:03 -03:00
Sarah Gillespie
8214298041
Update "Add hosts" modal UI to dynamically include enable-scripts flag based on server settings (#16658) 2024-02-07 13:15:17 -06:00
Jacob Shandling
19c1569538
UI: Fix setup flow alignment (#16585)
## Addresses #16569 
Before:
![Screenshot 2024-02-02 at 5 07
00 PM](https://github.com/fleetdm/fleet/assets/61553566/03e27bef-95ad-41b0-ae02-1211ae2d872a)

Now:

![Screenshot-2024-02-02-at-51559PM](https://github.com/fleetdm/fleet/assets/61553566/81100872-c322-413c-acef-842f60306416)


## Checklist for submitter
- [x] Checked on Chrome, Firefox, Safari
- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-02-07 10:33:05 -08:00
Sarah Gillespie
94af293ec6
Fix issues with admin settings pages UI resetting dropdown menus on unrelated state changes (#16468) 2024-02-07 09:59:31 -06:00
Tim Lee
6d1eee6279
Add resolved_in_version for Windows OS Vulns (#16546) 2024-02-07 06:19:59 -07:00
Roberto Dip
a9e837afaf
bootstrap package and eula endpoints platform agnosic (#16631)
for #15082

- POST /mdm/apple/setup/eula was replaced by POST /mdm/setup/eula
- GET /mdm/apple/setup/eula/metadata was replaced by GET
/mdm/setup/eula/metadata
- DELETE /mdm/apple/setup/eula/:token was replaced by DELETE
/mdm/setup/eula/:token
- POST /mdm/apple/bootstrap was replaced by POST /mdm/bootstrap
- GET /mdm/apple/bootstrap/:team_id/metadata was replaced by GET
/mdm/bootstrap/:team_id/metadata
- DELETE /mdm/apple/bootstrap/:team_id was replaced by DELETE
/mdm/bootstrap/:team_id
- GET /mdm/apple/bootstrap/summary was replaced by GET
/mdm/bootstrap/summary
2024-02-07 09:24:24 -03:00
Patricia Ambrus
a4851aec9d
Update README.md (#16623)
fixed typo under "standard terms" section

# Checklist for submitter

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-02-06 18:58:00 -06:00
Mike Thomas
9f260a0caf
Website - device management - "consolidate" to "simplify" text change (#16617)
In response to https://github.com/fleetdm/confidential/issues/5284.

I've always preferred "simplifying" to "consolidating." While
consolidation is good, it sounds time-consuming and tough. "Simplifying"
sounds easy by nature and tips a hat towards Fleet being a simple tool
to use.

Not sure yet about the zero trust header, so will tackle that
separately.


# Checklist for submitter

- [x] Manual QA for all new/changed functionality
2024-02-07 09:55:06 +09:00
Joanne Stableford
c2dc13e771
Update receive-from-github.js list (#16632) 2024-02-06 18:50:44 -06:00
Joanne Stableford
255bd74b57
Update custom.js DRI for secret handbook (#16629) 2024-02-06 18:49:03 -06:00
Nathanael Holliday
55c207ff58
Updating the "updating personnel details section" (#16525)
Adding steps to look at when someone is changing their place of
residence.

# 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.
- [ ] 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
- [ ] 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-02-06 18:47:18 -06:00
Nathanael Holliday
7154cf44c8
Handbook update: quarterly finance checks (#16358)
Changes to the handbook instead of an issue template as directed here:
https://github.com/fleetdm/confidential/pull/5075/files

# 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.
- [ ] 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
- [ ] 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-02-06 18:44:54 -06:00
Eric
a427058dd4
Website: Update homepage category buttons (#16642)
Closes: #16620

Changes:
- Updated the styles for the buttons going to product category landing
pages on the homepage.
2024-02-07 09:17:01 +09:00
Sarah Gillespie
78aa1b0080
Update backend MDM migration flow and add logging to aid in debugging migration errors (#16627) 2024-02-06 16:53:43 -06:00
Jacob Shandling
38d6e94f9f
UI - center the host count within its container (#16638)
## Addresses a small unfiled bug:
before - visible on Firefox only:
<img width="148" alt="Screenshot 2024-02-06 at 2 15 14 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/4319df13-8836-4db9-9362-743ee280d086">

after:
<img width="148" alt="Screenshot 2024-02-06 at 2 15 03 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/33daef5b-c7dd-48de-a4b0-3671ebc21f06">


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

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-02-06 14:37:28 -08:00
Sabrina Coy
33563fba6e
Update rest-api.md (#16630)
Corrected status code from `2000` to `200`
2024-02-06 17:17:26 -05:00
Luke Heath
d65b910103
Clarify exception process for release freeze (#16607) 2024-02-06 15:31:53 -06:00
Brock Walters
b3acc96c4f
Update standard-query-library.yml (#16271)
It is very easy for data collection like this to veer into double /
triple negative mulitverse of madness stuff...

That said, I may have a lack of understanding about how the product
works, i.e., that a query literally must return a 0 value & not null in
order to "pass" in a policy. If so, then this works as expected.

However, if a query just needs to return empty (null) & 0 is implied in
the logic that sets a policy flag to green or red, then, as a rule,
queries like this should be always be simplified & should default to
using "positive" as opposed to "negative" logic, i.e., check if
something exists, never check if a thing does NOT exist.

# Checklist for submitter

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

- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)

- [x] Added/updated tests: Tested by adding dummy Emergency Kit.pdf
files to Desktop & Downloads, running query, then, removing files &
running query.
2024-02-06 16:27:21 -05:00
JD
5a21e2cfb0
Fix article link (#16628)
Correct 404 link found by community member via @BradMacd
2024-02-06 12:54:08 -08:00
George Karr
3e1b5dc16e
Re-enable ability to select Nodeport for service setup #14854 (#16624) 2024-02-06 14:49:13 -06:00
Rachael Shaw
acd8d91350
Add redirect for use in CLI (#16622)
Add redirect for a "more info" link printed to the CLI (so if the docs
URL changes, we don't need to update it in the product as well).

For https://github.com/fleetdm/fleet/issues/16382 (subtask of #9949)
2024-02-06 14:48:11 -06:00
JD
b3452a67a7
Article: Fleet 4.44.0 release (#16625)
Article: Fleet 4.44.0 release
https://github.com/fleetdm/fleet/issues/15984
2024-02-06 13:38:55 -05:00
Jacob Shandling
72ce7bcb74
UI – Instead of not rendering, cosmetically hide ManageQueryAutomations modal to maintain its state (#16609)
## Addresses #16538 


![Screenshot-2024-02-05-at-14512PM](https://github.com/fleetdm/fleet/assets/61553566/ed0baf64-7a3c-4787-83b8-b29285f11601)


## Checklist for submitter

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-02-06 10:12:54 -08:00
Luke Heath
2e93b52490
Add :product label to new requests (#16600)
This will ensure all feature requests are seen and responded to daily
during product design's new daily "new requests" ritual.
2024-02-06 11:32:40 -06:00
Sarah Gillespie
a4228cc45c
Fix UI bug in host query params reconciliation (#16432) 2024-02-06 10:04:07 -06:00
Sarah Gillespie
7b5feff8c9
Add upcoming activities count to host vitals UI (#16533) 2024-02-06 10:03:01 -06:00
Sarah Gillespie
424ffef185
Add count to host upcoming activities API response (#16511) 2024-02-06 10:02:38 -06:00
RachelElysia
379ab87805
Fleet UI: Unreleased missing word (#16619) 2024-02-06 10:52:41 -05:00
Jahziel Villasana-Espinoza
cf9f83604f
fix: return a better message when checking status of async script (#16611)
> Related issue: #16431

# 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.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-02-06 10:37:53 -05:00
Jahziel Villasana-Espinoza
e1dbbda706
feat: update fleetctl output to reference fleetd (#16612)
> Related issue: #16382

# 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.
- [x] Manual QA for all new/changed functionality
2024-02-06 09:30:00 -05:00
RachelElysia
f076769ee2
Documentation: Spelling and grammar fixes (#16403)
---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2024-02-06 09:19:42 -05:00