Commit graph

7 commits

Author SHA1 Message Date
Lisa Cawley
8a821f0a96
[DOCS] More links to new API site (#119380) 2024-12-31 12:02:59 -08:00
Jake Landis
b7167b73e3
Docs for monitor_stats privilege (#116533)
This commit adds docs for monitor_stats and updates an example snippet to include both remote_indices and remote_cluster.
2024-11-12 09:13:37 -06:00
Johannes Fredén
bfb30d2e72
[DOCS] Remove tech preview from bulk create/update/delete roles (#116601)
Mark bulk create/update/delete roles GA in 9.0 and 8.17
2024-11-12 18:42:34 +11:00
Jake Landis
af99654dac
Add a monitor_stats privilege and allow that privilege for remote cluster privileges (#114964)
This commit does the following:
   * Add a new monitor_stats privilege
   * Ensure that monitor_stats can be set in the remote_cluster privileges
   * Give's Kibana the ability to remotely call monitor_stats via RCS 2.0

Since this is the first case where there is more than 1 remote_cluster privilege,
the following framework concern has been added:
    * Ensure that when sending to elder RCS 2.0 clusters that we don't send the new privilege
        previous only supported all or nothing remote_cluster blocks
    * Ensure that we when sending API key role descriptors that contains remote_cluster,
       we don't send the new privileges for RCS 1.0/2.0 if it not new enough
    * Fix and extend the BWC tests for RCS 1.0 and RCS 2.0
2024-11-08 11:59:32 -06:00
Jake Landis
e27c90969c
Fix missing remote_cluster docs (#116366)
Documentation for the remote_cluster in the role was added
in #111682 and #108840, but a few places were missed.
This commit fill the gaps in the documentation.
2024-11-07 13:43:50 -06:00
Mary Gouseti
9185056efe
Clean up global retention from the cluster state and obsolete transport actions (#111636)
In this PR we remove unused code including relating to the global data retention with APIs implementation:

- The transport action for updating, deleting and retrieving the global retention.
- The `DataStreamGlobalRetention` from the cluster state (this should be bwc safe because we never exposed the APIs to add a data stream lifecycle to the cluster state).
- Make unused privileges monitor and managing global retention a noop.
- Remove cluster state update tasks.

The kept `DataStreamGlobalRetentionResolver` considering it could hold and provide the global retention from the settings when we implement it. We just renamed it to DataStreamGlobalRetentionProvider for now to better match what it does.

The factory retention settings should still work after this change.
2024-08-08 09:52:35 +03:00
Johannes Fredén
55476041d9
Add BulkPutRoles API (#109339)
* Add BulkPutRoles API
2024-07-02 15:45:39 +02:00