Commit Graph
2236 Commits
Author SHA1 Message Date
Benjamin Edwards c18214be37 add logging settings to config api response (#1467)
- add docker-compose file for locally testing aws dependencies
- update firehose & kinesis configs to optionally supply endpoint url override
- serialize `logging` field in appconfig api response
2021-07-30 11:45:49 -04:00
Mike McNeil 4c1e867ea9 Lint fix in frontend/fleet/helpers.ts (#1518) 2021-07-30 10:43:58 -04:00
Mike McNeil 3603fb9ca5 tweak help text (#1516) 2021-07-29 19:06:40 -05:00
RachelElysia edc132ff18 Manage schedules page: Spiffier styling (#1503) 2021-07-29 15:47:04 -04:00
Tomas Touceda 46b0b7765b Issue 1435 software to cpe (#1488)
* WIP

* WIP

* Make path optional and fix tests

* Add first generate

* Move to nvd package

* remove replace

* Re-add replace

* It's path, not file name

* Change how db path is set and use etag

* Fix typos

* Make db generation faster

* Remove quotes

* Doesn't like comments

* Samitize etag and save to file

* Refactor some things and improve writing of etagenv

* Compress file and truncate amount of items for faster testing

* Remove quotes

* Try to improve performance

* Ignore truncate error if not exists

* Minor cleanup and make sqlite have cpe prefix

* Simplify code and test sync

* Add VCR for sync test

* Check for nvdRelease nil

* Add test for the actual translation

* Address review comments

* Rename generate command because we'll have a cve one too

* Move to its own dir

* Address review comments
2021-07-29 13:10:34 -03:00
Martavis Parker 1d6572488b #1269 fixed routing to label after team change (#1500)
* #1269 fixed routing to label after team change

* #1269 added changelog

* #1269 better implementation

* #1269 fixed option defaults for typing
2021-07-28 18:15:36 -07:00
Tomas ToucedaandZach Wasserman da46ecc002 Update FAQs based on lessons learned (#1495)
* Update FAQs based on lessons learned

* Update docs/2-Deploying/FAQ.md

Co-authored-by: Zach Wasserman <zach@fleetdm.com>

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-07-28 19:30:03 -03:00
Benjamin Edwards 1fc4b7649c fleetctl preview downloads standard query library and populates console (#1450)
* fleetctl preview downloads standard query library and populates console
* add change log file, use specGroupFromBytes to parse standard query library file
2021-07-28 11:05:03 -04:00
RachelElysia a188d03015 Homepage: Refactor platform counts in host summary (#1490)
Co-authored by: @gillespi314
2021-07-27 18:04:43 -04:00
noahtalerman da7925e1d7 Remove changes files. Update release process. Update support process (#1492)
- Remove changes files that were collected during the 4.1.0 release cycle
- Add removing changes files step to release process documentation
- Update support process docs to reflect the change to discussing the last on-call rotation at 🍽️  Daily standup meeting
2021-07-27 17:06:16 -04:00
RachelElysia 6c36a0babc Flash messages: Can be successive and do not re-render page upon closing (#1482) 2021-07-27 16:19:52 -04:00
noahtalerman 47b7ffa37e Keep search input field active when loading "Hosts" table (#1477)
- Fixes an issue in which the search input field would become inactive after a search query was entered
2021-07-27 13:31:43 -04:00
Mike McNeil 7a9d530938 fix copy/paste mistake in docs (#1487) 2021-07-27 11:17:04 -05:00
AndrewB 1decb2a56f Add "Find deleted files from disk" to Standard query library (#1481) 2021-07-27 09:33:33 -04:00
noahtalerman cb10659277 Prepare for 4.1.0 (#1483) 2021-07-26 16:09:18 -04:00
gillespi314 c27dd72f33 Launch new feature: Activity feed (#1452)
Add activity feed to homepage
2021-07-26 15:04:35 -05:00
Tomas Toucedaandgillespi314 866e8a2961 Fix typo, it's target_count (#1478)
* Fix typo, it's target_count

* Update server/service/service_campaigns.go

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
2021-07-26 16:12:18 -03:00
RachelElysia 05691d49ca Schedule Page - New Feature! (#1333)
- Schedule page functionality: Create (modal), delete (modal), view schedule, advanced options
- Replaces Packs tab with Schedules tab
- Updates e2e tests, mocks, stubs, etc
- Defaults logging type to snapshot for packs
- Adds conversion helpers and tests helper functions
- Adds global_scheduled_queries to redux
2021-07-26 14:41:36 -04:00
gillespi314 fd23d42300 Add secondary select action buttons to DataTable (#1470)
Enhance DataTable and related components to enable multiple buttons for actions on selected rows

- Create new subcomponent ActionButton for DataTable
- Add renderPrimarySelectAction and renderSecondarySelectActions
- Add renderActionButton
- Refactor selectActionButtonText and onSelectActionClick as primarySelectActionButtonText and onPrimarySelectActionButtonText
- Refactor ManageHostsPage to conform to above change
- Refactor TextCell component to enable it to display boolean values in text
2021-07-26 12:07:27 -05:00
noahtalerman 46080dd3eb Add several frontend, spiffier fixes to the Fleet UI (#1473)
- Fix an issue in which `TableContainer` would render a text element with "0" when there are no matching search results
- Add 3 cases to render correct singular result count
- Sentence case fixes
- Remove "Actions" column title from "Users" table
2021-07-26 13:01:58 -04:00
RachelElysia 97e7dadcd1 Host Management and User Management Pages: Reorder tables to ascending order (#1471) 2021-07-26 11:45:06 -04:00
noahtalerman 3478e2759d Add the query that populates the 'Users' table in the Fleet UI to the standard query library (#1453)
- The included query populates the `users` property in the `/api/v1/fleet/hosts/{id}` response object.
- This information also populates the new "Users" table on the Host details page
2021-07-26 09:54:50 -04:00
Mike Thomas b2afa7fd4f updated to homepage community section (#1461) 2021-07-24 08:46:02 +09:00
Tomas Touceda 8f854144c5 Return email as well in activities (#1466)
* Return email as well in activities

* Add team name
2021-07-23 17:00:26 -03:00
RachelElysia 0c8537a1f9 Fix flash bug (#1456) 2021-07-23 10:51:46 -04:00
Benjamin Edwards 5a606422f7 update printHost to serialize HostResponse rather than just Host (#1440)
* update printHost to serialize HostResponse rather than just Host
* added change log file
* Update changes/issue-1373-add-status-to-fleetctl-get-command
Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-07-23 10:48:40 -04:00
Mike Thomas 27303765cf Update FAQ.md (#1462)
fixed a small grammatical error.
2021-07-23 21:33:52 +09:00
Mike Thomas fb4bd4cc0b Update layout.ejs (#1460)
Updated Twitter preview image link.
2021-07-23 10:05:44 +09:00
Mike Thomas 28040826ec Update layout.ejs (#1459) 2021-07-23 09:54:58 +09:00
Zach Wasserman 6eebbd2aec Add retries to flaky enroll secret test (#1445)
There seems to be something flaky about downloading the enroll secret in
the test. I can't reproduce any issue with doing so locally, so I'm
adding a retry to get this to quiet down in CI.
2021-07-22 11:14:26 -07:00
Zach Wasserman 6ed15a7366 Add CODEOWNERS for Go engineering team (#1449)
This should result in automatic review requests for everyone the
@fleetdm/go group when Go or server related files are touched.
2021-07-22 11:14:10 -07:00
Tomas Touceda 4cd169cad7 Return gravatar whenever available (#1448) 2021-07-22 12:28:42 -03:00
noahtalerman 15ef1e3d6e Update support process documentation with instructions for customer feature requests (#1444) 2021-07-22 09:38:25 -04:00
Mike McNeil 200bc0c036 revert https://github.com/fleetdm/fleet/commit/39d55bf66a4ecd2cbf8feb6a3bdd95efc930fe29 2021-07-22 02:23:42 -05:00
Mike McNeil 39d55bf66a Test emoji compilation 2021-07-22 02:21:58 -05:00
Benjamin Edwards 799243ffb5 Windows friendly changes after walking through getting started guide (#1441)
* update .gitattributes to be explicit about line endings with regards to the test certs
* update building-fleet guide to include python2 dependency on windows
* update configuration to default to OS specific temporary directories
2021-07-21 20:49:44 -04:00
Tomas ToucedaandZach Wasserman 484c6153e3 Issue 1359 fleetctl team transfer (#1413)
* wip

* Add delete user command and translator

* Add host transfer command

* Add changes file

* Undo bad refactor

* Fix copypaste error

* Implement with interfaces instead of assertions

* Ad documentation and simplify implementation further

* Update docs/1-Using-Fleet/3-REST-API.md

Co-authored-by: Zach Wasserman <zach@fleetdm.com>

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-07-21 14:03:10 -03:00
RachelElysia 567f43d4a3 Fix disabled color (#1434) 2021-07-21 08:42:50 -07:00
noahtalerman 00ea74ed80 Add YARA configuration to documentation (#1428)
- Add example YARA config to the configuration-files documentation
- Update `single-file-configuration.yml`
2021-07-21 10:04:50 -04:00
Zach Wasserman 28627f9a71 Delete unused tools directories (#1403)
This tooling has been unused and unmaintained for years now.
2021-07-20 16:53:14 -07:00
Tomas Touceda ece05eeaed Issue 1321 usage statistics (#1415)
* WIP

* Send usage analytics

* Improve loggin of cron tasks and fix test

* Implement appconfig method now that we are checking that as well

* Address review comments
2021-07-20 18:39:50 -03:00
Mike Thomas 55f2d37091 Twitter card preview on Fleetdm.com (#1425) 2021-07-20 10:24:25 -05:00
gillespi314 080a7c468b Update redux with info for newly created user (#1421) 2021-07-20 09:19:53 -05:00
noahtalerman 285d1e66ca Remove duplicate sections from REST API documentation (#1427)
- Remove duplicate "Transfer hosts to a team" and "Transfer hosts to a team by filter" sections
2021-07-20 09:57:14 -04:00
Tomas Touceda a6cff7ea89 Migrate all mysql tests to the new form (#1408)
* Migrate all mysql tests to the new form

* Only dump sql if MYSQL_TEST is on

* Removing parallel until we get rid of this code

* Move TestMain to an actual _test file

* A little experiment with tmpfs to speed up the db

* Let's make sure the dump.sql file is also in ram
2021-07-19 18:20:31 -03:00
Tomas Touceda 9863b0f4bb Issue 1361 fleetctl teams (#1405)
* WIP

* Add get user_roles and apply for a user_roles spec to fleetctl

* Uncomment other tests

* Update test to check output

* Update test with the new struct

* Mock token so that it doesn't pick up the one in the local machine

* Address review comments

* Fix printJSON and printYaml

* Fix merge conflict error

* WIP

* wip

* wip

* Finish implementation

* Address review comments

* Fix flaky test
2021-07-19 16:48:49 -03:00
Mike McNeil a449972857 Remove console warning (#1414) 2021-07-19 14:35:34 -05:00
Tomas Touceda 29570bd860 Issue 1278 select leader (#1367)
* Add leader selection

* remove comment

* Address review comments

* Add changes file

* Simplify implementation

* Simplify further

* Whoops, removed a little too much
2021-07-19 15:08:41 -03:00
RachelElysia 2794d1297b Host Details Page: Refactor packs accordion table (#1409) 2021-07-19 11:02:41 -07:00
RachelElysia 37e267bef9 TableContainer additions: simpleSearch utility and IconCell (#1404)
* Create simpleSearch and IconCell
2021-07-19 08:44:11 -07:00