"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.expectedCompleteUnitedIndexQuery = void 0; /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const expectedCompleteUnitedIndexQuery = { bool: { must: [{ bool: { must_not: { terms: { 'agent.id': ['00000000-0000-0000-0000-000000000000', '11111111-1111-1111-1111-111111111111'] } }, filter: [{ terms: { 'united.agent.policy_id': ['test-endpoint-policy-id'] } }, { exists: { field: 'united.endpoint.agent.id' } }, { exists: { field: 'united.agent.agent.id' } }, { term: { 'united.agent.active': { value: true } } }] } }, { bool: { should: [{ match: { status: 'online' } }], minimum_should_match: 1 } }, { bool: { should: [{ exists: { field: 'united.endpoint.host.os.name' } }], minimum_should_match: 1 } }] } }; exports.expectedCompleteUnitedIndexQuery = expectedCompleteUnitedIndexQuery;