Commit Graph
7665 Commits
Author SHA1 Message Date
Eric 47f96fe396 Handbook: Fix two broken links on Marketing page (#11426)
Changes:
- Updated two links on the marketing handbook page
2023-04-28 13:53:58 -05:00
Gabriel Hernandez e912eb1d35 update os setup preivew gif (#11422)
change gif for os setup preview

- [x] Manual QA for all new/changed functionality
2023-04-28 19:47:44 +01:00
Luke Heath e76b389243 Update engineering DRIs (#11292) 2023-04-28 13:43:21 -05:00
Roberto Dip 5029ed5daf automatically update the remote DEP profile when the server URL changes (#11423)
#11414
2023-04-28 15:26:38 -03:00
Gabriel Hernandez bd372346ed fix profile status filtering for hosts (#11420)
quick fix for verifying status filtering for hosts

- [x] Manual QA for all new/changed functionality
2023-04-28 18:27:36 +01:00
Mike McNeil 48c6f9bf53 Remove duplication (#11415) 2023-04-28 08:53:32 -07:00
Eric 5ddfacaf45 Docs: Fix broken FAQ link (#11405)
Changes:
- Fixed a link in the contributing FAQ
2023-04-28 10:34:20 -05:00
RachelElysia 4fdf640820 Unreleased bug: Fix inherited policy API call bug (#11412) 2023-04-28 10:52:16 -04:00
Gabriel Hernandez 56a1658579 fix host details page not showing cause missing mac_settings and mac_setup (#11411) 2023-04-28 10:04:55 -04:00
Eric 1d022e76b6 Website: Fix storedError metric reporting in receive-usage-analytics.js (#11404)
Changes:
- updated `receive-usage-analytics.js` to only try to send metrics for
`storedErrors` if the error objects are in [the format we
expect.](https://fleetdm.com/docs/using-fleet/usage-statistics#what-is-included-in-usage-statistics-in-fleet)
2023-04-27 17:40:10 -05:00
Jacob ShandlingandJacob Shandling 59eb2a5566 UI: Exclude 'Manage users' menu item in sandbox mode (#11403)
## Addresses #10819
Exclude the "Manage users" menu option in sandbox mode.

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

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-04-27 15:25:00 -07:00
Jacob ShandlingandJacob Shandling 1183e47803 UI: Fix a bug in routing index for sandboxMode (#11399)
## Addresses #11394 (and dup #11397)

Lower sandbox reroute logic from router index into OrgSettingsPage,
where the value of AppContext.isSandboxMode can be correctly read

https://www.loom.com/share/8f3eb546a58d4c93a268b4d02b42c54c

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-04-27 15:17:08 -07:00
Eric fe07c39f22 Website: Send custom metrics from anonymous usage statistics to Datadog (#11362)
. 
Closes: #10848 
Changes:
- Updated the `receive-usage-analytics` webhook to send custom metrics
to our Datadog account, where we can create graphs and dashboards to
track Fleet feature adoption, Fleet/osquery/orbit versions in use,
reported host counts, and stored errors.
- Added a new config variable: `sails.config.custom.datadogApiKey`
2023-04-27 16:45:35 -05:00
KanchiMoe 3496011e35 Convert remaining uses of set-output for Github Actions (#11352) 2023-04-27 16:11:27 -05:00
Mike McNeil a703544830 Add missing DRI (#11400) 2023-04-27 13:56:29 -07:00
Roberto Dip c856ee4732 fix a handful of minor UI issues for the bootstrap package flow (#11393)
#11392
2023-04-27 16:52:31 -03:00
Andrew Baker 32bb15ef57 Update calendly link (#11391)
Updating calendly link listed here:
https://fleetdm.com/try-fleet/register

![image](https://user-images.githubusercontent.com/89049099/234967794-6dc3fc9e-a6b8-498b-82b6-7a2d3717aa11.png)

This should set up meetings with SDR's instead of AE's
2023-04-27 15:17:52 -04:00
Andrew BakerandEric 30d79f2fa3 Update ajax form class identifiers (#11385)
# 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: Eric <eashaw@sailsjs.com>
2023-04-27 14:15:32 -05:00
Eric 6cfef3d347 Website: Update website banner CTA (#11382)
Changes:
- Changed the RSA launch party banner back to the Fleet managed cloud
banner
2023-04-27 12:07:05 -05:00
Gabriel Hernandez 02a2a1e0f5 add os-setup-preview and reuse empty table for empty state (#11379)
relates to #10935

This adds the os setup gif and also reuses the EmptyTable component for
the empty state on the mac setup page.


![image](https://user-images.githubusercontent.com/1153709/234918995-10529140-f5ef-4808-8288-4b2dac30579a.png)

- [x] Manual QA for all new/changed functionality
2023-04-27 18:05:07 +01:00
Eric 875a44783a Website: Update header navigation links (#11366)
Changes:
- Removed the "Device management" link from the "Platform" dropdown in
the website header
2023-04-27 11:14:32 -05:00
RachelElysia e7fcb6fbbf Fleet UI: Hide reset sessions from current user dropdown (#11377) 2023-04-27 11:57:41 -04:00
cb58849d95 Fleet Premium to Sandbox (#11372)
## Addresses #9371 
### Adds a suite of UI logic for premium features in the Sandbox
environment

For reviewer: please review the work for the below 3 substasks, which
are the only remaining subtasks encompassed by this PR that have not yet
passed review individually:
  - #10822 (9)
  - #10823 (10)
  - #10824 (11)

## Checklist for submitter
- [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>
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2023-04-27 08:53:30 -07:00
RachelElysia 2a0f8d0701 Fleet UI: Fix software empty state collecting inventory (#11375) 2023-04-27 11:32:25 -04:00
bd9176d67e UI for bootstrap package flows (#11288)
relates to #10935

This is the UI for all the flows around adding, removing, downloading,
and viewing information about a bootstrap package for fleet mdm. This is
pretty comprehensive but includes:

### Backend

**Update `Get host/id`** to include bootstrap package name

```json
{
  "macos_setup": {
    ...
    "bootstrap_package_name": "test.pkg"
  }
}
```

### Frontend

**UI for ABM not being set up**:


![image](https://user-images.githubusercontent.com/1153709/234018772-3221e27b-50a4-454e-8e9f-b62c9d349010.png)

**UIs for uploading, downloading, and deleting bootstrap package**:


![image](https://user-images.githubusercontent.com/1153709/234017915-871f252f-bf80-4282-9acf-5ebea12c6efa.png)


![image](https://user-images.githubusercontent.com/1153709/234018029-322a5f30-dd22-44e3-b9ae-a4af7acb68b4.png)


![image](https://user-images.githubusercontent.com/1153709/234018163-4b84a2ce-a064-4952-a63d-0c8307391052.png)

**UIs for seeing bootstrap status aggregate data**


![image](https://user-images.githubusercontent.com/1153709/234018107-455d63ab-5b2c-4727-ad20-eef6b269c336.png)

**UIs for filtering hosts by bootstrap status**


![image](https://user-images.githubusercontent.com/1153709/234018334-170fe93a-700e-48eb-b198-2a1cc54d31a7.png)

**UIs for seeing package status on host details and my device page**:


![image](https://user-images.githubusercontent.com/1153709/234018488-7b515db4-1248-4be7-8de3-9b74bb5d4795.png)


![image](https://user-images.githubusercontent.com/1153709/234018525-d653cb2d-9ef9-437e-8eba-141e557f4f39.png)

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

---------

Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2023-04-27 16:10:41 +01:00
gillespi314 6ec852c97d Fix UI bugs in team id routing (#11363) 2023-04-27 10:00:16 -05:00
RachelElysia e774f60838 Fleet UI: Ability to navigate to correct Host details software tab (including sorts, filters, page number) (#11208) 2023-04-27 09:24:02 -04:00
Roberto Dip 35e06fa1ee ensure file permissions of the nudge config file are consistent (#11374)
For #11218, In the initial implementation of the feature, we used to
launch Nudge as a root, so setting the permissions of the config file to
0600 was okay.

As part of the fix for #10044, we now launch Nudge as the current user
(which is also recommended in the Nudge wiki), but previous
installations of the beta version (probably only Fleeties using Dogfood)
still have the configuration file with restrictive permissions, so Nudge
wasn't able to read the config when launched as a user.

This is kind of hidden because `os.WriteFile` takes a permission
arugment, but it's only used if it's writing the file for the first
time.
2023-04-27 10:22:42 -03:00
a23d208b1d gate DEP enrollment behind SSO when configured (#11309)
#10739

Co-authored-by: Gabriel Hernandez <ghernandez345@gmail.com>
Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
2023-04-27 09:43:20 -03:00
Lucas Manuel Rodriguez 7dadec3ecf Add mTLS support to fleetd (#11319)
#7970

- [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:
- [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)).
2023-04-27 08:44:39 -03:00
Benjamin Edwards 9a2581e1d6 fix firehose addon take 2 (#11369)
rename aws_iam_policy and aws_iam_policy_attachment resources to use
underscore instead of hyphen in their names. Also, change
aws_iam_policy_attachment to aws_iam_role_policy_attachment to match the
correct resource type.
2023-04-26 23:08:09 -04:00
Luke HeathandMike McNeil 5f8e78b1f2 Add new role description for product quality specialist (#11204)
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-04-26 18:24:00 -05:00
Luke Heath 4d40d93b55 Update open positions (#11154) 2023-04-26 17:11:45 -05:00
gillespi314 003e208e4d Update CLI flow to manage adding and deleting MDM bootstrap packages by applying config and team specs (#11349) 2023-04-26 16:09:21 -05:00
Mike McNeil 7845e19f26 No more reimbursements (#11335) 2023-04-26 15:01:30 -05:00
gillespi314 8df5f26bea Add user activity logs for MDM bootstrap package endpoints (#11302) 2023-04-26 13:40:14 -05:00
Gabriel Hernandez 4866bccb3f Feat UI add verifying status to mdm (#11311) 2023-04-26 19:31:38 +01:00
Jacob ShandlingandJacob Shandling 4d1beef728 Check for "No access" for authenticated routes (#11307)
## Addresses #11188 

When an _already authenticated_ no-access user tries to access any
authenticated routes:
- Log the user out
- Display the 403 'Forbidden' error page

https://www.loom.com/share/358fd5b534984ab9ab40220986a7d094
The user _can_ still log in – see attached issue.

## Checklist for submitter
- [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-26 10:45:40 -07:00
Mike McNeil 96c6670a3d Clarity (#11348) 2023-04-26 11:47:43 -05:00
Roberto Dip 902c80b116 Add UI templates for activities related to macos_setup_assistant (#11323) 2023-04-26 13:02:40 -03:00
Benjamin Edwards 1208c0151e BYO-Firehose module updates (#11333)
feat(firehose): add Terraform documentation to README.md
feat(firehose): add Terraform module for IAM policy
feat(firehose): add Terraform output for IAM policy ARN

docs(byo-firehose-logging-destination): add introduction and explanation
of IAM role and policy

This commit adds an introduction and explanation of the IAM role and
policy defined in the Terraform code. Specifically, it explains that the
IAM role named `fleet_role` is being defined in the AWS account, and
that it will be assumed by the Fleet application being hosted. The
commit also explains that the IAM role is being given specific
permissions to perform certain actions on the Firehose service, and that
the associated IAM policy specifies the minimum allowed permissions.
Additionally, the commit explains that the Firehose service is KMS
encrypted, and that the IAM role needs permission to the KMS key being
used to encrypt the data going into Firehose. Finally, the commit
explains that the code sets up a secure and controlled environment for
the Fleet application to perform its necessary actions on the Firehose
service within the AWS account.

refactor(byo-firehose-logging-destination): reformat table of resources
and inputs
feat(byo-firehose-logging-destination): add KMS key resource for
firehose encryption
feat(byo-firehose-logging-destination): add S3 bucket resource for
logging destination
feat(byo-firehose-logging-destination): add IAM policy and role
resources for firehose
feat(byo-firehose-logging-destination): add IAM policy attachment
resource for fleet-firehose policy
feat(byo-firehose-logging-destination): add data source for current AWS
region
feat(byo-firehose-logging-destination): add data source for KMS alias
feat(byo-firehose-logging-destination): add data source for IAM policy
documents
feat(byo-firehose-logging-destination): add outputs for firehose IAM
role, delivery streams, and S3 bucket

fix(iam.tf): change aws_iam_policy and aws_iam_policy_attachment
resource names to include fleet prefix

closes https://github.com/fleetdm/fleet/issues/11331
2023-04-26 12:00:42 -04:00
RachelElysia 09e166d973 Documentation: Update testing docs with instructions how to run live QA Wolf e2e tests (#11318) 2023-04-26 11:21:21 -04:00
KanchiMoe 503a30092f Fix integration Github action using the deprecated command set-output (#11282) 2023-04-26 10:15:23 -05:00
Lucas Manuel Rodriguez b9e6a84f24 Filter out non-observer_can_run queries for observers in fleetctl get queries command to match the UI. (#11251)
#11089

- [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)~
- [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-26 11:38:20 -03:00
Martin Angers 77855a5e1d Add activities for macOS setup assistant. (#11310) 2023-04-26 10:37:03 -04:00
Noah Talerman 3dbe422ebf MDM docs: bootstrap package (#11256)
Changes made based on feedback during MDM beta session.

- Correction: the URL doesn't have to be publicly accessible
- Clarify how to install the bootstrap package on a team v. "No
team"
- Add confirmation step
2023-04-26 10:01:09 -04:00
Mike McNeil 31ff9b0da4 Clarify a few points (#11325) 2023-04-25 23:49:37 -05:00
Roberto Dip 5e5976786b Add missing backtick to custom mdm commands docs (#11324) 2023-04-25 20:59:47 -03:00
Mike McNeil fad3be5aac Improve offboarding process (#11321) 2023-04-25 17:06:08 -05:00
Noah Talerman c10feec11b Update Using Fleet FAQ (#11320)
- Remove "In progress" because MDM is in public beta
2023-04-25 14:06:16 -07:00