Commit Graph
5834 Commits
Author SHA1 Message Date
Roberto Dip 2bb4ec2e6d add script to check for migration order (#7803)
Related to #6142, this adds a CI check for the order of migrations.

As I noted in a comment on the workflow file, it's important to keep in mind that some migrations might still go unnoticed even with this check, example:

1. PR1 adds a migration, CI check pass
2. PR2 adds a migration, CI pass, gets merged
3. PR1 can still be merged because the CI checks aren't run again

The check will fail in `main` however, so if we find the current script to be reliable, we could setup a Slack ping or something similar, to make sure somebody takes a look
2022-10-11 15:36:15 -03:00
Lucas Manuel Rodriguez 28744bf57e Consistently log migrations (#8154)
* Consistently log migrations

* Fix name and update goose version
2022-10-11 15:20:12 -03:00
Juan Fernandez 351d2c93c4 Add new page explaining how osquery children process are terminated (#8134)
Add new page explaining how osquery children process are terminated
2022-10-11 14:09:56 -04:00
Tomas Touceda d912376f02 Handle tcp read timeouts (#8163)
* Handle tcp read timeouts properly

* Add changes file

* Fix bad mini refactor after nailing the test

* Update based on review

* Update comment
2022-10-11 13:58:52 -03:00
Zay Hanlon dca77054c5 Onboarding: Add 'zayhanlon' to Humans (#8166)
As part of onboarding issue, add 'zayhanlon' to Humans within receive-from-github.js
2022-10-11 11:35:23 -05:00
Zay Hanlon cadcb5e784 Handbook: Remove rotation schedule from CEO shadow (#8164)
Removed the rotation schedule from CEO shadow program section, per Mike's request. We'll track this via Google Sheets
2022-10-11 09:56:54 -06:00
Mo Zhu a6cf95495c fix formatting and spelling of handbook quality section (#8078) 2022-10-11 11:47:24 -04:00
RachelElysia 7de1b847ea Fleet UI: Host's software details links to software, improved responsiveness (#8080) 2022-10-11 09:27:20 -04:00
Charlie Chance 6e91039d09 Update ceo-handbook.md (#8158) 2022-10-10 16:35:40 -06:00
dependabot[bot] 35ae71502f Bump actions/setup-go from 3.2.1 to 3.3.0 (#7470)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/84cbf8094393cdc5fe1fe1671ff2647332956b1a...268d8c0ca0432bb2cf416faae41297df9d262d7f)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 18:55:13 -03:00
dependabot[bot] c307800718 Bump github.com/oschwald/geoip2-golang from 1.6.1 to 1.8.0 (#7767)
Bumps [github.com/oschwald/geoip2-golang](https://github.com/oschwald/geoip2-golang) from 1.6.1 to 1.8.0.
- [Release notes](https://github.com/oschwald/geoip2-golang/releases)
- [Commits](https://github.com/oschwald/geoip2-golang/compare/v1.6.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/oschwald/geoip2-golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 18:53:19 -03:00
dependabot[bot] 52b298ff69 Bump gopkg.in/guregu/null.v3 from 3.4.0 to 3.5.0 (#7768)
Bumps [gopkg.in/guregu/null.v3](https://github.com/guregu/null) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/guregu/null/releases)
- [Commits](https://github.com/guregu/null/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: gopkg.in/guregu/null.v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 18:52:07 -03:00
dependabot[bot] ddc47b3096 Bump golang from 1.19.1-bullseye to 1.19.2-bullseye (#8091)
Bumps golang from 1.19.1-bullseye to 1.19.2-bullseye.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 18:45:01 -03:00
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 RodriguezandZach Wasserman 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
EricandChris McGillicuddy 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
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