Commit Graph

7551 Commits

Author SHA1 Message Date
Jacob Shandling
1a8ae63689
add emoji option to create_n_teams (#11189)
Add the ability to have the `create_n_teams` script generate team names
of the form "Team {5-emoji}", where '5-emoji' is a sequence of 5
randomly generated emoji.

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-04-13 14:40:29 -07:00
Lucas Manuel Rodriguez
1797bf05c6
Logout to return HTTP 401 if unauthorized (#11190)
#10798

- [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~
- ~[ ] 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-04-13 18:37:42 -03:00
Juan Fernandez
c16184a647
Bug 10767: Don't return 500s if enroll secret not found (#11121)
Return proper status code (401) on '/api/fleet/orbit/enroll' if secret is invalid.
2023-04-13 16:16:40 -04:00
Gabriel Hernandez
73827717d6
update premium message to be more reusable (#11160)
quick PR to help the premium message be more reusable

- [x] Manual QA for all new/changed functionality
2023-04-13 16:48:28 +01:00
RachelElysia
ce543f28fa
Standard Query Library: Docker application specified for standard policy (#10380) 2023-04-13 10:24:49 -04:00
Noah Talerman
5bc34a2ec0
MDM docs: Add link on landing page (#11183)
- Add link to Commands page
2023-04-13 07:01:59 -07:00
Mike Thomas
3eeade1fb3
Updated formatting for downgrade instructions (#10527)
I noticed an opportunity to improve the formatting of the downgrading to
Fleet Free instructions while I was linking to the section from another
task.

- Highlighted renewal/contact instructions as a note
- Emphasised each of the main steps
- Removed redundant language
- Removed redundant line breaks in the markdown
- Increased spacing between steps
2023-04-13 09:41:24 +09:00
Zachary Winnerman
cf26a6194f
A temp fix for jobs hogging resources (#11175)
# Checklist for submitter

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

- [ ] 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
- [ ] 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
- [ ] 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-04-12 18:34:20 -04:00
Luke Heath
ddb63203ca
Prepare v4.30.1 (#11178) 2023-04-12 17:03:09 -05:00
Luke Heath
26e26fcc5a
Open sandbox for new instances (#11180) 2023-04-12 17:00:11 -05:00
Jacob Shandling
df02c29ee7
Continue fetching global queries even when a team is selected (#11177) 2023-04-12 15:57:21 -05:00
Eric
d744f1d5bc
Website: Replace remaining SVG images on landing pages & minor style tweaks (#11176)
Changes: 
- Replaced SVG images with .png versions on /compliance,
/osquery-management, and the homepage.
- Updated the edit page button on osquery schema table pages.
2023-04-12 15:48:08 -05:00
Martin Angers
9aab3d628c
Move Redis cluster docker yml to separate file (#11162) 2023-04-12 15:14:28 -04:00
Lucas Manuel Rodriguez
1ebfbb14eb
New gitops role (#10850)
#8593

This PR adds a new role `gitops` to Fleet.
MDM capabilities for the role coming on a separate PR. We need this
merged ASAP so that we can unblock the UI work for this.

- [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] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- [X] Documented any permissions changes
- ~[ ] 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-04-12 16:11:04 -03:00
RachelElysia
3c177aa928
CIS - WIN10 - 18.9.10 to 18.9.11 (#11101) 2023-04-12 12:47:35 -04:00
Luke Heath
30bc419491
Update workflow to set macos_updates and disk encryption for canary (#11168) 2023-04-12 11:32:13 -05:00
Luke Heath
94288f32f3
Adjust sandbox outage message (#11167) 2023-04-12 11:12:24 -05:00
Eric
a684d42f67
Website: Add override sails.LOOKS_LIKE_ASSET_RX value (#11021)
Closes: #10984 

Changes:
- Added an override `sails.LOOKS_LIKE_ASSET_RX` value to the custom hook
that does not match paths that start with `/releases/`.
2023-04-12 11:10:46 -05:00
Andrew Baker
64201380c9
Update homepage.ejs (#11164)
# Checklist for submitter

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

- [ ] 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
- [ ] 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
- [ ] 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-04-12 10:49:56 -05:00
Luke Heath
3326ac76d2
Hide sandbox register form, add outage message (#11165) 2023-04-12 10:38:35 -05:00
RachelElysia
45174aa258
Fleet UI: Remove hosts pack information from observers and observer plus (#11141) 2023-04-12 09:37:22 -04:00
RachelElysia
43cbadd7dc
Fleet UI: Fix responsiveness to hid vuln/exploit column at smaller widths (#11132) 2023-04-12 09:35:01 -04:00
Rachael Shaw
3e9ca454a6
Website: Update homepage images to use .pngs (#11157)
Updated the homepage to use .png images since the .svg file sizes were
pretty large

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2023-04-12 00:00:17 -05:00
Roberto Dip
9acb6959a1
fix a couple of flaky tests (#11100)
This fixes the following flaky tests:

- `TestHosts/LoadHostByOrbitNodeKey`
- `TestIntegrationsEnterprise/TestListSoftware`
- `TestHosts/ListStatus`

I couldn't figure out what's wrong with `TestScanVulnerabilities` which
is also randomly failing, and it's super slow to run (since it has to
download assets from GitHub) maybe @juan-fdz-hawa can spot it?

# Checklist for submitter

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

- [x] Added/updated tests
2023-04-11 20:15:59 -03:00
gillespi314
ea10d94d55
Fix UI bug that caused "Show inherited policies" button to be incorrectly hidden (#11140) 2023-04-11 15:43:15 -05:00
Artemis Tosini
d1cf7e5a44
Add Windows 10 CIS 18.9.65.3.9-11 (#11067)
I've tested all queries on my system. I'm not quite sure if the cast is
necessary but it was common other queries so I used it. This adds the
queries referenced in #10360

- [x] Manual QA for all new/changed functionality
2023-04-11 16:39:29 -04:00
Zach Wasserman
8118bc77f1
Update fleetd chrome install instructions (#11150) 2023-04-11 12:34:36 -07:00
Artemis Tosini
62b4627f29
Add Windows 10 CIS 18.9.65.3.x (#11007)
This adds all queries referenced in #10359. Some are in the
non-completed since I couldn't test. The referenced UI path didn't exist
on the latest version if Wondows 10 and the ADMX is supposed to be built
in on recent version of Windows.

# Checklist for submitter
- [x] Manual QA for all new/changed functionality
2023-04-11 15:26:27 -04:00
Jacob Shandling
a2f8c0b0e3
Consolidate duplicate DUP/HostDetails styles in shared parent stylesheet (#10977)
## Addresses duplicate styles between the Device User Page and Host
Details Page

Manual check that resulting page styling remains constant – windows on
the left are on `main` (containing duplicate styles), windows on the
right are on this branch:

**Host details:**
![Screenshot 2023-04-04 at 3 42 27
PM](https://user-images.githubusercontent.com/61553566/229941459-061e3798-be47-467d-984a-10631028e1d3.png)
**DUP:**
![Screenshot 2023-04-04 at 3 41 38
PM](https://user-images.githubusercontent.com/61553566/229941468-2f9d993f-1961-49dc-a76d-4da4709e8a81.png)

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

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-04-11 12:25:15 -07:00
Rachael Shaw
755f74e118
Website: Homepage carousel fixes (#11151)
+ changed up logo images that didn't have a transparent background
(white bg was visible on the off-white cards)
+ made it so the top border shows up on the tweet cards
+ made the carousel indicators a bit smaller (but kept clickable area
the same) — looked a little bulky on mobile when we have more dots

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2023-04-11 14:20:47 -05:00
JD
50d1cee5e2
Fix spelling (#11152)
# Checklist for submitter

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

- [ ] 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
- [ ] 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
- [ ] 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-04-11 15:19:03 -04:00
Miss Tee Lucas
fdecc2efd4
Replaced "Charlie" references with "Tee" (#11147)
Replaced Charlie references with Tee in the section re: Sid
2023-04-11 13:47:08 -05:00
Noah Talerman
472b531744
MDM docs: Add missing period (#11149) 2023-04-11 13:57:43 -04:00
Sharon Katz
e76adbecc8
CIS_WIN_18.5.9.2-BUG-FIX (#10955)
1. FIX for **18.5.9.2** - successfully tested for positive/negative
cases.

2. BUG in **18.5.11.3** and **18.5.11.4** - Registry keys do not appear.
Moved to **`NON-COMPLETED`**
2023-04-11 13:35:32 -04:00
Jacob Shandling
a7f2b5244d
UI: Remove minwidth to fix account info being cut off (#11119)
## Addresses #10800 

**Before**
<img width="779" alt="Screenshot 2023-04-10 at 5 00 38 PM"
src="https://user-images.githubusercontent.com/61553566/231021958-8df1dd3b-6008-4b73-92bf-dd8facafccb4.png">

**After**
<img width="779" alt="Screenshot 2023-04-10 at 5 01 12 PM"
src="https://user-images.githubusercontent.com/61553566/231021968-51654111-5173-4387-9163-e11bc75560aa.png">


- [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>
2023-04-11 10:21:26 -07:00
Jacob Shandling
9ea390a7da
Teams dropdown bug (#11122)
## Addresses #10756
https://www.loom.com/share/b5ba605b892c4c789a73f05d160819cc
- Set the teams dropdown's max-height to be 66% of the viewport height
- Made a small script to automate creation of an arbitrary number of
teams
- [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>
2023-04-11 10:20:43 -07:00
RachelElysia
83bca0819e
Fleet UI: Responsive nav bar sizing (#11135) 2023-04-11 13:13:28 -04:00
Zachary Winnerman
0a3df86138
Add terraform version constraints (#11146)
# Checklist for submitter

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

- [ ] 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
- [ ] 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
- [ ] 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)).

Closes #11144
2023-04-11 12:39:56 -04:00
Andrew Baker
14bc2c36f5
Update fleet-4.30.0.md (#11145)
# Checklist for submitter

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

- [ ] 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
- [ ] 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
- [ ] 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-04-11 12:37:38 -04:00
Mike McNeil
2cc9eacd12
Homepage: fix broken link (#11142) 2023-04-11 11:30:08 -05:00
Sam Kottler
d79e88aa5a
terraform/gcp: make prefix use consistent, use new database sizing, and refer to DNS zone (#8250) 2023-04-11 11:11:36 -05:00
RachelElysia
8ae9738dc5
Fleet UI: Transition fixed to edit user modal (#11128) 2023-04-11 11:45:26 -04:00
Eric
5176e86e26
Website: whitespace change to trigger website deploy (#11139) 2023-04-11 10:40:55 -05:00
Luke Heath
bd1e7654dc
Use temporary github token to deploy website (#11137) 2023-04-11 10:37:47 -05:00
JD
75625d04c4
Fix spelling in 4.30 release notes. (#11134) 2023-04-11 11:19:19 -04:00
Eric
72f003711f
Website: update homepage hero (#11133)
Changes:
- removed the drop shadow on the homepage hero
2023-04-11 10:04:56 -05:00
Mike Thomas
c5906e1a80
Website - update osquery management content (#11124)
I updated the osquery management content and images.

Co-authored-by: Eric <eashaw@sailsjs.com>
2023-04-11 09:58:42 -05:00
Eric
a041660743
Website: homepage styles update (#11131)
Changes:
- updated the homepage stylesheet to adjust the `filter` on the hero
images
2023-04-11 09:54:52 -05:00
Eric
4dd8c078b5
Website: update website <meta> tags (#11130)
.
2023-04-11 09:53:52 -05:00
Eric
5d1500ffa1
Website: fix typo on homepage quote (#11129) 2023-04-11 09:19:22 -05:00