Commit Graph
1946 Commits
Author SHA1 Message Date
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 HernandezandMike Thomas 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
Zach Wasserman e4358a92bc Filter hosts and label counts by teams (#949)
- Add TeamFilter to relevant host and label methods.
- Pass appropriate filter in service methods.

The dashboard should now show the appropriate hosts for a user's team membership.
2021-06-03 18:53:43 -07:00
Zach Wasserman b3bafdce24 Return error messages for authentication errors (#950)
Previously the authorization middleware was masking the error when
authentication failed.
2021-06-03 18:24:23 -07:00
Mike McNeil f569064943 Update edit link for contributing (#948)
* Update query-library.ejs

* Update query-library.ejs
2021-06-03 19:44:36 -05:00
gillespi314 71f53e6f4e Query library improvements (#945)
* Add contributor avatars to query-detail page

* Add check for contributors; style elements

* Add GitHub avatars, style css, reorder page script

* Add os logos, adjust styles

* Add mobile styles, refactor scripts, prettier

* Update img paths, fix linting errors
2021-06-03 19:34:40 -05:00
Mike McNeil 2e679a9fcf Update README.md 2021-06-03 18:50:51 -05:00
Zach Wasserman 18faa5a06b Add authorization checks in service (#938)
- Add policy.rego file defining authorization policies.
- Add Go integrations to evaluate Rego policies (via OPA).
- Add middleware to ensure requests without authorization check are rejected (guard against programmer error).
- Add authorization checks to most service endpoints.
2021-06-03 16:24:15 -07:00
RachelElysia 1b131bd9db Packs page: action icons (#935)
* Render packs page new icons: Enable, disable, delete, search
2021-06-03 16:50:13 -04:00
noahtalerman 7fd439f812 Prepare for Fleet 3.13.0 (#944)
- Add to CHANGELOG
- Bump versioning
2021-06-03 14:07:33 -04:00
Zach Wasserman 6f51bd9cb5 Remove Redis read/write timeouts (#943)
If no results were sent over the pubsub channel, the client would hang
up. This would cause the query to seem "hung".

Closes #911
2021-06-03 10:49:25 -07:00
noahtalerman bf37cb975e Fix checkbox styles on master branch (#942)
- Update `Checkbox.jsx` and checkbox styles to align with changes on the `teams` branch 
- Edit checkbox styles in the `InviteUserForm` component
2021-06-03 13:46:35 -04:00
RachelElysia 875d6bb6ac Fix firefox icons (#931)
* Firefox compatible icons: plus, carat, x

Note: css property `content: url(imagefile);` only compatible with pseudo elements
2021-06-03 09:20:06 -04:00
WangXiang 06b2e564e6 Check whether the infra dependencies are ready before E2E test (#870)
Fixes #848
2021-06-02 16:56:44 -07:00