Commit Graph
3936 Commits
Author SHA1 Message Date
Zach Wasserman d0630b00e1 Allow Orbit shell to run while daemon is running (#4772)
Use a different data path so that the new osquery instance doesn't try
to use the same pidfile, db file, extension socket, etc.

#4769
2022-03-23 15:27:52 -07:00
Martin Angers c4946335ff Add migration to cleanup host-related tables (#4778)
#4448
2022-03-23 15:22:10 -07:00
Luke Heath 5e647660bb Filter out device users if no email is present (#4773) 2022-03-23 15:45:19 -05:00
Noah Talerman 674e2bd672 Tweak output for fleetctl login --help (#4776)
Switch position of 'set' and 'config'
2022-03-23 16:40:16 -04:00
RachelElysia a3789c817e Fleet Desktop: Refetch uses device API not host API (#4770) 2022-03-23 14:51:12 -04:00
RachelElysia cf34466e7f Live query percent fix (#4768) 2022-03-23 14:50:16 -04:00
RachelElysia 345de5d8d4 Fix styling of errors tab for live policy results page (#4766) 2022-03-23 14:49:08 -04:00
Lucas Manuel Rodriguez 378b1dd34f Upgrade osquery-go (#4728)
* Upgrade and replace kolide/osquery-go with osquery/osquery-go

* Upgrade macadmins/osquery-extension to v0.0.7

* Upgrade kolide/launcher to latest

* go mod tidy
2022-03-23 12:15:37 -03:00
Lucas Manuel Rodriguez 8f9ed3ef7b Fix Datastore.DeleteHosts (#4745) 2022-03-23 12:15:05 -03:00
RachelElysia bf4713b742 Remove vuln count detail for device user, fix padding/margins (#4744) 2022-03-23 10:57:42 -04:00
Tharun Rajendran 778de64011 chore(test): rewritten scheduled query list component test using rtl (#4757) 2022-03-23 09:54:28 -05:00
Guillaume Ross 7638498e3d Fix broken link in README.md (#4763)
Since headings from markdown in the handbook have snake-case IDs, GitHub becomes git-hub.
2022-03-23 10:36:17 -04:00
RachelElysia 401225ec38 Fix tooltip underline bug on safari (#4742) 2022-03-22 17:33:25 -04:00
RachelElysia 78dc9f2a31 Fix sentence casing on login (#4741) 2022-03-22 17:32:41 -04:00
Guillaume Ross c16ad0d693 Update README.md (#4747)
* Update README.md

Github security link was not pointing to the right place in the security page

* Update README.md

Extra hyphen removed

* Update README.md

Adding file extension BACK.  How many commits will I need to fix a link??
2022-03-22 17:30:13 -04:00
Mike McNeil d92a777581 Handbook: put Slack channels last (#4668) 2022-03-22 16:23:37 -05:00
Guillaume RossandDesmi-Dizney e2b0674286 Add GitHub security guide (#4665)
* Adding GitHub security guide

* Update security.md

All edits are recorded by line:
273-275 reworded for clarity.
299 reworded to “Selecting Write provides the perfect balance!”
312 deleted “,” after “discussions”
313 deleted “want to“
317 replaced “into to” with “in too”; deleted “,” after “places”; added hyphen to “security-related”
322 deleted “,” after “configure”
340 replaced “had a need for” with “needed”
345 added “,” after “workflows”

* ccccccujudggihredvcugfctdteubbiteignjjjrfndh

* removedyubisneeze

* Update security.md

I removed the hyphen’s from “open source” in this section. Though the hyphen is correct Mike T. told me it’s a Mike McNeil preference.

All edits are recorded by line:
258 deleted “,” after ”running”
265 replace “as” with “so”; replaced “device” with device's OS “device's OS”
269 replaced “We need to host and collaborate on code as a company making open-source software!” with “Since Fleet makes open source software, we need to host and collaborate on code.”
273 deleted “-“ from “open source’
287 replaced “was” with “were”
290 deleted “:” after “enable”; added italics to “Require two-factor authentication”
293 removed”-“ from “open source”; added “If you can imagine,”
309 added italics to “Write”
326 deleted”,” after “discussions”

* Update security.md

Added a link in the macOS section to point to a blog post on the topic, and finished GitHub security section draft.

* Update security.md

Fixed broken italic

* Update security.md

All edits are recorded by line:
261 deleted “,” after “default”; added “the” before “performance”
262 added “from having”

* Update security.md

All edits are recorded by line:
270 replaced “,” with “;”
274 added “,” after “source”
311 deleted “.” after “creation”; added “,” after “eventually”
313 replaced “be sure” with “ensure”; added “,” after “handbook”
321 added “,” after “example”
327 replaced “it” with “them”
346 added “a pull request”
348 added “a” before “linear”
351 replaced “We have need this” with “We do not have a need this”
377 deleted”,” after “actions”
378 added “,” after “privileges”
384 added “,” after “repositories”

* Update security.md

Made Dependabot explanation clearer

* Update security.md

Removed an extra `that`

* Update security.md

It's dependa*b*ot not dependaot!

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-03-22 17:13:53 -04:00
Lucas Manuel Rodriguez eeb73a42db Fleetctl preview to clean up osquery socket before starting orbit (#4729)
* Fleetctl preview to clean up osquery socket before starting orbit

* Use os.Remove
2022-03-22 18:00:00 -03:00
RachelElysia dc8921fed1 Remove fleet desktop checkbox (#4730) 2022-03-22 11:23:59 -04:00
Kelvin Oghenerhoro Omereshone 67a2d7d702 docs: change verbiage from tutorial to guide (#4727) 2022-03-22 11:52:12 +01:00
gillespi314 2092fe437f Add tables from macadmins extension to compatibility check (#4722) 2022-03-21 18:06:25 -05:00
Lucas Manuel Rodriguez 4d7c9d19d2 Add missing desktop channel to orbit's Info.plist (#4724) 2022-03-21 19:56:12 -03:00
eashaw 666509e634 Ignore FleetDM GitHub project URLs when checking Markdown links (#4712)
* Add GitHub projects to link check ignorePatterns

* update pattern to exclude private GitHub projects
2022-03-21 17:21:12 -05:00
gillespi314 eb5c9bf7b7 Add advanced installer info to add hosts modal (#4644) 2022-03-21 17:08:13 -05:00
Zach Wasserman cc687d9d1e Add Notarization for Fleet Desktop (#4720) 2022-03-21 15:01:50 -07:00
Guillaume Ross d60ee47545 Securing desktop github workflow (#4718)
Pinning the dependencies and putting an explicit read only permission on the new desktop github workflow
2022-03-21 15:38:21 -04:00
Michal Nicpon 7b671ac2a3 Add team failing policies webhook (#4633)
* add config to teams
* update api docs
* update tests
2022-03-21 13:16:47 -06:00
Lucas Manuel RodriguezandZach Wasserman ecdfd627b6 Fleet Desktop MVP (#4530)
* WIP

* WIP2

* Fix orbit and fleetctl tests

* Amend macos-app default

* Add some fixes

* Use fleetctl updates roots command

* Add more fixes to Updater

* Fixes to app publishing and downloading

* Add more changes to support fleetctl cross generation

* Amend comment

* Add pkg generation to ease testing

* Make more fixes

* Add changes entry

* Add legacy targets (until our TUF system exposes the new app)

* Fix fleetctl preview

* Fix bool flag

* Fix orbit logic for disabled-updates and dev-mode

* Fix TestPreview

* Remove constant and fix zip-slip attack (codeql)

* Return unknown error

* Fix updater's checkExec

* Add support for executable signing in init_tuf.sh

* Try only signing orbit

* Fix init_tuf.sh targets, macos-app only for osqueryd

* Specify GOARCH to support M1s

* Add workflow to generate osqueryd.app.tar.gz

* Use 5.2.2 on init_tuf.sh

* Add unit test for tar.gz target

* Use artifacts instead of releases

* Remove copy paste residue

* Fleet Desktop Packaging WIP

* Ignore gosec warning

* Trigger on PR too

* Install Go in workflow

* Pass url parameter to desktop app

* Fix fleetctl package

* Final set of changes for v1 of Fleet Desktop

* Add changes

* PR fixes

* Fix CI build

* add larger menu bar icon

* Add transparency item

* Delete host_device_auth entry on host deletion

* Add SetTargetChannel

* Update white logo and add desktop to update runner

* Add fleet-desktop monitoring to orbit

* Define fleet-desktop app exec name

* Fix update runner creation

* Add API test before enabling the My device menu item

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2022-03-21 14:53:53 -03:00
KanchiMoe e9fd5f46c7 fix uncommented line for code owners (#4669) 2022-03-21 10:50:34 -07:00
RachelElysia 81f5a6c3bd Remove macadmin call from device user page (#4713) 2022-03-21 13:49:53 -04:00
Zach Wasserman e2ec9df037 Update systemd example to show running as a non-root user (#4702)
From discussion in https://osquery.slack.com/archives/C01DXJL16D8/p1647507818040759.
2022-03-21 10:49:42 -07:00
Katheryn SatterleeandDesmi-Dizney 909c3b6ca6 Add Host OS compatibility chart (#4621)
* Add Host OS compatibility chart for issue 3359

* Refining compatibility for Linux

* Updated wording of Linux note and changed file name to match heading

* Change Windows  version to 10+

* Update Supported-host-operating-systems.md

Edits recorded by line:
5 replaced ":" with "."
17 replaced "in" with "for"
22 added "a" before "CPU"

* Update Supported-host-operating-systems.md

@Desmi-Dizney let me know if that helps at all!

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-03-21 12:22:32 -05:00
Zachary Winnerman 92cd700b4d Add new loadtesting infra and scaledown option to save costs (#4662) 2022-03-21 13:18:21 -04:00
gillespi314 deeaf9d036 Add ability to detect compatibility and update which hosts are checked for a policy (#4703)
Add new usePlatformSelector custom hook
Add new usePlatformCompatibility custom hook
Add new PlatformSelector global component
Refactor PlatformCompatibility as global component
Refactor sql_tools to TypeScript
Improve type definitions for context/policy
Align PolicyPage and QueryPage with platform compatibility changes
2022-03-21 11:51:00 -05:00
RachelElysia e1f84436ab Device user cannot view all hosts software (#4710) 2022-03-21 12:34:36 -04:00
Benjamin Edwards 74bb559645 Add public ip to hosts & derive geolocation when rendering host (#4652)
* geoip wip
* return nil if ip is empty string or if ParseIP returns nil
* add ui component to render geolocation if available, address PR feedback
* render public ip if available
* add changes file, document geoip in deployment guide
* update rest-api docs
2022-03-21 12:29:52 -04:00
Tharun Rajendran 1164330bd4 chore(test): rewritten confirm invite form test using rtl (#4616) 2022-03-21 11:27:50 -05:00
Tharun Rajendran 999042ff31 chore(test): rewritten authenticated routes test using rtl (#4617) 2022-03-21 11:27:17 -05:00
Tharun Rajendran 4ca32c7148 chore(test): rewritten emailtokenredirect test using rtl (#4618) 2022-03-21 11:26:40 -05:00
Tharun Rajendran 68572dbd36 chore(test): rewritten app component test using rtl (#4629) 2022-03-21 11:25:54 -05:00
Tharun Rajendran 2edffeebd7 chore(test): rewritten core layout component test using rtl (#4655) 2022-03-21 11:25:08 -05:00
Martavis Parker aed9e3aa1e Minimize Redux in pages where possible (#4614)
* removed redux from settings wrapper

* removed redux rooute push from team details

* removed redux route push from user management

* removed redux from forgot password

* removed unused function

* removed redux from login successful page

* removed redux push route from edit pack

* removed use of redux push route from pack composer

* removed use of redux route push from manage queries

* removed use of redux route push from query form

* removed use of redux route push from schedule

* lint fixes

* created sessions service

* removed redux route use from login

* lint fixes

* fixed and removed unnecessary tests
2022-03-21 08:35:24 -07:00
Andrew BakerandDesmi-Dizney 06d4950a42 Handbook sponsorship process (#4624)
* Handbook sponsorship process

* Update community.md

Edits recorded by line:
241 added "to" before "expose
242 reworded to make more concise
244 deleted "," after "opportunity"
257 replaced ",." with ","

* Update community.md

* Update community.md

Fixed sentence casing and also added clarity to roles responsible for approving and signing off on sponsorships.

* Update community.md

Edits recorded by line:
244 replaced "has been" with "are"
245 added "."
249 added "."
257 replaced "have been" with "are"

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-03-21 10:25:24 -05:00
RachelElysia 84de0b7db0 Fleet Desktop device user page (#4589) 2022-03-21 09:38:59 -04:00
RachelElysia d661d23956 New/Edit Packs Page: Fix hover of pack's target selector (#4592) 2022-03-18 16:01:29 -04:00
Tharun Rajendran c16ac4fcc9 chore(test): rewritten clickable table row component test using rtl (#4630) 2022-03-18 14:10:29 -05:00
Tharun Rajendran cb159970c1 chore(test): rewritten panelgroup component test using rtl (#4628) 2022-03-18 14:10:16 -05:00
Tharun Rajendran b512eef210 chore(test): rewritten querypagewrapper component test using rtl (#4627) 2022-03-18 14:09:23 -05:00
Tharun Rajendran 54a17b9e97 chore(test): rewritten dropdown component test using rtl (#4626) 2022-03-18 14:08:54 -05:00
Guillaume Ross befbe88eb8 Adding manual execution to ossf scorecard workflow 2022-03-18 14:36:10 -04:00