"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ELASTIC_CLOUD_APM_POLICY = void 0; exports.getApmPolicy = getApmPolicy; /* * 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 ELASTIC_CLOUD_APM_POLICY = 'elastic-cloud-apm'; exports.ELASTIC_CLOUD_APM_POLICY = ELASTIC_CLOUD_APM_POLICY; async function getApmPolicy({ packagePolicyClient, soClient }) { return packagePolicyClient.get(soClient, ELASTIC_CLOUD_APM_POLICY); }