mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[8.x] Backport: Sustainable Kibana Architecture: Move modules owned by @elastic/response-ops (#205166)
Backport https://github.com/elastic/kibana/pull/202836 --------- Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
8f425e1b67
commit
86b3ea99d8
6230 changed files with 4478 additions and 4541 deletions
|
@ -58,11 +58,11 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
if (
|
||||
(await doAnyChangesMatch([
|
||||
/^src\/plugins\/data/,
|
||||
/^x-pack\/plugins\/actions/,
|
||||
/^x-pack\/plugins\/alerting/,
|
||||
/^x-pack\/plugins\/event_log/,
|
||||
/^x-pack\/plugins\/rule_registry/,
|
||||
/^x-pack\/plugins\/task_manager/,
|
||||
/^x-pack\/platform\/plugins\/shared\/actions/,
|
||||
/^x-pack\/platform\/plugins\/shared\/alerting/,
|
||||
/^x-pack\/platform\/plugins\/shared\/event_log/,
|
||||
/^x-pack\/platform\/plugins\/shared\/rule_registry/,
|
||||
/^x-pack\/platform\/plugins\/shared\/task_manager/,
|
||||
])) ||
|
||||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
|
||||
) {
|
||||
|
@ -70,7 +70,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
}
|
||||
|
||||
if (
|
||||
(await doAnyChangesMatch([/^x-pack\/plugins\/cases/])) ||
|
||||
(await doAnyChangesMatch([/^x-pack\/platform\/plugins\/shared\/cases/])) ||
|
||||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
|
||||
) {
|
||||
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/response_ops_cases.yml'));
|
||||
|
@ -169,9 +169,9 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
/^x-pack\/platform\/packages\/shared\/ai-infra/,
|
||||
/^x-pack\/platform\/plugins\/shared\/ai_infra/,
|
||||
/^x-pack\/platform\/plugins\/shared\/inference/,
|
||||
/^x-pack\/plugins\/stack_connectors\/server\/connector_types\/bedrock/,
|
||||
/^x-pack\/plugins\/stack_connectors\/server\/connector_types\/gemini/,
|
||||
/^x-pack\/plugins\/stack_connectors\/server\/connector_types\/openai/,
|
||||
/^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/bedrock/,
|
||||
/^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/gemini/,
|
||||
/^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/openai/,
|
||||
])) ||
|
||||
GITHUB_PR_LABELS.includes('ci:all-gen-ai-suites')
|
||||
) {
|
||||
|
@ -252,19 +252,19 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
(await doAnyChangesMatch([
|
||||
/^package.json/,
|
||||
/^packages\/kbn-securitysolution-.*/,
|
||||
/^x-pack\/plugins\/alerting/,
|
||||
/^x-pack\/platform\/plugins\/shared\/alerting/,
|
||||
/^x-pack\/plugins\/data_views\/common/,
|
||||
/^x-pack\/solutions\/security\/plugins\/lists/,
|
||||
/^x-pack\/plugins\/rule_registry\/common/,
|
||||
/^x-pack\/platform\/plugins\/shared\/rule_registry\/common/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
|
||||
/^x-pack\/plugins\/task_manager/,
|
||||
/^x-pack\/platform\/plugins\/shared\/task_manager/,
|
||||
/^x-pack\/solutions\/security\/plugins\/timelines/,
|
||||
/^x-pack\/plugins\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/,
|
||||
/^x-pack\/plugins\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/,
|
||||
/^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/openai/,
|
||||
/^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/bedrock/,
|
||||
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/,
|
||||
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/,
|
||||
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/openai/,
|
||||
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/bedrock/,
|
||||
/^x-pack\/plugins\/usage_collection\/public/,
|
||||
/^x-pack\/solutions\/security\/plugins\/elastic_assistant/,
|
||||
/^x-pack\/solutions\/security\/packages/,
|
||||
|
@ -302,7 +302,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
/^packages\/kbn-es-query/,
|
||||
/^packages\/kbn-i18n/,
|
||||
/^packages\/kbn-i18n-react/,
|
||||
/^packages\/kbn-grouping/,
|
||||
/^src\/platform\/packages\/shared\/kbn-grouping/,
|
||||
/^packages\/kbn-resizable-layout/,
|
||||
/^packages\/kbn-rison/,
|
||||
/^src\/platform\/packages\/shared\/kbn-rule-data-utils/,
|
||||
|
@ -335,19 +335,19 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/,
|
||||
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant-common/,
|
||||
/^x-pack\/solutions\/security\/packages/,
|
||||
/^x-pack\/plugins\/alerting/,
|
||||
/^x-pack\/plugins\/cases/,
|
||||
/^x-pack\/platform\/plugins\/shared\/alerting/,
|
||||
/^x-pack\/platform\/plugins\/shared\/cases/,
|
||||
/^x-pack\/plugins\/data_views\/common/,
|
||||
/^x-pack\/solutions\/security\/plugins\/elastic_assistant/,
|
||||
/^x-pack\/solutions\/security\/plugins\/lists/,
|
||||
/^x-pack\/plugins\/rule_registry\/common/,
|
||||
/^x-pack\/platform\/plugins\/shared\/rule_registry\/common/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
|
||||
/^x-pack\/plugins\/task_manager/,
|
||||
/^x-pack\/platform\/plugins\/shared\/task_manager/,
|
||||
/^x-pack\/solutions\/security\/plugins\/threat_intelligence/,
|
||||
/^x-pack\/solutions\/security\/plugins\/timelines/,
|
||||
/^x-pack\/plugins\/triggers_actions_ui/,
|
||||
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui/,
|
||||
/^x-pack\/plugins\/usage_collection\/public/,
|
||||
/^x-pack\/test\/functional\/es_archives\/security_solution/,
|
||||
/^x-pack\/test\/security_solution_cypress/,
|
||||
|
|
|
@ -28,6 +28,6 @@ else
|
|||
git clone --depth 1 -b $ECS_STABLE_VERSION https://github.com/elastic/ecs.git ../ecs
|
||||
fi
|
||||
|
||||
node x-pack/plugins/event_log/scripts/create_schemas.js
|
||||
node x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js
|
||||
|
||||
check_for_changed_files 'node x-pack/plugins/event_log/scripts/create_schemas.js' false 'Follow the directions in x-pack/plugins/event_log/generated/README.md to make schema changes for the event log.'
|
||||
check_for_changed_files 'node x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js' false 'Follow the directions in x-pack/platform/plugins/shared/event_log/generated/README.md to make schema changes for the event log.'
|
||||
|
|
18
.eslintrc.js
18
.eslintrc.js
|
@ -1110,8 +1110,8 @@ module.exports = {
|
|||
'x-pack/solutions/security/plugins/security_solution_serverless/common/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/public/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/common/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/plugins/cases/common/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/common/**/*.{js,mjs,ts,tsx}',
|
||||
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
|
||||
],
|
||||
rules: {
|
||||
|
@ -1144,7 +1144,7 @@ module.exports = {
|
|||
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}',
|
||||
'x-pack/plugins/cases/**/*.{ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}',
|
||||
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
|
||||
],
|
||||
excludedFiles: [
|
||||
|
@ -1159,7 +1159,7 @@ module.exports = {
|
|||
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'src/platform/packages/shared/kbn-cell-actions/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
],
|
||||
rules: {
|
||||
|
@ -1180,7 +1180,7 @@ module.exports = {
|
|||
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}',
|
||||
'x-pack/plugins/cases/**/*.{ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}',
|
||||
'src/platform/packages/shared/kbn-cell-actions/**/*.{ts,tsx}',
|
||||
],
|
||||
rules: {
|
||||
|
@ -1214,7 +1214,7 @@ module.exports = {
|
|||
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/packages/data-stream-adapter/**/*.{js,mjs,ts,tsx}',
|
||||
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
|
||||
],
|
||||
|
@ -1308,7 +1308,7 @@ module.exports = {
|
|||
overrides: [
|
||||
{
|
||||
files: [
|
||||
'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/ecs_data_quality_dashboard/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}',
|
||||
|
@ -1325,8 +1325,8 @@ module.exports = {
|
|||
],
|
||||
},
|
||||
{
|
||||
files: ['x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}'],
|
||||
excludedFiles: ['x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}'],
|
||||
files: ['x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}'],
|
||||
excludedFiles: ['x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}'],
|
||||
rules: {
|
||||
'react/display-name': ['error', { ignoreTranspilerName: true }],
|
||||
},
|
||||
|
|
80
.github/CODEOWNERS
vendored
80
.github/CODEOWNERS
vendored
|
@ -6,9 +6,9 @@
|
|||
####
|
||||
|
||||
x-pack/test/alerting_api_integration/common/plugins/aad @elastic/response-ops
|
||||
x-pack/plugins/actions @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/actions @elastic/response-ops
|
||||
x-pack/test/alerting_api_integration/common/plugins/actions_simulators @elastic/response-ops
|
||||
packages/kbn-actions-types @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-actions-types @elastic/response-ops
|
||||
src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
|
||||
x-pack/packages/kbn-ai-assistant @elastic/search-kibana
|
||||
x-pack/platform/packages/shared/ai-assistant/common @elastic/search-kibana
|
||||
|
@ -23,16 +23,16 @@ x-pack/platform/plugins/shared/aiops @elastic/ml-ui
|
|||
x-pack/platform/packages/private/ml/aiops_test_utils @elastic/ml-ui
|
||||
x-pack/test/alerting_api_integration/packages/helpers @elastic/response-ops
|
||||
x-pack/test/alerting_api_integration/common/plugins/alerts @elastic/response-ops
|
||||
x-pack/packages/kbn-alerting-comparators @elastic/response-ops
|
||||
x-pack/platform/packages/shared/kbn-alerting-comparators @elastic/response-ops
|
||||
x-pack/examples/alerting_example @elastic/response-ops
|
||||
x-pack/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops
|
||||
x-pack/plugins/alerting @elastic/response-ops
|
||||
x-pack/packages/kbn-alerting-state-types @elastic/response-ops
|
||||
packages/kbn-alerting-types @elastic/response-ops
|
||||
packages/kbn-alerts-as-data-utils @elastic/response-ops
|
||||
packages/kbn-alerts-grouping @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/alerting @elastic/response-ops
|
||||
x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-alerting-types @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-alerts-as-data-utils @elastic/response-ops
|
||||
x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops
|
||||
x-pack/test/alerting_api_integration/common/plugins/alerts_restricted @elastic/response-ops
|
||||
packages/kbn-alerts-ui-shared @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-alerts-ui-shared @elastic/response-ops
|
||||
packages/kbn-ambient-common-types @elastic/kibana-operations
|
||||
packages/kbn-ambient-ftr-types @elastic/kibana-operations @elastic/appex-qa
|
||||
packages/kbn-ambient-storybook-types @elastic/kibana-operations
|
||||
|
@ -68,8 +68,8 @@ packages/kbn-calculate-width-from-char-count @elastic/kibana-visualizations
|
|||
x-pack/platform/plugins/private/canvas @elastic/kibana-presentation
|
||||
packages/kbn-capture-oas-snapshot-cli @elastic/kibana-core
|
||||
x-pack/test/cases_api_integration/common/plugins/cases @elastic/response-ops
|
||||
packages/kbn-cases-components @elastic/response-ops
|
||||
x-pack/plugins/cases @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-cases-components @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/cases @elastic/response-ops
|
||||
packages/kbn-cbor @elastic/kibana-operations
|
||||
src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-explore
|
||||
src/plugins/chart_expressions/common @elastic/kibana-visualizations
|
||||
|
@ -448,7 +448,7 @@ packages/kbn-event-annotation-components @elastic/kibana-visualizations
|
|||
src/plugins/event_annotation_listing @elastic/kibana-visualizations
|
||||
src/plugins/event_annotation @elastic/kibana-visualizations
|
||||
x-pack/test/plugin_api_integration/plugins/event_log @elastic/response-ops
|
||||
x-pack/plugins/event_log @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/event_log @elastic/response-ops
|
||||
x-pack/solutions/security/packages/expandable-flyout @elastic/security-threat-hunting-investigations
|
||||
packages/kbn-expect @elastic/kibana-operations @elastic/appex-qa
|
||||
x-pack/examples/exploratory_view_example @elastic/obs-ux-infra_services-team
|
||||
|
@ -508,7 +508,7 @@ x-pack/plugins/graph @elastic/kibana-visualizations
|
|||
examples/grid_example @elastic/kibana-presentation
|
||||
packages/kbn-grid-layout @elastic/kibana-presentation
|
||||
x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management
|
||||
packages/kbn-grouping @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-grouping @elastic/response-ops
|
||||
packages/kbn-guided-onboarding @elastic/appex-sharedux
|
||||
examples/guided_onboarding_example @elastic/appex-sharedux
|
||||
src/plugins/guided_onboarding @elastic/appex-sharedux
|
||||
|
@ -749,7 +749,7 @@ examples/resizable_layout_examples @elastic/kibana-data-discovery
|
|||
x-pack/test/plugin_functional/plugins/resolver_test @elastic/security-solution
|
||||
packages/response-ops/feature_flag_service @elastic/response-ops
|
||||
packages/response-ops/rule_form @elastic/response-ops
|
||||
packages/response-ops/rule_params @elastic/response-ops
|
||||
src/platform/packages/private/response-ops/rule_params @elastic/response-ops
|
||||
examples/response_stream @elastic/ml-ui
|
||||
packages/kbn-rison @elastic/kibana-operations
|
||||
x-pack/platform/packages/private/rollup @elastic/kibana-management
|
||||
|
@ -757,9 +757,9 @@ x-pack/platform/plugins/private/rollup @elastic/kibana-management
|
|||
packages/kbn-router-to-openapispec @elastic/kibana-core
|
||||
packages/kbn-router-utils @elastic/obs-ux-logs-team
|
||||
examples/routing_example @elastic/kibana-core
|
||||
packages/kbn-rrule @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-rrule @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team
|
||||
x-pack/plugins/rule_registry @elastic/response-ops @elastic/obs-ux-management-team
|
||||
x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team
|
||||
x-pack/platform/plugins/private/runtime_fields @elastic/kibana-management
|
||||
packages/kbn-safer-lodash-set @elastic/kibana-security
|
||||
x-pack/test/security_api_integration/plugins/saml_provider @elastic/kibana-security
|
||||
|
@ -930,8 +930,8 @@ packages/kbn-spec-to-console @elastic/kibana-management
|
|||
src/platform/packages/shared/kbn-sse-utils @elastic/obs-knowledge-team
|
||||
src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team
|
||||
src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team
|
||||
x-pack/plugins/stack_alerts @elastic/response-ops
|
||||
x-pack/plugins/stack_connectors @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops
|
||||
x-pack/test/usage_collection/plugins/stack_management_usage_test @elastic/kibana-management
|
||||
examples/state_containers_examples @elastic/appex-sharedux
|
||||
test/server_integration/plugins/status_plugin_a @elastic/kibana-core
|
||||
|
@ -947,7 +947,7 @@ x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-tea
|
|||
x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team
|
||||
x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture @elastic/response-ops
|
||||
x-pack/test/plugin_api_perf/plugins/task_manager_performance @elastic/response-ops
|
||||
x-pack/plugins/task_manager @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/task_manager @elastic/response-ops
|
||||
src/plugins/telemetry_collection_manager @elastic/kibana-core
|
||||
x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core
|
||||
src/plugins/telemetry_management_section @elastic/kibana-core
|
||||
|
@ -976,8 +976,8 @@ x-pack/platform/plugins/private/transform @elastic/ml-ui
|
|||
x-pack/platform/plugins/private/translations @elastic/kibana-localization
|
||||
packages/kbn-transpose-utils @elastic/kibana-visualizations
|
||||
x-pack/examples/triggers_actions_ui_example @elastic/response-ops
|
||||
x-pack/plugins/triggers_actions_ui @elastic/response-ops
|
||||
packages/kbn-triggers-actions-ui-types @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops
|
||||
src/platform/packages/shared/kbn-triggers-actions-ui-types @elastic/response-ops
|
||||
packages/kbn-try-in-console @elastic/search-kibana
|
||||
packages/kbn-ts-projects @elastic/kibana-operations
|
||||
packages/kbn-ts-type-check-cli @elastic/kibana-operations
|
||||
|
@ -1721,30 +1721,30 @@ x-pack/test/security_solution_cypress/cypress/tasks/expandable_flyout @elastic/
|
|||
|
||||
## Generative AI owner connectors
|
||||
# OpenAI
|
||||
/x-pack/plugins/stack_connectors/public/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/plugins/stack_connectors/server/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/plugins/stack_connectors/common/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/platform/plugins/shared/stack_connectors/common/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
# Bedrock
|
||||
/x-pack/plugins/stack_connectors/public/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/plugins/stack_connectors/server/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/plugins/stack_connectors/common/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/platform/plugins/shared/stack_connectors/common/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
|
||||
# Gemini
|
||||
/x-pack/plugins/stack_connectors/public/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/plugins/stack_connectors/server/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/plugins/stack_connectors/common/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
/x-pack/platform/plugins/shared/stack_connectors/common/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra
|
||||
|
||||
# Inference API
|
||||
/x-pack/plugins/stack_connectors/public/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant
|
||||
/x-pack/plugins/stack_connectors/server/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant
|
||||
/x-pack/plugins/stack_connectors/common/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant
|
||||
/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant
|
||||
/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant
|
||||
/x-pack/platform/plugins/shared/stack_connectors/common/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant
|
||||
|
||||
## Defend Workflows owner connectors
|
||||
/x-pack/plugins/stack_connectors/public/connector_types/sentinelone @elastic/security-defend-workflows
|
||||
/x-pack/plugins/stack_connectors/server/connector_types/sentinelone @elastic/security-defend-workflows
|
||||
/x-pack/plugins/stack_connectors/common/sentinelone @elastic/security-defend-workflows
|
||||
/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike @elastic/security-defend-workflows
|
||||
/x-pack/plugins/stack_connectors/common/crowdstrike @elastic/security-defend-workflows
|
||||
/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone @elastic/security-defend-workflows
|
||||
/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone @elastic/security-defend-workflows
|
||||
/x-pack/platform/plugins/shared/stack_connectors/common/sentinelone @elastic/security-defend-workflows
|
||||
/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike @elastic/security-defend-workflows
|
||||
/x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike @elastic/security-defend-workflows
|
||||
|
||||
## Security Solution shared OAS schemas
|
||||
/x-pack/solutions/security/plugins/security_solution/common/api/model @elastic/security-detection-rule-management @elastic/security-detection-engine
|
||||
|
@ -1980,8 +1980,8 @@ oas_docs/kibana.info.yaml @elastic/platform-docs
|
|||
# when an encrypted saved object is changed. Very careful review is necessary to ensure any changes are compatible
|
||||
# with serverless zero downtime upgrades (ZDT). This section should be removed only when proper guidance for
|
||||
# maintaining ESOs has been documented and consuming teams have acclimated to ZDT changes.
|
||||
x-pack/plugins/actions/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security
|
||||
x-pack/plugins/alerting/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security
|
||||
x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security
|
||||
x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security
|
||||
x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts @elastic/fleet @elastic/kibana-security
|
||||
x-pack/plugins/observability_solution/synthetics/server/saved_objects/saved_objects.ts @elastic/obs-ux-management-team @elastic/kibana-security
|
||||
x-pack/plugins/observability_solution/synthetics/server/saved_objects/synthetics_monitor.ts @elastic/obs-ux-management-team @elastic/kibana-security
|
||||
|
|
4
.github/codeql/codeql-config.yml
vendored
4
.github/codeql/codeql-config.yml
vendored
|
@ -76,13 +76,13 @@ paths-ignore:
|
|||
- x-pack/platform/plugins/private/canvas/scripts
|
||||
- x-pack/solutions/security/plugins/cloud_security_posture/common/scripts
|
||||
- x-pack/solutions/security/plugins/elastic_assistant/scripts
|
||||
- x-pack/plugins/event_log/scripts
|
||||
- x-pack/platform/plugins/shared/event_log/scripts
|
||||
- x-pack/platform/plugins/shared/fleet/scripts
|
||||
- x-pack/solutions/security/plugins/lists/scripts
|
||||
- x-pack/solutions/security/plugins/lists/server/scripts
|
||||
- x-pack/plugins/observability_solution/*/scripts
|
||||
- x-pack/platform/plugins/shared/osquery/scripts
|
||||
- x-pack/plugins/rule_registry/scripts
|
||||
- x-pack/platform/plugins/shared/rule_registry/scripts
|
||||
- x-pack/solutions/security/plugins/security_solution/scripts
|
||||
- x-pack/solutions/security/plugins/threat_intelligence/scripts
|
||||
- x-pack/scripts
|
||||
|
|
10
.i18nrc.json
10
.i18nrc.json
|
@ -3,14 +3,14 @@
|
|||
"advancedSettings": "src/plugins/advanced_settings",
|
||||
"aiAssistantManagementSelection": "src/platform/plugins/shared/ai_assistant_management/selection",
|
||||
"alerts": "packages/kbn-alerts/src",
|
||||
"alertsUIShared": "packages/kbn-alerts-ui-shared/src",
|
||||
"alertingTypes": "packages/kbn-alerting-types",
|
||||
"alertsUIShared": "src/platform/packages/shared/kbn-alerts-ui-shared/src",
|
||||
"alertingTypes": "src/platform/packages/shared/kbn-alerting-types",
|
||||
"apmOss": "src/plugins/apm_oss",
|
||||
"autocomplete": "x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src",
|
||||
"avcBanner": "src/platform/packages/shared/kbn-avc-banner/src",
|
||||
"bfetch": "src/plugins/bfetch",
|
||||
"bfetchError": "packages/kbn-bfetch-error",
|
||||
"cases": ["packages/kbn-cases-components"],
|
||||
"cases": ["src/platform/packages/shared/kbn-cases-components"],
|
||||
"cellActions": "src/platform/packages/shared/kbn-cell-actions",
|
||||
"charts": "src/plugins/charts",
|
||||
"console": "src/platform/plugins/shared/console",
|
||||
|
@ -64,8 +64,8 @@
|
|||
"filesManagement": "src/plugins/files_management",
|
||||
"flot": "packages/kbn-flot-charts/lib",
|
||||
"generateCsv": "packages/kbn-generate-csv",
|
||||
"grouping": "packages/kbn-grouping/src",
|
||||
"alertsGrouping": "packages/kbn-alerts-grouping",
|
||||
"grouping": "src/platform/packages/shared/kbn-grouping/src",
|
||||
"alertsGrouping": "x-pack/solutions/observability/packages/kbn-alerts-grouping",
|
||||
"guidedOnboarding": "src/plugins/guided_onboarding",
|
||||
"guidedOnboardingPackage": "packages/kbn-guided-onboarding",
|
||||
"home": "src/plugins/home",
|
||||
|
|
|
@ -24,7 +24,7 @@ or as needed when you're creating a rule.
|
|||
////
|
||||
List of user-facing connector configurations.
|
||||
This should align with the fields available in the Create connector flyout form for this connector type.
|
||||
To include these configuration details in the API documentation, add appropriate files in x-pack/plugins/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml
|
||||
To include these configuration details in the API documentation, add appropriate files in x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml
|
||||
////
|
||||
|
||||
Property1:: A short description of this property.
|
||||
|
@ -45,7 +45,7 @@ You can test connectors as you're creating or editing the connector in {kib}.
|
|||
////
|
||||
List of user-facing action configurations.
|
||||
This should align with the fields available in the Action section of the Create/Update alert flyout.
|
||||
To include these configuration details in the API documentation, add appropriate files in x-pack/plugins/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml
|
||||
To include these configuration details in the API documentation, add appropriate files in x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml
|
||||
////
|
||||
|
||||
Property1:: A short description of this property.
|
||||
|
|
|
@ -451,7 +451,7 @@ The plugin exposes the static DefaultEditorController class to consume.
|
|||
|Description
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/actions/README.md[actions]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/actions/README.md[actions]
|
||||
|The Kibana actions plugin provides a framework to create executable actions. You can:
|
||||
|
||||
|
||||
|
@ -459,7 +459,7 @@ The plugin exposes the static DefaultEditorController class to consume.
|
|||
|The plugin provides APIs and components for AIOps features, including the “Log rate analysis” UI, maintained by the ML team.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/alerting/README.md[alerting]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/alerting/README.md[alerting]
|
||||
|The Kibana Alerting plugin provides a common place to set up rules. You can:
|
||||
|
||||
|
||||
|
@ -479,7 +479,7 @@ The plugin exposes the static DefaultEditorController class to consume.
|
|||
|"Never look back. The past is done. The future is a blank canvas." ― Suzy Kassem, Rise Up and Salute the Sun
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/cases/README.md[cases]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/cases/README.md[cases]
|
||||
|This plugin provides cases management in Kibana
|
||||
|
||||
|
||||
|
@ -584,7 +584,7 @@ security and spaces filtering.
|
|||
|This plugin provides a user interface to interact with the Entity Manager.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/event_log/README.md[eventLog]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/event_log/README.md[eventLog]
|
||||
|The event log plugin provides a persistent history of alerting and action
|
||||
activities.
|
||||
|
||||
|
@ -800,7 +800,7 @@ Elastic.
|
|||
|Welcome to the Kibana rollup plugin! This plugin provides Kibana support for Elasticsearch's rollup feature. Please refer to the Elasticsearch documentation to understand rollup indices and how to create rollup jobs.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/rule_registry/README.md[ruleRegistry]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/rule_registry/README.md[ruleRegistry]
|
||||
|The rule registry plugin aims to make it easy for rule type producers to have their rules produce the data that they need to build rich experiences on top of a unified experience, without the risk of mapping conflicts.
|
||||
|
||||
|
||||
|
@ -903,14 +903,14 @@ This plugin is only enabled when the application is built for serverless project
|
|||
|See Configuring Kibana Spaces.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/stack_alerts/README.md[stackAlerts]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/stack_alerts/README.md[stackAlerts]
|
||||
|This plugin provides alertTypes shipped with Kibana for use with the
|
||||
the alerting plugin. When enabled, it will register
|
||||
the alertTypes by the Stack in the alerting plugin, register associated HTTP
|
||||
routes, etc.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/stack_connectors/README.md[stackConnectors]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/stack_connectors/README.md[stackConnectors]
|
||||
|The stack_connectors plugin provides connector types shipped with Kibana, built on top of the framework provided in the actions plugin.
|
||||
|
||||
|
||||
|
@ -927,7 +927,7 @@ routes, etc.
|
|||
in their infrastructure.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/task_manager/README.md[taskManager]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/task_manager/README.md[taskManager]
|
||||
|The task manager is a generic system for running background tasks.
|
||||
|
||||
|
||||
|
@ -952,7 +952,7 @@ in their infrastructure.
|
|||
For adding localizations and instrument a ui to support translated content, see https://github.com/elastic/kibana/tree/main/packages/kbn-i18n
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/triggers_actions_ui/README.md[triggersActionsUi]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/triggers_actions_ui/README.md[triggersActionsUi]
|
||||
|The Kibana alerts and actions UI plugin provides a user interface for managing alerts and actions.
|
||||
As a developer you can reuse and extend built-in alerts and actions UI functionality:
|
||||
|
||||
|
|
|
@ -432,7 +432,7 @@ This connector was renamed. Refer to <<openai-action-type>>.
|
|||
== APIs
|
||||
|
||||
For the most up-to-date API details, refer to the
|
||||
{kib-repo}/tree/{branch}/x-pack/plugins/alerting/docs/openapi[alerting], {kib-repo}/tree/{branch}/x-pack/plugins/cases/docs/openapi[cases], {kib-repo}/tree/{branch}/x-pack/plugins/actions/docs/openapi[connectors], and {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/ml/common/openapi[machine learning] open API specifications.
|
||||
{kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/alerting/docs/openapi[alerting], {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/cases/docs/openapi[cases], {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/actions/docs/openapi[connectors], and {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/ml/common/openapi[machine learning] open API specifications.
|
||||
|
||||
[role="exclude",id="add-case-connectors"]
|
||||
== Add connectors to cases
|
||||
|
|
|
@ -9,7 +9,7 @@ To provide greater control over case features, you can configure the following s
|
|||
|
||||
`xpack.cases.files.allowedMimeTypes`::
|
||||
The MIME types that you can attach to a case, represented in an array of strings. For example: `['image/tiff','text/csv','application/zip'].`
|
||||
The default MIME types are specified in https://github.com/elastic/kibana/blob/{branch}/x-pack/plugins/cases/common/constants/mime_types.ts[mime_types.ts].
|
||||
The default MIME types are specified in https://github.com/elastic/kibana/blob/{branch}/x-pack/platform/plugins/shared/cases/common/constants/mime_types.ts[mime_types.ts].
|
||||
|
||||
`xpack.cases.files.maxSize`::
|
||||
The size limit for files that you can attach to a case, represented as the number of bytes. By default, the limit is 10 MiB for images and 100 MiB for all other MIME types. If you specify a value for this setting, it affects all file types.
|
||||
|
|
|
@ -97,13 +97,13 @@ actions:
|
|||
# APM transaction error rate rule (apm.transaction_error_rate)
|
||||
- $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml'
|
||||
# Elasticsearch DSL query rule (.es-query)
|
||||
- $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml'
|
||||
# Elasticsearch ES|QL query rule (.es-query)
|
||||
- $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml'
|
||||
# Elasticsearch KQL query rule (.es-query)
|
||||
- $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml'
|
||||
# Index threshold rule ()
|
||||
- $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml'
|
||||
# Infra inventory rule (metrics.alert.inventory.threshold)
|
||||
- $ref: '../../x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml'
|
||||
# Log threshold rule (logs.alert.document.count)
|
||||
|
|
|
@ -141,109 +141,109 @@ actions:
|
|||
description: The connector configuration details.
|
||||
oneOf:
|
||||
# AI (.inference) TBD
|
||||
# - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml'
|
||||
# - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml'
|
||||
# Bedrock (.bedrock)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml'
|
||||
# Crowdstrike (.crowdstrike)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml'
|
||||
# D3 Security (.d3security)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml'
|
||||
# Email (.email)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml'
|
||||
# Google Gemini (.gemini)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml'
|
||||
# IBM Resilient (.resilient)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml'
|
||||
# Index (.index)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml'
|
||||
# Jira (.jira)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml'
|
||||
# Microsoft Teams (.teams) N/A
|
||||
# Observability AI Assistant (.observability-ai-assistant) TBD
|
||||
# Azure OpenAI (.gen-ai)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml'
|
||||
# OpenAI (.gen-ai)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml'
|
||||
# Opsgenie (.opsgenie)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml'
|
||||
# PagerDuty (.pagerduty)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml'
|
||||
# SentinelOne (.sentinelone)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml'
|
||||
# Server log (.server-log) N/A
|
||||
# ServiceNow ITSM (.servicenow)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml'
|
||||
# ServiceNow SecOps (.servicenow-sir) TBD
|
||||
# ServiceNow ITOM (.servicenow-itom)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml'
|
||||
# Slack (.slack_api)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml'
|
||||
# Swimlane (.swimlane)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml'
|
||||
# TheHive (.thehive)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml'
|
||||
# Tines (.tines)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml'
|
||||
# Torq (.torq)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml'
|
||||
# Webhook (.webhook)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml'
|
||||
# Webhook - Case Management (.cases-webhook)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml'
|
||||
# xMatters (.xmatters)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml'
|
||||
secrets:
|
||||
additionalProperties: {}
|
||||
default: {}
|
||||
oneOf:
|
||||
# AI (.inference)
|
||||
# - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml'
|
||||
# - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml'
|
||||
# Bedrock (.bedrock)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml'
|
||||
# Crowdstrike (.crowdstrike)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml'
|
||||
# D3 Security (.d3security)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml'
|
||||
# Email (.email)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml'
|
||||
# Google Gemini (.gemini)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml'
|
||||
# IBM Resilient (.resilient)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml'
|
||||
# Index (.index) N/A
|
||||
# Jira (.jira)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml'
|
||||
# Microsoft Teams (.teams)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml'
|
||||
# Observability AI Assistant (.observability-ai-assistant) TBD
|
||||
# OpenAI (.gen-ai)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml'
|
||||
# Opsgenie (.opsgenie)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml'
|
||||
# PagerDuty (.pagerduty)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml'
|
||||
# SentinelOne (.sentinelone)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml'
|
||||
# ServiceNow (.servicenow)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml'
|
||||
# ServiceNow Sec Ops (.servicenow-sir) TBD
|
||||
# ServiceNow (.servicenow-itom) TBD
|
||||
# Slack (.slack_api)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml'
|
||||
# Swimlane (.swimlane)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml'
|
||||
# TheHive (.thehive)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml'
|
||||
# Tines (.tines)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml'
|
||||
# Torq (.torq)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml'
|
||||
# Webhook (.webhook)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml'
|
||||
# Webhook - Case Management (.cases-webhook)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml'
|
||||
# xMatters (.xmatters)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml'
|
||||
- target: "$.paths['/api/actions/connector/{id}']['put']"
|
||||
description: "Add config and secrets to update connector API"
|
||||
update:
|
||||
|
@ -258,109 +258,109 @@ actions:
|
|||
description: The connector configuration details.
|
||||
oneOf:
|
||||
# AI (.inference)
|
||||
# - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml'
|
||||
# - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml'
|
||||
# Bedrock (.bedrock)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml'
|
||||
# Crowdstrike (.crowdstrike)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml'
|
||||
# D3 Security (.d3security)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml'
|
||||
# Email (.email)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml'
|
||||
# Google Gemini (.gemini)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml'
|
||||
# IBM Resilient (.resilient)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml'
|
||||
# Index (.index)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml'
|
||||
# Jira (.jira)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml'
|
||||
# Microsoft Teams (.teams) N/A
|
||||
# Observability AI Assistant (.observability-ai-assistant) TBD
|
||||
# Azue OpenAI (.gen-ai)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml'
|
||||
# OpenAI (.gen-ai)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml'
|
||||
# Opsgenie (.opsgenie)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml'
|
||||
# PagerDuty (.pagerduty)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml'
|
||||
# SentinelOne (.sentinelone)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml'
|
||||
# Server log (.server-log) N/A
|
||||
# ServiceNow ITSM (.servicenow)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml'
|
||||
# ServiceNow SecOps (.servicenow-sir) TBD
|
||||
# ServiceNow ITOM (.servicenow-itom)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml'
|
||||
# Slack (.slack_api)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml'
|
||||
# Swimlane (.swimlane)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml'
|
||||
# TheHive (.thehive)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml'
|
||||
# Tines (.tines)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml'
|
||||
# Torq (.torq)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml'
|
||||
# Webhook (.webhook)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml'
|
||||
# Webhook - Case Management (.cases-webhook)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml'
|
||||
# xMatters (.xmatters)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml'
|
||||
secrets:
|
||||
additionalProperties: {}
|
||||
default: {}
|
||||
oneOf:
|
||||
# AI (.inference)
|
||||
# - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml'
|
||||
# - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml'
|
||||
# Bedrock (.bedrock)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml'
|
||||
# Crowdstrike (.crowdstrike)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml'
|
||||
# D3 Security (.d3security)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml'
|
||||
# Email (.email)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml'
|
||||
# Google Gemini (.gemini)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml'
|
||||
# IBM Resilient (.resilient)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml'
|
||||
# Index (.index) N/A
|
||||
# Jira (.jira)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml'
|
||||
# Microsoft Teams (.teams)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml'
|
||||
# Observability AI Assistant (.observability-ai-assistant) TBD
|
||||
# OpenAI (.gen-ai)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml'
|
||||
# Opsgenie (.opsgenie)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml'
|
||||
# PagerDuty (.pagerduty)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml'
|
||||
# SentinelOne (.sentinelone)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml'
|
||||
# ServiceNow (.servicenow)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml'
|
||||
# ServiceNow SecOps (.servicenow-sir) TBD
|
||||
# ServiceNow ITOM (.servicenow-itom) TBD
|
||||
# Slack (.slack_api)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml'
|
||||
# Swimlane (.swimlane)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml'
|
||||
# TheHive (.thehive)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml'
|
||||
# Tines (.tines)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml'
|
||||
# Torq (.torq)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml'
|
||||
# Webhook (.webhook)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml'
|
||||
# Webhook - Case Management (.cases-webhook)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml'
|
||||
# xMatters (.xmatters)
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml'
|
||||
# Remove the automated empty run connector params
|
||||
- target: "$.paths['/api/actions/connector/{id}/_execute']['post'].requestBody.content.*.schema.properties.params"
|
||||
description: "Remove params in run connector API"
|
||||
|
@ -377,23 +377,23 @@ actions:
|
|||
params:
|
||||
additionalProperties: {}
|
||||
oneOf:
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_documents.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_email.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_serverlog.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_slack.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_addevent.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_closealert.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_closeincident.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_createalert.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getchoices.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getfields.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getincident.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issue.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issues.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issuetypes.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_postmessage.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_pushtoservice.yaml'
|
||||
- $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_validchannelid.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_documents.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_serverlog.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_slack.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_addevent.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closealert.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closeincident.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_createalert.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getchoices.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getfields.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getincident.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issue.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issues.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issuetypes.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_postmessage.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_pushtoservice.yaml'
|
||||
- $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_validchannelid.yaml'
|
|
@ -15,8 +15,8 @@ const { REPO_ROOT } = require('@kbn/repo-info');
|
|||
await merge({
|
||||
sourceGlobs: [
|
||||
`${REPO_ROOT}/oas_docs/bundle.json`,
|
||||
`${REPO_ROOT}/x-pack/plugins/alerting/docs/openapi/bundled.yaml`,
|
||||
`${REPO_ROOT}/x-pack/plugins/cases/docs/openapi/bundled.yaml`,
|
||||
`${REPO_ROOT}/x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.yaml`,
|
||||
`${REPO_ROOT}/x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml`,
|
||||
`${REPO_ROOT}/src/plugins/data_views/docs/openapi/bundled.yaml`,
|
||||
`${REPO_ROOT}/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis.yaml`,
|
||||
`${REPO_ROOT}/packages/core/saved-objects/docs/openapi/bundled.yaml`,
|
||||
|
|
42
package.json
42
package.json
|
@ -153,9 +153,9 @@
|
|||
"@hapi/wreck": "^18.1.0",
|
||||
"@hello-pangea/dnd": "16.6.0",
|
||||
"@kbn/aad-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/aad",
|
||||
"@kbn/actions-plugin": "link:x-pack/plugins/actions",
|
||||
"@kbn/actions-plugin": "link:x-pack/platform/plugins/shared/actions",
|
||||
"@kbn/actions-simulators-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/actions_simulators",
|
||||
"@kbn/actions-types": "link:packages/kbn-actions-types",
|
||||
"@kbn/actions-types": "link:src/platform/packages/shared/kbn-actions-types",
|
||||
"@kbn/advanced-settings-plugin": "link:src/plugins/advanced_settings",
|
||||
"@kbn/ai-assistant": "link:x-pack/packages/kbn-ai-assistant",
|
||||
"@kbn/ai-assistant-common": "link:x-pack/platform/packages/shared/ai-assistant/common",
|
||||
|
@ -169,16 +169,16 @@
|
|||
"@kbn/aiops-plugin": "link:x-pack/platform/plugins/shared/aiops",
|
||||
"@kbn/aiops-test-utils": "link:x-pack/platform/packages/private/ml/aiops_test_utils",
|
||||
"@kbn/alerting-api-integration-test-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts",
|
||||
"@kbn/alerting-comparators": "link:x-pack/packages/kbn-alerting-comparators",
|
||||
"@kbn/alerting-comparators": "link:x-pack/platform/packages/shared/kbn-alerting-comparators",
|
||||
"@kbn/alerting-example-plugin": "link:x-pack/examples/alerting_example",
|
||||
"@kbn/alerting-fixture-plugin": "link:x-pack/test/functional_with_es_ssl/plugins/alerts",
|
||||
"@kbn/alerting-plugin": "link:x-pack/plugins/alerting",
|
||||
"@kbn/alerting-state-types": "link:x-pack/packages/kbn-alerting-state-types",
|
||||
"@kbn/alerting-types": "link:packages/kbn-alerting-types",
|
||||
"@kbn/alerts-as-data-utils": "link:packages/kbn-alerts-as-data-utils",
|
||||
"@kbn/alerts-grouping": "link:packages/kbn-alerts-grouping",
|
||||
"@kbn/alerting-plugin": "link:x-pack/platform/plugins/shared/alerting",
|
||||
"@kbn/alerting-state-types": "link:x-pack/platform/packages/private/kbn-alerting-state-types",
|
||||
"@kbn/alerting-types": "link:src/platform/packages/shared/kbn-alerting-types",
|
||||
"@kbn/alerts-as-data-utils": "link:src/platform/packages/shared/kbn-alerts-as-data-utils",
|
||||
"@kbn/alerts-grouping": "link:x-pack/solutions/observability/packages/kbn-alerts-grouping",
|
||||
"@kbn/alerts-restricted-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts_restricted",
|
||||
"@kbn/alerts-ui-shared": "link:packages/kbn-alerts-ui-shared",
|
||||
"@kbn/alerts-ui-shared": "link:src/platform/packages/shared/kbn-alerts-ui-shared",
|
||||
"@kbn/analytics": "link:packages/kbn-analytics",
|
||||
"@kbn/analytics-collection-utils": "link:packages/analytics/utils/analytics_collection_utils",
|
||||
"@kbn/analytics-ftr-helpers-plugin": "link:test/analytics/plugins/analytics_ftr_helpers",
|
||||
|
@ -201,8 +201,8 @@
|
|||
"@kbn/calculate-width-from-char-count": "link:packages/kbn-calculate-width-from-char-count",
|
||||
"@kbn/canvas-plugin": "link:x-pack/platform/plugins/private/canvas",
|
||||
"@kbn/cases-api-integration-test-plugin": "link:x-pack/test/cases_api_integration/common/plugins/cases",
|
||||
"@kbn/cases-components": "link:packages/kbn-cases-components",
|
||||
"@kbn/cases-plugin": "link:x-pack/plugins/cases",
|
||||
"@kbn/cases-components": "link:src/platform/packages/shared/kbn-cases-components",
|
||||
"@kbn/cases-plugin": "link:x-pack/platform/plugins/shared/cases",
|
||||
"@kbn/cbor": "link:packages/kbn-cbor",
|
||||
"@kbn/cell-actions": "link:src/platform/packages/shared/kbn-cell-actions",
|
||||
"@kbn/chart-expressions-common": "link:src/plugins/chart_expressions/common",
|
||||
|
@ -502,7 +502,7 @@
|
|||
"@kbn/event-annotation-listing-plugin": "link:src/plugins/event_annotation_listing",
|
||||
"@kbn/event-annotation-plugin": "link:src/plugins/event_annotation",
|
||||
"@kbn/event-log-fixture-plugin": "link:x-pack/test/plugin_api_integration/plugins/event_log",
|
||||
"@kbn/event-log-plugin": "link:x-pack/plugins/event_log",
|
||||
"@kbn/event-log-plugin": "link:x-pack/platform/plugins/shared/event_log",
|
||||
"@kbn/expandable-flyout": "link:x-pack/solutions/security/packages/expandable-flyout",
|
||||
"@kbn/exploratory-view-example-plugin": "link:x-pack/examples/exploratory_view_example",
|
||||
"@kbn/exploratory-view-plugin": "link:x-pack/solutions/observability/plugins/exploratory_view",
|
||||
|
@ -553,7 +553,7 @@
|
|||
"@kbn/grid-example-plugin": "link:examples/grid_example",
|
||||
"@kbn/grid-layout": "link:packages/kbn-grid-layout",
|
||||
"@kbn/grokdebugger-plugin": "link:x-pack/platform/plugins/private/grokdebugger",
|
||||
"@kbn/grouping": "link:packages/kbn-grouping",
|
||||
"@kbn/grouping": "link:src/platform/packages/shared/kbn-grouping",
|
||||
"@kbn/guided-onboarding": "link:packages/kbn-guided-onboarding",
|
||||
"@kbn/guided-onboarding-example-plugin": "link:examples/guided_onboarding_example",
|
||||
"@kbn/guided-onboarding-plugin": "link:src/plugins/guided_onboarding",
|
||||
|
@ -761,7 +761,7 @@
|
|||
"@kbn/resolver-test-plugin": "link:x-pack/test/plugin_functional/plugins/resolver_test",
|
||||
"@kbn/response-ops-feature-flag-service": "link:packages/response-ops/feature_flag_service",
|
||||
"@kbn/response-ops-rule-form": "link:packages/response-ops/rule_form",
|
||||
"@kbn/response-ops-rule-params": "link:packages/response-ops/rule_params",
|
||||
"@kbn/response-ops-rule-params": "link:src/platform/packages/private/response-ops/rule_params",
|
||||
"@kbn/response-stream-plugin": "link:examples/response_stream",
|
||||
"@kbn/rison": "link:packages/kbn-rison",
|
||||
"@kbn/rollup": "link:x-pack/platform/packages/private/rollup",
|
||||
|
@ -769,9 +769,9 @@
|
|||
"@kbn/router-to-openapispec": "link:packages/kbn-router-to-openapispec",
|
||||
"@kbn/router-utils": "link:packages/kbn-router-utils",
|
||||
"@kbn/routing-example-plugin": "link:examples/routing_example",
|
||||
"@kbn/rrule": "link:packages/kbn-rrule",
|
||||
"@kbn/rrule": "link:src/platform/packages/shared/kbn-rrule",
|
||||
"@kbn/rule-data-utils": "link:src/platform/packages/shared/kbn-rule-data-utils",
|
||||
"@kbn/rule-registry-plugin": "link:x-pack/plugins/rule_registry",
|
||||
"@kbn/rule-registry-plugin": "link:x-pack/platform/plugins/shared/rule_registry",
|
||||
"@kbn/runtime-fields-plugin": "link:x-pack/platform/plugins/private/runtime_fields",
|
||||
"@kbn/safer-lodash-set": "link:packages/kbn-safer-lodash-set",
|
||||
"@kbn/saml-provider-plugin": "link:x-pack/test/security_api_integration/plugins/saml_provider",
|
||||
|
@ -934,8 +934,8 @@
|
|||
"@kbn/sse-utils": "link:src/platform/packages/shared/kbn-sse-utils",
|
||||
"@kbn/sse-utils-client": "link:src/platform/packages/shared/kbn-sse-utils-client",
|
||||
"@kbn/sse-utils-server": "link:src/platform/packages/shared/kbn-sse-utils-server",
|
||||
"@kbn/stack-alerts-plugin": "link:x-pack/plugins/stack_alerts",
|
||||
"@kbn/stack-connectors-plugin": "link:x-pack/plugins/stack_connectors",
|
||||
"@kbn/stack-alerts-plugin": "link:x-pack/platform/plugins/shared/stack_alerts",
|
||||
"@kbn/stack-connectors-plugin": "link:x-pack/platform/plugins/shared/stack_connectors",
|
||||
"@kbn/stack-management-usage-test-plugin": "link:x-pack/test/usage_collection/plugins/stack_management_usage_test",
|
||||
"@kbn/state-containers-examples-plugin": "link:examples/state_containers_examples",
|
||||
"@kbn/status-plugin-a-plugin": "link:test/server_integration/plugins/status_plugin_a",
|
||||
|
@ -948,7 +948,7 @@
|
|||
"@kbn/synthetics-private-location": "link:x-pack/packages/kbn-synthetics-private-location",
|
||||
"@kbn/task-manager-fixture-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture",
|
||||
"@kbn/task-manager-performance-plugin": "link:x-pack/test/plugin_api_perf/plugins/task_manager_performance",
|
||||
"@kbn/task-manager-plugin": "link:x-pack/plugins/task_manager",
|
||||
"@kbn/task-manager-plugin": "link:x-pack/platform/plugins/shared/task_manager",
|
||||
"@kbn/telemetry-collection-manager-plugin": "link:src/plugins/telemetry_collection_manager",
|
||||
"@kbn/telemetry-collection-xpack-plugin": "link:x-pack/plugins/telemetry_collection_xpack",
|
||||
"@kbn/telemetry-management-section-plugin": "link:src/plugins/telemetry_management_section",
|
||||
|
@ -967,8 +967,8 @@
|
|||
"@kbn/translations-plugin": "link:x-pack/platform/plugins/private/translations",
|
||||
"@kbn/transpose-utils": "link:packages/kbn-transpose-utils",
|
||||
"@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example",
|
||||
"@kbn/triggers-actions-ui-plugin": "link:x-pack/plugins/triggers_actions_ui",
|
||||
"@kbn/triggers-actions-ui-types": "link:packages/kbn-triggers-actions-ui-types",
|
||||
"@kbn/triggers-actions-ui-plugin": "link:x-pack/platform/plugins/shared/triggers_actions_ui",
|
||||
"@kbn/triggers-actions-ui-types": "link:src/platform/packages/shared/kbn-triggers-actions-ui-types",
|
||||
"@kbn/try-in-console": "link:packages/kbn-try-in-console",
|
||||
"@kbn/typed-react-router-config": "link:src/platform/packages/shared/kbn-typed-react-router-config",
|
||||
"@kbn/ui-actions-browser": "link:packages/kbn-ui-actions-browser",
|
||||
|
|
|
@ -1,16 +0,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", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export { AlertsGrouping } from './src/components/alerts_grouping';
|
||||
export {
|
||||
type AlertsGroupingProps,
|
||||
type BaseAlertsGroupAggregations,
|
||||
type AlertsGroupAggregationBucket,
|
||||
} from './src/types';
|
||||
export { useAlertsGroupingState } from './src/contexts/alerts_grouping_context';
|
|
@ -1,12 +0,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", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export const DEFAULT_PAGE_SIZE = 25;
|
||||
export const DEFAULT_PAGE_INDEX = 0;
|
||||
export const MAX_GROUPING_LEVELS = 3;
|
|
@ -1,12 +0,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", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './components/alerts_grouping';
|
||||
export * from './contexts/alerts_grouping_context';
|
||||
export * from './types';
|
|
@ -1,15 +0,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", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-alerts-ui-shared'],
|
||||
setupFilesAfterEnv: ['<rootDir>/packages/kbn-alerts-ui-shared/setup_tests.ts'],
|
||||
};
|
|
@ -1,15 +0,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", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-cases-components'],
|
||||
setupFilesAfterEnv: ['<rootDir>/packages/kbn-cases-components/setup_tests.ts'],
|
||||
};
|
|
@ -20,13 +20,16 @@ const testMap = [
|
|||
'x-pack/plugins/observability_solution/apm/common/components/app/correlations/correlations_table.tsx',
|
||||
'xpack.apm',
|
||||
],
|
||||
['x-pack/plugins/cases/server/components/foo.tsx', 'xpack.cases'],
|
||||
['x-pack/platform/plugins/shared/cases/server/components/foo.tsx', 'xpack.cases'],
|
||||
[
|
||||
'x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/alerts/toggle_alert_flyout_button.tsx',
|
||||
'xpack.synthetics',
|
||||
],
|
||||
['src/plugins/vis_types/gauge/public/editor/collections.ts', 'visTypeGauge'],
|
||||
['packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', 'alertsUIShared'],
|
||||
[
|
||||
'src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx',
|
||||
'alertsUIShared',
|
||||
],
|
||||
];
|
||||
|
||||
describe('Get i18n Identifier for file', () => {
|
||||
|
|
|
@ -14,11 +14,11 @@ const SYSTEMPATH = 'systemPath';
|
|||
const testMap = [
|
||||
['x-pack/solutions/observability/plugins/observability/foo/bar/baz/header_actions.tsx', 'o11y'],
|
||||
['x-pack/plugins/observability_solution/apm/baz/header_actions.tsx', 'apm'],
|
||||
['x-pack/plugins/apm/public/components/app/correlations/correlations_table.tsx', 'apm'],
|
||||
['x-pack/plugins/observability/foo/bar/baz/header_actions.tsx', 'o11y'],
|
||||
['x-pack/plugins/observability_solution/apm/baz/header_actions.tsx', 'apm'],
|
||||
['x-pack/plugins/cases/public/components/foo.tsx', 'cases'],
|
||||
['packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', 'kbnAlertsUiShared'],
|
||||
['x-pack/platform/plugins/shared/cases/public/components/foo.tsx', 'cases'],
|
||||
[
|
||||
'src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx',
|
||||
'kbnAlertsUiShared',
|
||||
],
|
||||
];
|
||||
|
||||
describe('Get App Name', () => {
|
||||
|
|
|
@ -8,46 +8,23 @@
|
|||
*/
|
||||
|
||||
import { camelCase } from 'lodash';
|
||||
import path from 'path';
|
||||
import { basename, parse } from 'path';
|
||||
import { getPkgDirMap } from '@kbn/repo-packages';
|
||||
import { REPO_ROOT } from '@kbn/repo-info';
|
||||
|
||||
const APP_ALIASES: Record<string, string> = {
|
||||
observability: 'o11y',
|
||||
};
|
||||
|
||||
export function getAppName(fileName: string, cwd: string) {
|
||||
const { dir } = path.parse(fileName);
|
||||
const { dir } = parse(fileName);
|
||||
const relativePathToFile = dir.replace(cwd, '');
|
||||
|
||||
const packageDirs = Array.from(
|
||||
Array.from(getPkgDirMap(REPO_ROOT).values()).reduce((acc, currentDir) => {
|
||||
const topDirectory = currentDir.normalizedRepoRelativeDir.split('/')[0];
|
||||
const allPaths = Array.from(getPkgDirMap(REPO_ROOT).values())
|
||||
.map((module) => module.directory.replace(REPO_ROOT, ''))
|
||||
.sort((a, b) => b.length - a.length);
|
||||
|
||||
if (topDirectory) {
|
||||
acc.add(topDirectory);
|
||||
}
|
||||
|
||||
return acc;
|
||||
}, new Set<string>())
|
||||
);
|
||||
|
||||
const relativePathArray = relativePathToFile.split('/');
|
||||
|
||||
const appName = camelCase(
|
||||
packageDirs.reduce((acc, repoPath) => {
|
||||
if (!relativePathArray[1]) return '';
|
||||
|
||||
if (relativePathArray[1] === 'x-pack') {
|
||||
if (relativePathArray[3] === 'observability_solution') {
|
||||
return relativePathArray[4];
|
||||
}
|
||||
return relativePathArray[3];
|
||||
}
|
||||
|
||||
if (relativePathArray[1].includes(repoPath)) {
|
||||
return relativePathArray[2];
|
||||
}
|
||||
|
||||
return acc;
|
||||
}, '')
|
||||
);
|
||||
|
||||
return appName === 'observability' ? 'o11y' : appName;
|
||||
const moduleDir = allPaths.find((path) => relativePathToFile.startsWith(path)) ?? '';
|
||||
const moduleBasename = camelCase(basename(moduleDir));
|
||||
return APP_ALIASES[moduleBasename] ?? moduleBasename;
|
||||
}
|
||||
|
|
|
@ -1,27 +0,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", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-grouping'],
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: [
|
||||
'<rootDir>/packages/kbn-grouping/**/*.{ts,tsx}',
|
||||
'!<rootDir>/packages/kbn-grouping/**/*.test',
|
||||
'!<rootDir>/packages/kbn-grouping/**/types/*',
|
||||
'!<rootDir>/packages/kbn-grouping/**/*.type',
|
||||
'!<rootDir>/packages/kbn-grouping/**/*.styles',
|
||||
'!<rootDir>/packages/kbn-grouping/**/mocks/*',
|
||||
'!<rootDir>/packages/kbn-grouping/**/*.config',
|
||||
'!<rootDir>/packages/kbn-grouping/**/translations',
|
||||
'!<rootDir>/packages/kbn-grouping/**/types/*',
|
||||
],
|
||||
setupFilesAfterEnv: ['<rootDir>/packages/kbn-grouping/setup_tests.ts'],
|
||||
};
|
|
@ -1,11 +0,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", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import '@testing-library/jest-dom';
|
|
@ -18,7 +18,7 @@ require('@kbn/babel-register').install({
|
|||
'examples',
|
||||
'x-pack/examples',
|
||||
// TODO: should should probably remove this link back to the source
|
||||
'x-pack/plugins/task_manager/server/config.ts',
|
||||
'x-pack/platform/plugins/shared/task_manager/server/config.ts',
|
||||
'src/plugins/field_formats/common',
|
||||
'packages',
|
||||
'x-pack/packages',
|
||||
|
|
|
@ -1,14 +0,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", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-triggers-actions-ui-types'],
|
||||
};
|
|
@ -29,7 +29,7 @@ export const IGNORE_FILE_GLOBS = [
|
|||
'x-pack/platform/plugins/private/canvas/tasks/**/*',
|
||||
'x-pack/platform/plugins/private/canvas/canvas_plugin_src/**/*',
|
||||
'x-pack/platform/plugins/private/canvas/server/templates/assets/*.{png,jpg,svg}',
|
||||
'x-pack/plugins/cases/docs/**/*',
|
||||
'x-pack/platform/plugins/shared/cases/docs/**/*',
|
||||
'x-pack/platform/plugins/private/monitoring/public/lib/jquery_flot/**/*',
|
||||
'x-pack/platform/plugins/shared/fleet/cypress/packages/*.zip',
|
||||
'**/apm-diagnostics-*.json',
|
||||
|
|
|
@ -15,7 +15,7 @@ export const storybookAliases = {
|
|||
ai_assistant: 'x-pack/packages/kbn-ai-assistant/.storybook',
|
||||
apm: 'x-pack/plugins/observability_solution/apm/.storybook',
|
||||
canvas: 'x-pack/platform/plugins/private/canvas/storybook',
|
||||
cases: 'packages/kbn-cases-components/.storybook',
|
||||
cases: 'src/platform/packages/shared/kbn-cases-components/.storybook',
|
||||
cell_actions: 'src/platform/packages/shared/kbn-cell-actions/.storybook',
|
||||
cloud_security_posture_packages:
|
||||
'x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook',
|
||||
|
@ -44,7 +44,7 @@ export const storybookAliases = {
|
|||
expression_shape: 'src/platform/plugins/shared/expression_shape/.storybook',
|
||||
expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook',
|
||||
fleet: 'x-pack/platform/plugins/shared/fleet/.storybook',
|
||||
grouping: 'packages/kbn-grouping/.storybook',
|
||||
grouping: 'src/platform/packages/shared/kbn-grouping/.storybook',
|
||||
home: 'src/plugins/home/.storybook',
|
||||
infra: 'x-pack/plugins/observability_solution/infra/.storybook',
|
||||
inventory: 'x-pack/plugins/observability_solution/inventory/.storybook',
|
||||
|
@ -69,7 +69,7 @@ export const storybookAliases = {
|
|||
shared_ux: 'packages/shared-ux/storybook/config',
|
||||
slo: 'x-pack/solutions/observability/plugins/slo/.storybook',
|
||||
threat_intelligence: 'x-pack/solutions/security/plugins/threat_intelligence/.storybook',
|
||||
triggers_actions_ui: 'x-pack/plugins/triggers_actions_ui/.storybook',
|
||||
triggers_actions_ui: 'x-pack/platform/plugins/shared/triggers_actions_ui/.storybook',
|
||||
ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook',
|
||||
unified_search: 'src/plugins/unified_search/.storybook',
|
||||
profiling: 'x-pack/plugins/observability_solution/profiling/.storybook',
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test/jest_node',
|
||||
rootDir: '../../..',
|
||||
roots: ['<rootDir>/packages/response-ops/rule_params'],
|
||||
rootDir: '../../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/private/response-ops/rule_params'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"extends": "../../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -15,7 +15,7 @@ export enum SecurityPageName {
|
|||
blocklist = 'blocklist',
|
||||
/*
|
||||
* Warning: Computed values are not permitted in an enum with string valued members
|
||||
* All Cases page names must match `CasesDeepLinkId` in x-pack/plugins/cases/public/common/navigation/deep_links.ts
|
||||
* All Cases page names must match `CasesDeepLinkId` in x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts
|
||||
*/
|
||||
case = 'cases', // must match `CasesDeepLinkId.cases`
|
||||
caseConfigure = 'cases_configure', // must match `CasesDeepLinkId.casesConfigure`
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-alerts-as-data-utils'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/shared/kbn-actions-types'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-alerting-types'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/shared/kbn-alerting-types'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-rrule'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/src/platform/packages/shared/kbn-alerts-as-data-utils'],
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue