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

[7.x] [Security Solution][Exceptions] - Update exception item comments to include id (#73129) #73374

Merged
merged 1 commit into from
Jul 28, 2020

Conversation

yctercero
Copy link
Contributor

Backports the following commits to 7.x:

…nclude id (elastic#73129)

## Summary

This PR is somewhat of an intermediary step. Comments on exception list items are denormalized. We initially decided that we would not add `uuid` to comments, but found that it is in fact necessary. This is intermediary in the sense that what we ideally want to have is a dedicated `comments` CRUD route. 

Also just note that I added a callout for when a version conflict occurs (ie: exception item was updated by someone else while a user is editing the same item).

With this PR users are able to:
- Create comments when creating exception list items
- Add new comments on exception item update

Users will currently be blocked from:
- Deleting comments
- Updating comments
- Updating exception item if version conflict is found
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
securitySolution 7.3MB +2.7KB 7.3MB

page load bundle size

id value diff baseline
lists 269.4KB +441.0B 269.0KB
securitySolution 870.7KB +98.0B 870.6KB
total - +539.0B -

Saved Objects .kibana field count

id value diff baseline
exception-list 38 +1 37
exception-list-agnostic 38 +1 37
total - +2 -

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

@yctercero yctercero merged commit aadbbdd into elastic:7.x Jul 28, 2020
@yctercero yctercero deleted the backport/7.x/pr-73129 branch October 14, 2020 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants