kibana/x-pack/test/security_api_integration/api_keys.config.ts
Aleh Zasypkin a2d6e102d3
chore(security, eslint): apply platform security-specific rules to all exclusively owned paths. (#195711)
## Summary

Apply platform security-specific rules to all exclusively owned paths.
2024-10-11 09:49:12 +02:00

27 lines
954 B
TypeScript

/*
* 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.
*/
import type { FtrConfigProviderContext } from '@kbn/test';
import { services } from './services';
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const httpBearerAPITestsConfig = await readConfigFile(require.resolve('./http_bearer.config.ts'));
return {
testFiles: [require.resolve('./tests/api_keys')],
servers: httpBearerAPITestsConfig.get('servers'),
security: httpBearerAPITestsConfig.get('security'),
services,
junit: {
reportName: 'X-Pack Security API Integration Tests (Api Keys)',
},
esTestCluster: httpBearerAPITestsConfig.get('esTestCluster'),
kbnTestServer: httpBearerAPITestsConfig.get('kbnTestServer'),
};
}