Commit Graph

1958 Commits

Author SHA1 Message Date
noahtalerman
7104d0312e
Fix for cannot run query for selected teams (#1037)
- Fix ability to run live query against teams
- Update unit tests to support live queries against teams
2021-06-10 11:37:25 -04:00
RachelElysia
78fb7e22cc
Query Edit/Run Page: Conditionally render Teams grouping in select targets dropdown (#1040)
* Conditionally render teams in targets dropdown
* Modify tests accordingly
2021-06-10 11:35:42 -04:00
RachelElysia
5dd538e2cc
Missing detroy function (#1049) 2021-06-10 11:33:00 -04:00
RachelElysia
5e40afa8ba
Clean up linter warnings (#1026)
* Fix 25+ linter warnings
Co-authored by: Sarah Gillespie @gillespi314
2021-06-10 10:00:03 -04:00
Zach Wasserman
0a99ec751c
Fix targeting Teams in live queries (#1043)
Properly handle the `TargetTeam` type, allowing live queries to
successfully execute against Teams.

Part of #1022
2021-06-09 18:56:57 -07:00
Zach Wasserman
6a18b2a250
Appropriately filter teams returned in targets API (#1042)
Fixes #1021 by adding the appropriate teams filtering.
2021-06-09 18:05:04 -07:00
gillespi314
b419958b73
Change user settings dropdown for current user (#1036)
* Change user settings dropdown for current user

* Restyle action dropdown
2021-06-09 18:51:27 -05:00
noahtalerman
718c644471
Documentation for RBAC and teams (#472)
- Add permissions.md and teams.md
2021-06-09 19:12:45 -04:00
noahtalerman
9b6c8d36e4
Additions and changes to Fleet REST API for multiple teams (#383)
- Add API documentation for Teams and RBAC features support
2021-06-09 19:11:48 -04:00
RachelElysia
6e5a45eb60
Host Details Page: Hide action buttons for observers only (#1027) 2021-06-09 19:05:14 -04:00
RachelElysia
c695093c70
Create/edit user modal: Renders new UI for Fleet Core (#1029) 2021-06-09 19:04:14 -04:00
noahtalerman
fce7d3bef5
Fix ability to run a live query when coming from host details page (#1035)
- Add `queryId` to `fetchTargets()` function call
2021-06-09 18:54:59 -04:00
Martavis Parker
121de5a87f
Fixed Manage Hosts Page Calling Teams API on Core (#1038)
* Closes #922

* #922 added Windows section to build docs

* go sum updated

* updated go sum

* fixed #963 - calling teams api if not on core
2021-06-09 15:17:50 -07:00
Zach Wasserman
e8bb0f9eb5
Allow team user to view host details page (#1033)
Fixes #1019
2021-06-09 13:09:43 -07:00
Zach Wasserman
8c97b36764
Set up Cypress testing for Teams/Tiers (#1005)
- Update names/roles of users in `make e2e-setup`.
- Update test SSO user info.
- Add Cypress commands for seeding users/Teams.
- Stub Cypress tests for team/tier matrix.
2021-06-09 11:56:59 -07:00
RachelElysia
588a48dd67
User Management Page: Teams column renders for basic tier only (#1023)
* Render teams column only for Basic tier

Co-authored by: Sarah Gillespie @gillespi314
2021-06-08 19:14:52 -04:00
RachelElysia
84182e4f49
Live query error message (#1007)
* Rewrite and style live query error
2021-06-08 19:10:22 -04:00
RachelElysia
f57768b131
Fix Teams tab push bug (#1008) 2021-06-08 13:21:50 -04:00
RachelElysia
70e416f263
No teams tab for Core Tier (#1001)
* Teams tab renders for basic tier only
2021-06-07 19:17:16 -04:00
noahtalerman
8b13e354f8
Add link to simulated host instructions in Testing docs (#997)
- Add link testing documentation that points to instructions for starting up containerized hosts in the development environment.
2021-06-07 19:07:18 -04:00
Zach Wasserman
f75a2fc739
Fix up test osquery tooling (#996)
- Update certificate paths.
- Update documentation to point to the appropriate docs.
2021-06-07 13:34:17 -07:00
Zach Wasserman
54fdff245d
Update fleetctl user create for Teams (#995)
Can now assign global role and team roles via `fleetctl user create`.
2021-06-07 13:23:15 -07:00
RachelElysia
2b9aa5ac7e
Flash message x icon visible (#992)
Closes #991
2021-06-07 15:48:52 -04:00
RachelElysia
225500ad28
Empty query message (#989)
* Add link to standard query library
* Style and external link icon
2021-06-07 14:44:02 -04:00
RachelElysia
83acd4911a
Fix hosts empty state styling (#990)
Closes #970
2021-06-07 14:07:21 -04:00
Zach Wasserman
255395135f
Rename custom ACE editor (#983) 2021-06-06 19:32:18 -07:00
Zach Wasserman
50ecb0aa2a
Change default database values in k8s yaml (#984) 2021-06-06 19:26:35 -07:00
Zach Wasserman
a73c5fac38
Explicitly set base branch for markdown link check (#985) 2021-06-06 19:18:28 -07:00
Zach Wasserman
d82560f7d6
Rename frontend icon component (#982) 2021-06-06 18:56:30 -07:00
Zach Wasserman
6013194c1d
Reduce default session duration to 4 hours (#981) 2021-06-06 18:28:47 -07:00
Zach Wasserman
229a9afed2
Change name of localstorage auth token (#980) 2021-06-06 18:28:37 -07:00
Zach Wasserman
0356115b03
Remove JWT in Fleet session management (#979)
See #978 for motivations for this change.

Closes #978.
2021-06-06 18:10:58 -07:00
Zach Wasserman
7ff72f7ac1
Rename main frontend directory (#977) 2021-06-06 17:30:54 -07:00
Zach Wasserman
db459d3363
Continue to update names in backend code and docs (#976) 2021-06-06 16:58:23 -07:00
Zach Wasserman
fb32f0cf40
Remove kolide types and packages from backend (#974)
Generally renamed `kolide` -> `fleet`
2021-06-06 15:07:29 -07:00
Zach Wasserman
fa01df79d5 Merge branch 'master' into teams 2021-06-05 06:27:38 -07:00
Zach Wasserman
ae1f41638c
Log subject/object/action with authz failures (#972) 2021-06-05 06:22:13 -07:00
Zach Wasserman
08d57b40d1
Remove deprecated kolide names from API routes and configuration (#957)
Closes #260
2021-06-04 16:51:18 -07:00
noahtalerman
0566fc57f3
Update action button styles on "Manage packs" page and "Manage queries" page (#960)
- Add `text-icon` variant to buttons on _Manage packs_ page
- Add `text-icon` variant to buttons on _Manage queries_ page
2021-06-04 18:03:32 -04:00
RachelElysia
c68a89b1c3
Team maintainer can add host (#961) 2021-06-04 15:19:39 -04:00
RachelElysia
e52e0747ad
Query Edit/Run: Conditional select targets dropdown (#923)
* Modify targets endpoint to  use queryId
* Conditionally render query page including queryId
* Includes conditionally renders target dropdown

Co-authored by: Sarah Gillespie @gillespi314
Test mods co-authored by: Gabriel Hernandez @ghernandez345
2021-06-04 15:13:59 -04:00
Gabriel Hernandez
f181d24698
enroll secret dropdown completion (#958)
* Add tier permissions for seeing the enroll secret dropdown.
* Hooks up API to show different team enroll secrets when selected from the dropdown.
2021-06-04 11:03:49 -07:00
RachelElysia
e4c866cf7c
Teams grouping in Select Targets Dropdown (#873)
* Renders targets by team
* Conditional rendering for no hosts available
* Update styling to match figma
2021-06-04 12:37:56 -04:00
RachelElysia
af301be81c
403 Page, routing for tier permissions (#920)
* 403 page, svg, routing
* Reroute basic tier pages if no permission to access
2021-06-04 12:34:27 -04:00
Zach Wasserman
16a8e13f85
Fix tls_compatibility key in yaml config (#955)
Closes #271
2021-06-04 08:44:36 -07:00
Zach Wasserman
ec2814d77f
Remove deprecated config options (#954)
Closes #145
2021-06-04 08:40:25 -07:00
Martavis Parker
cb2682c273
Remove detection for OS during contributor build (#922) (#933)
- No longer detecting for OS make commands
- Using the same internal commands for every OS
- go.sum auto-updated during build
- Document build process on Windows
2021-06-04 08:10:25 -07:00
Gabriel Hernandez
f127f8c2cd
add new permission routes and messaging (#915)
* add new permission routes and messaging

* add messaing for no permissions

* query-library-os-icons (#913)

Added query library os icons to website assets.

* fix broken check for config before api responds

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2021-06-04 14:00:14 +01:00
Mike McNeil
8b04c0c634
make example work from root dir of repo 2021-06-04 01:35:59 -05:00
Mike Thomas
e3e3358aad
website-add-os-logos (#951)
Added OS logos for use in the Fleet query library.
2021-06-04 12:54:05 +09:00