Zachary Wasserman
5d8a42a959
Fix page in RequireSetup check ( #465 )
...
The previous value would require setup unless there were at least 2 users. Now
one user is sufficient to proceed past setup.
2016-11-09 16:35:49 -08:00
Victor Vrantchan
ac14215e21
create first time setup endpoint ( #436 )
...
The endpoint is only active if there are no users in the datastore.
While the endpoint is active, it also disables all the other API endpoints, and /config returns `{"require_setup":true}`
for #378
2016-11-09 12:19:07 -05:00
Zachary Wasserman
675c40ea15
Cleanup in service_users_test ( #460 )
...
- Use subtests where appropriate
- Attempt to fix #445
2016-11-09 08:52:25 -08:00
Victor Vrantchan
def24499b5
store WebAddress config in datastore ( #421 )
...
moves web address config to datastore so that it can be configured by a user
in the Web UI.
rename OrgInfo struct to AppConfig.
For #363
For #378
2016-11-04 16:44:38 -04:00
Victor Vrantchan
b518447b31
correctly save user properties during ModifyUser call. ( #395 )
...
fixes #351
because RequestPasswordReset does it's own db query/save,
call it at the end, after all properties have already been saved.
2016-11-03 12:50:32 -04:00
Mike Arpaia
97de2bc5aa
Label API Updates ( #413 )
...
close #403
close #404
close #412
2016-11-02 21:17:23 -04:00
Mike Arpaia
7ebebbb7b1
Target search endpoint ( #339 )
2016-11-02 10:59:53 -04:00
Zachary Wasserman
0faa3a55fb
Make context imports consistent ( #359 )
2016-10-31 15:18:05 -07:00
Mike Arpaia
c5339ddb76
Fixing bug where non-updated query object is returned ( #361 )
2016-10-31 18:00:04 -04:00
Mike Arpaia
4f83220870
Add description field to Query ( #358 )
2016-10-31 17:05:02 -04:00
Zachary Wasserman
d2e31146c6
Fix bugs with password resets ( #330 )
...
- Permissions error with admin forced password reset
- Redirecting on successful admin forced password reset
- URL fix for forgot password reset
- Use JWT key for password reset request
2016-10-20 15:09:51 -04:00
Mike Arpaia
bdee0516e6
Removing sqlite from the codebase ( #324 )
2016-10-19 10:46:33 -04:00
Mike Arpaia
98ca32b783
Complete, working inmem datastore implementation ( #319 )
2016-10-17 15:30:47 -04:00
Zachary Wasserman
f9bb9de665
Add ordering options for List* methods ( #318 )
2016-10-17 10:01:14 -04:00
Mike Stone
beda051de2
Show invited users ( #297 )
...
* Adds loadAll action to redux entity config
* API Client get invites
* Add invites to the user management page
* Updates user block styles on user management page
* Submit modal form on enter
* Modify details form styles
* Enter submits edit user form
* Removes unused admin dashboard page
* API Client - revoke invites
* Delete invite entities in redux
* Revoke invites from admin manage users page
* Show success flash message after user invite is revoked
2016-10-14 17:08:57 -04:00
Zachary Wasserman
d9b98b22d6
Minor cleanup in service_invites_test ( #313 )
2016-10-14 09:01:26 -07:00
Zachary Wasserman
4b88ae6e2c
Apply consistent naming conventions across server files ( #310 )
2016-10-14 08:59:27 -07:00
Zachary Wasserman
7f636aef4f
Add pagination to List* endpoints ( #309 )
...
- Introduce kolide.ListOptions to store pagination params (in the future it can
also store ordering/filtering params)
- Refactor service/datastore methods to take kolide.ListOptions
- Implement pagination
2016-10-13 11:21:47 -07:00
Zachary Wasserman
f9fa3e289f
Return host 'status' with host endpoints ( #307 )
2016-10-12 14:41:35 -07:00
Victor Vrantchan
93eaae7454
Lowercase strings which should be case insensitive, like email and username. ( #302 )
...
Fixes #299
Closes #300
2016-10-12 12:35:34 -04:00
Zachary Wasserman
5d0cac882a
Move API responses under top-level keys ( #292 )
2016-10-11 09:22:11 -07:00
Zachary Wasserman
24bb68b910
Rename GetAll* methods to List* ( #291 )
2016-10-07 10:26:48 -07:00
Zachary Wasserman
1cce02cf86
Fix bug causing empty lists to return as null in GetAll/List endpoints ( #286 )
...
Fixes #285
2016-10-06 09:24:12 -07:00
Victor Vrantchan
7221aac50f
only set AdminForcedPasswordReset if payload value is true ( #289 )
...
Fixes #287
2016-10-06 08:43:09 -04:00
Zachary Wasserman
d0dcfefd25
Fix incorrect decode function in GetAllQueries ( #284 )
2016-10-05 17:35:07 -07:00
Zachary Wasserman
85a8e92b96
Implement endpoints for host service methods ( #280 )
...
- Remove service methods for modifying hosts
2016-10-05 17:10:44 -07:00
Zachary Wasserman
a1e18abb04
Update host labels in distributed query ingestion ( #278 )
2016-10-05 08:56:29 -07:00
Zachary Wasserman
19f6eddfeb
Update host details in distributed query ingestion ( #274 )
...
- Introduce a new pattern for defining/ingesting detail queries
- Add many relevant host details:
- Platform
- osquery Version
- Memory
- Hostname
- UUID
- OS Version
- Uptime
- Primary interface MAC
- Primary interface IP
- Fix parsing for inconsistent JSON schema returned from osquery
- Tests
2016-10-04 17:17:55 -07:00
Mike Arpaia
a03347489c
Osquery Configuration Control ( #244 )
...
Label management APIs and an osquery config endpoint based on active pack and label state.
2016-10-02 20:14:35 -07:00
Zachary Wasserman
6d1c963bfa
Flesh out log ingestion endpoint/service methods ( #258 )
2016-09-30 19:18:27 -07:00
Zachary Wasserman
74aaa14dde
Implement osquery datastore methods for inmem datastore ( #255 )
...
- Implement osquery datastore methods
- Update tests for compatibility with inmem
Closes #255
2016-09-29 18:19:51 -07:00
Zachary Wasserman
ba528a46f1
Build endpoints for osquery service methods ( #245 )
...
- Establish a pattern for host authentication
- Establish a pattern for error JSON
- Add transport and make endpoint functions
- Fix discovered bugs + update tests
2016-09-28 21:21:39 -07:00
Victor Vrantchan
6fb96d98f7
Adds endpoints to invite new users to the application. ( #235 )
...
User service checks that tokens are valid on new user signups.
Closes #230
2016-09-28 22:44:05 -04:00
Mike Stone
738d7253c2
Login form displays error message ( #243 )
...
* Login form displays error message
* default bad auth to a generic error for the client
2016-09-28 20:46:45 -04:00
Victor Vrantchan
24b9baec1f
add prometheus endpoint ( #236 )
...
generate metrics for Users, Appconfig and Session services
2016-09-28 07:35:15 -04:00
Mike Arpaia
0482f12926
Organizing go code ( #241 )
2016-09-26 11:48:55 -07:00