UNPKG

kibana-123

Version:

Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic

12 lines (10 loc) 350 B
const SYSTEM_API_HEADER_NAME = 'kbn-system-api'; /** * Checks on the *server-side*, if an HTTP request is a system API request * * @param request HAPI request object * @return true if request is a system API request; false, otherwise */ export function isSystemApiRequest(request) { return !!request.headers[SYSTEM_API_HEADER_NAME]; }