Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.16] [Security Solution][Notes] - fix an issue that breaks the note…
…s management page, an enum value was missing from the api (elastic#196912) (elastic#196935) # Backport This will backport the following commits from `main` to `8.16`: - [[Security Solution][Notes] - fix an issue that breaks the notes management page, an enum value was missing from the api (elastic#196912)](elastic#196912) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-18T18:09:02Z","message":"[Security Solution][Notes] - fix an issue that breaks the notes management page, an enum value was missing from the api (elastic#196912)\n\n## Summary\r\n\r\n_**Notes: please ignore the spaces introduced in the first commit,\r\nWebstorm is trying to be smart... CI should take care of fixing that in\r\na second commit shortly**_\r\n\r\nThis PR fixes a small issue that prevents the notes management page to\r\nload. The issue comes from the fact that one of the enum values passed\r\nto filter notes was missing from the open api spec. This issue was\r\nintroduced in this recent\r\n[PR](https://github.com/elastic/kibana/pull/195501).\r\n\r\nCurrent notes management borken page\r\n![Screenshot 2024-10-18 at 10 30\r\n13 AM](https://github.com/user-attachments/assets/4926a62f-1ebf-4698-8a13-bf761d77f4ba)\r\n\r\nThis is the error in the network tab\r\n![Screenshot 2024-10-18 at 10 30\r\n29 AM](https://github.com/user-attachments/assets/90b56246-c116-4050-bcfa-2c6668274e74)\r\n\r\nThis PR fixes the issue\r\n![Screenshot 2024-10-18 at 10 27\r\n01 AM](https://github.com/user-attachments/assets/7d3338ce-ad73-4be5-b94c-15bcf0234680)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"bf7c5aaf29e475979023a607a4f318b5f005d0d8","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","v8.16.0"],"title":"[Security Solution][Notes] - fix an issue that breaks the notes management page, an enum value was missing from the api","number":196912,"url":"https://github.com/elastic/kibana/pull/196912","mergeCommit":{"message":"[Security Solution][Notes] - fix an issue that breaks the notes management page, an enum value was missing from the api (elastic#196912)\n\n## Summary\r\n\r\n_**Notes: please ignore the spaces introduced in the first commit,\r\nWebstorm is trying to be smart... CI should take care of fixing that in\r\na second commit shortly**_\r\n\r\nThis PR fixes a small issue that prevents the notes management page to\r\nload. The issue comes from the fact that one of the enum values passed\r\nto filter notes was missing from the open api spec. This issue was\r\nintroduced in this recent\r\n[PR](https://github.com/elastic/kibana/pull/195501).\r\n\r\nCurrent notes management borken page\r\n![Screenshot 2024-10-18 at 10 30\r\n13 AM](https://github.com/user-attachments/assets/4926a62f-1ebf-4698-8a13-bf761d77f4ba)\r\n\r\nThis is the error in the network tab\r\n![Screenshot 2024-10-18 at 10 30\r\n29 AM](https://github.com/user-attachments/assets/90b56246-c116-4050-bcfa-2c6668274e74)\r\n\r\nThis PR fixes the issue\r\n![Screenshot 2024-10-18 at 10 27\r\n01 AM](https://github.com/user-attachments/assets/7d3338ce-ad73-4be5-b94c-15bcf0234680)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"bf7c5aaf29e475979023a607a4f318b5f005d0d8"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196912","number":196912,"mergeCommit":{"message":"[Security Solution][Notes] - fix an issue that breaks the notes management page, an enum value was missing from the api (elastic#196912)\n\n## Summary\r\n\r\n_**Notes: please ignore the spaces introduced in the first commit,\r\nWebstorm is trying to be smart... CI should take care of fixing that in\r\na second commit shortly**_\r\n\r\nThis PR fixes a small issue that prevents the notes management page to\r\nload. The issue comes from the fact that one of the enum values passed\r\nto filter notes was missing from the open api spec. This issue was\r\nintroduced in this recent\r\n[PR](https://github.com/elastic/kibana/pull/195501).\r\n\r\nCurrent notes management borken page\r\n![Screenshot 2024-10-18 at 10 30\r\n13 AM](https://github.com/user-attachments/assets/4926a62f-1ebf-4698-8a13-bf761d77f4ba)\r\n\r\nThis is the error in the network tab\r\n![Screenshot 2024-10-18 at 10 30\r\n29 AM](https://github.com/user-attachments/assets/90b56246-c116-4050-bcfa-2c6668274e74)\r\n\r\nThis PR fixes the issue\r\n![Screenshot 2024-10-18 at 10 27\r\n01 AM](https://github.com/user-attachments/assets/7d3338ce-ad73-4be5-b94c-15bcf0234680)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"bf7c5aaf29e475979023a607a4f318b5f005d0d8"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Philippe Oberti <[email protected]>
- Loading branch information