Commit Graph
589 Commits
Author SHA1 Message Date
Kyle Knight 3ec6b10324 Allow users to select multiple platforms for pack query (#1074) 2017-01-24 18:52:48 -05:00
Mike Stone 8749633b85 Stop validating query syntax (#1090) 2017-01-24 17:23:20 -05:00
Mike Stone 949b9b53b1 Stop SMTP password from incorrectly preventing App Settings PATCH requests (#1076)
* Stop validating fake password
2017-01-24 17:19:43 -05:00
Mike Stone 8432d0494f Allow users to export query results (#1082) 2017-01-24 16:18:02 -05:00
Victor Vrantchan ac95b764eb add host_hostname field to distributed query results row (#1081)
Add a hostname field to every distributed query result row in websocket response. By doing this calculation on the server, we're hoping to improve the rendering on the frontend client, which currently does the same calculation. 
 
Closes #1079
2017-01-23 12:37:03 -05:00
Mike Arpaia 444aa96c06 Demo database dump (#1058)
This PR includes:

- `make demo-dump` which dumps all tables from your running development Kolide instance into `./tools/app/demo.sql`

```
$> make demo-dump
mysqldump --extended-insert=FALSE --skip-dump-date \
        -u kolide -p \
        -h 192.168.99.100 kolide \
        > ./tools/app/demo.sql
Enter password: ******
$>
```
- `make demo-restore` which restores `./tools/app/demo.sql` into your MySQL database, to be demo'd and extended by your running Kolide instance

```
$> make demo-restore
mysql --binary-mode -u kolide -p \
        -h 192.168.99.100 kolide \
        < ./tools/app/demo.sql
Enter password: ******
```

This included demo dump contains the following content:

## Queries

- 34 queries shared as ~70 scheduled queries

## Packs

- 8 Packs
- 13 Scheduled Queries in the "Intrusion Detection" pack
- 7 Scheduled Queries in the "Osquery Monitoring" pack
- 4 Scheduled Queries in the "Asset Management" pack
- 12 Scheduled Queries in the "Hardware Monitoring" pack
- 8 Scheduled Queries in the "Incident Response" pack
- 8 Scheduled Queries in the "Compliance" pack
- 6 Scheduled Queries in the "Vulnerability Management" pack
- 10 Scheduled Queries in the "Systems Monitoring" pack

## Labels

- 2 Labels

## Hosts

There are intentionally no hosts. Live hosts should be fabricated using Docker and attached to a running demo instance, to better look and behave like a real infrastructure.
2017-01-23 10:32:19 -07:00
John Murphy 1a567b3f9f Labels response will return json with empty host_id rather than omit (#1078) 2017-01-23 23:37:09 +08:00
Mike Stone 99e5af916a send osquery enroll secret to server (#1077) 2017-01-23 09:39:46 -05:00
Jason Meller 3f55080a27 Calc gigabytes by 1024 (#1075) 2017-01-20 20:44:58 -05:00
Mike Stone c56a8b3465 Allow PATCHing the osquery enroll secret (#1073) 2017-01-20 20:17:03 -05:00
Mike Stone 378bf5571b connect new host enrollment (#1072) 2017-01-20 20:16:00 -05:00
Kyle Knight 3e3588706b Update Add Host Modal Styles & Tests (#1068) 2017-01-20 19:10:58 -05:00
Kyle Knight 378331ab58 Style Edit Packs form (#1033) 2017-01-20 18:10:32 -05:00
Kyle Knight 57ffd2dd66 Adding hosts count to query packs table (#1021) 2017-01-20 18:09:22 -05:00
Kyle Knight eb82856ae4 Output proper percentage of online hosts (#1071) 2017-01-20 18:08:35 -05:00
Mike Stone bc9273622c Add Query online hosts button (#1070) 2017-01-20 18:07:54 -05:00
Victor Vrantchan 54408ff9e4 move osquery enroll secret to appconfig (#1004)
For #995
2017-01-20 14:48:54 -05:00
Victor Vrantchan 60062834c8 add endpoint to serve the kolide certificate back to the user (#1025)
add endpoint to serve the kolide certificate back to the user

The API will attempt to establish a TLS connection and fetch the certificate from the TLS ConnectionState. 
The PEM encoded certificate will be served to the client in a JSON response as a base64 encoded string. 

Closes #1012
2017-01-20 14:32:10 -05:00
John Murphy f2e7800f13 Send status message to browser to indicate query is done (#1020)
* Send status message to browser to indicate query is done

* Changed so only "finished" status message is emitted per @marpaia
2017-01-21 02:57:41 +08:00
John Murphy 7e136a018f removing trailing dots from osversion (#1066)
* removing trailing dots from osversion

* removed space from cutlist
2017-01-21 02:18:39 +08:00
Kyle Knight 197b729b61 Add New Host Modal (#1052) 2017-01-20 12:52:57 -05:00
John Murphy 92b93a3c3b Completely delete host (#1063) 2017-01-20 12:22:33 -05:00
Mike Stone d6f7f39312 Return an empty array when array items are removed (#1061) 2017-01-20 12:17:51 -05:00
Mike Stone e56e94b86e Add host details throughout app (#973) 2017-01-20 12:02:13 -05:00
Mike Stone 5b6d84e0ad Stop calculating new count on the client (#1060) 2017-01-20 10:30:30 -05:00
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