Update an existing watchlist
- Base URL
-
https://{kibana_url}
- PUT /api/entity_analytics/watchlists/{id}
- PUT /s/{space_id}/api/entity_analytics/watchlists/{id}
Updates the name, description, risk modifier, or managed status of an existing entity analytics watchlist. Optionally also sets its rule-based data sources in the same request
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Request body
-
entitySourcesobject[] · max items: 2 -
The rule-based data sources (entity store or index) the watchlist should have after the update, at most one of each type. Omit it to leave the data sources as they are; an empty array removes them. A watchlist that is not managed can have only one rule-based source in this array; its integration sources are not counted and are not changed. An entity store source requires a non-empty
queryRule. An index source requires Elasticsearchreadprivileges on itsindexPattern(and encrypted saved objects to be configured on self-managed deployments), and accepts arange;rangeis ignored for entity store sources. Managed data sources are not changed.
Responses
Watchlist updated successfully