You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Security Solution][Exceptions] - Update exception item comments to include id (#73129) (#73375)
## 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
test('it should validate an undefined for "meta" but strip it out and generate a correct body not counting the auto generated uuid',()=>{
92
+
test('it should pass validation when supplied an undefined for "meta" but strip it out and generate a correct body not counting the auto generated uuid',()=>{
test('it should validate an undefined for "comments" but return an array and generate a correct body not counting the auto generated uuid',()=>{
105
+
test('it should pass validation when supplied an undefined for "comments" but return an array and generate a correct body not counting the auto generated uuid',()=>{
test('it should validate an undefined for "tags" but return an array and generate a correct body not counting the auto generated uuid',()=>{
160
+
test('it should pass validation when supplied an undefined for "tags" but return an array and generate a correct body not counting the auto generated uuid',()=>{
test('it should validate an undefined for "_tags" but return an array and generate a correct body not counting the auto generated uuid',()=>{
173
+
test('it should pass validation when supplied an undefined for "_tags" but return an array and generate a correct body not counting the auto generated uuid',()=>{
test('it should validate an undefined for "meta" but strip it out and generate a correct body not counting the auto generated uuid',()=>{
80
+
test('it should pass validation when supplied an undefined for "meta" but strip it out and generate a correct body not counting the auto generated uuid',()=>{
test('it should validate an undefined for "comments" but return an array and generate a correct body not counting the auto generated uuid',()=>{
93
+
test('it should pass validation when supplied an undefined for "comments" but return an array and generate a correct body not counting the auto generated uuid',()=>{
test('it should validate an undefined for "namespace_type" but return enum "single" and generate a correct body not counting the auto generated uuid',()=>{
148
+
test('it should pass validation when supplied an undefined for "namespace_type" but return enum "single" and generate a correct body not counting the auto generated uuid',()=>{
test('it should validate an undefined for "tags" but return an array and generate a correct body not counting the auto generated uuid',()=>{
161
+
test('it should pass validation when supplied an undefined for "tags" but return an array and generate a correct body not counting the auto generated uuid',()=>{
test('it should validate an undefined for "_tags" but return an array and generate a correct body not counting the auto generated uuid',()=>{
174
+
test('it should pass validation when supplied an undefined for "_tags" but return an array and generate a correct body not counting the auto generated uuid',()=>{
0 commit comments