Commit Graph

5821 Commits

Author SHA1 Message Date
Roberto Dip
e630fabf89
token rotation for fleet desktop (#7779)
This implements what's described in detail here https://github.com/fleetdm/fleet/blob/main/proposals/fleet-desktop-token-rotation.md
2022-10-10 17:15:35 -03:00
gillespi314
ca379e7459
Fix directIngestOSWindows error in query ingestion for non-Windows hosts (#8148) 2022-10-10 13:27:15 -05:00
RachelElysia
858bb75609
Documentation: Seeding data links to creating test hosts (#8131) 2022-10-10 14:08:18 -04:00
RachelElysia
6d94472224
Fleet UI: Move status from route param to query param (#8035) 2022-10-10 14:07:47 -04:00
Robert Fairburn
dc0427117e
Add loadtesting ECR Cleanup one-liner (#8041) 2022-10-10 10:02:11 -05:00
Ivan Panteleev
2dae3aa62b
Add extraVolumes and extraVolumeMounts to fleet (#7684) 2022-10-10 10:01:45 -05:00
Gabriel Hernandez
bc194d18c7
Feat/update live query states (#8122)
* add awaitng results state to live query search

* make spinner more reusable and add it to query page awaiting results

* create common QueryResultsHeader component to use on query policy flows
2022-10-10 15:39:49 +01:00
Noah Talerman
91f02f31ca
Product handbook: Update projects (#8143)
- Add link to Roadmap project
- Remove retired projects
2022-10-10 10:12:17 -04:00
Frank Sievertsen
1eacecf637
Add new missing value to existing status URL parameter at the GET /hosts endpoint (#7916) 2022-10-10 07:45:39 -04:00
Charlie Chance
03e9a2d778
Handbook: slack channel update (#8126)
| `#help-key-review-prep`     | Charlie Chance
2022-10-10 17:13:18 +09:00
Chris McGillicuddy
6e0854b4ef
Adding turnaround time for deck revisions.md (#8133) 2022-10-10 16:52:30 +09:00
Frank Sievertsen
b25e74b285
add missing_30_days_count to host_summary response (#7915) 2022-10-08 08:58:27 -04:00
Frank Sievertsen
e9f7066d87
7135 host display name (#7873) 2022-10-08 08:57:46 -04:00
Chris McGillicuddy
0a5c2656f6
Adding details about contacting the CEO.md (#8132)
Revised and carried over content from the Slack thread about contacting the CEO. Addresses this issue: https://github.com/fleetdm/confidential/issues/1630.
2022-10-07 15:41:45 -06:00
Mike McNeil
c36e1cc4ad
Update Supported-host-operating-systems.md (#8130) 2022-10-07 16:13:03 -05:00
Mo Zhu
1810578e13
Link to documentation improvement backlog (#7814) 2022-10-07 16:32:53 -04:00
Lucas Manuel Rodriguez
832b29f8c7
Update go-tuf to v0.5.0 (bis) (#8112)
* Update go-tuf to v0.5.0

This was triggered by the security advisory
[GHSA-3633-5h82-39pq](https://github.com/theupdateframework/go-tuf/security/advisories/GHSA-3633-5h82-39pq).
Fleet's use of go-tuf is not vulnerable to this issue due to not using
key thresholds greater than 1.

There were some API changes that necessitate changing the initialization
code for the TUF client. See
https://github.com/theupdateframework/go-tuf/issues/379 for further
discussion.

* Add changes file

* Update default root metadata

* Add review changes to update-go-tuf branch

* Update tests

* Add more checks to roots output

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2022-10-07 17:03:39 -03:00
gillespi314
4c0456be73
Update documentation for automations (#8084) 2022-10-07 12:24:24 -05:00
Eric
2408dc0298
remove platforms attribute, update query library to use platform (#8116) 2022-10-07 12:10:30 -05:00
Eric
588c9abef3
modify markdown links on table pages (#8123) 2022-10-07 11:48:37 -05:00
Michal Nicpon
9056b22874
set default shell in workflows (#8108)
* wait for mysql in workflows
2022-10-07 09:43:56 -06:00
Roberto Dip
bfe698d090
cleanup all policy memberships for a host on re-enrollment (#8120)
Related to #7664, this cleans up all policy memberships for a host when its re-enrolled, afterwards only the relevant policy memberships for the host will be created.
2022-10-07 11:36:17 -03:00
Gabriel Hernandez
b14c7af645
move policies to own constants and allow escaping on DEFAULT_POLICIES (#8121) 2022-10-07 14:31:57 +01:00
Mike McNeil
60a9e4de80
Define "certificate authorities" + normalize capitalization (#8118) 2022-10-07 09:22:35 -04:00
Eric
8f304f8d0e
Website: Update sticky header behavior (#8115)
* Update sticky header behavior

* update sticky header function
2022-10-06 18:49:11 -05:00
Luke Heath
97155238c7
Disable linting for constants file (#8107) 2022-10-06 14:45:59 -05:00
RachelElysia
34088aaab9
Fleet UI: /login route redirects to /dashboard if logged in (#8102) 2022-10-06 13:33:32 -04:00
Josh Brower
b7daa3d0ad
Add Windows CIS policies (#7959)
- Add 7 policies to fleetdm.com/queries and the Fleet product
2022-10-06 12:43:34 -04:00
Eric
9970ac668b
Docs: add missing pageOrderInSection meta tag (#8104)
* Update Orbit-development-and-release-strategy.md

* Update docs/Contributing/Orbit-development-and-release-strategy.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>
2022-10-06 11:04:36 -05:00
RachelElysia
da77c2a222
E2E fixes: Updating seeded users DOM (#8100) 2022-10-06 09:40:32 -04:00
RachelElysia
92d6161edb
Fleet UI: Clarify last fetched and last seen time on Manage Host Page (#8087) 2022-10-06 09:15:40 -04:00
Lucas Manuel Rodriguez
78a562808a
Add strategy for Orbit development and releases (#8003)
* Add strategy for Orbit releases

* Move doc to docs/Contributing
2022-10-06 09:17:04 -03:00
Gabriel Hernandez
f7a7b6b333
add reusable icon component that uses svg for icons (#8086) 2022-10-06 12:52:30 +01:00
Lucas Manuel Rodriguez
c09a30d11e
Add Orbit testing to pull_request_template.md (#7896)
* Add Orbit testing to pull_request_template.md

* Address PR comment
2022-10-06 08:16:18 -03:00
Juan Fernandez
582772fbee
Fixed bug with duplicated vulnerabilities (#8089)
Previous code assumed CVEs were unique per NVD file, which was   incorrect.
2022-10-05 19:48:37 -04:00
Lucas Manuel Rodriguez
127d18642d
Run TUF CI checks on ubuntu-latest (#8088)
* Run TUF CI checks on ubuntu-latest

* Add itself to path
2022-10-05 19:59:11 -03:00
Lucas Manuel Rodriguez
9191f4ce66
Add Apple MDM functionality (#7940)
* WIP

* Adding DEP functionality to Fleet

* Better organize additional MDM code

* Add cmdr.py and amend API paths

* Fix lint

* Add demo file

* Fix demo.md

* go mod tidy

* Add munki setup to Fleet

* Add diagram to demo.md

* Add fixes

* Update TODOs and demo.md

* Fix cmdr.py and add TODO

* Add endpoints to demo.md

* Add more Munki PoC/demo stuff

* WIP

* Remove proposals from PoC

* Replace prepare commands with fleetctl commands

* Update demo.md with current state

* Remove config field

* Amend demo

* Remove Munki setup from MVP-Dogfood

* Update demo.md

* Add apple mdm commands (#7769)

* fleetctl enqueue mdm command

* fix deps

* Fix build

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>

* Add command to upload installers

* go mod tidy

* fix subcommands help

There is a bug in urfave/cli where help text is not generated properly when subcommands
are nested too deep.

* Add support for installing apps

* Add a way to list enrolled devices

* Add dep listing

* Rearrange endpoints

* Move DEP routine to schedule

* Define paths globally

* Add a way to list enrollments and installers

* Parse device-ids as comma-separated string

* Remove unused types

* Add simple commands and nest under enqueue-command

* Fix simple commands

* Add help to enqueue-command

* merge apple_mdm database

* Fix commands

* update nanomdm

* Split nanomdm and nanodep schemas

* Set 512 MB in memory for upload

* Remove empty file

* Amend profile

* Add sample commands

* Add delete installers and fix bug in DEP profile assigning

* Add dogfood.md deployment guide

* Update schema.sql

* Dump schema with MySQL 5

* Set default value for authenticate_at

* add tokens to enrollment profiles

When a device downloads an MDM enrollment profile, verify the token passed
as a query parameter. This ensures untrusted devices don't enroll with
our MDM server.

- Rename enrollments to enrollment profiles. Enrollments is used by nano
  to refer to devices that are enrolled with MDM
- Rename endpoint /api/<version>/fleet/mdm/apple/enrollments to ../enrollmentprofiles
- Generate a token for authentication when creating an enrollment profile
- Return unauthorized if token is invalid when downloading an enrollment profile from /api/mdm/apple/enroll?token=

* remove mdm apple server url

* update docs

* make dump-test-schema

* Update nanomdm with missing prefix table

* Add docs and simplify changes

* Add changes file

* Add method docs

* Fix compile and revert prepare.go changes

* Revert migration status check change

* Amend comments

* Add more docs

* Clarify storage of installers

* Remove TODO

* Remove unused

* update dogfood.md

* remove cmdr.py

* Add authorization tests

* Add TODO comment

* use kitlog for nano logging

* Add yaml tags

* Remove unused flag

* Remove changes file

* Only run DEP routine if MDM is enabled

* Add docs to all new exported types

* Add docs

* more nano logging changes

* Fix unintentional removal

* more nano logging changes

* Fix compile test

* Use string for configs and fix config test

* Add docs and amend changes

* revert changes to basicAuthHandler

* remove exported BasicAuthHandler

* rename rego authz type

* Add more information to dep list

* add db tag

* update deps

* Fix schema

* Remove unimplemented

Co-authored-by: Michal Nicpon <39177923+michalnicp@users.noreply.github.com>
Co-authored-by: Michal Nicpon <michal@fleetdm.com>
2022-10-05 19:53:54 -03:00
Charlie Chance
91eb9fbc9b
Template: CEO shadow onboarding (#8097) 2022-10-05 16:25:52 -06:00
Chris McGillicuddy
d8d9a745a0
4.21.0 release article (#8090)
* Article: fleet 4.21.0 release

Created article for the 4.21.0 release.

* Add 4.21.0 release article images

* Added image links.

* Added 4.21.0 feature and link

* Update articles/fleet-4.21.0.md

Adding Noah's suggestion.

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

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Andrew Baker <89049099+DrewBakerfdm@users.noreply.github.com>
2022-10-05 18:14:51 -04:00
Chris McGillicuddy
0c49a57ca4
Article: osquery vulnerability management at scale (#8061)
* Article: osquery vulnerability management at scale

Zach's presentation from osquery@scale September 2022. Slides are embedded in the article. Video will be added when available.

* Add embed for google slides presentation

* Update osquery-vulnerability-management-at-scale.md

Added link to osquery@scale website. Removed placeholder hero image.

* Add thumbnail image

- added a thumbnail image
- changed "Osquery" to "osquery"

* Updated intro and publication date

Co-authored-by: Andrew Baker <89049099+DrewBakerfdm@users.noreply.github.com>
Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-10-05 16:27:49 -05:00
Noah Talerman
e98941aeaf
Prepare for 4.21.0 (#8011)
This PR addresses the instructions under number (1) in the releasing Fleet steps: https://fleetdm.com/docs/contributing/releasing-fleet#what-to-do

- Update CHANGELOG
- Bump versions
2022-10-05 13:18:22 -07:00
Eric
8fecef3ed5
Update merged schema helper and script. (#8092)
* update helper to use the osquery schema from the osquery/osquery-site repo

* update script description and generated json filename

* Add ritual to digital experience handbook

* add merged schema

* Update README.md

* Update get-extended-osquery-schema.js
2022-10-05 15:10:08 -05:00
Mike McNeil
d892c84874
Simplify digital experience handbook so there is a single DRI (#8093) 2022-10-05 14:05:20 -05:00
RachelElysia
3054450065
Improve developer documentation: Update seed data documentation (#7904) 2022-10-05 12:42:45 -04:00
Luke Heath
753483ffd6
Add consistent input hover (#7677) 2022-10-05 09:43:54 -05:00
RachelElysia
db348351ac
Frontend e2e tests: Refactor using page objects (#7869) 2022-10-05 09:36:42 -04:00
Martin Angers
c23a15394e
Keep created_at timestamp of existing enroll secrets (#8062) 2022-10-05 08:35:36 -04:00
Eric
8c18446762
Update bullet point list on homepage (#8083) 2022-10-04 17:09:42 -05:00
Mo Zhu
1592309f7a
Specify where docker_volumes.name comes from. (#8075)
* Update fleet_schema.json

* Make description uppercase.

Co-authored-by: Guillaume Ross <guillaume@fleetdm.com>

Co-authored-by: Guillaume Ross <guillaume@fleetdm.com>
2022-10-04 12:49:56 -07:00
Martin Angers
ec75fb10b2
Fix CI tests for Go (#8079) 2022-10-04 15:48:14 -04:00