Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cases] RBAC #95058

Merged
merged 111 commits into from
Jun 7, 2021
Merged

[Cases] RBAC #95058

merged 111 commits into from
Jun 7, 2021

Commits on Mar 9, 2021

  1. Configuration menu
    Copy the full SHA
    7f1a7dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    164582d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7eaf41e View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2021

  1. Configuration menu
    Copy the full SHA
    f8e62c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09589c3 View commit details
    Browse the repository at this point in the history
  3. Fix mapping's SO consumer

    cnasikas committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    eb75eb0 View commit details
    Browse the repository at this point in the history
  4. Add test for CasesActions

    cnasikas committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    a930f03 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d6f3b09 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b82e686 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4d05175 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    75d72ae View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e65838b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1fd66af View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4560d42 View commit details
    Browse the repository at this point in the history
  12. Adding comments

    jonathan-buttner committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    ef9b3b2 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

  1. Fix merge

    cnasikas committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    b22a032 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ddc2280 View commit details
    Browse the repository at this point in the history
  3. Check privillages

    cnasikas committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    9d008d8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7bb23dd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    65d4c6b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    59e4045 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4092733 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. Seperate basic from trial

    cnasikas committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    311e3f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2a50d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    00d89ca View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. Configuration menu
    Copy the full SHA
    40cfcce View commit details
    Browse the repository at this point in the history
  2. Unit tests working

    jonathan-buttner committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    644a7ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9bb1b86 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    12d6e2e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    84d9167 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4bed458 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Create getClassFilter helper

    cnasikas committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    ecb3135 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe1d8c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    22e7752 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    96f81a4 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2021

  1. Configuration menu
    Copy the full SHA
    e3ae097 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06d7c64 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ca4134 View commit details
    Browse the repository at this point in the history
  4. Fix isAuthorized flag

    cnasikas committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    17110b1 View commit details
    Browse the repository at this point in the history
  5. Fix merge issue

    cnasikas committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    bc06264 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a04e0d7 View commit details
    Browse the repository at this point in the history
  7. Add more user and roles

    cnasikas committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    7fe4e40 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2021

  1. Configuration menu
    Copy the full SHA
    2847861 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Configuration menu
    Copy the full SHA
    a2e1da8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9263d7d View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. Configuration menu
    Copy the full SHA
    afff0cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cf9172 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. Configuration menu
    Copy the full SHA
    0a95e55 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2021

  1. Configuration menu
    Copy the full SHA
    1a895e5 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. Configuration menu
    Copy the full SHA
    9ffc3db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f3c37e View commit details
    Browse the repository at this point in the history
  3. [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
    jonathan-buttner committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    36781db View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2021

  1. [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
    jonathan-buttner committed Apr 8, 2021
    Configuration menu
    Copy the full SHA
    73a4bfc View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. Configuration menu
    Copy the full SHA
    ae918cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e59602c View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

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

    Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
    cnasikas and jonathan-buttner committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    34f2d86 View commit details
    Browse the repository at this point in the history
  2. [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
    jonathan-buttner committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    613e859 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. [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
    jonathan-buttner committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    676173e View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

  1. Configuration menu
    Copy the full SHA
    6cdfa84 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. Configuration menu
    Copy the full SHA
    7b21b7a View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. [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
    jonathan-buttner committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    103388e View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. [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
    jonathan-buttner committed May 4, 2021
    Configuration menu
    Copy the full SHA
    18e75d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d99d9f8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b121662 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Merge branch 'master' of github.com:elastic/kibana into cases-rbac-poc

    I also refactored the getCaseIDsByAlertID to be part of the client and added rbac to it.
    jonathan-buttner committed May 6, 2021
    Configuration menu
    Copy the full SHA
    42162e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    298ba34 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Configuration menu
    Copy the full SHA
    c0fb868 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2021

  1. Configuration menu
    Copy the full SHA
    21d173d View commit details
    Browse the repository at this point in the history
  2. [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
    jonathan-buttner committed May 10, 2021
    Configuration menu
    Copy the full SHA
    b910889 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    78dfac4 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2021

  1. Configuration menu
    Copy the full SHA
    bf583a8 View commit details
    Browse the repository at this point in the history
  2. [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
    jonathan-buttner committed May 11, 2021
    Configuration menu
    Copy the full SHA
    3fd893f View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. Adding sub feature

    jonathan-buttner committed May 12, 2021
    Configuration menu
    Copy the full SHA
    86568ed View commit details
    Browse the repository at this point in the history

Commits on May 14, 2021

  1. [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
    jonathan-buttner committed May 14, 2021
    Configuration menu
    Copy the full SHA
    952e2a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e26de43 View commit details
    Browse the repository at this point in the history
  3. [Cases] RBAC on UI (#99478)

    Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
    cnasikas and kibanamachine committed May 14, 2021
    Configuration menu
    Copy the full SHA
    2d8601b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    570cddb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c7670b View commit details
    Browse the repository at this point in the history
  6. [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
    jonathan-buttner committed May 14, 2021
    Configuration menu
    Copy the full SHA
    dafb4fe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b7c5ebd View commit details
    Browse the repository at this point in the history
  8. Fixing type error

    jonathan-buttner committed May 14, 2021
    Configuration menu
    Copy the full SHA
    698e8e2 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2021

  1. Configuration menu
    Copy the full SHA
    22abf1f View commit details
    Browse the repository at this point in the history
  2. Adding some comments

    jonathan-buttner committed May 17, 2021
    Configuration menu
    Copy the full SHA
    71225eb View commit details
    Browse the repository at this point in the history

Commits on May 18, 2021

  1. Validate cases features

    cnasikas committed May 18, 2021
    Configuration menu
    Copy the full SHA
    f7a816b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ed0a99 View commit details
    Browse the repository at this point in the history
  3. Fix new schema

    cnasikas committed May 18, 2021
    Configuration menu
    Copy the full SHA
    fd39b25 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a193138 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2021

  1. Configuration menu
    Copy the full SHA
    1f9059c View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. Configuration menu
    Copy the full SHA
    2085a3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66c1d43 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    018dcb5 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2021

  1. Fix get case status tests

    cnasikas committed May 25, 2021
    Configuration menu
    Copy the full SHA
    34b16c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ba1243 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. Address PR feedback

    jonathan-buttner committed May 26, 2021
    Configuration menu
    Copy the full SHA
    315a6e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02ad6a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e8c3532 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. Configuration menu
    Copy the full SHA
    8881899 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd62656 View commit details
    Browse the repository at this point in the history
  3. Renaming

    jonathan-buttner committed May 27, 2021
    Configuration menu
    Copy the full SHA
    acf550b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    148623e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7acf83a View commit details
    Browse the repository at this point in the history

Commits on May 28, 2021

  1. Configuration menu
    Copy the full SHA
    b03fa4c View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. [Cases][Security Solution] Basic license security solution API tests (#…

    …100925)
    
    * Cleaning up the fixture plugins
    
    * Adding basic feature test
    jonathan-buttner committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    445c846 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c08ac43 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2021

  1. Configuration menu
    Copy the full SHA
    373cd68 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. Configuration menu
    Copy the full SHA
    d59dbad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ef02f4 View commit details
    Browse the repository at this point in the history
  3. [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
    jonathan-buttner committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    739fd6f View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

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

    * Adding tests for space permissions
    
    * Adding tests for testing a disable feature
    jonathan-buttner committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    e66eb40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5bd080b View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. Configuration menu
    Copy the full SHA
    56e0f0d View commit details
    Browse the repository at this point in the history