From 04b2dc9639134b5d72420c86218fd422a71dc430 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Fri, 15 Nov 2024 08:36:11 +0400 Subject: [PATCH] Add missing allow_restricted_indices to cross cluster api key APIs (#3128) (cherry picked from commit 69875c006173bd188390f722f64562d5657854fa) --- 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 e9767aa159..959954fec1 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 {