From 796a34ec8931a31053636b4eab00212d0f0dd96f Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 14 Nov 2024 17:31:59 +0400 Subject: [PATCH] Add missing allow_restricted_indices to cross cluster api key APIs --- specification/security/_types/Privileges.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/security/_types/Privileges.ts b/specification/security/_types/Privileges.ts index 14f2977557..f2ae417031 100644 --- a/specification/security/_types/Privileges.ts +++ b/specification/security/_types/Privileges.ts @@ -382,6 +382,11 @@ export class ReplicationAccess { * A list of indices (or index name patterns) to which the permissions in this entry apply. */ names: IndexName[] + /** + * This needs to be set to true if the patterns in the names field should cover system indices. + * @server_default false + */ + allow_restricted_indices?: boolean } export class SearchAccess {