Commit Graph
12361 Commits
Author SHA1 Message Date
RachelElysia 99f431f8d7 Fleet UI: Host details page > policies improvements (#19483) 2024-06-11 14:27:43 -04:00
Victor Lyuboslavsky 05eb338561 Enable gitops to create teams with no enroll secrets, or clear enroll secrets for an existing team (#19616)
Enable gitops to create teams with no enroll secrets, or clear enroll
secrets for an existing team
#19332 

`fleetctl apply` also gains this extra functionality. In `fleetctl
apply` secrets will not be change if one of the following:
- secrets is missing from yml
- They are blank in yml, like: `secrets:`
- They are null in yml, like: `secrets: null`

They will only be cleared with `fleetctl apply` if the user explicitly
sets them to an empty array, like:
- `secrets: []`

# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/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-06-11 13:20:32 -05:00
Roberto Dip 33439620bd Add missing changes file for #19500 (#19655)
I added this but forgot to commit it 🤦
2024-06-11 15:18:11 -03:00
Eric 44680cbe15 (2024-06-11) Regenerate osquery_fleet_schema.json (#19653)
Closes: #19611

Changes:
- Regenerated `schema/osquery_fleet_schema.json`
2024-06-11 11:37:30 -05:00
Dave Herder 94c1fac5e6 fix broken trust page link - subprocessors (#19629) 2024-06-11 09:21:28 -07:00
Brock Walters c9ebab7cac Update package_install_history.yml (#19635)
Update package_install_history per #16993
2024-06-11 11:56:22 -04:00
Brock Walters 7698bde029 Update etc_hosts.yml (#19640)
added backticks / fixed width font for file paths
2024-06-11 11:44:07 -04:00
Brock WaltersandEric 6e0ef1f446 Create pipes.yml (#19638)
Create pipes table per #16993

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-11 11:43:54 -04:00
Brock Walters d69a4406a5 Update platform_info.yml (#19637)
Updates to Update platform_info table per #16993
2024-06-11 11:30:43 -04:00
Brock Walters b45dbdc58e Update package_bom.yml (#19634)
Updates to the package_bom table per #16993
2024-06-11 11:13:23 -04:00
RachelElysia 48884b0ae3 Fleet UI: Disabled styling fixes (#19614) 2024-06-11 11:11:40 -04:00
Dante Catalfamo ecef0d4263 fleetd_logs table (#19489)
#18234
2024-06-11 11:02:50 -04:00
Marko Lisica bcfc93ec22 Update "Enroll now" copy on AppleAutomaticEnrollmentPage.tsx (#19642)
Apple Business Manager changed sign up CTA copy and it's outdated in
instructions for automatic enrollment in our UI.
2024-06-11 16:26:28 +02:00
Martin Angers 6dd365f266 Fix scripts that block execution of subsequent scripts when timing out on Windows (#19485) 2024-06-11 09:21:57 -04:00
Martin Angers dec9bc53e3 Fix code linting issue where a slice was created non-empty and appended-to (#19490) 2024-06-11 08:55:07 -04:00
Martin Angers 96c8139c02 Fix a panic when downloading a software installer that exists in the DB but not in the storage (#19527) 2024-06-11 08:53:41 -04:00
Gabriel Hernandez de0562a686 UI code cleanup and tests for self service feature (#19487)
various code cleanup tasks for the self service UI. Also adds some tests
for self service.


- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-06-11 12:56:50 +01:00
Gabriel Hernandez 30553cecc3 fix icon misalignments on dashboard cards (#19610)
relates to #19555

This fixes various icon misalignments on the dashboard page.

**before:**


![image](https://github.com/fleetdm/fleet/assets/1153709/0738c8a3-88c7-481b-8675-fdeb5713de78)

**after:**


![image](https://github.com/fleetdm/fleet/assets/1153709/25bc995a-644e-4310-b32d-09d39f28960c)

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/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-06-11 12:55:25 +01:00
Gabriel HernandezandSarah Gillespie 917e83e2ff change TextCell so that we are rendering '0' value as a number and re… (#19441)
relates to #19433

Makes the rendering of empty text cell values consistent. We also want
to render the '0' value as a number instead of the default value `---`
with greyed styles.

**Before:**


![image](https://github.com/fleetdm/fleet/assets/1153709/7c0ecb99-409d-4698-bb6f-083245fb3919)

**After:**


![image](https://github.com/fleetdm/fleet/assets/1153709/d7da74a7-3492-4672-98ea-f810dc0038d7)

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Sarah Gillespie <73313222+gillespi314@users.noreply.github.com>
2024-06-11 12:54:24 +01:00
Luke HeathandRobert Fairburn df16d76565 Add fleet_calendar_periodicity to dogfood environment (#19633)
From this PR: https://github.com/fleetdm/fleet/pull/19559

---------

Co-authored-by: Robert Fairburn <8029478+rfairburn@users.noreply.github.com>
2024-06-10 15:15:36 -07:00
Luke Heath fd1500747c Update macos MDM migration demo policy (#19632) 2024-06-10 14:49:42 -07:00
Jacob ShandlingandJacob Shandling 3f9c685bfc Add disclaimer about default macos openssl binary (#19623)
See https://fleetdm.slack.com/archives/C019WG4GH0A/p1718042699503069

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-06-10 14:42:20 -07:00
JD 3fa3f507b5 Article: Fleet 4.51.0 release (#19630) 2024-06-10 14:24:37 -07:00
Eric aa60ce0537 Website: Update modals on mobile safari (#19628)
Related to: https://github.com/fleetdm/fleet/issues/19584
Closes: https://github.com/fleetdm/fleet/issues/19624

Changes:
- Updated the modal component to remove a workaround for an ios 11 bug
that has been resolved in the versions of IOS that the Fleet website
supports
2024-06-10 15:24:23 -05:00
RachelElysia 7a4a3c4939 Fleet UI: Fix dot problem so UI renders responses for columns with dot notation (#19528) 2024-06-10 16:21:58 -04:00
Lucas Manuel RodriguezandVictor Lyuboslavsky 01dd0c7c4d Update osquery flags to 5.12.2 (#19338)
#17375

Updating the osquery flags for 5.12.2
And making the changes so that we can just run `cd server/fleet/ && go
generate` on a macOS host every time we need to do this.

Manual tested by setting `logger_tls_backoff_max` in Fleet agent
settings (which is a 5.12.0 flag).

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/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

---------

Co-authored-by: Victor Lyuboslavsky <victor.lyuboslavsky@gmail.com>
2024-06-10 17:02:49 -03:00
Lucas Manuel Rodriguez 3dbdbc1bcf Add support for iOS/iPadOS to osquery-perf (#19522)
#18119

- [X] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.

Sample on how to simulate 50 iPads and 50 iPhones:
```sh
go run ./cmd/osquery-perf -host_count 100 -os_templates iphone_14.6.tmpl:50,ipad_13.18.tmpl:50 -mdm_scep_challenge <...>
```
2024-06-10 17:02:35 -03:00
Lucas Manuel Rodriguez a37d0692b1 Fix fleetctl preview bug caused by creating enroll secrets (#19497)
#19129

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/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-06-10 16:49:59 -03:00
Lucas Manuel Rodriguez 7eb3628fe6 Support RPM upgrades on fleetd packages (#19494)
#18534

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [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-06-10 16:49:45 -03:00
Lucas Manuel Rodriguez 5f65ea831c Disable AI features on non-new installations upgrading to 4.51.X (#19482)
#19365

Assuming we release this fix in 4.51.0:
- Migration from a version without the feature (< 4.50.0) to 4.51.0:
Should disable (set `ai_features_disabled=true`).
- Migration from a version with the feature (>= 4.50.X < 4.51.0) to
4.51.0: Should keep `ai_features_disabled` as-is.
- New installation of Fleet: Should come with AI features enabled
(`ai_features_disabled=false`).

From
https://github.com/fleetdm/fleet/issues/19365#issuecomment-2145825363.

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [X] Manual QA for all new/changed functionality
2024-06-10 16:49:27 -03:00
Lucas Manuel Rodriguez 3e19cd90a9 Log warning when hosts enroll with duplicate hardware UUIDs (#19475)
#16393

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [X] Added/updated tests
- [X] Manual QA for all new/changed functionality
2024-06-10 16:48:05 -03:00
Victor Lyuboslavsky 08c54d235b Improved gitops test. (#19544)
Some minor gitops test improvements.

I was debugging a gitops read-after-write consistency issue that I ended
up filing as #19543
2024-06-10 14:27:55 -05:00
Victor Lyuboslavsky 6a20231fc4 Added FLEET_CALENDAR_PERIODICITY for internal demo use. (#19559)
#19491 

Video demo:
https://www.loom.com/share/c8fca008a9674cc685a5c209d9689271?sid=1f67e6c5-5e0b-4f10-9837-dc5d4c27f858

Changes file not added since this is an undocumented feature for
internal use.

New tests not created since this feature is for internal use, and will
likely be removed in the near future.

# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/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-06-10 14:27:28 -05:00
Roberto Dip a9a11e293a Fixed a bug that prevented unused script contents to be cleaned up. (#19615)
for #19500

# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/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-06-10 16:03:34 -03:00
Noah Talerman 4095595747 Update features.yml (#19622)
- Remove "Separate file size options for query results vs. agent logs
when using filesystem storage" (#11999)
2024-06-10 13:23:52 -05:00
RachelElysia df44151309 [bug fix] Fleet UI: Activity readable without public IP (#19443) 2024-06-10 14:14:50 -04:00
Luke Heath dd89ab6998 Update macos MDM migration demo script (#19621) 2024-06-10 10:48:35 -07:00
Jacob ShandlingandJacob Shandling 92198a22b8 Delete team policies: 404 for nonexistent team (#19516)
## Addresses #18993 

- Return `404` when a user tries to delete team policies from a
non-existent team – see [this precedent in the
codebase](https://github.com/fleetdm/fleet/blob/6b3310aa51bbc54282a0f2cd7d527997448c961f/server/service/integration_core_test.go#L6212)
for a 404 in this situation
- Add missing authorization check for this action


<img width="1494" alt="Screenshot 2024-06-04 at 6 22 02 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/15b98c7e-5d4b-450c-8403-a062d7d1bd5b">



- [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-06-10 10:46:16 -07:00
Jahziel Villasana-Espinoza 27b8a1364f feat: new software installer and carves fields, kept original fields for backwards compat (#19597)
> Related issue; #19526

# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/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-06-10 13:35:27 -04:00
Benjamin Edwards 1946fa64f0 update render blueprint (#19460)
Update the render blueprint to also supply `FLEET_SERVER_PRIVATE_KEY`
2024-06-10 13:31:50 -04:00
Luke Heath fbe9c1b498 Adding changes for Fleet v4.51.0 (#19601) 2024-06-10 09:47:23 -07:00
Joanne Stableford be753af9d6 Add responsibility to BizOps handbook - low credit alert (#19445) 2024-06-10 12:31:18 -04:00
Noah Talerman 9a4b6a4abe Dogfood policies: deduplicate (#19613)
- Add inline policies that are unique to "Workstations" or "Workstations
(canary)" to remove duplicate policies in
`macos-device-health-canary.yml`
2024-06-10 09:00:06 -07:00
Eric 1fac823fa9 Website: Update Salesforce helepr to set an an Owner ID on all new records. (#19609)
Changes:
- Updated the update-or-create-contact-and-account helper to always set
the integrations admin user as the owner of new accounts and contact
records created.
2024-06-09 15:00:55 -05:00
Eric 518e5f4087 Website: Update links to queries in query library (#19604)
Closes: #19228

Changes: 
- Removed the click event from the cards on the /queries page and
updated them to be links.
2024-06-07 18:12:27 -05:00
Eric da0268eec8 Website: Update Markdown headings (#19608)
Closes: #19606

Changes:
- Updated the `to-html` helper to add optional linebreaks to all
Markdown headings that contain an underscore.
2024-06-07 17:48:44 -05:00
Luke Heath 2a9b10855d Fix learn more about configuration redirect (#19607) 2024-06-07 14:50:57 -07:00
Noah Talerman 6aef9520e9 MDM setup docs: APNs and ABM in the UI (#19463) 2024-06-07 14:33:00 -07:00
Luke Heath d2ed0319a3 Add lukeheath as fallback for time-sensitive docs PRs (#19605) 2024-06-07 14:31:25 -07:00
Isabell ReedyandSam Pfluger 8334a94d10 Process for recognizing teammates on their workiversary (#19567)
Got approval from @JoStableford live during our biz ops github time. ..

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-06-07 15:29:52 -05:00