Commit Graph

3957 Commits

Author SHA1 Message Date
Michal Nicpon
a6902cc083
Add os versions endpoint (#4749) 2022-03-28 09:15:45 -06:00
Kelvin Oghenerhoro Omereshone
069aa6dd3b
feat: add chat to community navigation menu items (#4832) 2022-03-28 10:14:51 -05:00
eashaw
801c68311c
Update fleetdm.com bootstrap (#4833)
* update website bootstrap

* Update bootstrap.js
2022-03-28 09:48:00 -05:00
Kelvin Oghenerhoro Omereshone
7d0c3607db
feat: add FAQ for distinguishing between fleetctl vs the REST API vs … (#4752)
* feat: add FAQ for distinguishing between fleetctl vs the REST API vs Fleet UI

* Update FAQ.md

Edits recorded by line:
189 changed "vs" to "vs."
191 replaced "useful" with "helpful"
193 added "," after "fleetctl"; deleted "make" and "of"
195 replaced "nice to look at" with "visually appealing"; deleted "is" and "meant to"; added "s" to "make"; replaced "wider" with "broader"

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-03-28 10:00:43 +01:00
Mike McNeil
4531a0aa7a
GitHub webhook: fixes #4827 (#4828)
followup fix for #4827  (this is what I get for rushing)
2022-03-26 00:09:30 -05:00
Mike McNeil
11f752d8b9
GitHub webhook: Fixes #4825 (#4827)
fixes unfinished logic from https://github.com/fleetdm/fleet/pull/4825
2022-03-25 23:26:49 -05:00
Mike McNeil
f93af6fd19
GitHub webhook: Add support for '*' DRI rule (#4825)
* GitHub webhook: Add support for '*' DRI rule

This allows any fleetie to edit the handbook landing page (e.g. in the event pages need to get moved around)

* invert how DRI rules for website are expressed

* lint fix + add support for array syntax

* Update receive-from-github.js

* Update receive-from-github.js

* Update receive-from-github.js

* Update receive-from-github.js

* Update receive-from-github.js
2022-03-25 22:55:32 -05:00
eashaw
e783b115a8
update handbook index, remove growth redirect (#4823) 2022-03-25 20:57:54 -05:00
Mike McNeil
9b9dc29365
Handbook: Remove redirect preventing new page from being accessed (#4824)
see https://github.com/fleetdm/fleet/pull/4803#issuecomment-1079507451
2022-03-25 20:50:29 -05:00
Noah Talerman
4e3c998a26
Add direct link to create template copies (#4723) 2022-03-25 19:47:38 -05:00
gillespi314
489ec700c5
Add mock API service tool for frontend development (#4814) 2022-03-25 17:02:58 -05:00
Katheryn Satterlee
723b0e2dc8
Adding Growth handbook page (#4803)
* Adding Growth handbook page

* Add context to team description

@timmy-k Added the change you requested. No need to submit a new PR!

* Update growth.md

All edits are recorded by line:
30 replaced “has been” with “is”; deleted “it needs to be“ before “deliver”; replaced “delivered’ with “deliver”; added “it” after “deliver”
41 deleted “please” before “ensure”; replaced “has been” with “is”
50 replaced “can” with “is”; deleted “be” before “used”; added “and” before “software”; replace “,” with “.” after software; replaced and with “It can”; added “monitor” before “EDR”

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-03-25 15:50:37 -05:00
Mike McNeil
b073678268
Handbook: sentence case (#4808) 2022-03-25 14:10:30 -05:00
Guillaume Ross
b94972351f
Adding permissions to some workflows (#4698)
* Adding permissions to docs.yml and integration.yml

* Update codeql-analysis.yml

Adding top level read permissions to codeql workflow

* Update codeql-analysis.yml

Adding manual dispatch to codeql - to be able to test it easier

* Update deploy-fleet-website.yml

Adding top level read permission + write in the job so it can push the website

* Update test-website.yml

test-website should only need read permissions on content.

* Update fleet-and-orbit.yml

Testing Fleet and Orbit should be fine with top level read access

* Update fleetctl-preview.yml

fleetctl-preview should be fine with just read access at top level

* Update push-osquery-perf-to-ecr.yml

ECR is out of github so read permissions should be enough

* Update semgrep-analysis.yml

semgrep should only need read

* Update test-packaging.yml

Should only need read permission - setting on top

* Update test.yml

Should not need any write access - setting to READ on top.

* Update deploy-fleet-website.yml

Removing git write permission - since this pushes to Heroku not GitHub

* Tweaked as per Zach's comments

Removed some useless restrictions (contents none on a public repo for example)

* Removed meaningless permissions

contents: none - this does not have any security advantage on a public repo
2022-03-25 14:19:42 -04:00
RachelElysia
6748e8bff6
Refactor host details page into components (#4632)
* Refactor host details and device user page into components and shared components
* Refactor stylesheets and update class names on cypress tests
2022-03-25 13:38:50 -04:00
Noah Talerman
8e9a814d4b
Prepare for 4.12.0 (#4797)
- Update CHANGELOG
- Bump versioning
- Tweak documentation
  - Default `session_duration` to `5d`
  - Add extra `#` to "Team policies" section so it doesn't show up in top level nav for docs
2022-03-24 17:24:08 -07:00
Zach Wasserman
653c46b777
Use template icon for Fleet Desktop (#4784)
This enables support for light vs. dark mode.
2022-03-24 15:00:01 -07:00
Michal Nicpon
6c2199f2b0
fix failing policies nil pointer dereference (#4802) 2022-03-24 15:56:56 -06:00
Guillaume Ross
f32c1668ae
Update routes for unique link for handbook section (#4779)
As discussed in Slack with @mikermcneil - to create a unique URL for our github security guide.
2022-03-24 16:00:28 -04:00
Guillaume Ross
07689baa39
Update ecs.tf (#4775)
Adding feature to drop invalid headers at LB level. This closes #4774
2022-03-24 15:00:31 -04:00
gillespi314
6940200cbd
Check policy on all platforms if no platform selection is specified (#4785) 2022-03-24 10:47:43 -05:00
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 Ross
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 Rodriguez
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