Commit Graph
13490 Commits
Author SHA1 Message Date
Victor Lyuboslavsky cb537db724 Merge branch 'main' into 20320-feat-uninstall-packages
# Conflicts:
#	server/datastore/mysql/schema.sql
#	server/fleet/software_installer.go
2024-09-08 12:22:36 -05:00
Ian Littman aad34f8c27 Add software uninstall script property, hydrate with scripts
Also hydrate uninstall script content ID when pulling installers when uninstall script contents aren't requested
2024-09-08 12:20:20 -05:00
Victor Lyuboslavsky 3287a245de Added pe_test.go 2024-09-08 12:00:43 -05:00
JD 01ac6012d6 Article: Fleet 4.56.0 release (#21699) 2024-09-07 14:11:10 -05:00
JD d697514a62 Guide: Filtering software by vulnerability (#21698)
Article: Guide - Filtering software by vulnerability
https://github.com/fleetdm/fleet/issues/21057
2024-09-07 14:04:10 -05:00
Victor Lyuboslavsky e78e3524e4 Ignore backend mocks for coverage. (#21900) 2024-09-07 11:50:59 -05:00
Victor Lyuboslavsky dd674552e2 Fixed and added Go tests. 2024-09-07 08:07:22 -05:00
Noah Talerman 32c8e3e0ae Help contributors find wireframes (#21874)
> Hard to find existing UI elements (and pages) in Figma files. As a
Product Designer, I have to know what the most recent feature, and thus
what issue number, was in which a specific UI element was updated.

Re @randy-fleet's feedback ^

Latest plan was discussed during product design sync. This is instead of
the previous plan: spreadsheet where each row is a page/modal in the UI,
and we link to Figma files as designs get settled.
2024-09-06 17:43:55 -05:00
Alex MitchellandSam Pfluger 6ed35ff1ce Update open-positions.yml add AE (#21876)
# 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://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#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 paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes
- [ ] 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.
- [ ] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [ ] Manual QA for all new/changed functionality
- For Orbit and Fleet Desktop changes:
- [ ] Orbit runs on macOS, Linux and Windows. Check if the orbit
feature/bugfix should only apply to one platform (`runtime.GOOS`).
- [ ] 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)).

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-09-06 17:42:33 -05:00
Dante Catalfamo 545f6a4ec2 Remove the ability to have fallback 'all teams' token (#21893) 2024-09-06 18:37:40 -04:00
Lucas Manuel Rodriguez 270ff784d6 Add GitOps support for policy installers (#21826)
#20895

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#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] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [X] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [X] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [X] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [X] Manual QA for all new/changed functionality
2024-09-06 19:10:28 -03:00
Victor Lyuboslavsky 026f133a5c Update schema after merge. 2024-09-06 16:41:26 -05:00
Victor Lyuboslavsky 3f36af92a6 Merge branch 'main' into 20320-feat-uninstall-packages
# Conflicts:
#	server/datastore/mysql/schema.sql
2024-09-06 16:34:30 -05:00
Victor Lyuboslavsky 795110962d Updated ListHostSoftware test and fixed issues. 2024-09-06 16:34:00 -05:00
Dante Catalfamo 10ed59c430 Update copy to mention that orbit has access to all installers (#21342) 2024-09-06 16:33:30 -05:00
Roberto Dip 70923b8352 add wait until mysql is ready (#21883) 2024-09-06 18:17:22 -03:00
JD 228327c0b1 Article: Discovering Chrome AI preference (#21887)
Guide: Discovering AI in Chrome with Fleet
https://github.com/fleetdm/fleet/issues/17774
2024-09-06 16:43:45 -04:00
Jason Lewis f0ba9a6be7 Update pricing-features-table.yml (#21424)
For #20219. Added commit for customer-figali
2024-09-06 15:55:40 -04:00
Savannah FriendandSam Pfluger 049ce82d2d Updated digital experience handbook adding "Confirm the CEO shadow da… (#21791)
Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-09-06 13:39:51 -05:00
Dante Catalfamo f3e4602012 Use global_or_team_id instead of team_id so ID 0 (no team) is valid (#21880) 2024-09-06 15:36:41 -03:00
Dante Catalfamo b19de96635 Migration Swap for minor release (#21877)
In order to get the multi-VPP team app invalidation feature into the
release candidate, we need to swap two migrations to ensure clients get
in-order migrations when moving to the next release
2024-09-06 13:46:08 -04:00
Jacob Shandling 78c534b44f Merge branch 'victor/20320-backend' into 20320-ui-uninstall-packages 2024-09-06 10:41:23 -07:00
0a3bcb818d Handbook: Add note about REST API documentation tables (#21778)
Add note with some conventions to follow in API parameter documentation.

---------

Co-authored-by: Marko Lisica <83164494+marko-lisica@users.noreply.github.com>
Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-09-06 12:37:05 -05:00
Joanne Stableford 6249be54b1 Remove duplicative section (#21882)
This responsibility if for BizOps, and is already captured here:
https://fleetdm.com/handbook/business-operations#change-a-fleeties-job-title
2024-09-06 12:32:50 -05:00
JoGSalandJoey Salazar 8d857a329d Documentation: Add warning about lack of centralized logging (#21865)
Following team feedback from PR #20723.

# Checklist for submitter

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

Feedback Row 7: Added warning about lack of centralized logging.

Co-authored-by: Joey Salazar <jgsal@yahoo.com>
2024-09-06 12:05:42 -05:00
JD 2db4417bff GitOps remove SWU config profile from teams (#21860) 2024-09-06 12:03:59 -05:00
Sarah Gillespie 10ce9a37d6 Update documentation for OS updates feature to include enforcement of minimum version during Apple Automated Device Enrollment (ADE) (#21574) 2024-09-06 11:18:43 -05:00
jacobshandlingandJacob Shandling 6d38b3d8bb UI - Help text, link tweaks (#21857)
## Follow-up to #21564 
![Screenshot 2024-09-05 at 11 45
25 AM](https://github.com/user-attachments/assets/3efa3400-d600-4a9c-8488-40f497c6818c)
![Screenshot 2024-09-05 at 11 45
29 AM](https://github.com/user-attachments/assets/5919ba90-970b-4a51-a87d-5ed5226f1337)
![Screenshot 2024-09-05 at 11 45
32 AM](https://github.com/user-attachments/assets/f0ca80fe-fd80-4321-bd2a-8c33aa4c6f25)
![Screenshot 2024-09-05 at 11 45
35 AM](https://github.com/user-attachments/assets/84de54ad-8264-4f5a-a2cc-3aaf8fd3dbe1)

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-09-06 09:16:52 -07:00
jacobshandlingandJacob Shandling 1095e513b9 UI - update software title details statuses to reflect possible "uninstalling" states (#21858)
## #21565 
![Screenshot 2024-09-05 at 11 57
25 AM](https://github.com/user-attachments/assets/64e3ba67-482b-4e76-9e2f-ebce348bd104)
![Screenshot 2024-09-05 at 11 57
22 AM](https://github.com/user-attachments/assets/97c7ded5-a04d-4aac-bede-a7d65f8614b2)

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-09-06 09:16:10 -07:00
Victor Lyuboslavsky 6f3dc3e599 Rebase onto main 2024-09-06 09:55:34 -05:00
Victor Lyuboslavsky 7d47cd95d8 Fixed tests 2024-09-06 09:49:36 -05:00
Victor Lyuboslavsky 5a50e0ad1e Added activity -- core implementation done. 2024-09-06 09:49:36 -05:00
Victor Lyuboslavsky a4a2e402f5 Rebased onto main. 2024-09-06 09:49:32 -05:00
Victor Lyuboslavsky 42905d3c97 Can run install scripts now. 2024-09-06 09:49:28 -05:00
Victor Lyuboslavsky 7e60b646fc Fixed schema 2024-09-06 09:49:28 -05:00
Victor Lyuboslavsky 54840414a2 Updated host_software_installs table. 2024-09-06 09:49:27 -05:00
Victor Lyuboslavsky ea10d43e93 Added uninstall script to software_installers 2024-09-06 09:49:27 -05:00
Victor Lyuboslavsky d7f13295e9 Parsing package IDs 2024-09-06 09:49:27 -05:00
Dante Catalfamo 031e5b9c71 Delete apps associated with VPP tokens when they're moved or deleted (#21852)
#21804
2024-09-06 09:14:09 -04:00
Roberto Dip 92c6c26d40 update to go1.23.1 (#21868)
for #21440

# 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://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2024-09-06 09:11:30 -03:00
d377b78f94 Smaller design reviews and other product design feedback (#21660)
Currently, design reviews are too big. This slows us down when we’re in
final review mode. Open discussion with various internal and/or external
stakeholders is valuable when reviewing not-yet final designs.

Changes:
- Big design review on Mondays:
  - Who? Noah+Luke+Product Designers
    - _All Fleeties can attend and give feedback_
- What? Product Designers get feedback on _not-yet final designs_
("Feedback" mode)
- Small design review rest of the week:
  - Who? Noah+Luke+Product Designers
    - _All Fleeties can attend as shadows_
- What? Product Designers get feedback/approval on _final designs_
("Final review" mode)
- Product Designer is responsible for "In progress" => "Ready to spec"
and EM is responsible for "Specified" => "Estimated"
- Re:
https://github.com/fleetdm/confidential/issues/7644#issuecomment-2315286552
- Move call out about not using Figma comments
- Re:
https://github.com/fleetdm/confidential/issues/7644#issuecomment-2315286552

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
Co-authored-by: Luke Heath <luke@fleetdm.com>
Co-authored-by: Rachael Shaw <r@rachael.wtf>
2024-09-05 20:47:55 -05:00
EricandMike Thomas cb2c266774 Website: update guides category page (#21859)
Closes: #21798

Changes:
- Updated the layout and styles for the /guides page.
- Upgraded the version of DocSearch the website uses

---------

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2024-09-06 10:45:01 +09:00
George Karr 12094d5305 Adding changes for Fleet v4.55.2 (#21832) 2024-09-05 18:43:25 -05:00
JoGSal 388a2621c5 Documentation: Add referenced links to existing documentation (#20898)
Annotations file feedback row 15.1: Add links to various topics
mentioned

# 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. -->
2024-09-05 17:23:25 -05:00
JoGSalandRachael Shaw 3e10bde50c Documentation: Add links to Mysql and Redis configuration sections (#20903)
Annotations file feedback row 15.4: remove duplicated reference and add
clarity for Mysql and Redis sections

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

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2024-09-05 17:08:26 -05:00
Jahziel Villasana-Espinoza 557c5d102f fix: prevent creating teams with reserved team names (#21727)
> Related issue: #21246

# 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://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-09-05 17:44:09 -04:00
Eric f186eedceb Website: fix broken link to enroll hosts page in teams guide. (#21861)
Closes: https://github.com/fleetdm/confidential/issues/7902

Changes:
- fixed a broken link going to the enroll hosts guide.
2024-09-05 12:32:23 -07:00
jacobshandlingandJacob Shandling 0cfbdc6f58 UI – Implement changes for package uninstall scripts in the add software modal (#21828)
## Addresses #21564 – see issue for task list
![Screenshot 2024-09-04 at 5 45
12 PM](https://github.com/user-attachments/assets/546401dd-b56e-4c39-baba-456dc844ee0f)
![Screenshot 2024-09-04 at 5 42
57 PM](https://github.com/user-attachments/assets/810ca450-0ddd-4258-96a5-bddb300ae19d)
![Screenshot 2024-09-04 at 5 45
02 PM](https://github.com/user-attachments/assets/32a19ce6-52c3-4772-ba53-00e50145bc85)
![Screenshot 2024-09-04 at 5 43
23 PM](https://github.com/user-attachments/assets/925843fb-6290-489b-a639-de1cbfba83fa)

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-09-05 11:11:14 -07:00
Nathanael HollidayandSam Pfluger 00a357e798 Update payment info section (#21702)
Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-09-05 13:07:06 -05:00
Roberto Dip 4eb9cf72ad MABM: fixes and re-enable integration tests (#21834)
for #21309, this also fixes a few bugs found along the way

# 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] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-09-05 14:10:35 -03:00