diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 8ee5346422..622acfe42f 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -118660,6 +118660,29 @@ "$ref": "#/components/schemas/_types.ErrorCause" } ] + }, + "secure_setting_names": { + "description": "The names of the secure settings that were reloaded.", + "type": "array", + "items": { + "type": "string" + } + }, + "keystore_path": { + "description": "The path to the keystore file.", + "type": "string" + }, + "keystore_digest": { + "description": "A SHA-256 hash of the keystore file contents.", + "type": "string" + }, + "keystore_last_modified_time": { + "description": "The last modification time of the keystore file.", + "allOf": [ + { + "$ref": "#/components/schemas/_types.DateTime" + } + ] } }, "required": [ @@ -135654,7 +135677,7 @@ "examples": { "ReloadSecureSettingsResponseExample1": { "description": "A successful response when reloading keystore on nodes in your cluster.", - "value": "{\n \"_nodes\": {\n \"total\": 1,\n \"successful\": 1,\n \"failed\": 0\n },\n \"cluster_name\": \"my_cluster\",\n \"nodes\": {\n \"pQHNt5rXTTWNvUgOrdynKg\": {\n \"name\": \"node-0\"\n }\n }\n}" + "value": "{\n \"_nodes\": {\n \"total\": 1,\n \"successful\": 1,\n \"failed\": 0\n },\n \"cluster_name\": \"my_cluster\",\n \"nodes\": {\n \"pQHNt5rXTTWNvUgOrdynKg\": {\n \"name\": \"node-0\",\n \"secure_setting_names\": [\n \"keystore.seed\",\n \"xpack.security.transport.ssl.keystore.secure_password\",\n \"xpack.security.transport.ssl.truststore.secure_password\"\n ],\n \"keystore_path\": \"/etc/elasticsearch/elasticsearch.keystore\",\n \"keystore_digest\": \"031757c262a50abe1b7e017230cdbab99c1be9fbd7116ff504b27a8787158f46\",\n \"keystore_last_modified_time\": \"2025-12-09T22:06:00.408Z\"\n }\n }\n}" } } } diff --git a/output/schema/schema.json b/output/schema/schema.json index 9452a30a10..1d1c4edf34 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -229143,9 +229143,60 @@ "namespace": "_types" } } + }, + { + "description": "The names of the secure settings that were reloaded.", + "name": "secure_setting_names", + "required": false, + "type": { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + } + }, + { + "description": "The path to the keystore file.", + "name": "keystore_path", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, + { + "description": "A SHA-256 hash of the keystore file contents.", + "name": "keystore_digest", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, + { + "description": "The last modification time of the keystore file.", + "name": "keystore_last_modified_time", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "DateTime", + "namespace": "_types" + } + } } ], - "specLocation": "nodes/_types/NodeReloadResult.ts#L23-L26" + "specLocation": "nodes/_types/NodeReloadResult.ts#L24-L43" }, { "kind": "interface", @@ -234795,7 +234846,7 @@ "examples": { "ReloadSecureSettingsResponseExample1": { "description": "A successful response when reloading keystore on nodes in your cluster.", - "value": "{\n \"_nodes\": {\n \"total\": 1,\n \"successful\": 1,\n \"failed\": 0\n },\n \"cluster_name\": \"my_cluster\",\n \"nodes\": {\n \"pQHNt5rXTTWNvUgOrdynKg\": {\n \"name\": \"node-0\"\n }\n }\n}" + "value": "{\n \"_nodes\": {\n \"total\": 1,\n \"successful\": 1,\n \"failed\": 0\n },\n \"cluster_name\": \"my_cluster\",\n \"nodes\": {\n \"pQHNt5rXTTWNvUgOrdynKg\": {\n \"name\": \"node-0\",\n \"secure_setting_names\": [\n \"keystore.seed\",\n \"xpack.security.transport.ssl.keystore.secure_password\",\n \"xpack.security.transport.ssl.truststore.secure_password\"\n ],\n \"keystore_path\": \"/etc/elasticsearch/elasticsearch.keystore\",\n \"keystore_digest\": \"031757c262a50abe1b7e017230cdbab99c1be9fbd7116ff504b27a8787158f46\",\n \"keystore_last_modified_time\": \"2025-12-09T22:06:00.408Z\"\n }\n }\n}" } }, "name": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index abcc0c6aca..4eb787658e 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -19323,6 +19323,10 @@ export interface NodesNodeBufferPool { export interface NodesNodeReloadResult { name: Name reload_exception?: ErrorCause + secure_setting_names?: string[] + keystore_path?: string + keystore_digest?: string + keystore_last_modified_time?: DateTime } export interface NodesNodesResponseBase { diff --git a/specification/nodes/_types/NodeReloadResult.ts b/specification/nodes/_types/NodeReloadResult.ts index e94a656fa8..0b93a68e61 100644 --- a/specification/nodes/_types/NodeReloadResult.ts +++ b/specification/nodes/_types/NodeReloadResult.ts @@ -19,8 +19,25 @@ import { Name } from '@_types/common' import { ErrorCause } from '@_types/Errors' +import { DateTime } from '@_types/Time' export class NodeReloadResult { name: Name reload_exception?: ErrorCause + /** + * The names of the secure settings that were reloaded. + */ + secure_setting_names?: string[] + /** + * The path to the keystore file. + */ + keystore_path?: string + /** + * A SHA-256 hash of the keystore file contents. + */ + keystore_digest?: string + /** + * The last modification time of the keystore file. + */ + keystore_last_modified_time?: DateTime } diff --git a/specification/nodes/reload_secure_settings/examples/response/ReloadSecureSettingsResponseExample1.yaml b/specification/nodes/reload_secure_settings/examples/response/ReloadSecureSettingsResponseExample1.yaml index 31c4387588..a6022a47a8 100644 --- a/specification/nodes/reload_secure_settings/examples/response/ReloadSecureSettingsResponseExample1.yaml +++ b/specification/nodes/reload_secure_settings/examples/response/ReloadSecureSettingsResponseExample1.yaml @@ -12,7 +12,15 @@ value: |- "cluster_name": "my_cluster", "nodes": { "pQHNt5rXTTWNvUgOrdynKg": { - "name": "node-0" + "name": "node-0", + "secure_setting_names": [ + "keystore.seed", + "xpack.security.transport.ssl.keystore.secure_password", + "xpack.security.transport.ssl.truststore.secure_password" + ], + "keystore_path": "/etc/elasticsearch/elasticsearch.keystore", + "keystore_digest": "031757c262a50abe1b7e017230cdbab99c1be9fbd7116ff504b27a8787158f46", + "keystore_last_modified_time": "2025-12-09T22:06:00.408Z" } } }