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

[Security Solution][Exception Modal] Create endpoint exception list if it doesn't already exist #71807

Merged

Conversation

peluja1012
Copy link
Contributor

@peluja1012 peluja1012 commented Jul 15, 2020

Summary

This PR is related to the Exception Modal and endpoint exceptions. When the user adds an endpoint exception, the exception modal will try to create the global endpoint exception list if it doesn't already exist. If it already exists, it will fetch it. This PR makes use of the API's specific to endpoint exception lists that are exposed by this PR #71792.

create_endpoint_exception_list mov

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@peluja1012 peluja1012 requested review from a team as code owners July 15, 2020 03:04
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@peluja1012 peluja1012 added release_note:skip Skip the PR/issue when compiling release notes v7.9.0 v8.0.0 labels Jul 15, 2020
Copy link
Member

@spong spong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked out, tested locally, and LGTM! Saw the empty modal bug around exception creation (and refresh solved it), but that's known and being tracked so nothing to hold this up. Thanks @peluja1012! Excited to start testing all these new features! 🙂 🧪 🚀

@peluja1012 peluja1012 force-pushed the exception-modal-exception-list-api branch from 771117e to 39d6c32 Compare July 15, 2020 05:10
@peluja1012 peluja1012 changed the title [Security Solution][Exception Modal] Create endpoint exception list only if it doesn't already exist [Security Solution][Exception Modal] Create endpoint exception list if it doesn't already exist Jul 15, 2020
@patrykkopycinski
Copy link
Contributor

@elasticmachine merge upstream

@peluja1012 peluja1012 force-pushed the exception-modal-exception-list-api branch from 1269d23 to 88ec097 Compare July 15, 2020 07:36
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
lists 94 +1 93

async chunks size

id value diff baseline
securitySolution 9.0MB +1.2KB 9.0MB

miscellaneous assets size

id value diff baseline
lists 55.8KB +726.0B 55.1KB
securitySolution 654.4KB -39.0B 654.4KB
upgradeAssistant 22.6KB +9.0B 22.5KB
total - +696.0B -

page load bundle size

id value diff baseline
lists 276.6KB +3.5KB 273.2KB
securitySolution 868.1KB +258.0B 867.8KB
total - +3.7KB -

History

  • 💔 Build #61803 failed 39d6c32e3046c6e33039f0f3b91f9a9e36cdf774
  • 💚 Build #61788 succeeded 771117efbfd93b34ec19622f6190183e69fbb87c

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@angorayc angorayc merged commit e4f7acb into elastic:master Jul 15, 2020
angorayc pushed a commit to angorayc/kibana that referenced this pull request Jul 15, 2020
…f it doesn't already exist (elastic#71807)

* use createEndpointList api

* fix lint

* update list id constant

* add schema test

* add api test
cnasikas pushed a commit that referenced this pull request Jul 15, 2020
…list if it doesn't already exist (#71807) (#71832)

Co-authored-by: Pedro Jaramillo <pedro.jaramillo@elastic.co>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 15, 2020
* master:
  [APM] Add error rates to Service Map popovers (elastic#69520)
  [Security Solution][Detection Engine] - Update exceptions logic (elastic#71512)
  [Security Solution] Full screen timeline, Collapse event (elastic#71786)
  [Security Solution][Exception Modal] Create endpoint exception list if it doesn't already exist (elastic#71807)
  [Detection Rules] Add 7.9 rules (elastic#71808)
  [Search] Add telemetry for data plugin search service (elastic#70677)
  Add @elastic/safer-lodash-set as an alternative to lodash.set (elastic#67452)
  [tests] Temporarily skipped to promote snapshot
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 15, 2020
* master:
  [APM] Add error rates to Service Map popovers (elastic#69520)
  [Security Solution][Detection Engine] - Update exceptions logic (elastic#71512)
  [Security Solution] Full screen timeline, Collapse event (elastic#71786)
  [Security Solution][Exception Modal] Create endpoint exception list if it doesn't already exist (elastic#71807)
  [Detection Rules] Add 7.9 rules (elastic#71808)
  [Search] Add telemetry for data plugin search service (elastic#70677)
  Add @elastic/safer-lodash-set as an alternative to lodash.set (elastic#67452)
  [tests] Temporarily skipped to promote snapshot
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants