Commit Graph

3887 Commits

Author SHA1 Message Date
Guillaume Ross
befbe88eb8
Adding manual execution to ossf scorecard workflow 2022-03-18 14:36:10 -04:00
Mike McNeil
c8b7ea64bf
Handbook: Mike == DRI of #oooh-automation (#4651) 2022-03-18 12:45:38 -05:00
Kelvin Oghenerhoro Omereshone
8abe592808
Make redirect to via /slack 301 and add support link in docs homepage (#4696)
* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* chore: remove queries from develop

* docs: add query to get running docker containers

* docs: add query to get machines with unencrypted primary disks

* fix: remove trailing ---

* fix: remove trailing ---

* chore: remove trailing ---

* docs: add query to get applications hogging memory

* fix: resolve merge conflicts

* chore: update PR

* chore: update PR

* chore: merge previous query

* feat: add query to find servers with root logins within the day

* fix: remove unneeded period

* docs: add instructions for submiting multiple queries

* fix: remove duplicate entry

* fix: remove period from get running docker containers query description

* docs: add instructions for submiting multiple queries

* fix: resolve merge conflicts

* feat: add description for query to fetch failing batteries

* fix: resolve duplicate descriptions

* fix: remove typo in deplying docs

* fix: reword description

* fix: add suggestions to improve description

* feat: add description to query to fet windows machines with unencrypted hard disks

* feat: update description for count apple applications installed query

* chore: add dominuskelvin as maintainer

* docs: 📝 Add query to get apps opened within the last 24 hours

* feat: add query to find apps not in Applications directory

* feat: add query to find subscription based applications that have not been opened for the last 30 days

* feat: add link to signing installers

* fix: typo with link to the getting started page

* feat: docs on how to sign an osquery installer

* feat: make signing installer a subsection of osquery installer

* feat: make description for signing installer shorter and compact

* fix: change package to installers

* fix: reword note section

* feat: add instructions to use credentials below to log in to fleet preview

* feat: update static pages explicitly listed in sitemap

* feat:  change the fleetdm.com/docs landing page to send folks clicking for support to fleetdm.com/slack instead of to the contact formadd testimonial section

* feat: add a 301 redirect

* feat: update docs landing page to link to slack instead of support form
2022-03-18 12:30:28 -05:00
Mike McNeil
60620b840b
Handbook: Please use sentence case (#4690) 2022-03-18 11:54:14 -05:00
Zach Wasserman
efbc2b92bb
Fix race condition in updates test (#4661)
Copy the DefaultOptions in order to prevent a data race on the Targets
map. This race should only have effected testing.

Race detector output:

```
WARNING: DATA RACE
Read at 0x00c0000908d0 by goroutine 15:
  runtime.mapaccess1_faststr()
      /opt/hostedtoolcache/go/1.18.0/x64/src/runtime/map_faststr.go:13 +0x0
  github.com/fleetdm/fleet/v4/orbit/pkg/update.TestMakeRepoPath.func1()
      /home/runner/work/fleet/fleet/orbit/pkg/update/update_test.go:58 +0xb6
  testing.tRunner()
      /opt/hostedtoolcache/go/1.18.0/x64/src/testing/testing.go:1439 +0x213
  testing.(*T).Run.func1()
      /opt/hostedtoolcache/go/1.18.0/x64/src/testing/testing.go:1486 +0x47

Previous write at 0x00c0000908d0 by goroutine 12:
  runtime.mapassign_faststr()
      /opt/hostedtoolcache/go/1.18.0/x64/src/runtime/map_faststr.go:203 +0x0
  github.com/fleetdm/fleet/v4/orbit/pkg/update.TestMakeRepoPath.func1()
      /home/runner/work/fleet/fleet/orbit/pkg/update/update_test.go:62 +0x1cb
  testing.tRunner()
      /opt/hostedtoolcache/go/1.18.0/x64/src/testing/testing.go:1439 +0x213
  testing.(*T).Run.func1()
      /opt/hostedtoolcache/go/1.18.0/x64/src/testing/testing.go:1486 +0x47

Goroutine 15 (running) created at:
  testing.(*T).Run()
      /opt/hostedtoolcache/go/1.18.0/x64/src/testing/testing.go:1486 +0x724
  github.com/fleetdm/fleet/v4/orbit/pkg/update.TestMakeRepoPath()
      /home/runner/work/fleet/fleet/orbit/pkg/update/update_test.go:53 +0x1a4
  testing.tRunner()
      /opt/hostedtoolcache/go/1.18.0/x64/src/testing/testing.go:1439 +0x213
  testing.(*T).Run.func1()
      /opt/hostedtoolcache/go/1.18.0/x64/src/testing/testing.go:1486 +0x47

Goroutine 12 (running) created at:
  testing.(*T).Run()
      /opt/hostedtoolcache/go/1.18.0/x64/src/testing/testing.go:1486 +0x724
  github.com/fleetdm/fleet/v4/orbit/pkg/update.TestMakeRepoPath()
      /home/runner/work/fleet/fleet/orbit/pkg/update/update_test.go:53 +0x1a4
  testing.tRunner()
      /opt/hostedtoolcache/go/1.18.0/x64/src/testing/testing.go:1439 +0x213
  testing.(*T).Run.func1()
      /opt/hostedtoolcache/go/1.18.0/x64/src/testing/testing.go:1486
      +0x47
 ```
2022-03-18 09:30:45 -07:00
Mike McNeil
0b4b059e26
handbook: add #g-security slack channel (#4683) 2022-03-18 09:01:06 -04:00
Kelvin Oghenerhoro Omereshone
44aed81e31
Website update static pages being explicitly listed in dynamic sitemapxml (#4681)
* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* chore: remove queries from develop

* docs: add query to get running docker containers

* docs: add query to get machines with unencrypted primary disks

* fix: remove trailing ---

* fix: remove trailing ---

* chore: remove trailing ---

* docs: add query to get applications hogging memory

* fix: resolve merge conflicts

* chore: update PR

* chore: update PR

* chore: merge previous query

* feat: add query to find servers with root logins within the day

* fix: remove unneeded period

* docs: add instructions for submiting multiple queries

* fix: remove duplicate entry

* fix: remove period from get running docker containers query description

* docs: add instructions for submiting multiple queries

* fix: resolve merge conflicts

* feat: add description for query to fetch failing batteries

* fix: resolve duplicate descriptions

* fix: remove typo in deplying docs

* fix: reword description

* fix: add suggestions to improve description

* feat: add description to query to fet windows machines with unencrypted hard disks

* feat: update description for count apple applications installed query

* chore: add dominuskelvin as maintainer

* docs: 📝 Add query to get apps opened within the last 24 hours

* feat: add query to find apps not in Applications directory

* feat: add query to find subscription based applications that have not been opened for the last 30 days

* feat: add link to signing installers

* fix: typo with link to the getting started page

* feat: docs on how to sign an osquery installer

* feat: make signing installer a subsection of osquery installer

* feat: make description for signing installer shorter and compact

* fix: change package to installers

* fix: reword note section

* feat: add instructions to use credentials below to log in to fleet preview

* feat: update static pages explicitly listed in sitemap
2022-03-18 07:07:42 -05:00
Kelvin Oghenerhoro Omereshone
68fd975eef
feat: update Fleet slack links (#4684) 2022-03-18 06:49:21 -05:00
Zachary Winnerman
0f5e43bc7b
Add name to receive-from-github.js (#4578) 2022-03-17 16:29:21 -07:00
Martavis Parker
4646dd2613
fixed tooltip for pack queries table (#4647) 2022-03-17 11:49:25 -07:00
Mike Thomas
7af5f3bcbd
Live Q&A update (#4660)
Updated the date for next live Q&A session.
2022-03-17 17:51:08 +00:00
eashaw
adcd380fd4
Update Slack redirect (#4658) 2022-03-17 11:42:12 -05:00
Guillaume Ross
32ad77c22e
Create dependabot.yml (#4558)
Part of #4198
2022-03-16 16:00:22 -04:00
Guillaume Ross
62d3b9145f
4620 pin action dependencies (#4622)
* Update build-binaries.yaml

Pin action versions + add read only token to build-binaries.yaml

* Update codeql-analysis.yml

Pin dependencies with hash for codeql-analysis.yml

* Update deploy-fleet-website.yml

Pin dependencies in deploy-fleet-website.yml

* Update docs.yml

Pin dependencies for docs.yml

* Update fleet-and-orbit.yml

Pinning dependencies for fleet-and-orbit.yml

* Update generate-osqueryd-app-tar-gz.yml

Pin dependencies for generate-osqueryd-app-tar-gz.yml

* Pin dependencies in goreleaser workflows

Pinned dependencies in the 3 goreleaser workflows

* Update integration.yml

Pinned dependencies with hash

* Update pr-helm.yaml

Pinned dependencies with hash

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

Pinned dependencies with a hash

* Update release-helm.yaml

Pinned one dependency with a hash

* Update semgrep-analysis.yml

Pinned dependencies with hashes

* Update test-go.yaml

Pinned dependencies with hash

* Update test-packaging.yml

Pinned dependencies with hashes

* Update test-website.yml

Pinned dependencies with hashes

* Update test.yml

Pinned dependencies with hashes
2022-03-16 15:42:28 -04:00
Guillaume Ross
8700fc6498
Go 1.17.8 (#4560)
* Go 1.17.8

* Enforcing go minimum 1.17.8

Bumping minimum version in a few more files
2022-03-16 14:56:58 -04:00
gillespi314
c12098577b
Add UI for global admin to reset user passwords (#4613) 2022-03-16 11:05:05 -05:00
gillespi314
a693d82c11
Improve TypeScript definitions for app context (#4603)
* Refactor AppContext with improved TypeScript definitions for actions
* Sort teams on setAvailableTeams action
* Add case insensitive sort by name to team table on team settings page
2022-03-16 10:01:35 -05:00
eashaw
3e07f4a626
Update customer handbook headings and formatting (#4612)
* update headings, add newlines

* Update customers.md
2022-03-16 10:00:31 -05:00
Martin Angers
b2845cd65f
Refactor authz skip for device auth, add org_logo_url for frontend (#4619) 2022-03-16 10:15:25 -04:00
Martin Angers
c0591dac5d
Ignore pagination params for the download csv endpoint (#4608) 2022-03-16 09:01:52 -04:00
Martavis Parker
0fef79926f
Host expiry setting to validate on change (#4604)
* cleaned up old conflicting tooltip styles

* fixed hsot expiry validation; validate on change
2022-03-15 23:38:19 -07:00
Martavis Parker
d0ab0bca9e
fixed prop type for inputfield (#4611) 2022-03-15 23:38:10 -07:00
eashaw
2e4a563792
Handbook - Add markdown section (#4607)
* add markdown section

* Update community.md

* Update community.md

Edits recorded by line:
34 replaced "inline," with "in line"
58 replaced "Makrdown" with "Markdown"
63 replaced "linebreak" with "line break"; replaced "newline" with "new line"; replaced "important" with vital"; replaced "newlines" with "new lines"; deleted "," after "otherwise"
78 replaced "newline" with "new line"; replaced"linebreak" with "line break"; replaced "newline" with "new line"
85 new line added
86 ended with ":"
136 replaced “easily” with “quickly”; deleted "," after "headings"
148 deleted"be "; replaced "transformed" with "transform"
153 reworded for clarity
161 added "always" before "check"
174 added " ' ' " to "pageOrderInSection"
249 deleted "," after "issue"
257 added "," after "changes"
258 deleted " it"

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-03-15 18:59:16 -05:00
Guillaume Ross
5265e7b02c
Adding OpenSSF Best Practices Badge (#4556) 2022-03-15 15:57:32 -07:00
Lucas Manuel Rodriguez
d2ba34c8fc
Add distributed discovery query support for detail queries, add orbit… (#4597)
* Add distributed discovery query support for detail queries, add orbit_info ingestion

* Amend changes file
2022-03-15 16:51:00 -03:00
Martin Angers
bb678b6b2e
Add support for downloading a list of hosts in CSV format (#4596) 2022-03-15 15:14:42 -04:00
Lucas Manuel Rodriguez
f4d3159cc9
Fleetctl to package .app bundles for osquery (and changes for orbit to support them) (#4393)
* 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

* Trigger workflow on PR

* Fixes to ease handling of artifact

* Fix, do not use target name as dir

* Remove workaround
2022-03-15 16:04:12 -03:00
Guillaume Ross
b620d2b7d8
Fix code scanning issues with golangci-lint.yml (#4606)
Making permissions more restricted to reduce impact if token leaked, and pinning dependencies more strictly.
2022-03-15 14:44:30 -04:00
Kelvin Oghenerhoro Omereshone
9f254a6de5
Improve intro to getting started (#4590) 2022-03-15 19:26:36 +01:00
CharlotteChance
d3019753c0
Update for missed Zoom meetings (#4601)
This is a request to add language/process for zoom meeting etiquette with customers that missed a meeting/call.
2022-03-15 12:38:51 -04:00
gillespi314
bbb21c3096
Fix style bug (#4599) 2022-03-15 11:27:11 -05:00
gillespi314
c814011c0b
Autofocus select query modal (#4595) 2022-03-15 11:09:04 -05:00
gillespi314
3aa66aaf31
Remove automations view for observers (#4594)
Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-03-15 10:48:31 -05:00
Luke Heath
48f85cfb17
Optimize webpack using esbuild-loader (#4586) 2022-03-15 09:45:34 -05:00
Martin Angers
fc01947ae7
Allow global admin to change anyone's password. (#4582) 2022-03-15 08:11:53 -04:00
Lucas Manuel Rodriguez
ab9c2307fc
Add orbit_info table extension (#4587) 2022-03-14 19:09:55 -03:00
eashaw
801d38fbfd
update zoom section (#4588) 2022-03-14 16:14:32 -05:00
Noah Talerman
7f521f66eb
Update DRIs (#4584)
- Add "Ticket movement..." and "Lead engineering standup..." DRIs
  - The new "Ticket movement..." DRI absorbs the "Escaped work" and "Ticket quality" responsibilities.
2022-03-14 17:09:18 -04:00
Guillaume Ross
62042e35cd
Fix guest policy in standard query library and constants.ts (#4573)
* Fix guest policy in standard query library

* Fix guest policy in constants.ts
2022-03-14 14:31:33 -04:00
Luke Heath
a9d2d28495
Version bump frontend dependencies (#4577) 2022-03-14 11:59:05 -05:00
RachelElysia
bb6db2434e
Fleet UI: Enable and disable automation slider (#4554) 2022-03-11 11:56:14 -06:00
eashaw
a401c8f97e
fix img alt text (#4569) 2022-03-11 10:55:04 -06:00
Roberto Dip
9dba07395b
Add missing error checking to test config setup (#4401)
* check for errors when setting test logs on new services

* fix tests that fail because a log file wasn't specified

* remove unnecessary nil check
2022-03-11 12:51:12 -03:00
Kelvin Oghenerhoro Omereshone
25b1e1fe8d
fix: normalize acronyms and brand names (#4544) 2022-03-11 07:07:55 +00:00
Kelvin Oghenerhoro Omereshone
e7006a7071
Document the need for rosetta to run fleet preview (#4493)
* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* chore: remove queries from develop

* docs: add query to get running docker containers

* docs: add query to get machines with unencrypted primary disks

* fix: remove trailing ---

* fix: remove trailing ---

* chore: remove trailing ---

* docs: add query to get applications hogging memory

* fix: resolve merge conflicts

* chore: update PR

* chore: update PR

* chore: merge previous query

* feat: add query to find servers with root logins within the day

* fix: remove unneeded period

* docs: add instructions for submiting multiple queries

* fix: remove duplicate entry

* fix: remove period from get running docker containers query description

* docs: add instructions for submiting multiple queries

* fix: resolve merge conflicts

* feat: add description for query to fetch failing batteries

* fix: resolve duplicate descriptions

* fix: remove typo in deplying docs

* fix: reword description

* fix: add suggestions to improve description

* feat: add description to query to fet windows machines with unencrypted hard disks

* feat: update description for count apple applications installed query

* chore: add dominuskelvin as maintainer

* docs: 📝 Add query to get apps opened within the last 24 hours

* feat: add query to find apps not in Applications directory

* feat: add query to find subscription based applications that have not been opened for the last 30 days

* feat: add link to signing installers

* fix: typo with link to the getting started page

* feat: docs on how to sign an osquery installer

* feat: make signing installer a subsection of osquery installer

* feat: make description for signing installer shorter and compact

* fix: change package to installers

* fix: reword note section

* feat: add instructions to use credentials below to log in to fleet preview

* doc: add note that rosetta is needed for M1 macs

* Update get-started.ejs

This is good to merge.

* Update get-started.ejs

Lines 21, 36, & 39 - added quotes to "I"

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-03-11 07:06:29 +00:00
Kam Leung
10e8005566
Update routes.js (#4565)
Update path for Slack change route from id to using fleet channel name
2022-03-10 23:31:48 -06:00
Mike McNeil
44bf058766
Handbook: corniness-- (#4564) 2022-03-10 21:07:32 -06:00
Mike McNeil
9eef6573e4
Handbook: prioritize mission (#4563) 2022-03-10 21:04:21 -06:00
Mike McNeil
f77bdb931f
Bug issue template: i delete these every time (#4525) 2022-03-10 18:14:18 -06:00
timmy-k
cac036bf6b
Fixed broken link to debugging performance issues (#4553)
Lived under "if this is a performance issue"
2022-03-10 18:10:43 -06:00