Commit Graph
3831 Commits
Author SHA1 Message Date
Tomas Touceda fee7fae579 Set log path to root-dir when calling osquery (#4237)
* Set log path to root-dir when calling osquery

* Update based on review and set filesystem,tls as logging plugin
2022-02-17 09:03:54 -03:00
Mike McNeil 17bbd47fcb support reopening PRs and add verbose logs (#4257) 2022-02-17 04:40:46 -06:00
fleet-release 9d2b41ba5b set up autoapproval for handbook, docs, website, and github brandfront (#4255) 2022-02-17 04:27:01 -06:00
80daf9fc02 Adding note about coordinated disclosure (#4007)
* Adding note about coordinated disclosure

@mike-j-thomas Not sure exactly *where* in the document I should've put this. If you have 5 minutes to comment on this PR I'll adjust it!

* Updated as per Mike's comments

Put in the right section and updated

* Update brand.md

* Update handbook/brand.md

* Update brand.md

Re-added Guillaume's previous suggestion to voice and tone guidelines.

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-02-17 19:16:58 +09:00
Mike McNeil c1b9161e25 Skip branch protections for edits to certain paths (#4245)
* Stub out a way of automatically poking a hole in branch protections for DRIs

* cleaned things out in there

* prototype of autoapproval automation

prototype of autoapproval automation for DRIs editing their files

* should never happen
2022-02-17 03:43:59 -06:00
eashaw 0a59adc2dd Handbook company issued devices (#4204)
* company issued device

* Update people.md
2022-02-17 17:01:44 +09:00
eashaw 1f5e655b84 update broken anchor links (#4199) 2022-02-17 16:47:17 +09:00
Mike McNeil f1c0158149 Make estimation script work with GitHub projects beta (#4249)
* got projects 2.0 showing up

* cleanup graphql resentment leftovers

* Implement annoying shim for graphql.

* got columns working

* made it all work

* make graphql-related variable names slightly more positive

* Get ready to rename this sucker

* Rename script

* a touch of cleanup
2022-02-17 00:06:36 -06:00
Luke Heath fbfc77150f Version bump prop-types and storybook (#4236) 2022-02-16 17:09:41 -06:00
Martavis Parker d536aad63e Removed moment.js in favor of date-fns (#4238)
* removed moment.js in favor of date-fns

* updated yarn and unit test

* fixed e2e test
2022-02-16 15:01:05 -08:00
RachelElysia 6f1c61bc86 UI Revamp: Add hosts modal (#4217) 2022-02-16 16:21:42 -05:00
gillespi314 0328494254 Fix lint error (#4242) 2022-02-16 14:36:14 -06:00
Mike McNeil 0cc954b722 nit: security handbook (assume positive intent) (#4229) 2022-02-16 12:32:34 -06:00
RachelElysia 50b71106db Fix typos "included" to "include" (#4234) 2022-02-16 12:41:11 -05:00
Zachary Winnerman b72e9bd1c1 Split elasticsearch's security groups (#4231) 2022-02-16 11:11:39 -05:00
gillespi314 089f49cc5d Add new activity types for policy-related activities (#4043)
* Add new activities for policy create, delete, and modify, and apply policy spec
* Add PoliciesByID ds method; refactor delete svcs
2022-02-16 09:33:56 -06:00
Martin Angers 80079e4fd7 Fix race in mock datastore for recent_vulns test (#4230) 2022-02-16 09:23:27 -05:00
Nate Felton 68b0a33aee Linting LaunchDaemon to fix formatting (#4180)
This is the equivalent of running the command
`plutil -convert xml1 com.fleetdm.orbit.plist`
2022-02-16 08:31:27 -03:00
Nate Felton bb0b56acb7 Update postinstall to use more modern launchctl commands (#4179)
* Update postinstall to use more modern launchctl comamnds

Fixes #3995

* Switching to service-target specifier

* Removing unnecessary kill flag
2022-02-16 08:31:16 -03:00
Tharun Rajendran ed41c2a445 chore(test): rewritten forgot password form test using rtl (#4121) 2022-02-15 20:35:12 -06:00
eashaw 5f777729f0 Add Q&A signup form to Fleet homepage (#4224)
* create deliver-demo-signup action

* register call to action and styles

* Update homepage.less

* Update deliver-demo-signup.js

* Update homepage.less

* Update homepage.ejs

* Update deliver-demo-signup.js

* update message
2022-02-16 11:15:55 +09:00
Kelvin Oghenerhoro Omereshone 7af7d5f25d Feature/add architecture diagram (#4222)
* feat: add fleet architecture diagram

* feat: add Fleet architecture diagram to deployment guide
2022-02-15 23:37:49 +01:00
Michal Nicpon 15fef92c6e fix format uint (#4221) 2022-02-15 15:03:27 -07:00
Martavis Parker cd275b7435 Homepage platform picker e2e tests (#4207)
* added homepage platform tests to free

* added view hosts tests per platform

* added platform tests for premium

* lint fixes
2022-02-15 12:57:50 -08:00
Guillaume Ross e68ff05243 Cleaning up standard library (#4215)
First cleanup as a part of #4212.
2022-02-15 15:43:16 -05:00
Martin Angers e29797deb0 Migrate the last batch of authenticatedUser endpoints to the new pattern (#4210) 2022-02-15 15:22:19 -05:00
Guillaume Ross 531ef1eddc Adding disk encryption policy query for Linux (#4211)
On website + constants.ts. Does not support all Linux encryption scenarios, we will add more to this query as we discover the patterns people need.

Closes #4208
2022-02-15 14:35:11 -05:00
Tomas Touceda a49f2a06ed Allow removal of munki versions (#4189)
* Skip any versions that are empty in munki

* Return not found if munki is uninstalled

* Fix lint

* wip

* Add deleted at for host_munki_version
2022-02-15 16:29:14 -03:00
Michal Nicpon 0be26613b3 Cache team agent options (#4193)
* use raw literal for json
* wrap cache to clone all values
2022-02-15 12:07:51 -07:00
Michal Nicpon 9009857022 Add get team by name to fleetctl (#4202) 2022-02-15 11:48:09 -07:00
Martin Angers 290b5d90e5 Add team target filters to rego authorization checks for running queries (#4194) 2022-02-15 13:41:48 -05:00
Zachary Winnerman 69c0434e88 Add terraform for the loadtesting environment (#4172)
* Add terraform for the loadtesting environment

* Add some checkov stuff and minor updates

* Remove defunct commented stuff

* Add separate cloudwatch namespace for migrations

* Remove defunct code

* checkin
2022-02-15 13:00:24 -05:00
Zachary WinnermanandTomas Touceda c5c72ed713 Add apm for testing apm (#4053)
* Add apm for testing apm

* Testing opentracing

* testing

* Testing

* go fmt

* Add config switch for tracing.

* fixup

* Update cmd/fleet/serve.go

Co-authored-by: Tomas Touceda <chiiph@gmail.com>

* Add support for both elasticapm and opentelemetry

* Fix driver stuff and config options

* Fixup

* fixup

* Add changes file

* Add config for sql driver

* fixup

* Add doc to exported field

* testing

* fixup

* fixup

* Testing again

* fixup

* testing

* Undo

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-02-15 12:42:22 -05:00
RachelElysia 0ffca38f77 Queries and Scheduled Queries UI: Performance impact tooltips (#4201) 2022-02-15 11:19:01 -05:00
dependabot[bot] 06e7d5472f Bump node-sass from 6.0.1 to 7.0.0 (#4148)
Bumps [node-sass](https://github.com/sass/node-sass) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: node-sass
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 10:09:11 -06:00
dependabot[bot] 8589cdd553 Bump follow-redirects from 1.14.4 to 1.14.8 in /tools/fleetctl-npm (#4183)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 10:08:07 -06:00
dependabot[bot] 7aaba70d5b Bump follow-redirects from 1.14.5 to 1.14.8 (#4184)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 10:07:21 -06:00
Lucas Manuel Rodriguez d8b8794d51 Fix setting of envs for schedule (#4205)
* Attempt to fix setting of env for schedule

* Revert logic after testing
2022-02-15 09:26:28 -03:00
Kelvin Oghenerhoro Omereshone afa63805c8 fix: update heading to conform to Fleet's style guide (#4153)
* fix: update heading to conform to Fleet's style guide

* fix: update heading link to conform to style guide
2022-02-15 10:16:58 +01:00
eashaw 4dc10f6a26 Update platform page (#4075)
* update images

* update page layout and stylesheet

* Update platform.ejs

* mobile padding

* fix logo padding

* Update platform.ejs

* replace schrodinger logo, add missing image, adjust svg width for safari

* lint fixes

* fix logo rows margin and Schrodinger logo on mobile
2022-02-14 17:14:54 -06:00
RachelElysia bb11f5008f Frontend tech debt: Clean up 409 lint warnings (#3703)
* Clean up unused variables, return types, many quick type any
2022-02-14 17:11:12 -05:00
RachelElysia 439d6f0623 Fix flaky e2e policies (#4190) 2022-02-14 17:09:55 -05:00
Guillaume RossandNoah Talerman 381d3b4206 Added AV Policies + Re-ordered (#4171)
* Added AV Policies + Re-ordered

Added a policy to check AV health for every OS. Re-ordered policies in alphabetical order.

* Update frontend/utilities/constants.ts

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

* Update frontend/utilities/constants.ts

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

* Update frontend/utilities/constants.ts

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

* Update frontend/utilities/constants.ts

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

* Removed extra carriage return

* Fixed linting issue

Added CRs where expected by linter

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2022-02-14 16:51:29 -05:00
Lucas Manuel Rodriguez aa9e257a2a Upgrade fleetdm/goose version to latest (#4195) 2022-02-14 17:33:37 -03:00
Lucas Manuel Rodriguez 297dd245ec Run go tests with -race at night (#4090)
* Run go tests with race at night

* Add missing run on step

* Fix boolean logic

* Allow manual run for test-go.yaml

* Add slack notification step

* Try global environment variable for cron schedule

* Fix indentation

* Try number 2

* Try setting cron as usual

* Remove global env

* Only send notification in case of failure when running schedule

* Run with race enable to test

* Add more fixes

* Fix github event variable name

* Set timeouts

* Fix slack notification link

* Re-enable if clause

* Last try on Github Actions

* Re-enable the if clause
2022-02-14 16:38:53 -03:00
Guillaume Ross 2378db08c8 3946-Adding antivirus queries (#4154)
* Adding antivirus queries

Adding 3 antivirus queries in the form of an information query as well as in the form of policy queries

* Update standard-query-library.yml

Adding newline at end of file
2022-02-14 14:35:22 -05:00
Zach Wasserman 9e68e66eb6 Update CODEOWNERS (#4006) 2022-02-14 10:49:40 -08:00
Lucas Manuel Rodriguez be72dc356c Add CentOS parsing+post-processing to reduce false positives in vulnerability processing (#4037)
* Add CentOS parsing and post-processing in fleet

* Add tests and amend SyncCPEDatabase

* Add test for centosPostProcessing

* Changes from PR comments

* Amend software test

* Fix sync test

* Add index to source and vendor

* Use os.MkdirTemp

* Rearrange migrations

* Regenerate test schema

* Add support for testing migrations (#4112)

* Add support for testing migrations

* Rename migration in tests

* Changes suggested in PR

* Go mod tidy
2022-02-14 15:13:44 -03:00
Mike McNeil 57d9546081 apostrophe (#4181) 2022-02-14 12:01:13 -06:00
Zachary Winnerman 3babf53cf4 Fix OSVersion to work properly when distribution does not follow symver (#3968)
* Fix OSVersion to work properly when distribution does not follow symver

Certain distros such as ClearLinux or ArchLinux do not use symver or any
dotted versioning scheme for their releases. Archlinux uses the static
string "Rolling" and ClearLinux uses a single build number such as 35550
for their versions.

In Fleet console, this shows up as a string like "Archlinux 0.0.0.0"
which makes very little sense to the user. This change makes it so that
if OSQuery cannot generate a dotted version number, we should instead
use the build id as an opaque string.

* Add /changes

* Add tests for os_version

* fixup

* fixup
2022-02-14 12:55:23 -05:00