Commit Graph
7336 Commits
Author SHA1 Message Date
Eric 4510cb2bc8 Website: Add HubSpot script tag to layouts (#10863)
Changes:
- Added a HubSpot script tag to fleetdm.com

.
2023-03-29 13:20:26 -05:00
Mo Zhu 2ae011b962 clarify blank username attribute is global (#10836)
Came from https://github.com/fleetdm/fleet/issues/8119
2023-03-29 10:12:04 -07:00
RachelElysia a21c96330b CIS - WIN10 - 19.7.28 to 19.7.47 (#10781) 2023-03-29 12:53:55 -04:00
Mike McNeil 66e39d2b6f Fix accidental smooshing of content in #10846 (#10858)
Fix accidental smooshing of content in #10846
2023-03-29 11:43:32 -05:00
Roberto Dip 9896d591c4 ensure duplicates are removed before enforcing collations (#10814)
Related to #10787, this tries to find in the tables with High likelihood
described in the issue.

This successfully accounts for unique keys that contain leading/trailing
whitespace and are using a collation with a pad attribute set to `NO
PAD` (considers whitespace as any other character instead of ignoring
it)

I haven't found a way to successfully detect the same scenario for
special unicode characters, for example:

```
mysql> SELECT TABLE_NAME, TABLE_COLLATION FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'software';
+------------+--------------------+
| TABLE_NAME | TABLE_COLLATION    |
+------------+--------------------+
| software   | utf8mb4_general_ci |
+------------+--------------------+
1 row in set (0.01 sec)

mysql> select vendor COLLATE utf8mb4_unicode_ci from software where name = 'zchunk-libs' GROUP BY vendor COLLATE utf8mb4_unicode_ci;
+-----------------------------------+
| vendor COLLATE utf8mb4_unicode_ci |
+-----------------------------------+
| vendor                            |
| vendor?                           |
+-----------------------------------+
2 rows in set (0.01 sec)

mysql> ALTER TABLE `software` CONVERT TO CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`;
ERROR 1062 (23000): Duplicate entry 'zchunk-libs-1.2.1-rpm_packages--vendor\2007-x86_64' for key 'unq_name'
```
> **Note** that `?`  in "vendor?" is an unicode character
2023-03-29 13:31:24 -03:00
Lucas Manuel Rodriguez 22774243e2 Delete cis-policy-query-verify-iCloud-Keychain-disabled.yml (#10851)
We already have 2.1.1.1 with the `enable`/`disable` approach in the main
yaml.
2023-03-29 13:29:10 -03:00
Mike McNeil 56028b25e9 Beef up laptops (#10856) 2023-03-29 11:26:44 -05:00
Dave Herder c61aa8475e MDM docs: Update set up instructions (#10805)
- Tell user they have they have to first deploy Fleet and add hosts to
use MDM features
2023-03-29 12:20:23 -04:00
Artemis Tosini 1e976f0d25 Add Windows 10 CIS 17.1-17.3 queries (#10522)
These 6 queries are extremely similar so I just put them in a single
commit. These issues are tracked in #10139.
2023-03-29 11:01:05 -04:00
Gabriel Hernandez fc5bc70c1d update mdm local dev docs (#10849)
quick update of the mdm local dev docs for manually enrolling a host
into fleet MDM
2023-03-29 15:41:52 +01:00
Sharon Katz d54e354022 CIS MAC 1.1 fix (#10619) 2023-03-29 09:24:33 -04:00
Benjamin Edwards 4161ee5679 create vuln processing addon (#10526)
two things here:

1. create addon for use in new modular terraform
2. create vuln processing terraform for legacy terraform, but by default
its disabled
2023-03-29 08:57:10 -04:00
Martin Angers 0e2c9bb873 finalize mdm commands part 1: support fleetctl get hosts --mdm and --mdm-pending (#10796) 2023-03-29 08:30:49 -04:00
Mo Zhu 6d686d188f Update ManualEnrollMdmModal.tsx (#10837) 2023-03-29 13:04:05 +01:00
Marcos Oviedo 2f64838a3d Improving enrollment provisioning profile (#10684)
This is an improvement to the PoC MDM research server. Idea is to
control DMClient provisioning data
2023-03-29 08:37:10 -03:00
Mike McNeil 7344b893f2 Cut tangent (#10846) 2023-03-29 00:44:31 -05:00
Mike McNeil f8994aa99c Wireframes welcome (#10845)
Just like code contributions
2023-03-28 23:59:26 -05:00
Mike McNeil 864b5b0d4f Better link for "first principles thinking" (#10844) 2023-03-28 23:53:20 -05:00
Jarod ReyesandMike McNeil ec57280f5f Update why-this-way.md (#10804)
Adding marketing experimentation guidelines to handbook

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

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-03-28 23:19:13 -05:00
Mike McNeil cd0b46e8a7 Followthrough from change to some definitions (#10840)
Assuming positive intent is now expressly an embodiment of the Empathy
value, so this example needed swappin’
2023-03-28 23:13:46 -05:00
Mike McNeil 019a4b7421 Ick, sorry (#10838)
This was kinda defensive before. I hope this is better.
2023-03-28 22:16:42 -05:00
Mike McNeil 59912c5a0b Contributor of the month (#10839) 2023-03-28 22:10:31 -05:00
Mike McNeil f74cf4e2af Add viz and podcast link (#10773)
DONE fix the links up and use the real podcast link and the actual LI
company post, not CEO’s reshare
2023-03-28 19:26:36 -05:00
Gabriel Hernandez d6dab18592 add disk encryption table aggregate UI (#10806) 2023-03-28 17:39:32 -05:00
Luke Heath 1265ff4b7d Remove the MDM feature flags (#10825) 2023-03-28 17:12:16 -05:00
Juan Fernandez aecc2fed75 Feature 9834: Add published date to vulnerability object (#10434)
This only applies to Premium users, we want to show the vulnerabilities' published date anywhere vulnerabilities are shown including API endpoints and third party integrations.
2023-03-28 16:11:31 -04:00
Mo Zhu 8a1a700383 Clarify that it will take one to store disk encryption key in Fleet (#10810) 2023-03-28 15:53:09 -04:00
Jacob ShandlingandJacob Shandling 03c0b98387 Update docs for enabling SSO for an existing user to match the actual UI (#10728)
The docs do not currently match the UI – this change brings the docs and
UI into agreement.

Relevant UI:
<img width="945" alt="Screenshot 2023-03-23 at 3 43 07 PM"
src="https://user-images.githubusercontent.com/61553566/227383100-aeaea0bb-e740-4b04-aedb-1b2f81d0fa41.png">

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-03-28 11:30:32 -07:00
Lucas Manuel Rodriguez 40265d0e6f Fix SMTP e-mail send when SMTP server has credentials (#10758)
#9609

This PR also fixes #10777.

The issue is: We were using `svc.AppConfig` instead of
`svc.ds.AppConfig` to retrieve the SMTP credentials.
`svc.AppConfig` obfuscates credentials, whereas `svc.ds.AppConfig` does
not.
To help prevent this from happening again I've renamed `svc.AppConfig`
to `svc.AppConfigObfuscated`.
I've also added a new test SMTP server
(https://github.com/axllent/mailpit) that supports Basic Authentication
and tests that make use of it to catch these kind of bugs (the tests are
executed when running `go test` with `MAIL_TEST=1`).

- [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-03-28 15:23:15 -03:00
Zach Wasserman 477bb53f90 Generate targets for osquery 5.8.2 (#10802) 2023-03-28 10:50:07 -07:00
24aa8e6732 Website: add MDM launch party page (#10731)
Changes:
- Added `/imagine/launch-party` a page advertising our MDM launch
party/RSA happy hour where users can join the launch party waitlist. If
a user visits fleetdm.com/imagine/launch-party?showForm, a modal with a
waitlist signup form opens when the page loads.
- Added a new action, `deliver-launch-party-signup.js`. This action
sends a POST request to a Zapier webhook.
- Updated routes, policies, and cloud-SDK

---------

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
Co-authored-by: Jarod Reyes <jarodreyes@gmail.com>
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2023-03-28 12:20:00 -05:00
Taylor HughesandMike McNeil 1fbc44a326 updated hiring section with ceo interview addition (#10725)
https://app.zenhub.com/workspaces/-g-business-operations-63f3dc3cc931f6247fcf55a9/issues/gh/fleetdm/confidential/2307

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-03-28 11:31:02 -05:00
Zachary Winnerman c5f2b5f255 Add ability for new users to be added to sandbox instances (#9939)
# 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-03-28 12:29:41 -04:00
Artemis Tosini 1d2ae58d5f Add macOS CIS 5.3.2 (#10726)
Add 2 new tables: corestorage_logical_volumes and corestorage_logical_volume_families.
Add a query that uses these tables
2023-03-28 11:57:38 -04:00
Eric 92e079ea03 Website: Update request to generate Haikus for closed issues. (#10793)
Changes:
- Updated the request to the OpenAI API in `receive-from-github.js` to
send a request to the `chat/completions/` API and updated the request
body to be compatible with the `/chat/` API.
(https://platform.openai.com/docs/api-reference/chat/create)
2023-03-28 10:11:06 -05:00
Gabriel HernandezandMartin Angers 005956f9bc Feat/implement api for disk encryption status aggregate (#10422)
relates to #9434

implements the `GET /fleet/mdm/apple/filevault/summary` aggregate
endpoint.

- [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] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Added/updated tests

---------

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2023-03-28 15:50:14 +01:00
Benjamin EdwardsandMartin Angers 32c7a13215 add configuration to disable origin header check (#10779)
# Checklist for submitter

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

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

closes https://github.com/fleetdm/fleet/issues/10778

---------

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2023-03-28 01:23:29 -04:00
Noah Talerman 4372b5b2b5 Update broken links to MDM docs (#10789)
- At some point we updated how we generate anchor links on
fleetdm.com/docs. PR is here: #10657
  - For example:
-
`https://fleetdm.com/docs/using-fleet/mdm-setup#apple-push-notification-service-ap-ns`
is now
`https://fleetdm.com/docs/using-fleet/mdm-setup#apple-push-notification-service-apns`
(apns doesn't have a hyphen)
2023-03-27 17:14:20 -07:00
Roberto Dip 98845f03a6 remove feature flags to enable MDM (#10746)
https://github.com/fleetdm/fleet/issues/10025
2023-03-27 16:30:29 -03:00
Martin Angers b6e10eb6da Update host MDM profile status to pending in response to triggering events (#10443) 2023-03-27 14:43:01 -04:00
Zach Wasserman 9246a2e61a Downgrade Docker client version (#10570)
A recent dependabot PR (#9792) upgraded the Docker library, resulting in
errors running some tests:

```
FLEET_VERSION_A=v4.28.0 FLEET_VERSION_B=main go test ./test/upgrade                                                                                                                                                                 *[main]
go: downloading github.com/stretchr/testify v1.8.2
--- FAIL: TestUpgradeAToB (34.73s)
    fleet_test.go:71: start fleet: Error response from daemon: client version 1.42 is too new. Maximum supported API version is 1.41
```

Even after upgrading Docker Desktop to the latest, this error still
persisted. It seems that Docker released a version of the client that is
newer than the latest version of the server.

Reverting to a supported client version.
2023-03-27 11:22:48 -07:00
Zach Wasserman a0f8ecdf2a Turn down dependabot settings (#10571)
Disable dependabot for non-security dependency upgrades. It should
continue to function as normal for security issues in dependencies.
2023-03-27 11:22:18 -07:00
Jacob ShandlingandJacob Shandling f5fcd77359 UI: Remove unused 'Issuer URI' field from UI (#10766)
## Addresses #10257 

Removed the 'Issuer URI' field and its associated code. Manually
confirmed that enabling single sign-on still works as expected.

<img width="525" alt="Screenshot 2023-03-24 at 4 32 56 PM"
src="https://user-images.githubusercontent.com/61553566/227661519-c2684a68-8b66-48f9-a6ab-a24f02f07080.png">


# Checklist for submitter

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

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-03-27 10:31:30 -07:00
Nathanael Holliday bb492993e7 Added explanation for contractor hour approvals. (#10690) 2023-03-27 11:18:37 -05:00
Mike McNeil 6fa56ba646 This is where the people are today (#10772)
And we don't link to other chatrooms
2023-03-27 11:01:20 -05:00
Luke Heath 30aa31e763 Remove disable knex, install fleetctl, apply to workstations (#10757) 2023-03-27 09:53:05 -05:00
Mike McNeil 22228d071d Above all else... clarity (#10771) 2023-03-26 09:28:14 +09:00
Mike McNeil 970cf19440 Apply learnings to company values. (#10768)
The last 6 months have been an incredible learning experience. The
changes in this pull request reflect some of those lessons learned.

Most of the changes apply to
[📖Company#values](https://fleetdm.com/handbook/company#values).
2023-03-25 18:40:54 -05:00
Mike McNeil 6d12734226 Clarification of repos + some small corrections and improvements + links (#10769)
.
2023-03-25 16:44:06 -05:00
Mike McNeil 0326a0a168 Adjust for changes in fleetdm/fleet#10769 (#10770)
Adjust for changes in fleetdm/fleet#10769
2023-03-25 16:02:55 -05:00