mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Security Solution][Notes] - fix an issue that breaks the notes management page, an enum value was missing from the api (#196912)
## Summary _**Notes: please ignore the spaces introduced in the first commit, Webstorm is trying to be smart... CI should take care of fixing that in a second commit shortly**_ This PR fixes a small issue that prevents the notes management page to load. The issue comes from the fact that one of the enum values passed to filter notes was missing from the open api spec. This issue was introduced in this recent [PR](https://github.com/elastic/kibana/pull/195501). Current notes management borken page  This is the error in the network tab  This PR fixes the issue  --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
5aad97651d
commit
bf7c5aaf29
8 changed files with 12 additions and 4 deletions
|
@ -49426,6 +49426,7 @@ components:
|
|||
Security_Timeline_API_AssociatedFilterType:
|
||||
description: Filter notes based on their association with a document or saved object.
|
||||
enum:
|
||||
- all
|
||||
- document_only
|
||||
- saved_object_only
|
||||
- document_and_saved_object
|
||||
|
|
|
@ -49426,6 +49426,7 @@ components:
|
|||
Security_Timeline_API_AssociatedFilterType:
|
||||
description: Filter notes based on their association with a document or saved object.
|
||||
enum:
|
||||
- all
|
||||
- document_only
|
||||
- saved_object_only
|
||||
- document_and_saved_object
|
||||
|
|
|
@ -58192,6 +58192,7 @@ components:
|
|||
Security_Timeline_API_AssociatedFilterType:
|
||||
description: Filter notes based on their association with a document or saved object.
|
||||
enum:
|
||||
- all
|
||||
- document_only
|
||||
- saved_object_only
|
||||
- document_and_saved_object
|
||||
|
|
|
@ -58192,6 +58192,7 @@ components:
|
|||
Security_Timeline_API_AssociatedFilterType:
|
||||
description: Filter notes based on their association with a document or saved object.
|
||||
enum:
|
||||
- all
|
||||
- document_only
|
||||
- saved_object_only
|
||||
- document_and_saved_object
|
||||
|
|
|
@ -23,6 +23,7 @@ import { Note } from '../model/components.gen';
|
|||
*/
|
||||
export type AssociatedFilterType = z.infer<typeof AssociatedFilterType>;
|
||||
export const AssociatedFilterType = z.enum([
|
||||
'all',
|
||||
'document_only',
|
||||
'saved_object_only',
|
||||
'document_and_saved_object',
|
||||
|
|
|
@ -75,10 +75,11 @@ components:
|
|||
AssociatedFilterType:
|
||||
type: string
|
||||
enum:
|
||||
- document_only
|
||||
- saved_object_only
|
||||
- document_and_saved_object
|
||||
- orphan
|
||||
- all
|
||||
- document_only
|
||||
- saved_object_only
|
||||
- document_and_saved_object
|
||||
- orphan
|
||||
description: Filter notes based on their association with a document or saved object.
|
||||
DocumentIds:
|
||||
oneOf:
|
||||
|
|
|
@ -928,6 +928,7 @@ components:
|
|||
AssociatedFilterType:
|
||||
description: Filter notes based on their association with a document or saved object.
|
||||
enum:
|
||||
- all
|
||||
- document_only
|
||||
- saved_object_only
|
||||
- document_and_saved_object
|
||||
|
|
|
@ -928,6 +928,7 @@ components:
|
|||
AssociatedFilterType:
|
||||
description: Filter notes based on their association with a document or saved object.
|
||||
enum:
|
||||
- all
|
||||
- document_only
|
||||
- saved_object_only
|
||||
- document_and_saved_object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue