Commit Graph

4655 Commits

Author SHA1 Message Date
Roberto Dip
f507cdc078
use the new device client in Fleet Desktop (#5988)
This uses the new device client introduced in #5987 to perform requests from Fleet Desktop.

Related to #5697
2022-06-02 12:37:26 -03:00
Zach Wasserman
6e30c21cde
Update eng handbook to reference Maker Schedule (#6047) 2022-06-01 17:52:41 -07:00
Zach Wasserman
206a1e5593
Update engineering oncall handbook (#6045) 2022-06-01 17:07:23 -07:00
Roberto Dip
842ebbb2ae
add Go client to consume device endpoints (#5987)
This adds a new API client named DeviceClient to server/service, meant to consume device endpoints and be used from Fleet Desktop.

Some of the logic to make requests and parse responses was very repetitive, so I introduced a private baseClient type and moved some of the logic of the existent Client there.

Related to #5685 and #5697
2022-06-01 20:05:05 -03:00
Andrew Baker
621fe84e43
Updating publish date for accuracy (#6033) 2022-06-01 14:23:24 -05:00
Eric
897403be0c
Handbook: Remove duplicate section in people.md (#6023) 2022-06-01 12:54:24 -05:00
Mike Thomas
7305531742
Migrated the last of the articles (#5971)
* Migrated the last of the articles

Migrated the remaining articles:

• Fleet 4.6.0 with osquery installer, enroll secret management, and improved host vitals
• Fleet 4.5.0 with new team admin role, live OS compatibility checking, query performance impact, and a new-look dashboard
• Fleet 4.4.0 releases aggregated software inventory, team policies, and improved team scheduling
• Fleet 4.3.0
• Fleet 4.2.0
• Fleet 4.1.0
• Fleet 4.0.0
• Fleet 3.13 released
• Fleet 3.12 released
• Fleet 3.11.0 released with software inventory
• Fleet 3.10.0 released with agent auto-updates beta
• Fleet 3.9.0
• Fleet 3.8.0
• Fleet 3.7.1
• Fleet 3.6.0
• Fleet 3.5.0

* update hr styles

* remove unused images

Co-authored-by: eashaw <caglc@live.com>
2022-06-01 12:54:06 -05:00
Charlie Chance
ce3e732491
Handbook: weekly update ritual (#5996)
Added some guidelines / principles for creating weekly updates.
2022-06-01 12:47:35 -05:00
Lucas Manuel Rodriguez
1406e186be
Orbit: Add early update checks before starting sub-systems (#5885)
* Make orbit do a early check of updates

* Support orbit dev-mode

* Add test for NewRunner and Runner.UpdateAction

* Remove unnecessary parallel test
2022-06-01 14:47:04 -03:00
Lucas Manuel Rodriguez
e0d7318236
Fix osquery-perf bug introduced in orbit_info handling (#5986) 2022-06-01 13:57:44 -03:00
Lucas Manuel Rodriguez
33bb7886b6
Add automation for orbit shell (with TUF) (#5856)
* fix old root dir in orbit

* add changes

* Add automation for orbit shell (with TUF)

* Fix workflow syntax

* Add logging to latest fleetctl preview action

* Add changes to fix workflow

* Use macOS host for TUF server and package generation

* Remove copy/paste if clause

* Fix orbit logs on macOS, Ubuntu

* Simplify TUF and generation of packages

* Set enroll secret instead of getting it

* Increase timeouts

* Add step id

* Fixes to the upload/download of artifacts

* Rearrange steps to not lose the downloads

* Fix copy/paste

* Add fleetctl login step

* Add missing config set

* Fix quotes on Windows

* Increase timeout

* Fix job termination

* Disable FLEET_DESKTOP for now

* Checkout repository on macOS

* Fix logs path

* Enable fleet desktop

* Use cancel, nitpick

Co-authored-by: Michal Nicpon <michal@fleetdm.com>
2022-06-01 13:54:16 -03:00
Tomas Touceda
3116da54ac
Add platform scaling gotchas (#5369)
* Add platform scaling gotchas

* Move release documentation in engineering to releasing-fleet

* Remove reference to event scheduler as it's not needed anymore

* Address feedback from review

* Remove redundant check box

* Address remaining corrections
2022-06-01 13:53:51 -03:00
Michal Nicpon
30a864c8d2
Sync CVE scores periodically (#5838) 2022-06-01 10:06:57 -06:00
Eric
1a245b858a
Website: Add state of device management (#5936)
* state of device management page, chart component

* add images

* website: add charts.min.js, update layout, page script, and images

* layout updates, component validation

* add alt text, lint fixes

* update image name

* update bar-chart styles and layout

* add empty href and link styles

* Style overrides for mobile & tablet

• Added style overrides for mobile and tablet.

* Updated text

Updated text for the following sections:

• Introduction
• Key findings
• Part 1

* Updated text

Updated text in the following sections:
• Part 2
• Part 3
• Part 4
• Part 5
• Part 6

* Additional icon and text change

• Added icon for GitOps
• Repositioned text: The future of device management

* Text change

Removed "Takeaways" header from Part 6.

* style changes

• fixed some inconsistent headers (h3 to h2).
• fixed margin bottom on new GitOps note.
• Removed unneeded subsection div after removing "Takeaways" heading in my previous commit.

* update chart styles, add update charts function, sticky navigation

* lint fix

* lint fix

* Scroll navigation with header

* text changes

Updated chart titles to match the survey.

* style tweaks

Style tweaks to the charts.

* add pdf

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-06-01 10:31:10 -05:00
Katheryn Satterlee
11ebcea53c
Fix wandering backtick in bullet points. (#5995) 2022-06-01 15:56:22 +01:00
Guillaume Ross
00ff5326f9
Pre-SOC 2 policy review (#5991)
* Update security-policies.md

1. Background checks do not actually need to be done before the first day but rather before access to the Fleet automatic update environment is granted.
2. Added note about board meetings.
3. Added a note about Fleeties spreadsheet being required

* Update security-policies.md

Added risk mitigation timeline

* Update security-policies.md

quarterly reviews of risk register

* Update security-policies.md

Added whistleblower link
2022-06-01 10:16:53 -04:00
Eric
2a5996c5bf
Website: Fix article meta descriptions, add article images to metadata (#5969) 2022-05-31 19:32:00 -05:00
Noah Talerman
a3e2acf182
Update Fleet 4.15.0 blog post title (#5981)
- Update `meta` tag so that the title displayed on fleetdm.com is updated to the latest version.
2022-05-31 14:08:26 -05:00
Desmi-Dizney
afcf61abab
Docs editor pass - Contributing - Testing (#5962)
This has been edited for content and copy.
2022-05-31 14:45:07 -04:00
Katheryn Satterlee
6e26450b7f
Add Fleet 4.15.0 Release Post (#5912)
* Add Fleet 4.15.0 Release Post

* Update fleet-4.15.0.md

* 4.15.0 release post images

Added images to 4.15.0 release post.

* Update articles/fleet-4.15.0.md

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update articles/fleet-4.15.0.md

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update articles/fleet-4.15.0.md

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update articles/fleet-4.15.0.md

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update articles/fleet-4.15.0.md

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update articles/fleet-4.15.0.md

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update articles/fleet-4.15.0.md

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update articles/fleet-4.15.0.md

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Update articles/fleet-4.15.0.md

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Capitalize features

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Noah Talerman <noahtal@umich.edu>
2022-05-31 13:32:43 -05:00
Roberto Dip
eb8defdcbe
add premium, device authed endpoint to retrieve policies (#5967)
This adds a new device authenticated endpoint, `/api/_version_/fleet/device/{token}/policies` to retrieve the device policies.

An example request / response looks like:

```bash
curl  https://localhost:8080/api/latest/fleet/device/1804e808-171f-4dda-9bec-f695b2f2371a/policies
```

```json
{
  "policies": [
    {
      "id": 3,
      "name": "Antivirus healthy (Linux)",
      "query": "SELECT score FROM (SELECT case when COUNT(*) = 2 then 1 ELSE 0 END AS score FROM processes WHERE (name = 'clamd') OR (name = 'freshclam')) WHERE score == 1;",
      "description": "Checks that both ClamAV's daemon and its updater service (freshclam) are running.",
      "author_id": 1,
      "author_name": "Admin",
      "author_email": "admin@example.com",
      "team_id": null,
      "resolution": "Ensure ClamAV and Freshclam are installed and running.",
      "platform": "darwin,windows,linux",
      "created_at": "2022-05-23T20:53:36Z",
      "updated_at": "2022-05-23T20:53:36Z",
      "response": "fail"
    }
  ]
}
```

Related to [#5685](https://github.com/fleetdm/fleet/issues/5685), in another changeset I will be adding "client" endpoints so we can consume this endpoint from Fleet Desktop
2022-05-31 14:54:43 -03:00
jarnpher_rice
348c67d932
Add WithStdout option for osquery's Runner (#5637)
* Add WithStdout option for osquery's Runner 

fetch the osquery output to do something in other flow

* Create osquery-runner-withstdout

* Update osquery.go
2022-05-31 14:36:19 -03:00
Michal Nicpon
1da9425869
make softare actually unique for osquery perf (#5956) 2022-05-31 10:37:57 -06:00
dependabot[bot]
e8c61abc92
Bump goreleaser/goreleaser-action from 2.9.1 to 3 (#5972)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2.9.1 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](b953231f81...68acf3b1ad)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 13:24:23 -03:00
Lucas Manuel Rodriguez
98be6cfc29
Improve Fleet Desktop "My Device" menu item UX at install time (#5915)
* Improve Fleet Desktop My Device link availability

* Use svc.clock and add test

* Revert change and add check for LastEnrolledAt on tests
2022-05-31 12:56:51 -03:00
Desmi-Dizney
bf0db96e74
Docs editor pass - Contributing - API-Versioning (#5923)
This has been edited for content and copy.
2022-05-31 09:35:45 -05:00
Desmi-Dizney
ce03373cc3
Editor pass - Simplify adding hosts page (#5884)
Editor pass for:
-  https://github.com/fleetdm/fleet/pull/5830
2022-05-31 09:54:56 -04:00
Desmi-Dizney
ab95bea7f3
Editor pass - new "checked for vulnerabilities" entry (#5886)
Editor pass for:
-  https://github.com/fleetdm/fleet/pull/5435
2022-05-31 09:54:31 -04:00
Desmi-Dizney
95832d74db
Docs Editor pass - Contributing - API for contributors (#5927)
This has been edited for content and copy.
2022-05-31 09:54:03 -04:00
Desmi-Dizney
f8e8c20034
Docs editor pass - Contributing - Building Fleet (#5952)
This has been edited for content and copy.
2022-05-31 09:53:09 -04:00
Desmi-Dizney
45f169de27
Docs editor pass - Contributing - Committing-Changes (#5957)
This has been edited for content and copy.
2022-05-31 09:52:27 -04:00
Desmi-Dizney
17834890a2
Docs editor pass - Contributing - Contribution FAQ (#5958)
This has been edited for content and copy.
2022-05-31 09:51:41 -04:00
Desmi-Dizney
b12a942cc1
Docs editor pass - Contributing - Migrations (#5959)
This has been edited for content and copy.
2022-05-31 09:50:18 -04:00
Desmi-Dizney
283302c595
Docs editor pass - Contributing - Seeding data (#5961)
This has been edited for content and copy.
2022-05-31 09:49:33 -04:00
Lucas Manuel Rodriguez
40bbc7ec5f
Orbit: Remove functionality superseeded by local TUF test scripts (#5970)
* Remove functionality superseeded by local TUF test scripts

* Amend docs as per review
2022-05-31 10:19:01 -03:00
Lucas Manuel Rodriguez
0b511ccd1e
Add orbit_info support to osquery-perf (#5922)
* Add support for orbit_info to osquery-perf

* Add orbit_info support to osquery-perf

* Use 0.5 as default for orbit_info

* Fix CodeQL security warning on osquery-perf
2022-05-31 10:15:58 -03:00
dependabot[bot]
de3e19e52f
Bump actions/setup-go from 3.0.0 to 3.2.0 (#5917)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.0.0 to 3.2.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](f6164bd8c8...b22fbbc292)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 10:13:26 -03:00
Lucas Manuel Rodriguez
9080563b7d
Fix some go lint warnings (#5888)
* Fix go lint warnings

* Add test for SMTPConfigured update
2022-05-31 07:19:57 -03:00
Lucas Manuel Rodriguez
6fdfb1d0d6
Remove orbit unused package (#5887) 2022-05-31 07:19:33 -03:00
Lucas Manuel Rodriguez
5527cf3cef
Add --fleet-desktop to linux packaging on test-integration.yml (#5926)
* Add --fleet-desktop to linux packaging on test-integration.yml

* Fix --fleet-desktop flag
2022-05-31 07:14:59 -03:00
Eric
cbeb3edd5b
website: update homepage hero container height (#5966) 2022-05-30 16:56:45 -05:00
Guillaume Ross
6dddfbb564
Update security-policies.md (#5964)
1. Background checks do not actually need to be done before the first day but rather before access to the Fleet automatic update environment is granted.
2. Added note about board meetings.
3. Added a note about Fleeties spreadsheet being required
2022-05-30 13:06:16 -04:00
Michal Nicpon
a652292d0f
Don't return orphaned software from the API (#5840) 2022-05-30 09:23:27 -06:00
Desmi-Dizney
a51547018d
Editor pass - Handbook: Sales (#5944)
Editor pass for:
-  https://github.com/fleetdm/fleet/pull/5924
2022-05-30 10:01:57 -05:00
Roberto Dip
fc7a045209
ensure previous host membership policies are deleted on enrollment (#5890)
Related to #5776, this ensures that when a host is re-enrolled on a different team we cleanup existing policy memberships in the same way we do when a host is assigned a team through the API.
2022-05-30 10:30:15 -03:00
Eric
9798e6abb4
Website: update documentation CTA (#5946) 2022-05-30 09:31:08 +09:00
Eric
0b15d212af
Website: Add TechCrunch button to homepage (#5948)
* website: add Techcrunch button to homepage

* move styles inline
2022-05-30 09:25:49 +09:00
Mike McNeil
48f79e0092
FAQ: Clarify that we also performance test Fleet (#5953) 2022-05-27 15:58:43 -05:00
Roberto Dip
5b1ea0f079
update changelog for v4.15.0 (#5951) 2022-05-27 17:52:06 -03:00
Noah Talerman
d17a8151b4
Prepare for 4.15.0 (#5858)
Co-authored-by: Katheryn Satterlee <me@ksatter.com>
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2022-05-27 16:50:20 -03:00