mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-10 05:11:09 +01:00
19 lines
668 B
JavaScript
19 lines
668 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import modifyPassthroughResponse from '../helpers/modify-passthrough-response';
|
|
|
|
export default function (server) {
|
|
server.get('/sys/health', (schema, req) =>
|
|
modifyPassthroughResponse(req, { version: '', cluster_name: '' })
|
|
);
|
|
server.get('/sys/seal-status', (schema, req) =>
|
|
modifyPassthroughResponse(req, { version: '', cluster_name: '', build_date: '' })
|
|
);
|
|
server.get('sys/replication/status', () => new Response(404));
|
|
server.get('sys/replication/dr/status', () => new Response(404));
|
|
server.get('sys/replication/performance/status', () => new Response(404));
|
|
}
|