Commit Graph
3663 Commits
Author SHA1 Message Date
Lucas Manuel Rodriguez f82c01833b Change webhooks db lock duration to one hour (#3589)
* Change webhooks db lock duration to one hour

* Reload interval and check time left

* Change interval to one hour to match the db lock

* Add missing continue in case of failure

* Fix lint-go
2022-02-07 17:14:23 -03:00
RachelElysia b9e2ca6790 Bug fix: Get failing policies webhook on load (#3997) 2022-02-07 12:45:49 -06:00
RachelElysia cb43400932 In label error state for duplicate query/policy name (#4052) 2022-02-07 12:28:33 -06:00
github-actions[bot]andzwass 87ef4e464f Update Orbit CA certs [automated] (#4055)
Generated automatically with curl mk-ca-bundle.pl script.

Co-authored-by: zwass <zwass@users.noreply.github.com>
2022-02-07 10:27:45 -08:00
Tomas Touceda 35eac78aed Add CountsUpdatedAt for munki/mdm status (#4045)
* Add CountsUpdatedAt for munki/mdm status

* Update doc
2022-02-07 14:53:33 -03:00
Zach Wasserman 96d81596f3 Add GitHub action for updating CA certs bundle (#4041)
See #4029
2022-02-07 09:44:31 -08:00
Martin Angers 1751c7a548 Expand linux platform to all supported linux os in generate hosts stats (#4051) 2022-02-07 11:50:36 -05:00
Tomas Touceda f98fd4d331 Allow disabling scheduled query stats via app config (#4049)
* Allow disabling scheduled query stats via app config

* Update tests

* Fix test

* Moar test fixes

* Remove redundant set

* Add documentation

* Fix typo in docs
2022-02-07 13:37:54 -03:00
Martin Angers 2cdd614253 Remove todos around queries/run authorization tests (#3992) 2022-02-07 09:00:48 -05:00
gillespi314 90fe417ce0 Sync current team to url params on manage hosts page (#4010) 2022-02-06 10:07:43 -06:00
RachelElysia 6e5aee3cdf Software vulnerability automation modal (#3920) 2022-02-04 18:48:35 -06:00
Luke Heath 14d36d8e4d Refine and improve policy and query editing interface (#4004) 2022-02-04 15:30:27 -06:00
Tharun Rajendran 2084b7d310 feat(api): add endpoint to get team by id (#4018)
* feat(api): add endpoint to get team by id

* fix review feedbacks

* add integration test in enterprise suite
2022-02-04 14:33:22 -03:00
gillespi314 62fc985c7b Fix async calls to packs API (#4017) 2022-02-03 19:41:02 -06:00
gillespi314 143d5ce874 Remove vuln banner when software filter is removed (#4015) 2022-02-03 18:49:03 -06:00
gillespi314 5584844138 Add team context for top nav link to software page (#4008) 2022-02-03 18:15:50 -06:00
Pratik 097b595a60 feat: Job based migrations on pre install and upgrade (#3827) 2022-02-03 15:42:42 -08:00
eashawandMike Thomas 243306de02 Add tags to standard query library and fleetdm.com/queries (#3970)
* handle query tags in build-static-content script, update query readme

* show tags in query library, add ability to filter by tags

* fix lint errors

* update mobile styles

* fix CTA link

* update mobile layout

* remove tag line-height and font size

* Update build-static-content.js

* Style update

* remove margin from selected tag, adjust OS logo placement

* requested changes from code review

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-02-03 15:49:36 -06:00
Mike McNeil 4cb23ea586 move info about maintaining docs under "community" (#3998)
* move info about maintaining docs under "community"

* Update community.md

* Update README.md
2022-02-03 15:14:23 -06:00
Mike McNeil 3f26d650a5 Disable link checking for more sites (#4000)
gusto, crunchbase, and angellist

relates to https://github.com/fleetdm/fleet/pull/3999#issuecomment-1028545628
2022-02-03 15:14:08 -06:00
Lucas Manuel Rodriguez a8135aa928 Fix typo and lint checks (#4013) 2022-02-03 17:06:49 -03:00
Tomas Touceda 656ef07df1 Move ApplyTeamSpec to ee (#4011)
* Move ApplyTeamSpec to ee

* Update test now that apply team specs is behind premium

* Check all auth first

* Change auth call for team creation
2022-02-03 16:24:03 -03:00
Mike Thomas bd448f8db6 updated analytics snippet (#4001) 2022-02-03 12:54:26 -06:00
Tomas Touceda cf529e70cf Issue 3173 debug status processlist (#4009)
* Add innodb status and process list

* Make json output a bit prettier

* Add changes file

* fix lint issues
2022-02-03 14:56:22 -03:00
Lucas Manuel RodriguezandTomas Touceda ab8cc6e7bc Split hosts in bucket of minutes for the jitter (#3767)
* Split hosts in bucket of minutes

* New approach on jitter

* Use minutes to define the amount of buckets

* Add logging to jitter hash creation

* Clean up code and remove unused jitter

* Fix test

* Add docs and address review comments

* Address review comments

* Fix typo in doc

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-02-03 14:56:11 -03:00
Tomas Touceda 53ba8f07ea Issue 3882 clean team packs (#4002)
* Cleanup team schedules when deleting teams

* Add changes file

* Improve code readability

* Reuse func instead of formatting twice
2022-02-03 14:55:48 -03:00
Kelvin Oghenerhoro Omereshone 4dc4bc51a5 fix: update server_name to tls_server_name (#3986) 2022-02-03 13:32:46 +09:00
Mike McNeil 142684ccd6 Remove extra heading + add a couple links (#3999) 2022-02-02 20:32:10 -06:00
RachelElysia 32bd8a64df Fix Cancel button color (#3994) 2022-02-02 18:23:16 -06:00
Tomas Touceda b2d0a8c79f Merge pull request from GHSA-ch68-7cf4-35vr
* Validate audience restrictions when validating SAML auth reqs

* EntityID is usually the audience

* Add coverage for failures on audience conditions
2022-02-02 15:50:09 -08:00
Mike Thomas 0195280315 Updated DRI table (#3973) 2022-02-02 16:39:12 -06:00
Martin Angers 6e2ba62744 Trigger webhooks for recently published vulnerabilities (#3941) 2022-02-02 16:34:37 -05:00
Tomas Touceda b90e2e2e3d Issue 3901 match target sw (#3982)
* Allow to search with target_sw with a period

* Remove tests for a different thign

* Add a test for programs as a source as well

* Use MATCH again and add proper tests
2022-02-02 17:17:41 -03:00
RachelElysia 7c87dad4e1 New navigation bar (#3962) 2022-02-02 11:27:14 -06:00
Martavis ParkerandLuke Heath 914fd9013d E2E refactor - Free tier (#3734)
* new session pattern; refactor admin test free tier

* making sure all sessions are cleared before setup

* modified free tier admin test; typescript addition

* refactored maintainer tests

* refactored observer tests - free; renamed login

* lint fixes

* added query tests

* lint fixes

* fixing tests

* lint fixes

* fixed finding text in save query modal

* Clear inputs

* Targeting

Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-02-02 07:37:35 -08:00
Martin Angers 6319812984 Fix column name when detecting order by (#3978) 2022-02-02 10:08:51 -05:00
Tomas Touceda a63c549f07 Make software filter by counts faster (#3975)
* Make software filter by counts faster

* Sort only when it's for the agg table
2022-02-02 09:51:56 -03:00
Zach Wasserman a5b2e60075 Update triggers for link check Action (#3972)
Only check on changes to .md files, nightly, and on manual trigger.

This was generating a lot of false positives in CI.
2022-02-01 18:02:37 -08:00
Zach Wasserman 884284adef Add @edwardsb as codeowner for .tf files (#3969) 2022-02-01 11:59:11 -08:00
Zach Wasserman 12fc8dc681 Add changes file for #3959 (#3964) 2022-02-01 10:04:57 -08:00
Tomas Touceda 66976080ae Just log the error if vulnerabilities fail (#3963)
* Just log the error if vulnerabilities fail

* Add explicit return for more secure future iterations
2022-02-01 14:41:48 -03:00
eashawandMike Thomas ab8cb8ceb5 Add people ops section to Fleet handbook (#3896)
* Create operations.md

* link to operations page, draft of operations page

* Update operations.md

* Update operations.md

* Update operations.md

* Update operations.md

* Apply suggestions from code review

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>

* move new section to people page, delete operations page

* Update people.md

* update gusto link to fix test

* Update people.md

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2022-02-01 10:31:53 -06:00
RachelElysia 3166e85f6f Manage Schedule Page: Fix schedule/manage to display correct team schedule (#3939) 2022-02-01 10:04:10 -06:00
Guillaume Ross 5c20682dad Adding PGP Key (#3961)
For vulnerability submissions.
2022-02-01 10:48:00 -05:00
Guillaume Ross 05431b556a Configuring OSSF Scorecard (#3960)
From https://github.com/ossf/scorecard-action#installation

Configuring the OSSF Scorecard on the Fleet repo and configuring it so results are sent back to dashboard and github codescanning alerts.
2022-02-01 09:31:07 -05:00
Martavis Parker fabd71c75c fixed css for bold text in react tabs (#3943) 2022-01-31 17:30:35 -08:00
Zach Wasserman 80960e47f8 Allow reinstallation of MSI packages (#3958)
Make the necessary changes to the WiX XML to allow the generated MSI
installers to be reinstalled.
2022-01-31 16:09:59 -08:00
Frederico F. de Oliveira 80ef806b2f linux_shared.go: update postinstall script (#3959)
1. In sh, `which` is actually a binary usually located at `/usr/bin`, but not every GNU/Linux distribution comes with it installed by default. Whereas, `command` is a built-in shell tool, hence, it's safer to use it instead of which to verify if a binary is present in the machine
2. I believe there was a typo in the redirections in the `systemctl daemon-reload 2>/dev/null 2>&1` line
3. The `systemctl enable` command is necessary because the service is created, but not activated, meaning when the user reboots his machine orbit won't automatically relaunch
2022-01-31 15:56:05 -08:00
gillespi314 64efaf7667 Fix bug for create your own team policy (#3957) 2022-01-31 17:30:32 -06:00
gillespi314 d101ec7c18 Add ability to filter software by "Vulnerable" on the Host details page (#3875)
- Add new "Software" tab to host details page
- Add dropdown to filter vulnerable software
- Extend DataTable client-side filtering to accommodate filter inputs that are controlled by parent components
- Refactor host details software into separate component
2022-01-31 16:41:54 -06:00