Commit Graph

10743 Commits

Author SHA1 Message Date
Marko Lisica
290ffd48d7
Improve fleetctl CLI docs page (#16877)
Co-authored-by: Rachael Shaw <r@rachael.wtf>
2024-02-23 13:14:47 -06:00
Rachael Shaw
6a975b479e
Small grammatical fix (#17131)
Missing "the" in a note in the REST API docs and tweaked wording a
little bit.
2024-02-23 13:00:23 -06:00
Marko Lisica
489b45368e
API design: enable profiles based on labels (#15117)
API changes for the following story: 
- #14715

---------

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Rachael Shaw <r@rachael.wtf>
Co-authored-by: Roberto Dip <me@roperzh.com>
2024-02-23 12:54:18 -06:00
Roberto Dip
92ffa2ca99
fix MDM SSO redirects (#17125)
In https://github.com/fleetdm/fleet/pull/16750 we introduced logic to
prevent POST requests to frontend endpoints.

The redirect for SSO was using `http.StatusTemporaryRedirect` as the
status code, which preserves the original request method (`POST` in this
case).

This changes the method to be `http.StatusSeeOther`, [per MDN][1]:

> This response code is often sent back as a result of PUT or POST. The
> method used to display this redirected page is always GET.

[1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303

# 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-23 15:50:09 -03:00
github-actions[bot]
6fbee3fc8f
Update Orbit CA certs [automated] (#15576)
Automated change from [GitHub
action](https://github.com/fleetdm/fleet/actions/workflows/update-certs.yml).

Co-authored-by: zwass <zwass@users.noreply.github.com>
2024-02-23 09:59:03 -08:00
Victor Lyuboslavsky
ad6b16fa3e
Updating docs for enroll secret in system keystore (#16985)
#13832
2024-02-23 11:39:17 -06:00
Victor Lyuboslavsky
64e76f6f10
15919 vulnerabilities page (#17047)
#15919 

This is a feature branch. All PRs into this branch have already been
reviewed.
2024-02-23 11:00:31 -06:00
Sharon Katz
dd58fc4638
14105-apply-error-handling (#15309)
Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com>
2024-02-23 10:13:02 -05:00
RachelElysia
2a6e94a55e
Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
Rachael Shaw
6cd2ae32dc
Document team host expiry config (#17114)
Add `host_expiry` to team configuration file example.
2024-02-22 17:52:43 -06:00
Drew Baker
32ec2b1420
Update introducing-cross-platform-script-execution.md (#17105) 2024-02-22 18:10:32 -05:00
Victor Lyuboslavsky
e5f9fee07c
Merge branch 'main' into 15919-vulnerabilities-page 2024-02-22 16:33:05 -06:00
Victor Lyuboslavsky
9e83339f3d
Merge branch 'main' into 15919-vulnerabilities-page 2024-02-22 16:27:15 -06:00
Mike McNeil
882ff520f5
"IT input", version Feb 22 (#17101)
A few changes from today's episode of "IT input" with Grant, Sabrina,
and Brock!
https://docs.google.com/document/d/1_wzw2f9fI1lNCAhIKjHvtt7LiAEYzFk0lTp2XQHlyIg/edit
2024-02-22 16:12:40 -06:00
Noah Talerman
3eadde131a
Scripts are free (#17093)
- Update docs
- Update pricing page
2024-02-22 16:07:57 -06:00
Victor Lyuboslavsky
f5f0797083
Fixing tests. (#17073)
Fixed failing tests after recent merge with main.
Also includes updated migration date.
2024-02-22 16:03:13 -06:00
Eric
fa6d6cbf2b
Handbook: update rituals (#17090)
Changes:
- Removed Markdown links from ritual descriptions (and added them to the
moreInfoUrl value of the rituals)
- Updated the "Generate merged schema" ritual to be weekly, and added a
`moreInfoUrl` value.
- Fixed the ritual table on the sales handbook page.

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-02-22 14:12:47 -06:00
Noah Talerman
c39ac10e40
Update story issue template (#17039)
- Use Figma for CLI design/changes
2024-02-22 13:53:27 -06:00
Noah Talerman
397ef427e0
Update story issue template (#17042)
- Add "Product designer" section so that contributors know who to
contact with questions about UI, CLI, or API design
- Move entire "Context" section higher up so that it's easier to find
2024-02-22 13:53:01 -06:00
Roberto Dip
261332f76c
automatically renew macOS identity certificates 30 days prior to their expiration (#17057)
#15332

# 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
2024-02-22 16:23:12 -03:00
Marko Lisica
12f519c853
Docs: Script library for Linux (#15484)
Docs changes for:
- #15283

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2024-02-22 13:20:04 -06:00
Marko Lisica
47e584da4f
API design: Improve troubleshooting workflow for Windows custom MDM commands and profiles (#16408)
API design for:
- #15769

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2024-02-22 13:17:37 -06:00
Noah Talerman
dcb30040d7
Add lock and wipe to Transparency page (#17092)
- Scope transparency
2024-02-22 14:16:23 -05:00
Rachael Shaw
07d8829d78
API design: Lock & unlock hosts (#16157)
REST API updates for remote lock
([#9949](https://github.com/fleetdm/fleet/issues/9949)).

---------

Co-authored-by: George Karr <georgekarrv@users.noreply.github.com>
2024-02-22 13:06:47 -06:00
Luke Heath
fb44217467
Update codeql workflow (#17067) 2024-02-22 12:27:52 -06:00
Jahziel Villasana-Espinoza
272ce3187f
feat: move scep dependency inside the monorepo (#16988)
Following the pattern set up by Martin and Lucas for similar PRs. Can be
reviewed by commits:

1. move scep directory into monorepo
2. update import paths
3. update go.mod, go.sum
4. fix golint errors in scep package
5. skip a failing test that's been broken for a while
6. fix that failing test

# 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] Manual QA for all new/changed functionality

Also verified that our test suite runs the `scep` tests.
2024-02-22 13:13:46 -05:00
Victor Lyuboslavsky
a82fdac8a6
Fixed bug where updating policy name can result with multiple policies with the same name in a team. (#17059)
Fixed bug where updating policy name can result with multiple policies
with the same name in a team.
#17048 
# Checklist for submitter
- [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] 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] Manual QA for all new/changed functionality
2024-02-22 12:13:07 -06:00
Martin Angers
c5b988d600
Fix stack trace of captured errors in Sentry, capture errors in more code paths (#16966)
#16480 

# Checklist for submitter

- [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-22 15:10:28 -03:00
Lucas Manuel Rodriguez
0642387b32
Orbit to detect 5XX alongside network errors (#17084)
#16423, #16326 

On the [original PR](https://github.com/fleetdm/fleet/pull/16968) we
missed detecting 5XX errors. Fleet usually runs behind load balancers,
so when bringing Fleet down, orbit connects successfully but gets 5XX
errors, so we need to detect those too.
2024-02-22 14:24:17 -03:00
Gabriel Hernandez
2c383a060f
Fix UI software versions and os initial loading state (#16927)
relates to #16854

This fixes the inital loading state in the UI for the software versions
and os tables.

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [x] Manual QA for all new/changed functionality
2024-02-22 16:54:32 +00:00
Gianluca Varisco
6d2a57ec83
[GCP] Fixed typo in terraform instructions - readme.md (#17025) 2024-02-22 10:33:05 -06:00
Joanne Stableford
ba35b8031d
Minor spell check corrections (#17085) 2024-02-22 10:31:48 -06:00
dependabot[bot]
f1bb19f96f
Bump ip from 2.0.0 to 2.0.1 (#17009) 2024-02-22 10:30:26 -06:00
RachelElysia
0d7c7324b1
Fleet UI: Update queries and policies page descriptions (#17080) 2024-02-22 11:06:29 -05:00
Sarah Gillespie
dfa8695dd5
Fix UI styling of loading state for automatic enrollment settings page (#16959) 2024-02-22 10:01:04 -06:00
Mike Thomas
685ba9484d
Update device-management-transparency-380x320@2x.png (#17075)
Typo spotted in screenshot (eneabled == enabled)
2024-02-22 09:39:47 -06:00
RachelElysia
8f29a024ee
Fleet UI: Update empty policy states (#17030) 2024-02-22 10:31:49 -05:00
RachelElysia
20d6a1bc19
Fleet UI: Rename user settings/profile page to account page (#17032) 2024-02-22 10:31:16 -05:00
Gabriel Hernandez
6442716fb9
go 1.21.7 upgrade (#16980)
relates to #16794

upgrade golang to 1.21.7


- [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-22 15:02:41 +00:00
RachelElysia
5223e8b2a2
[Released bug] Fleet UI: Update policy count on deletion of policies (#17037) 2024-02-22 09:05:49 -05:00
RachelElysia
ff5748fd8f
Fleet UI: Move show query button in query report (#17044) 2024-02-22 09:05:02 -05:00
RachelElysia
bdceb29559
Fleet UI: Rename team modal aptly named rename team (#17026) 2024-02-22 09:02:58 -05:00
Sam Pfluger
f8430449a7
Add apprentice position (#17076) 2024-02-22 02:23:51 -06:00
Eric
cef2375396
Website: Update product categories section on homepage (#17072)
Changes:
- Removed the product category switch on the homepage.
2024-02-22 10:26:51 +09:00
Jahziel Villasana-Espinoza
9ed2396279
fix: return InstallProfile for Type field in windows MDM profile commands (#16967)
> Related issue: #16648

# 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] 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-02-21 18:32:04 -05:00
Lucas Manuel Rodriguez
4d1467c9b3
Upload only orbit executable to ease future automation and reduce size of artifacts (#17024)
Reasons:
- Smaller artifacts on
https://github.com/fleetdm/fleet/actions/workflows/goreleaser-orbit.yaml
(used when releasing fleetd).
- Less error prone (human performing the release has to be careful to
not pick the macOS amd64 or arm64 version of orbit, and pick the
universal one)
- Moves a small step forward to #16131
2024-02-21 20:12:18 -03:00
Eric
8ea6a64782
Website: update /fleetctl-preview (#16949)
Changes:
- Updated the /fleetctl preview page to give users a way to install
`fleetctl` using terminal commands without downloading node.
- Added a script to install `fleetctl` on macOS and Linux
2024-02-22 08:12:03 +09:00
JD
b50e56deb2
Article Fleet 4.45.0 release (#17051)
Article: Fleet 4.45.0 release
https://github.com/fleetdm/fleet/issues/16433
2024-02-21 18:02:07 -05:00
Luke Heath
e5a376fb05
Update freeze ritual notes (#17050) 2024-02-21 16:09:57 -06:00
Luke Heath
186fdec05a
Remove sandbox infrastructure directory (#16902) 2024-02-21 16:07:58 -06:00