kibana/x-pack/plugins
Jonathan Buttner b6c982c3b0
[Cases] RBAC (#95058)
* Adding feature flag for auth

* Hiding SOs and adding consumer field

* First pass at adding security changes

* Consumer as the app's plugin ID

* Create addConsumerToSO migration helper

* Fix mapping's SO consumer

* Add test for CasesActions

* Declare hidden types on SO client

* Restructure integration tests

* Init spaces_only integration tests

* Implementing the cases security string

* Adding security plugin tests for cases

* Rough concept for authorization class

* Adding comments

* Fix merge

* Get requiredPrivileges for classes

* Check privillages

* Ensure that all classes are available

* Success if hasAllRequested is true

* Failure if hasAllRequested is false

* Adding schema updates for feature plugin

* Seperate basic from trial

* Enable SIR on integration tests

* Starting the plumbing for authorization in plugin

* Unit tests working

* Move find route logic to case client

* Create integration test helper functions

* Adding auth to create call

* Create getClassFilter helper

* Add class attribute to find request

* Create getFindAuthorizationFilter

* Ensure savedObject is authorized in find method

* Include fields for authorization

* Combine authorization filter with cases & subcases filter

* Fix isAuthorized flag

* Fix merge issue

* Create/delete spaces & users before and after tests

* Add more user and roles

* [Cases] Convert filters from strings to KueryNode (#95288)

* [Cases] RBAC: Rename class to scope (#95535)

* [Cases][RBAC] Rename scope to owner (#96035)

* [Cases] RBAC: Create & Find integration tests (#95511)

* [Cases] Cases client enchantment (#95923)

* [Cases] Authorization and Client Audit Logger (#95477)

* Starting audit logger

* Finishing auth audit logger

* Fixing tests and types

* Adding audit event creator

* Renaming class to scope

* Adding audit logger messages to create and find

* Adding comments and fixing import issue

* Fixing type errors

* Fixing tests and adding username to message

* Addressing PR feedback

* Removing unneccessary log and generating id

* Fixing module issue and remove expect.anything

* [Cases] Migrate sub cases routes to a client (#96461)

* Adding sub cases client

* Move sub case routes to case client

* Throw when attempting to access the sub cases client

* Fixing throw and removing user ans soclients

* [Cases] RBAC: Migrate routes' unit tests to integration tests (#96374)

Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>

* [Cases] Move remaining HTTP functionality to client (#96507)

* Moving deletes and find for attachments

* Moving rest of comment apis

* Migrating configuration routes to client

* Finished moving routes, starting utils refactor

* Refactoring utilites and fixing integration tests

* Addressing PR feedback

* Fixing mocks and types

* Fixing integration tests

* Renaming status_stats

* Fixing test type errors

* Adding plugins to kibana.json

* Adding cases to required plugin

* [Cases] Refactoring authorization (#97483)

* Refactoring authorization

* Wrapping auth calls in helper for try catch

* Reverting name change

* Hardcoding the saved object types

* Switching ensure to owner array

* [Cases] Add authorization to configuration & cases routes (#97228)

* [Cases] Attachments RBAC (#97756)

* Starting rbac for comments

* Adding authorization to rest of comment apis

* Starting the comment rbac tests

* Fixing some of the rbac tests

* Adding some integration tests

* Starting patch tests

* Working tests for comments

* Working tests

* Fixing some tests

* Fixing type issues from pulling in master

* Fixing connector tests that only work in trial license

* Attempting to fix cypress

* Mock return of array for configure

* Fixing cypress test

* Cleaning up

* Addressing PR comments

* Reducing operations

* [Cases] Add RBAC to remaining Cases APIs (#98762)

* Starting rbac for comments

* Adding authorization to rest of comment apis

* Starting the comment rbac tests

* Fixing some of the rbac tests

* Adding some integration tests

* Starting patch tests

* Working tests for comments

* Working tests

* Fixing some tests

* Fixing type issues from pulling in master

* Fixing connector tests that only work in trial license

* Attempting to fix cypress

* Mock return of array for configure

* Fixing cypress test

* Cleaning up

* Working case update tests

* Addressing PR comments

* Reducing operations

* Working rbac push case tests

* Starting stats apis

* Working status tests

* User action tests and fixing migration errors

* Fixing type errors

* including error in message

* Addressing pr feedback

* Fixing some type errors

* [Cases] Add space only tests (#99409)

* Starting spaces tests

* Finishing space only tests

* Refactoring createCaseWithConnector

* Fixing spelling

* Addressing PR feedback and creating alert tests

* Fixing mocks

* [Cases] Add security only tests (#99679)

* Starting spaces tests

* Finishing space only tests

* Refactoring createCaseWithConnector

* Fixing spelling

* Addressing PR feedback and creating alert tests

* Fixing mocks

* Starting security only tests

* Adding remainder security only tests

* Using helper objects

* Fixing type error for null space

* Renaming utility variables

* Refactoring users and roles for security only tests

* Adding sub feature

* [Cases] Cleaning up the services and TODOs (#99723)

* Cleaning up the service intialization

* Fixing type errors

* Adding comments for the api

* Working test for cases client

* Fix type error

* Adding generated docs

* Adding more docs and cleaning up types

* Cleaning up readme

* More clean up and links

* Changing some file names

* Renaming docs

* Integration tests for cases privs and fixes (#100038)

* [Cases] RBAC on UI (#99478)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Fixing case ids by alert id route call

* [Cases] Fixing UI feature permissions and adding UI tests (#100074)

* Integration tests for cases privs and fixes

* Fixing ui cases permissions and adding tests

* Adding test for collection failure and fixing jest

* Renaming variables

* Fixing type error

* Adding some comments

* Validate cases features

* Fix new schema

* Adding owner param for the status stats

* Fix get case status tests

* Adjusting permissions text and fixing status

* Address PR feedback

* Adding top level feature back

* Fixing feature privileges

* Renaming

* Removing uneeded else

* Fixing tests and adding cases merge tests

* [Cases][Security Solution] Basic license security solution API tests (#100925)

* Cleaning up the fixture plugins

* Adding basic feature test

* renaming to unsecuredSavedObjectsClient (#101215)

* [Cases] RBAC Refactoring audit logging (#100952)

* Refactoring audit logging

* Adding unit tests for authorization classes

* Addressing feedback and adding util tests

* return undefined on empty array

* fixing eslint

* [Cases] Cleaning up RBAC integration tests (#101324)

* Adding tests for space permissions

* Adding tests for testing a disable feature

Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-07 09:37:11 -04:00
..
actions [Event Log] Adding type_id to saved object array in event log (#100939) 2021-06-04 18:55:18 -04:00
alerting [Event Log] Adding type_id to saved object array in event log (#100939) 2021-06-04 18:55:18 -04:00
apm [APM] Visual improvements for new APM layout with left navigation (#101360) 2021-06-07 09:28:01 -04:00
banners [Deprecations service] make correctiveActions.manualSteps required (#100997) 2021-06-02 15:52:14 +03:00
canvas [Canvas] Switch Canvas to use React Router (#100579) 2021-06-01 17:35:56 -04:00
cases [Cases] RBAC (#95058) 2021-06-07 09:37:11 -04:00
cloud Don't query for the current user on anonymous pages (#99511) 2021-05-06 17:04:56 -04:00
console_extensions
cross_cluster_replication Migrate CCR to new ES JS client. (#100131) 2021-06-01 16:26:01 -07:00
dashboard_enhanced feat: 🎸 close drilldown manager on view mode switch (#99309) 2021-05-06 00:26:13 +02:00
dashboard_mode
data_enhanced Upgrade EUI to v33.0.0 (#99382) 2021-06-01 10:53:07 -05:00
discover_enhanced Disable context menu "Explore underlying data" by default (#98039) 2021-04-26 13:20:43 +02:00
drilldowns
embeddable_enhanced
encrypted_saved_objects Sharing saved objects phase 3 (#94383) 2021-05-14 14:46:17 -04:00
enterprise_search [Enterprise Search] Convert Role mappings for both apps to use flyouts (#101198) 2021-06-04 14:22:31 -05:00
event_log [Event Log] Adding type_id to saved object array in event log (#100939) 2021-06-04 18:55:18 -04:00
features [Cases] RBAC (#95058) 2021-06-07 09:37:11 -04:00
file_data_visualizer [Home] Adding file upload to add data page (#100863) 2021-06-02 15:33:49 +01:00
file_upload [Maps] Add draw wizard (#100278) 2021-05-26 11:21:38 -04:00
fleet [Fleet] Show callout & CTA in add agent flyout if no enrollment keys (#100599) 2021-06-04 15:21:54 -04:00
global_search
global_search_bar Clearing the global search bar will reset suggestions (#88637) 2021-05-13 11:35:03 -04:00
global_search_providers [Security Solution] Application register deepLinks instead of meta.searchDeepLinks (#100129) 2021-05-25 14:49:51 +02:00
graph Remove chrome.navLinks.update (#99633) 2021-05-24 13:00:45 -05:00
grokdebugger
index_lifecycle_management Upgrade EUI to v33.0.0 (#99382) 2021-06-01 10:53:07 -05:00
index_management Remove license check from Index Management (#100188) 2021-05-28 17:19:40 -07:00
infra [Logs UI] Fix the LogStream story to work with KIPs (#100862) 2021-06-04 19:13:35 +02:00
ingest_pipelines [Ingest pipelines] add media_type to set processor (#101035) 2021-06-04 10:12:04 +02:00
lens [Lens] Value in legend (#101353) 2021-06-07 13:56:57 +02:00
license_api_guard Fix typo in license_api_guard README name and import http server mocks from public interface (#97334) 2021-04-18 20:28:13 -07:00
license_management Upgrade EUI to v33.0.0 (#99382) 2021-06-01 10:53:07 -05:00
licensing Remove chrome.navLinks.update (#99633) 2021-05-24 13:00:45 -05:00
lists [Security Solution][Endpoint] Add event filters summary card to the fleet endpoint tab (#100668) 2021-05-28 18:07:54 +02:00
logstash migrate logstash plugin to new ES client (#98064) 2021-04-27 10:25:50 +02:00
maps [Maps] embeddable migrations (#101070) 2021-06-04 08:00:41 -06:00
metrics_entities [Security Solutions] (Phase 1) Adds an application cache called metrics entities and integrates it within Security Solutions behind a feature flag (#96446) 2021-04-30 12:36:06 -06:00
ml Upgrade EUI to v33.0.0 (#99382) 2021-06-01 10:53:07 -05:00
monitoring Allow . system indices in regex (#100831) 2021-06-04 11:52:27 -04:00
observability [User Experience] Move ux app to new nav (#101005) 2021-06-04 18:04:40 +02:00
osquery Ban use of lodash.template (#100277) 2021-05-19 10:06:52 -04:00
painless_lab
remote_clusters [Remote clusters] Fixed skipped test for search bar (#97472) 2021-05-05 13:05:35 +02:00
reporting Revert "[Reporting] ILM policy for managing reporting indices (#100130)" (#101358) 2021-06-07 13:38:49 +02:00
rollup Use doc link services in rollups (#99137) 2021-05-10 10:01:19 -07:00
rule_registry [RAC][Security Solution] Register Security Detection Rules with Rule Registry (#96015) 2021-05-28 12:38:49 -06:00
runtime_fields
saved_objects_tagging Add description as title on tag badge (#97109) 2021-04-18 20:49:35 +02:00
searchprofiler
security [Cases] RBAC (#95058) 2021-06-07 09:37:11 -04:00
security_solution [Cases] RBAC (#95058) 2021-06-07 09:37:11 -04:00
snapshot_restore [Snapshot and Restore] Remove box shadow from panels (#98292) 2021-04-30 12:30:36 -04:00
spaces [Deprecations service] make correctiveActions.manualSteps required (#100997) 2021-06-02 15:52:14 +03:00
stack_alerts [Alerting] Split alerting feature privilege between rules and alerts and handle subfeature privilege specification (#100127) 2021-05-27 14:59:02 -04:00
task_manager Improve Task Manager instrumentation (#99160) 2021-06-04 16:30:11 -04:00
telemetry_collection_xpack Remove / Consolidate legacy usage adoption metrics (#100480) 2021-05-27 20:10:01 +01:00
timelines
transform [Transform] Support for the top_metrics aggregation (#101152) 2021-06-04 16:04:53 +02:00
translations [Cases] RBAC (#95058) 2021-06-07 09:37:11 -04:00
triggers_actions_ui [Alerting UI] Reduced triggersActionsUi bundle size by making all action types UI validation messages translations asynchronous. (#100525) 2021-06-02 22:33:43 -07:00
ui_actions_enhanced feat: 🎸 connect dasdhboard telemetry to persistable state (#99498) 2021-06-03 14:06:57 +02:00
upgrade_assistant [Upgrade Assistant] Use config for readonly mode (#101296) 2021-06-04 11:45:06 -04:00
uptime [User Experience] Move ux app to new nav (#101005) 2021-06-04 18:04:40 +02:00
watcher Rename client integration test folders (#100119) 2021-05-20 08:54:47 -04:00
xpack_legacy Remove legacy ES client usages in home and xpack_legacy (#97359) 2021-04-18 20:42:07 +02:00