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

[SIEM][Exceptions] - Exception builder component #67013

Merged
merged 59 commits into from
Jul 2, 2020

Commits on May 18, 2020

  1. Configuration menu
    Copy the full SHA
    c2702ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a0b722 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4436fed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ad80d70 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3008b0d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6b47020 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e1c02e4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cf861dc View commit details
    Browse the repository at this point in the history

Commits on May 19, 2020

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

Commits on May 21, 2020

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

Commits on May 27, 2020

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

Commits on Jun 4, 2020

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

Commits on Jun 9, 2020

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

Commits on Jun 18, 2020

  1. Configuration menu
    Copy the full SHA
    fe16cdf View commit details
    Browse the repository at this point in the history
  2. Add pure API functions and react hooks for value list APIs

    This also adds a generic hook, useAsyncTask, that wraps an async
    function to provide basic utilities:
      * loading state
      * error state
      * abort/cancel function
    rylnd committed Jun 18, 2020
    Configuration menu
    Copy the full SHA
    c35bb4b View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2020

  1. Fix type errors in hook tests

    These were not caught locally as I was accidentally running typescript
    without the full project.
    rylnd committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    c83dabc View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2020

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

Commits on Jun 24, 2020

  1. Configuration menu
    Copy the full SHA
    fa512d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    247f8e4 View commit details
    Browse the repository at this point in the history
  3. Defines a new validation function that returns an Either instead of a…

    … tuple
    
    This allows callers to further leverage fp-ts functions as needed.
    rylnd committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    b657229 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d627a64 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2020

  1. WIP: Perform request/response validations in the FP style

    * leverages new validateEither fn which returns an Either
    * constructs a pipeline that:
      * validates the payload
      * performs the API call
      * validates the response
    and short-circuits if any of those produce a Left value.
    
    It then converts the Either into a promise that either rejects with the
    Left or resolves with the Right.
    rylnd committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    8d2eb3a View commit details
    Browse the repository at this point in the history
  2. Adds helper function to convert a TaskEither back to a Promise

    This cleans up our validation pipeline considerably.
    rylnd committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    d99ba54 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef0a29e View commit details
    Browse the repository at this point in the history
  4. Adds request/response validations to findLists

    * refactors private API functions to accept the encoded request schema
    (i.e. snake cased)
    * refactors validateEither to use `schema.validate` instead of
    `schema.decode` since we don't actually want the decoded value, we just
    want to verify that it'll be able to be decoded on the backend.
    rylnd committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    6920459 View commit details
    Browse the repository at this point in the history
  5. Refactor our API types

    rylnd committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    6d6b5cc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0f223aa View commit details
    Browse the repository at this point in the history
  7. Fix type errors

    * Continue to export decoded types without a qualifier
    * pull types used by hooks from their new location
    * Fix errors with usage of act()
    rylnd committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    e7f5b86 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. Configuration menu
    Copy the full SHA
    2fe8948 View commit details
    Browse the repository at this point in the history
  2. Attempting to reduce plugin bundle size

    By pulling from the module directly instead of an index, we can
    hopefully narrow down our dependencies until tree-shaking does this for
    us.
    rylnd committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    f433c51 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15da0f7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e8a0483 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'master' into value_lists_api

    * master:
      skip failing suite (elastic#70104) (elastic#70103)
      [ENDPOINT] Hide the Timeline Flyout while on the Management Pages (elastic#69998)
      [SIEM][CASE] Persist callout when dismissed (elastic#68372)
      [SIEM][Exceptions] - Cleaned up and updated exception list item comment structure (elastic#69532)
      [Maps] remove indexing state from redux (elastic#69765)
      Add API integration test for deleting data streams. (elastic#70020)
      renames SIEM to Security Solution (elastic#70070)
    rylnd committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    9364770 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2020

  1. useAsyncFn's initiator does not return a promise

    Rather than returning a promise and requiring the caller to handle a
    rejection, we instead return nothing and require the user to watch the
    hook's state.
    
    * success can be handled with a useEffect on state.result
    * errors can be handled with a useEffect on state.error
    rylnd committed Jun 27, 2020
    Configuration menu
    Copy the full SHA
    02101c7 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2020

  1. Fix failing test

    Assertion count wasn't updated following interface changes; we've now
    got two inline expectations so this isn't needed.
    rylnd committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    4f43637 View commit details
    Browse the repository at this point in the history
  2. reworking builder

    yctercero committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    e2fb4d0 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2020

  1. Configuration menu
    Copy the full SHA
    3b8653a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'value_lists_api' of https://github.com/rylnd/kibana int…

    …o exceptions_builder_w_lists
    yctercero committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    dee8857 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2020

  1. Configuration menu
    Copy the full SHA
    708cfb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    533f317 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bfa4f39 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    824246b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    15226b1 View commit details
    Browse the repository at this point in the history
  6. fixed up lint issues

    yctercero committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    575e2d2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b5d034c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b0d2286 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2c52325 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    004e312 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2795bd1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    32212bb View commit details
    Browse the repository at this point in the history
  13. some cleanup

    yctercero committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    c30cf95 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

  1. Configuration menu
    Copy the full SHA
    91e02d0 View commit details
    Browse the repository at this point in the history
  2. clean up

    yctercero committed Jul 1, 2020
    Configuration menu
    Copy the full SHA
    1bc48cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9b3e95 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    58b2ceb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3026957 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9341cba View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ac3074e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7749035 View commit details
    Browse the repository at this point in the history