Commit Graph

564 Commits

Author SHA1 Message Date
Jason Meller
b0587a958e Add initial host documentation (#1049) 2017-01-20 10:14:53 -05:00
Victor Vrantchan
eac718e937 add new status to host summary endpoint (#1057)
new_count shows all hosts that have been added to kolide in the last
24 hours
2017-01-20 08:57:47 -05:00
Victor Vrantchan
5f6f9388cd Account for hosts in labels in the total host count (#1056)
For #1039
2017-01-20 08:57:02 -05:00
Victor Vrantchan
02a6fe6870 increase query description length (#1055)
Closes #1053
2017-01-20 08:56:41 -05:00
Mike Stone
3c6b59197d Allow users to delete hosts (#1028) 2017-01-19 18:39:06 -05:00
John Murphy
28130b529b Addresses detail queries that don't return rows (#1044)
* If a detail query doesn't return results, log problem but don't interrupt additional query processing

* changed arg to ingest func to logger interface
2017-01-20 07:28:33 +08:00
Kyle Knight
b1a3ee8927 Add "No Hosts" message for All Hosts label (#1045) 2017-01-19 18:12:37 -05:00
Victor Vrantchan
4a095d09a8 default to username when query author doesn't have full name (#1037) 2017-01-19 16:46:28 -05:00
Kyle Knight
24ed16419f Add "No Hosts" message conditional for Custom Labels (#1042) 2017-01-19 16:45:03 -05:00
Mike Stone
c52ccbe74f Add “New” label to Hosts' page (#1018) 2017-01-19 16:29:49 -05:00
Kyle Knight
b83b244793 Add in message if label has no hosts (#1038) 2017-01-19 16:14:44 -05:00
Mike Stone
638ec8a1f3 Modify user endpoints (#1023)
* Update admin API client

* updateAdmin redux action

* Changes UserManagementPage actions for update admin

* Enable user API client

* Enable user redux actions

* Change UserManagementPage to dispatch enable user actions

* Connect change password to API
2017-01-19 14:55:42 -05:00
Kyle Knight
2a6ccfe4f6 Remove Add Hosts page (#1035) 2017-01-19 14:44:35 -05:00
Kyle Knight
2381dbd8ae Adding in woff2 and updating to latest icon set (#1034) 2017-01-19 14:41:58 -05:00
Kyle Knight
ab5ab2c968 Add missing 192x192 favicon (#1032) 2017-01-19 14:37:08 -05:00
Kyle Knight
920908016e Style Invite User Modal (#1024) 2017-01-19 13:00:08 -05:00
Kyle Knight
32c51d2be7 Add delete button to custom Host Labels (#1014) 2017-01-19 12:57:59 -05:00
Kyle Knight
2b55cf3acf Remove all signs of Import osquery config page (#1015) 2017-01-19 12:24:01 -05:00
Jason Meller
77f32a3d4e Don't inject a duplicate script tag in react.tmpl (#1030) 2017-01-19 12:14:43 -05:00
Jason Meller
35c7fd6e03 Build assets for production (#1022) 2017-01-19 10:24:10 -05:00
Victor Vrantchan
650bae2ffb remove dev mode from cli options (#1027) 2017-01-19 09:42:45 -05:00
Victor Vrantchan
c13b8cc0cf support JSON output for kolide logs (#1026) 2017-01-19 09:41:28 -05:00
Victor Vrantchan
d45c0103d1 Pack bugs (#1016)
* correctly list packs in response

Using append was adding a default pack response to the list of packs

* handle unique index for packs that exist but are deleted
2017-01-18 14:13:41 -05:00
Mike Stone
dd74d37033 Send changed params in patch requests (#1005)
* PATCH packs with updated attributes only

* PATCH queries with updated attributes only

* PATCH user updates with updated attributes only

* Prevent setting state on unmounted component

* Load all packs on the manage packs page

* Do not send target info to server if unchanged
2017-01-18 12:10:37 -05:00
Mike Stone
b28d96b5cc Allow PATCHing the app config domain (#1006) 2017-01-18 11:07:24 -05:00
Victor Vrantchan
42ed377312 when a duplicate email invite is detected, replace the old one (#1002)
* when a duplicate email invite is detected, replace the old one

* update sql
2017-01-18 10:40:51 -05:00
Victor Vrantchan
fa39dcd555 fix various issues with SMTP configuration (#1001)
* fix various issues with SMTP configuration

* handle SplitHostPort error
2017-01-18 10:05:09 -05:00
Kyle Knight
a6b45322ea Style Invite User email template (#998) 2017-01-18 09:43:09 -05:00
Mike Stone
53bf49e821 Open link to help in a new tab (#999) 2017-01-18 09:40:28 -05:00
Mike Stone
0dbe94573f Don’t allow user to run query without selected targets (#1000) 2017-01-18 09:38:52 -05:00
Kyle Knight
c688798b5c Fix User Settings page responsive issues (#992) 2017-01-18 09:30:36 -05:00
Mike Stone
9e98d35128 Only send changed attributes when PATCHing app settings (#997) 2017-01-17 17:45:07 -05:00
Mike Stone
6b3a54ba79 handle disabled email in invite form (#994)
* Moves SmtpWarning to the components directory

* Renders base errors on invite user form

* Prevents add user and displays warning if smtp not configured

* Wait to render content until API calls finish
2017-01-17 16:50:40 -05:00
Mike Stone
3659407160 Filters hosts by custom label (#978)
* Filters hosts by custom label

* display singular “Host” when host count is 1
2017-01-17 16:44:00 -05:00
Victor Vrantchan
0c93c4db67 fallback to username if Name field is not set (#996)
* fallback to username if Name field is not set

* add orgname field to invite emails
2017-01-17 16:37:00 -05:00
Kyle Knight
d1a259f4c0 Add a "No Packs Available" message (#988) 2017-01-17 16:13:59 -05:00
John Murphy
41517aa7d9 Log in user automatically after successful setup (#993)
* Log in user automatically after successful setup

* Handle login failure by omitting token from response
2017-01-18 04:24:13 +08:00
Kyle Knight
f28bd803c4 Manage Hosts filtered icons (#987)
* Cleaning up rendered icons on hosts page

* Fixing lint
2017-01-17 12:55:19 -06:00
John Murphy
8708adc7c3 Add instructions for producing a core file (#943) 2017-01-17 12:38:14 -05:00
Victor Vrantchan
1be80113d2 fix incorrect scoping in loop (#984)
The inner loop would only execute once and terminate, causing hosts
to show up with null network interfaces.

Closes #981
2017-01-17 12:02:22 -05:00
Kyle Knight
3b857466b7 Show any osquery version and all platforms in packs (#940) 2017-01-17 11:45:16 -05:00
John Murphy
56b8772f13 Modify User (as a regular user) fails #891 (#959) 2017-01-18 00:43:59 +08:00
Kyle Knight
f169b68bdf Style osquery config page (#968) 2017-01-17 11:38:56 -05:00
Victor Vrantchan
25c41cda94 add default targets for search results (#979)
Adds 5 most recently seen hosts + labels to the search targets response if the query is an empty string. 

Closes #921
2017-01-17 09:51:04 -05:00
Mike Stone
89c0ac393b Query result table performance (#975)
* Query Results Table performance improvement
2017-01-17 09:08:40 -05:00
Victor Vrantchan
6135f90f57 change recordlabelexecutions to use map[uint]bool instead of map[string]bool (#965)
Closes #345
2017-01-17 01:03:51 -05:00
John Murphy
a2fded1b2c Added hosts for each label (#963) 2017-01-17 06:57:05 +08:00
Mike Stone
da27a44493 Filter hosts for “All Hosts”, platform hosts, and status hosts (#971) 2017-01-17 06:55:31 +08:00
Mike Arpaia
5cc5220e5b Enforce uniqueness on query name (#915)
* Enforce uniqueness on query name

close #914

* catching the already exists error in MySQL
2017-01-16 15:20:15 -07:00
Mike Stone
630ba45448 756 status labels (#967)
* API client to get status label summary

* Handle status label counts in state

* Display status counts in hosts side panel
2017-01-16 15:59:01 -05:00