diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index a0b0bcac31..270876ffac 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -82179,6 +82179,10 @@ "items": { "$ref": "#/components/schemas/_types:IndexName" } + }, + "allow_restricted_indices": { + "description": "This needs to be set to true if the patterns in the names field should cover system indices.", + "type": "boolean" } }, "required": [ diff --git a/output/schema/schema.json b/output/schema/schema.json index 107f1043ee..c796af2a20 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -187926,9 +187926,22 @@ } } } + }, + { + "description": "This needs to be set to true if the patterns in the names field should cover system indices.", + "name": "allow_restricted_indices", + "required": false, + "serverDefault": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } } ], - "specLocation": "security/_types/Privileges.ts#L380-L385" + "specLocation": "security/_types/Privileges.ts#L380-L390" }, { "kind": "interface", @@ -188618,7 +188631,7 @@ } } ], - "specLocation": "security/_types/Privileges.ts#L387-L407" + "specLocation": "security/_types/Privileges.ts#L392-L412" }, { "kind": "enum", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 4ed99b9f3e..fe53bf1d82 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -17689,6 +17689,7 @@ export interface SecurityRemoteIndicesPrivileges { export interface SecurityReplicationAccess { names: IndexName[] + allow_restricted_indices?: boolean } export interface SecurityRoleDescriptor {