From 9b4a2617a97a92e26b9c4d92d85b694db112d410 Mon Sep 17 00:00:00 2001 From: Sean Rathier Date: Fri, 13 Dec 2024 15:00:48 -0500 Subject: [PATCH 01/11] Relocating module `@kbn/asset-inventory-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- .../security}/plugins/asset_inventory/README.md | 0 .../security}/plugins/asset_inventory/common/index.ts | 0 .../security}/plugins/asset_inventory/kibana.jsonc | 0 .../security}/plugins/asset_inventory/package.json | 0 .../security}/plugins/asset_inventory/public/application.tsx | 0 .../plugins/asset_inventory/public/components/app.tsx | 0 .../security}/plugins/asset_inventory/public/index.ts | 0 .../security}/plugins/asset_inventory/public/plugin.ts | 0 .../security}/plugins/asset_inventory/public/types.ts | 0 .../server/create_transforms/create_transforms.ts | 0 .../security}/plugins/asset_inventory/server/index.ts | 0 .../security}/plugins/asset_inventory/server/plugin.ts | 0 .../security}/plugins/asset_inventory/server/routes/index.ts | 0 .../security}/plugins/asset_inventory/server/types.ts | 0 .../security}/plugins/asset_inventory/tsconfig.json | 4 ++-- yarn.lock | 2 +- 20 files changed, 8 insertions(+), 8 deletions(-) rename x-pack/{ => solutions/security}/plugins/asset_inventory/README.md (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/common/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/kibana.jsonc (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/package.json (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/public/application.tsx (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/public/components/app.tsx (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/public/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/public/plugin.ts (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/public/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/server/create_transforms/create_transforms.ts (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/server/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/server/plugin.ts (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/server/routes/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/server/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/asset_inventory/tsconfig.json (82%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e6d9571a8fa82..3b84ecfed8f6d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -881,7 +881,6 @@ x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management x-pack/plugins/actions @elastic/response-ops x-pack/plugins/alerting @elastic/response-ops -x-pack/plugins/asset_inventory @elastic/kibana-cloud-security-posture x-pack/plugins/banners @elastic/appex-sharedux x-pack/plugins/canvas @elastic/kibana-presentation x-pack/plugins/cases @elastic/response-ops @@ -997,6 +996,7 @@ x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-e x-pack/solutions/security/packages/side_nav @elastic/security-threat-hunting-explore x-pack/solutions/security/packages/storybook/config @elastic/security-threat-hunting-explore x-pack/solutions/security/packages/upselling @elastic/security-threat-hunting-explore +x-pack/solutions/security/plugins/asset_inventory @elastic/kibana-cloud-security-posture x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai x-pack/solutions/security/plugins/threat_intelligence @elastic/security-threat-hunting-investigations diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 101dcdec07810..5ead53c9519f7 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -470,7 +470,7 @@ The plugin exposes the static DefaultEditorController class to consume. |WARNING: Missing README. -|{kib-repo}blob/{branch}/x-pack/plugins/asset_inventory/README.md[assetInventory] +|{kib-repo}blob/{branch}/x-pack/solutions/security/plugins/asset_inventory/README.md[assetInventory] |Centralized asset inventory experience within the Elastic Security solution. A central place for users to view and manage all their assets from different environments. diff --git a/package.json b/package.json index 4691b93b7589a..a8cfde479a8b2 100644 --- a/package.json +++ b/package.json @@ -191,7 +191,7 @@ "@kbn/apm-utils": "link:packages/kbn-apm-utils", "@kbn/app-link-test-plugin": "link:test/plugin_functional/plugins/app_link_test", "@kbn/application-usage-test-plugin": "link:x-pack/test/usage_collection/plugins/application_usage_test", - "@kbn/asset-inventory-plugin": "link:x-pack/plugins/asset_inventory", + "@kbn/asset-inventory-plugin": "link:x-pack/solutions/security/plugins/asset_inventory", "@kbn/audit-log-plugin": "link:x-pack/test/security_api_integration/plugins/audit_log", "@kbn/avc-banner": "link:src/platform/packages/shared/kbn-avc-banner", "@kbn/banners-plugin": "link:x-pack/plugins/banners", diff --git a/tsconfig.base.json b/tsconfig.base.json index c77083aeb8132..534349e48f398 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -96,8 +96,8 @@ "@kbn/app-link-test-plugin/*": ["test/plugin_functional/plugins/app_link_test/*"], "@kbn/application-usage-test-plugin": ["x-pack/test/usage_collection/plugins/application_usage_test"], "@kbn/application-usage-test-plugin/*": ["x-pack/test/usage_collection/plugins/application_usage_test/*"], - "@kbn/asset-inventory-plugin": ["x-pack/plugins/asset_inventory"], - "@kbn/asset-inventory-plugin/*": ["x-pack/plugins/asset_inventory/*"], + "@kbn/asset-inventory-plugin": ["x-pack/solutions/security/plugins/asset_inventory"], + "@kbn/asset-inventory-plugin/*": ["x-pack/solutions/security/plugins/asset_inventory/*"], "@kbn/audit-log-plugin": ["x-pack/test/security_api_integration/plugins/audit_log"], "@kbn/audit-log-plugin/*": ["x-pack/test/security_api_integration/plugins/audit_log/*"], "@kbn/avc-banner": ["src/platform/packages/shared/kbn-avc-banner"], diff --git a/x-pack/plugins/asset_inventory/README.md b/x-pack/solutions/security/plugins/asset_inventory/README.md similarity index 100% rename from x-pack/plugins/asset_inventory/README.md rename to x-pack/solutions/security/plugins/asset_inventory/README.md diff --git a/x-pack/plugins/asset_inventory/common/index.ts b/x-pack/solutions/security/plugins/asset_inventory/common/index.ts similarity index 100% rename from x-pack/plugins/asset_inventory/common/index.ts rename to x-pack/solutions/security/plugins/asset_inventory/common/index.ts diff --git a/x-pack/plugins/asset_inventory/kibana.jsonc b/x-pack/solutions/security/plugins/asset_inventory/kibana.jsonc similarity index 100% rename from x-pack/plugins/asset_inventory/kibana.jsonc rename to x-pack/solutions/security/plugins/asset_inventory/kibana.jsonc diff --git a/x-pack/plugins/asset_inventory/package.json b/x-pack/solutions/security/plugins/asset_inventory/package.json similarity index 100% rename from x-pack/plugins/asset_inventory/package.json rename to x-pack/solutions/security/plugins/asset_inventory/package.json diff --git a/x-pack/plugins/asset_inventory/public/application.tsx b/x-pack/solutions/security/plugins/asset_inventory/public/application.tsx similarity index 100% rename from x-pack/plugins/asset_inventory/public/application.tsx rename to x-pack/solutions/security/plugins/asset_inventory/public/application.tsx diff --git a/x-pack/plugins/asset_inventory/public/components/app.tsx b/x-pack/solutions/security/plugins/asset_inventory/public/components/app.tsx similarity index 100% rename from x-pack/plugins/asset_inventory/public/components/app.tsx rename to x-pack/solutions/security/plugins/asset_inventory/public/components/app.tsx diff --git a/x-pack/plugins/asset_inventory/public/index.ts b/x-pack/solutions/security/plugins/asset_inventory/public/index.ts similarity index 100% rename from x-pack/plugins/asset_inventory/public/index.ts rename to x-pack/solutions/security/plugins/asset_inventory/public/index.ts diff --git a/x-pack/plugins/asset_inventory/public/plugin.ts b/x-pack/solutions/security/plugins/asset_inventory/public/plugin.ts similarity index 100% rename from x-pack/plugins/asset_inventory/public/plugin.ts rename to x-pack/solutions/security/plugins/asset_inventory/public/plugin.ts diff --git a/x-pack/plugins/asset_inventory/public/types.ts b/x-pack/solutions/security/plugins/asset_inventory/public/types.ts similarity index 100% rename from x-pack/plugins/asset_inventory/public/types.ts rename to x-pack/solutions/security/plugins/asset_inventory/public/types.ts diff --git a/x-pack/plugins/asset_inventory/server/create_transforms/create_transforms.ts b/x-pack/solutions/security/plugins/asset_inventory/server/create_transforms/create_transforms.ts similarity index 100% rename from x-pack/plugins/asset_inventory/server/create_transforms/create_transforms.ts rename to x-pack/solutions/security/plugins/asset_inventory/server/create_transforms/create_transforms.ts diff --git a/x-pack/plugins/asset_inventory/server/index.ts b/x-pack/solutions/security/plugins/asset_inventory/server/index.ts similarity index 100% rename from x-pack/plugins/asset_inventory/server/index.ts rename to x-pack/solutions/security/plugins/asset_inventory/server/index.ts diff --git a/x-pack/plugins/asset_inventory/server/plugin.ts b/x-pack/solutions/security/plugins/asset_inventory/server/plugin.ts similarity index 100% rename from x-pack/plugins/asset_inventory/server/plugin.ts rename to x-pack/solutions/security/plugins/asset_inventory/server/plugin.ts diff --git a/x-pack/plugins/asset_inventory/server/routes/index.ts b/x-pack/solutions/security/plugins/asset_inventory/server/routes/index.ts similarity index 100% rename from x-pack/plugins/asset_inventory/server/routes/index.ts rename to x-pack/solutions/security/plugins/asset_inventory/server/routes/index.ts diff --git a/x-pack/plugins/asset_inventory/server/types.ts b/x-pack/solutions/security/plugins/asset_inventory/server/types.ts similarity index 100% rename from x-pack/plugins/asset_inventory/server/types.ts rename to x-pack/solutions/security/plugins/asset_inventory/server/types.ts diff --git a/x-pack/plugins/asset_inventory/tsconfig.json b/x-pack/solutions/security/plugins/asset_inventory/tsconfig.json similarity index 82% rename from x-pack/plugins/asset_inventory/tsconfig.json rename to x-pack/solutions/security/plugins/asset_inventory/tsconfig.json index dc669eb3a6943..b733fc545be25 100644 --- a/x-pack/plugins/asset_inventory/tsconfig.json +++ b/x-pack/solutions/security/plugins/asset_inventory/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -11,7 +11,7 @@ "public/**/*.json", "server/**/*.ts", "server/**/*.json", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "exclude": ["target/**/*"], "kbn_references": [ diff --git a/yarn.lock b/yarn.lock index cfec987d47961..4be9a6a7399f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4009,7 +4009,7 @@ version "0.0.0" uid "" -"@kbn/asset-inventory-plugin@link:x-pack/plugins/asset_inventory": +"@kbn/asset-inventory-plugin@link:x-pack/solutions/security/plugins/asset_inventory": version "0.0.0" uid "" From 6abe3df98df25803e11f8edc7cd305cdb503f193 Mon Sep 17 00:00:00 2001 From: Sean Rathier Date: Fri, 13 Dec 2024 15:02:07 -0500 Subject: [PATCH 02/11] Relocating module `@kbn/cloud-defend-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- packages/deeplinks/security/deep_links.ts | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../security}/plugins/cloud_defend/.i18nrc.json | 0 .../security}/plugins/cloud_defend/README.md | 6 +++--- .../security}/plugins/cloud_defend/common/constants.ts | 0 .../security}/plugins/cloud_defend/common/index.ts | 0 .../security}/plugins/cloud_defend/common/latest.ts | 0 .../security}/plugins/cloud_defend/common/schemas/v1.ts | 0 .../plugins/cloud_defend/common/utils/helpers.test.ts | 0 .../plugins/cloud_defend/common/utils/helpers.ts | 0 .../cloud_defend/common/utils/subscription.test.ts | 0 .../plugins/cloud_defend/common/utils/subscription.ts | 0 .../security}/plugins/cloud_defend/common/v1.ts | 0 .../security}/plugins/cloud_defend/jest.config.js | 8 ++++---- .../security}/plugins/cloud_defend/kibana.jsonc | 0 .../plugins/cloud_defend/public/application/route.tsx | 0 .../cloud_defend/public/application/router.test.tsx | 0 .../plugins/cloud_defend/public/application/router.tsx | 0 .../public/application/security_solution_context.ts | 0 .../cloud_defend/public/application/setup_context.ts | 0 .../plugins/cloud_defend/public/assets/icons/logo.svg | 0 .../public/common/api/use_cloud_defend_integration.tsx | 0 .../public/common/api/use_setup_status_api.ts | 0 .../plugins/cloud_defend/public/common/constants.ts | 0 .../cloud_defend/public/common/hooks/use_kibana.ts | 0 .../cloud_defend/public/common/hooks/use_page_size.ts | 0 .../public/common/hooks/use_subscription_status.ts | 0 .../cloud_defend/public/common/navigation/constants.ts | 0 .../common/navigation/security_solution_links.test.ts | 0 .../public/common/navigation/security_solution_links.ts | 0 .../cloud_defend/public/common/navigation/types.ts | 0 .../navigation/use_cloud_defend_integration_links.ts | 0 .../plugins/cloud_defend/public/common/utils.test.ts | 0 .../security}/plugins/cloud_defend/public/common/utils.ts | 0 .../public/components/cloud_defend_page/index.test.tsx | 0 .../public/components/cloud_defend_page/index.tsx | 0 .../public/components/cloud_defend_page_title/index.tsx | 0 .../public/components/control_general_view/index.test.tsx | 0 .../public/components/control_general_view/index.tsx | 0 .../public/components/control_general_view/styles.ts | 0 .../components/control_general_view/translations.ts | 0 .../control_general_view_response/index.test.tsx | 0 .../components/control_general_view_response/index.tsx | 0 .../components/control_general_view_response/styles.ts | 0 .../control_general_view_selector/index.test.tsx | 0 .../components/control_general_view_selector/index.tsx | 0 .../components/control_general_view_selector/styles.ts | 0 .../public/components/control_settings/index.test.tsx | 0 .../public/components/control_settings/index.tsx | 0 .../public/components/control_settings/translations.ts | 0 .../components/control_yaml_view/hooks/policy_schema.json | 0 .../control_yaml_view/hooks/use_config_model.ts | 0 .../public/components/control_yaml_view/index.test.tsx | 0 .../public/components/control_yaml_view/index.tsx | 0 .../public/components/control_yaml_view/styles.ts | 0 .../public/components/control_yaml_view/translations.ts | 0 .../fleet_extensions/custom_assets_extension.tsx | 0 .../package_policy_replace_define_step_extension.tsx | 0 .../public/components/full_size_page/index.tsx | 0 .../public/components/loading_state/index.tsx | 0 .../public/components/policies_table/index.test.tsx | 0 .../public/components/policies_table/index.tsx | 0 .../public/components/policy_settings/index.test.tsx | 0 .../public/components/policy_settings/index.tsx | 0 .../public/components/policy_settings/translations.ts | 0 .../public/components/subscription_not_allowed/index.tsx | 0 .../public/components/timestamp_table_cell/index.tsx | 0 .../security}/plugins/cloud_defend/public/index.ts | 0 .../security}/plugins/cloud_defend/public/pages/index.ts | 0 .../cloud_defend/public/pages/policies/index.test.tsx | 0 .../plugins/cloud_defend/public/pages/policies/index.tsx | 0 .../cloud_defend/public/pages/policies/test_subjects.ts | 0 .../public/pages/policies/use_cloud_defend_policies.ts | 0 .../security}/plugins/cloud_defend/public/plugin.tsx | 0 .../plugins/cloud_defend/public/test/__mocks__/worker.js | 0 .../public/test/fixtures/cloud_defend_integration.ts | 0 .../cloud_defend/public/test/fixtures/navigation_item.ts | 0 .../cloud_defend/public/test/fixtures/react_query.ts | 0 .../security}/plugins/cloud_defend/public/test/mocks.ts | 0 .../plugins/cloud_defend/public/test/test_provider.tsx | 0 .../security}/plugins/cloud_defend/public/test/utils.ts | 0 .../security}/plugins/cloud_defend/public/types.ts | 0 .../security}/plugins/cloud_defend/server/index.ts | 0 .../plugins/cloud_defend/server/lib/check_index_status.ts | 0 .../plugins/cloud_defend/server/lib/fleet_util.ts | 0 .../lib/telemetry/collectors/accounts_stats_collector.ts | 0 .../lib/telemetry/collectors/indices_stats_collector.ts | 0 .../telemetry/collectors/installation_stats_collector.ts | 0 .../lib/telemetry/collectors/pods_stats_collector.ts | 0 .../server/lib/telemetry/collectors/register.ts | 0 .../server/lib/telemetry/collectors/schema.ts | 0 .../cloud_defend/server/lib/telemetry/collectors/types.ts | 2 +- .../security}/plugins/cloud_defend/server/mocks.ts | 0 .../security}/plugins/cloud_defend/server/plugin.test.ts | 0 .../security}/plugins/cloud_defend/server/plugin.ts | 0 .../cloud_defend/server/routes/policies/policies.test.ts | 0 .../cloud_defend/server/routes/policies/policies.ts | 0 .../plugins/cloud_defend/server/routes/setup_routes.ts | 0 .../cloud_defend/server/routes/status/status.test.ts | 0 .../plugins/cloud_defend/server/routes/status/status.ts | 0 .../security}/plugins/cloud_defend/server/types.ts | 0 .../security}/plugins/cloud_defend/tsconfig.json | 4 ++-- yarn.lock | 2 +- 107 files changed, 18 insertions(+), 18 deletions(-) rename x-pack/{ => solutions/security}/plugins/cloud_defend/.i18nrc.json (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/README.md (85%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/common/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/common/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/common/latest.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/common/schemas/v1.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/common/utils/helpers.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/common/utils/helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/common/utils/subscription.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/common/utils/subscription.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/common/v1.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/jest.config.js (66%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/kibana.jsonc (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/application/route.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/application/router.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/application/router.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/application/security_solution_context.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/application/setup_context.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/assets/icons/logo.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/api/use_cloud_defend_integration.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/api/use_setup_status_api.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/hooks/use_kibana.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/hooks/use_page_size.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/hooks/use_subscription_status.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/navigation/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/navigation/security_solution_links.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/navigation/security_solution_links.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/navigation/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/navigation/use_cloud_defend_integration_links.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/utils.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/common/utils.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/cloud_defend_page/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/cloud_defend_page/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/cloud_defend_page_title/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_general_view/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_general_view/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_general_view/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_general_view/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_general_view_response/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_general_view_response/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_general_view_response/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_general_view_selector/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_general_view_selector/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_general_view_selector/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_settings/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_settings/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_settings/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_yaml_view/hooks/policy_schema.json (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_yaml_view/hooks/use_config_model.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_yaml_view/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_yaml_view/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_yaml_view/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/control_yaml_view/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/fleet_extensions/custom_assets_extension.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/fleet_extensions/package_policy_replace_define_step_extension.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/full_size_page/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/loading_state/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/policies_table/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/policies_table/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/policy_settings/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/policy_settings/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/policy_settings/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/subscription_not_allowed/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/components/timestamp_table_cell/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/pages/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/pages/policies/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/pages/policies/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/pages/policies/test_subjects.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/pages/policies/use_cloud_defend_policies.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/plugin.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/test/__mocks__/worker.js (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/test/fixtures/cloud_defend_integration.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/test/fixtures/navigation_item.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/test/fixtures/react_query.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/test/mocks.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/test/test_provider.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/test/utils.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/public/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/lib/check_index_status.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/lib/fleet_util.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/lib/telemetry/collectors/accounts_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/lib/telemetry/collectors/indices_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/lib/telemetry/collectors/installation_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/lib/telemetry/collectors/pods_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/lib/telemetry/collectors/schema.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/lib/telemetry/collectors/types.ts (96%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/mocks.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/plugin.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/plugin.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/routes/policies/policies.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/routes/policies/policies.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/routes/setup_routes.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/routes/status/status.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/routes/status/status.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/server/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_defend/tsconfig.json (92%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3b84ecfed8f6d..e11a9b69957b5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -885,7 +885,6 @@ x-pack/plugins/banners @elastic/appex-sharedux x-pack/plugins/canvas @elastic/kibana-presentation x-pack/plugins/cases @elastic/response-ops x-pack/plugins/cloud @elastic/kibana-core -x-pack/plugins/cloud_defend @elastic/kibana-cloud-security-posture x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core @@ -997,6 +996,7 @@ x-pack/solutions/security/packages/side_nav @elastic/security-threat-hunting-exp x-pack/solutions/security/packages/storybook/config @elastic/security-threat-hunting-explore x-pack/solutions/security/packages/upselling @elastic/security-threat-hunting-explore x-pack/solutions/security/plugins/asset_inventory @elastic/kibana-cloud-security-posture +x-pack/solutions/security/plugins/cloud_defend @elastic/kibana-cloud-security-posture x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai x-pack/solutions/security/plugins/threat_intelligence @elastic/security-threat-hunting-investigations diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 5ead53c9519f7..402b9231c4d71 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -499,7 +499,7 @@ It was removed, but the plugin was left behind to register no longer used config |Static migration page where self-managed users can see text/copy about migrating to Elastic Cloud -|{kib-repo}blob/{branch}/x-pack/plugins/cloud_defend/README.md[cloudDefend] +|{kib-repo}blob/{branch}/x-pack/solutions/security/plugins/cloud_defend/README.md[cloudDefend] |This plugin currently only exists to provide custom fleet policy UX for a set of new BPF LSM features. The first feature being container "drift prevention". diff --git a/package.json b/package.json index a8cfde479a8b2..05a25ab82b61d 100644 --- a/package.json +++ b/package.json @@ -212,7 +212,7 @@ "@kbn/cloud": "link:packages/cloud", "@kbn/cloud-chat-plugin": "link:x-pack/plugins/cloud_integrations/cloud_chat", "@kbn/cloud-data-migration-plugin": "link:x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration", - "@kbn/cloud-defend-plugin": "link:x-pack/plugins/cloud_defend", + "@kbn/cloud-defend-plugin": "link:x-pack/solutions/security/plugins/cloud_defend", "@kbn/cloud-experiments-plugin": "link:x-pack/plugins/cloud_integrations/cloud_experiments", "@kbn/cloud-full-story-plugin": "link:x-pack/plugins/cloud_integrations/cloud_full_story", "@kbn/cloud-integration-saml-provider-plugin": "link:x-pack/test/cloud_integration/plugins/saml_provider", diff --git a/packages/deeplinks/security/deep_links.ts b/packages/deeplinks/security/deep_links.ts index 2f8229def91df..dc74ef4c30c1e 100644 --- a/packages/deeplinks/security/deep_links.ts +++ b/packages/deeplinks/security/deep_links.ts @@ -30,7 +30,7 @@ export enum SecurityPageName { cloudSecurityPostureRules = 'cloud_security_posture-rules', /* * Warning: Computed values are not permitted in an enum with string valued members - * All cloud defend page names must match `CloudDefendPageId` in x-pack/plugins/cloud_defend/public/common/navigation/types.ts + * All cloud defend page names must match `CloudDefendPageId` in x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/types.ts */ cloudDefend = 'cloud_defend', cloudDefendPolicies = 'cloud_defend-policies', diff --git a/tsconfig.base.json b/tsconfig.base.json index 534349e48f398..5f7d9b5096544 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -164,8 +164,8 @@ "@kbn/cloud-chat-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_chat/*"], "@kbn/cloud-data-migration-plugin": ["x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration"], "@kbn/cloud-data-migration-plugin/*": ["x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/*"], - "@kbn/cloud-defend-plugin": ["x-pack/plugins/cloud_defend"], - "@kbn/cloud-defend-plugin/*": ["x-pack/plugins/cloud_defend/*"], + "@kbn/cloud-defend-plugin": ["x-pack/solutions/security/plugins/cloud_defend"], + "@kbn/cloud-defend-plugin/*": ["x-pack/solutions/security/plugins/cloud_defend/*"], "@kbn/cloud-experiments-plugin": ["x-pack/plugins/cloud_integrations/cloud_experiments"], "@kbn/cloud-experiments-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_experiments/*"], "@kbn/cloud-full-story-plugin": ["x-pack/plugins/cloud_integrations/cloud_full_story"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index f5b38ebec0769..ed8ad16baa681 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -20,7 +20,7 @@ "xpack.canvas": "plugins/canvas", "xpack.cases": "plugins/cases", "xpack.cloud": "plugins/cloud", - "xpack.cloudDefend": "plugins/cloud_defend", + "xpack.cloudDefend": "solutions/security/plugins/cloud_defend", "xpack.cloudLinks": "plugins/cloud_integrations/cloud_links", "xpack.cloudDataMigration": "platform/plugins/private/cloud_integrations/cloud_data_migration", "xpack.csp": [ diff --git a/x-pack/plugins/cloud_defend/.i18nrc.json b/x-pack/solutions/security/plugins/cloud_defend/.i18nrc.json similarity index 100% rename from x-pack/plugins/cloud_defend/.i18nrc.json rename to x-pack/solutions/security/plugins/cloud_defend/.i18nrc.json diff --git a/x-pack/plugins/cloud_defend/README.md b/x-pack/solutions/security/plugins/cloud_defend/README.md similarity index 85% rename from x-pack/plugins/cloud_defend/README.md rename to x-pack/solutions/security/plugins/cloud_defend/README.md index 9df1a13d328d2..8b12271d52535 100755 --- a/x-pack/plugins/cloud_defend/README.md +++ b/x-pack/solutions/security/plugins/cloud_defend/README.md @@ -41,9 +41,9 @@ responses: ## pre commit checks ``` -node scripts/type_check.js --project x-pack/plugins/cloud_defend/tsconfig.json -node scripts/eslint.js x-pack/plugins/cloud_defend -yarn test:jest x-pack/plugins/cloud_defend +node scripts/type_check.js --project x-pack/solutions/security/plugins/cloud_defend/tsconfig.json +node scripts/eslint.js x-pack/solutions/security/plugins/cloud_defend +yarn test:jest x-pack/solutions/security/plugins/cloud_defend ``` See the [kibana contributing guide](https://github.com/elastic/kibana/blob/main/CONTRIBUTING.md) for instructions setting up your development environment. diff --git a/x-pack/plugins/cloud_defend/common/constants.ts b/x-pack/solutions/security/plugins/cloud_defend/common/constants.ts similarity index 100% rename from x-pack/plugins/cloud_defend/common/constants.ts rename to x-pack/solutions/security/plugins/cloud_defend/common/constants.ts diff --git a/x-pack/plugins/cloud_defend/common/index.ts b/x-pack/solutions/security/plugins/cloud_defend/common/index.ts similarity index 100% rename from x-pack/plugins/cloud_defend/common/index.ts rename to x-pack/solutions/security/plugins/cloud_defend/common/index.ts diff --git a/x-pack/plugins/cloud_defend/common/latest.ts b/x-pack/solutions/security/plugins/cloud_defend/common/latest.ts similarity index 100% rename from x-pack/plugins/cloud_defend/common/latest.ts rename to x-pack/solutions/security/plugins/cloud_defend/common/latest.ts diff --git a/x-pack/plugins/cloud_defend/common/schemas/v1.ts b/x-pack/solutions/security/plugins/cloud_defend/common/schemas/v1.ts similarity index 100% rename from x-pack/plugins/cloud_defend/common/schemas/v1.ts rename to x-pack/solutions/security/plugins/cloud_defend/common/schemas/v1.ts diff --git a/x-pack/plugins/cloud_defend/common/utils/helpers.test.ts b/x-pack/solutions/security/plugins/cloud_defend/common/utils/helpers.test.ts similarity index 100% rename from x-pack/plugins/cloud_defend/common/utils/helpers.test.ts rename to x-pack/solutions/security/plugins/cloud_defend/common/utils/helpers.test.ts diff --git a/x-pack/plugins/cloud_defend/common/utils/helpers.ts b/x-pack/solutions/security/plugins/cloud_defend/common/utils/helpers.ts similarity index 100% rename from x-pack/plugins/cloud_defend/common/utils/helpers.ts rename to x-pack/solutions/security/plugins/cloud_defend/common/utils/helpers.ts diff --git a/x-pack/plugins/cloud_defend/common/utils/subscription.test.ts b/x-pack/solutions/security/plugins/cloud_defend/common/utils/subscription.test.ts similarity index 100% rename from x-pack/plugins/cloud_defend/common/utils/subscription.test.ts rename to x-pack/solutions/security/plugins/cloud_defend/common/utils/subscription.test.ts diff --git a/x-pack/plugins/cloud_defend/common/utils/subscription.ts b/x-pack/solutions/security/plugins/cloud_defend/common/utils/subscription.ts similarity index 100% rename from x-pack/plugins/cloud_defend/common/utils/subscription.ts rename to x-pack/solutions/security/plugins/cloud_defend/common/utils/subscription.ts diff --git a/x-pack/plugins/cloud_defend/common/v1.ts b/x-pack/solutions/security/plugins/cloud_defend/common/v1.ts similarity index 100% rename from x-pack/plugins/cloud_defend/common/v1.ts rename to x-pack/solutions/security/plugins/cloud_defend/common/v1.ts diff --git a/x-pack/plugins/cloud_defend/jest.config.js b/x-pack/solutions/security/plugins/cloud_defend/jest.config.js similarity index 66% rename from x-pack/plugins/cloud_defend/jest.config.js rename to x-pack/solutions/security/plugins/cloud_defend/jest.config.js index 144b2f1ad9e19..61bc21fda7236 100644 --- a/x-pack/plugins/cloud_defend/jest.config.js +++ b/x-pack/solutions/security/plugins/cloud_defend/jest.config.js @@ -8,11 +8,11 @@ /** @type {import('@jest/types').Config.InitialOptions} */ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/cloud_defend'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/cloud_defend', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/security/plugins/cloud_defend'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/cloud_defend', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_defend/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/solutions/security/plugins/cloud_defend/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/cloud_defend/kibana.jsonc b/x-pack/solutions/security/plugins/cloud_defend/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud_defend/kibana.jsonc rename to x-pack/solutions/security/plugins/cloud_defend/kibana.jsonc diff --git a/x-pack/plugins/cloud_defend/public/application/route.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/application/route.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/application/route.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/application/route.tsx diff --git a/x-pack/plugins/cloud_defend/public/application/router.test.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/application/router.test.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/application/router.test.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/application/router.test.tsx diff --git a/x-pack/plugins/cloud_defend/public/application/router.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/application/router.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/application/router.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/application/router.tsx diff --git a/x-pack/plugins/cloud_defend/public/application/security_solution_context.ts b/x-pack/solutions/security/plugins/cloud_defend/public/application/security_solution_context.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/application/security_solution_context.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/application/security_solution_context.ts diff --git a/x-pack/plugins/cloud_defend/public/application/setup_context.ts b/x-pack/solutions/security/plugins/cloud_defend/public/application/setup_context.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/application/setup_context.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/application/setup_context.ts diff --git a/x-pack/plugins/cloud_defend/public/assets/icons/logo.svg b/x-pack/solutions/security/plugins/cloud_defend/public/assets/icons/logo.svg similarity index 100% rename from x-pack/plugins/cloud_defend/public/assets/icons/logo.svg rename to x-pack/solutions/security/plugins/cloud_defend/public/assets/icons/logo.svg diff --git a/x-pack/plugins/cloud_defend/public/common/api/use_cloud_defend_integration.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/common/api/use_cloud_defend_integration.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/api/use_cloud_defend_integration.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/common/api/use_cloud_defend_integration.tsx diff --git a/x-pack/plugins/cloud_defend/public/common/api/use_setup_status_api.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/api/use_setup_status_api.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/api/use_setup_status_api.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/api/use_setup_status_api.ts diff --git a/x-pack/plugins/cloud_defend/public/common/constants.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/constants.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/constants.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/constants.ts diff --git a/x-pack/plugins/cloud_defend/public/common/hooks/use_kibana.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/hooks/use_kibana.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/hooks/use_kibana.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/hooks/use_kibana.ts diff --git a/x-pack/plugins/cloud_defend/public/common/hooks/use_page_size.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/hooks/use_page_size.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/hooks/use_page_size.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/hooks/use_page_size.ts diff --git a/x-pack/plugins/cloud_defend/public/common/hooks/use_subscription_status.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/hooks/use_subscription_status.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/hooks/use_subscription_status.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/hooks/use_subscription_status.ts diff --git a/x-pack/plugins/cloud_defend/public/common/navigation/constants.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/constants.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/navigation/constants.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/constants.ts diff --git a/x-pack/plugins/cloud_defend/public/common/navigation/security_solution_links.test.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/security_solution_links.test.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/navigation/security_solution_links.test.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/security_solution_links.test.ts diff --git a/x-pack/plugins/cloud_defend/public/common/navigation/security_solution_links.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/security_solution_links.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/navigation/security_solution_links.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/security_solution_links.ts diff --git a/x-pack/plugins/cloud_defend/public/common/navigation/types.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/types.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/navigation/types.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/types.ts diff --git a/x-pack/plugins/cloud_defend/public/common/navigation/use_cloud_defend_integration_links.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/use_cloud_defend_integration_links.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/navigation/use_cloud_defend_integration_links.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/navigation/use_cloud_defend_integration_links.ts diff --git a/x-pack/plugins/cloud_defend/public/common/utils.test.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/utils.test.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/utils.test.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/utils.test.ts diff --git a/x-pack/plugins/cloud_defend/public/common/utils.ts b/x-pack/solutions/security/plugins/cloud_defend/public/common/utils.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/common/utils.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/common/utils.ts diff --git a/x-pack/plugins/cloud_defend/public/components/cloud_defend_page/index.test.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/cloud_defend_page/index.test.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/cloud_defend_page/index.test.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/cloud_defend_page/index.test.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/cloud_defend_page/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/cloud_defend_page/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/cloud_defend_page/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/cloud_defend_page/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/cloud_defend_page_title/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/cloud_defend_page_title/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/cloud_defend_page_title/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/cloud_defend_page_title/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view/index.test.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view/index.test.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_general_view/index.test.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view/index.test.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_general_view/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view/styles.ts b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view/styles.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_general_view/styles.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view/styles.ts diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view/translations.ts b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view/translations.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_general_view/translations.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view/translations.ts diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.test.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_response/index.test.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.test.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_response/index.test.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_response/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_response/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view_response/styles.ts b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_response/styles.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_general_view_response/styles.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_response/styles.ts diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.test.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_selector/index.test.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.test.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_selector/index.test.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_selector/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_selector/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/styles.ts b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_selector/styles.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_general_view_selector/styles.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_general_view_selector/styles.ts diff --git a/x-pack/plugins/cloud_defend/public/components/control_settings/index.test.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_settings/index.test.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_settings/index.test.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_settings/index.test.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_settings/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_settings/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_settings/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_settings/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_settings/translations.ts b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_settings/translations.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_settings/translations.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_settings/translations.ts diff --git a/x-pack/plugins/cloud_defend/public/components/control_yaml_view/hooks/policy_schema.json b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/hooks/policy_schema.json similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_yaml_view/hooks/policy_schema.json rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/hooks/policy_schema.json diff --git a/x-pack/plugins/cloud_defend/public/components/control_yaml_view/hooks/use_config_model.ts b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/hooks/use_config_model.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_yaml_view/hooks/use_config_model.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/hooks/use_config_model.ts diff --git a/x-pack/plugins/cloud_defend/public/components/control_yaml_view/index.test.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/index.test.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_yaml_view/index.test.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/index.test.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_yaml_view/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_yaml_view/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/control_yaml_view/styles.ts b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/styles.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_yaml_view/styles.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/styles.ts diff --git a/x-pack/plugins/cloud_defend/public/components/control_yaml_view/translations.ts b/x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/translations.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/control_yaml_view/translations.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/components/control_yaml_view/translations.ts diff --git a/x-pack/plugins/cloud_defend/public/components/fleet_extensions/custom_assets_extension.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/fleet_extensions/custom_assets_extension.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/fleet_extensions/custom_assets_extension.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/fleet_extensions/custom_assets_extension.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/fleet_extensions/package_policy_replace_define_step_extension.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/fleet_extensions/package_policy_replace_define_step_extension.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/fleet_extensions/package_policy_replace_define_step_extension.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/fleet_extensions/package_policy_replace_define_step_extension.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/full_size_page/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/full_size_page/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/full_size_page/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/full_size_page/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/loading_state/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/loading_state/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/loading_state/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/loading_state/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/policies_table/index.test.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/policies_table/index.test.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/policies_table/index.test.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/policies_table/index.test.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/policies_table/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/policies_table/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/policies_table/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/policies_table/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/policy_settings/index.test.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/policy_settings/index.test.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/policy_settings/index.test.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/policy_settings/index.test.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/policy_settings/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/policy_settings/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/policy_settings/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/policy_settings/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/policy_settings/translations.ts b/x-pack/solutions/security/plugins/cloud_defend/public/components/policy_settings/translations.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/policy_settings/translations.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/components/policy_settings/translations.ts diff --git a/x-pack/plugins/cloud_defend/public/components/subscription_not_allowed/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/subscription_not_allowed/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/subscription_not_allowed/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/subscription_not_allowed/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/components/timestamp_table_cell/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/components/timestamp_table_cell/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/components/timestamp_table_cell/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/components/timestamp_table_cell/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/index.ts b/x-pack/solutions/security/plugins/cloud_defend/public/index.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/index.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/index.ts diff --git a/x-pack/plugins/cloud_defend/public/pages/index.ts b/x-pack/solutions/security/plugins/cloud_defend/public/pages/index.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/pages/index.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/pages/index.ts diff --git a/x-pack/plugins/cloud_defend/public/pages/policies/index.test.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/pages/policies/index.test.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/pages/policies/index.test.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/pages/policies/index.test.tsx diff --git a/x-pack/plugins/cloud_defend/public/pages/policies/index.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/pages/policies/index.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/pages/policies/index.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/pages/policies/index.tsx diff --git a/x-pack/plugins/cloud_defend/public/pages/policies/test_subjects.ts b/x-pack/solutions/security/plugins/cloud_defend/public/pages/policies/test_subjects.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/pages/policies/test_subjects.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/pages/policies/test_subjects.ts diff --git a/x-pack/plugins/cloud_defend/public/pages/policies/use_cloud_defend_policies.ts b/x-pack/solutions/security/plugins/cloud_defend/public/pages/policies/use_cloud_defend_policies.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/pages/policies/use_cloud_defend_policies.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/pages/policies/use_cloud_defend_policies.ts diff --git a/x-pack/plugins/cloud_defend/public/plugin.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/plugin.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/plugin.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/plugin.tsx diff --git a/x-pack/plugins/cloud_defend/public/test/__mocks__/worker.js b/x-pack/solutions/security/plugins/cloud_defend/public/test/__mocks__/worker.js similarity index 100% rename from x-pack/plugins/cloud_defend/public/test/__mocks__/worker.js rename to x-pack/solutions/security/plugins/cloud_defend/public/test/__mocks__/worker.js diff --git a/x-pack/plugins/cloud_defend/public/test/fixtures/cloud_defend_integration.ts b/x-pack/solutions/security/plugins/cloud_defend/public/test/fixtures/cloud_defend_integration.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/test/fixtures/cloud_defend_integration.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/test/fixtures/cloud_defend_integration.ts diff --git a/x-pack/plugins/cloud_defend/public/test/fixtures/navigation_item.ts b/x-pack/solutions/security/plugins/cloud_defend/public/test/fixtures/navigation_item.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/test/fixtures/navigation_item.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/test/fixtures/navigation_item.ts diff --git a/x-pack/plugins/cloud_defend/public/test/fixtures/react_query.ts b/x-pack/solutions/security/plugins/cloud_defend/public/test/fixtures/react_query.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/test/fixtures/react_query.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/test/fixtures/react_query.ts diff --git a/x-pack/plugins/cloud_defend/public/test/mocks.ts b/x-pack/solutions/security/plugins/cloud_defend/public/test/mocks.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/test/mocks.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/test/mocks.ts diff --git a/x-pack/plugins/cloud_defend/public/test/test_provider.tsx b/x-pack/solutions/security/plugins/cloud_defend/public/test/test_provider.tsx similarity index 100% rename from x-pack/plugins/cloud_defend/public/test/test_provider.tsx rename to x-pack/solutions/security/plugins/cloud_defend/public/test/test_provider.tsx diff --git a/x-pack/plugins/cloud_defend/public/test/utils.ts b/x-pack/solutions/security/plugins/cloud_defend/public/test/utils.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/test/utils.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/test/utils.ts diff --git a/x-pack/plugins/cloud_defend/public/types.ts b/x-pack/solutions/security/plugins/cloud_defend/public/types.ts similarity index 100% rename from x-pack/plugins/cloud_defend/public/types.ts rename to x-pack/solutions/security/plugins/cloud_defend/public/types.ts diff --git a/x-pack/plugins/cloud_defend/server/index.ts b/x-pack/solutions/security/plugins/cloud_defend/server/index.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/index.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/index.ts diff --git a/x-pack/plugins/cloud_defend/server/lib/check_index_status.ts b/x-pack/solutions/security/plugins/cloud_defend/server/lib/check_index_status.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/lib/check_index_status.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/lib/check_index_status.ts diff --git a/x-pack/plugins/cloud_defend/server/lib/fleet_util.ts b/x-pack/solutions/security/plugins/cloud_defend/server/lib/fleet_util.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/lib/fleet_util.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/lib/fleet_util.ts diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/accounts_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/accounts_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/accounts_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/accounts_stats_collector.ts diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/indices_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/indices_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/indices_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/indices_stats_collector.ts diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/installation_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/installation_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/installation_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/installation_stats_collector.ts diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/pods_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/pods_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/pods_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/pods_stats_collector.ts diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts b/x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/schema.ts b/x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/schema.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/schema.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/schema.ts diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/types.ts b/x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/types.ts similarity index 96% rename from x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/types.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/types.ts index 32de2548cf7c2..6aca6936af649 100644 --- a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/types.ts +++ b/x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/types.ts @@ -6,7 +6,7 @@ */ // for some reason we can't reference common/index.ts because // the `node scripts/check_telemetry.js --fix` command fails with the error -// ERROR Error: Error extracting collector in x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts +// ERROR Error: Error extracting collector in x-pack/solutions/security/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts // Error: Unable to find identifier in source Selector // at createFailError (dev_cli_errors.ts:27:24) // at parseUsageCollection (ts_parser.ts:226:32) diff --git a/x-pack/plugins/cloud_defend/server/mocks.ts b/x-pack/solutions/security/plugins/cloud_defend/server/mocks.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/mocks.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/mocks.ts diff --git a/x-pack/plugins/cloud_defend/server/plugin.test.ts b/x-pack/solutions/security/plugins/cloud_defend/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/plugin.test.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/plugin.test.ts diff --git a/x-pack/plugins/cloud_defend/server/plugin.ts b/x-pack/solutions/security/plugins/cloud_defend/server/plugin.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/plugin.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/plugin.ts diff --git a/x-pack/plugins/cloud_defend/server/routes/policies/policies.test.ts b/x-pack/solutions/security/plugins/cloud_defend/server/routes/policies/policies.test.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/routes/policies/policies.test.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/routes/policies/policies.test.ts diff --git a/x-pack/plugins/cloud_defend/server/routes/policies/policies.ts b/x-pack/solutions/security/plugins/cloud_defend/server/routes/policies/policies.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/routes/policies/policies.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/routes/policies/policies.ts diff --git a/x-pack/plugins/cloud_defend/server/routes/setup_routes.ts b/x-pack/solutions/security/plugins/cloud_defend/server/routes/setup_routes.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/routes/setup_routes.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/routes/setup_routes.ts diff --git a/x-pack/plugins/cloud_defend/server/routes/status/status.test.ts b/x-pack/solutions/security/plugins/cloud_defend/server/routes/status/status.test.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/routes/status/status.test.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/routes/status/status.test.ts diff --git a/x-pack/plugins/cloud_defend/server/routes/status/status.ts b/x-pack/solutions/security/plugins/cloud_defend/server/routes/status/status.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/routes/status/status.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/routes/status/status.ts diff --git a/x-pack/plugins/cloud_defend/server/types.ts b/x-pack/solutions/security/plugins/cloud_defend/server/types.ts similarity index 100% rename from x-pack/plugins/cloud_defend/server/types.ts rename to x-pack/solutions/security/plugins/cloud_defend/server/types.ts diff --git a/x-pack/plugins/cloud_defend/tsconfig.json b/x-pack/solutions/security/plugins/cloud_defend/tsconfig.json similarity index 92% rename from x-pack/plugins/cloud_defend/tsconfig.json rename to x-pack/solutions/security/plugins/cloud_defend/tsconfig.json index 9b87f53f7c7b6..cce09d24d8d58 100755 --- a/x-pack/plugins/cloud_defend/tsconfig.json +++ b/x-pack/solutions/security/plugins/cloud_defend/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -7,7 +7,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*", + "../../../../../typings/**/*", "public/**/*.json", "server/**/*.json" ], diff --git a/yarn.lock b/yarn.lock index 4be9a6a7399f7..b4216f71d7949 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4141,7 +4141,7 @@ version "0.0.0" uid "" -"@kbn/cloud-defend-plugin@link:x-pack/plugins/cloud_defend": +"@kbn/cloud-defend-plugin@link:x-pack/solutions/security/plugins/cloud_defend": version "0.0.0" uid "" From 29ec814c94a11f322b1e5d34be4cc2349135c62b Mon Sep 17 00:00:00 2001 From: Sean Rathier Date: Fri, 13 Dec 2024 15:03:23 -0500 Subject: [PATCH 03/11] Relocating module `@kbn/cloud-security-posture` --- .github/CODEOWNERS | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- .../packages/kbn-cloud-security-posture/public/index.ts | 0 .../packages/kbn-cloud-security-posture/public/jest.config.js | 4 ++-- .../packages/kbn-cloud-security-posture/public/kibana.jsonc | 0 .../packages/kbn-cloud-security-posture/public/package.json | 0 .../public/src/components/csp_evaluation_badge.tsx | 0 .../public/src/components/vulnerability_badges.tsx | 0 .../public/src/constants/component_constants.ts | 0 .../public/src/constants/navigation.ts | 0 .../public/src/hooks/use_csp_setup_status_api.ts | 0 .../public/src/hooks/use_data_view.ts | 0 .../public/src/hooks/use_get_benchmark_rules_state_api.ts | 0 .../public/src/hooks/use_get_navigation_url_params.ts | 0 .../public/src/hooks/use_has_misconfigurations.ts | 0 .../public/src/hooks/use_has_vulnerabilities.ts | 0 .../public/src/hooks/use_misconfiguration_findings.ts | 0 .../public/src/hooks/use_misconfiguration_preview.ts | 0 .../public/src/hooks/use_navigate_findings.test.ts | 0 .../public/src/hooks/use_navigate_findings.ts | 0 .../public/src/hooks/use_vulnerabilities_findings.ts | 0 .../public/src/hooks/use_vulnerabilities_preview.ts | 0 .../packages/kbn-cloud-security-posture/public/src/types.ts | 0 .../public/src/utils/get_vulnerabilitiy_colors.test.ts | 0 .../public/src/utils/get_vulnerability_colors.ts | 0 .../public/src/utils/get_vulnerability_text.test.ts | 0 .../public/src/utils/get_vulnerability_text.ts | 0 .../public/src/utils/hooks_utils.test.ts | 0 .../public/src/utils/hooks_utils.ts | 0 .../public/src/utils/query_utils.test.ts | 0 .../public/src/utils/query_utils.ts | 0 .../public/src/utils/show_error_toast.ts | 0 .../public/src/utils/vulnerability_helpers.test.ts | 0 .../public/src/utils/vulnerability_helpers.ts | 0 .../packages/kbn-cloud-security-posture/public/tsconfig.json | 2 +- yarn.lock | 2 +- 37 files changed, 8 insertions(+), 8 deletions(-) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/index.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/jest.config.js (70%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/kibana.jsonc (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/package.json (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/components/csp_evaluation_badge.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/components/vulnerability_badges.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/constants/component_constants.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/constants/navigation.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_csp_setup_status_api.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_data_view.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_get_benchmark_rules_state_api.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_get_navigation_url_params.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_has_misconfigurations.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_has_vulnerabilities.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_navigate_findings.test.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_navigate_findings.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_findings.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_preview.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/types.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerabilitiy_colors.test.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_colors.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_text.test.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_text.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.test.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/query_utils.test.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/query_utils.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/show_error_toast.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.test.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/public/tsconfig.json (94%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e11a9b69957b5..13f62f517097c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -781,7 +781,6 @@ x-pack/packages/kbn-alerting-comparators @elastic/response-ops x-pack/packages/kbn-alerting-state-types @elastic/response-ops x-pack/packages/kbn-cloud-security-posture/common @elastic/kibana-cloud-security-posture x-pack/packages/kbn-cloud-security-posture/graph @elastic/kibana-cloud-security-posture -x-pack/packages/kbn-cloud-security-posture/public @elastic/kibana-cloud-security-posture x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team x-pack/packages/maps/vector_tile_utils @elastic/kibana-presentation @@ -991,6 +990,7 @@ x-pack/solutions/security/packages/ecs_data_quality_dashboard @elastic/security- x-pack/solutions/security/packages/expandable-flyout @elastic/security-threat-hunting-investigations x-pack/solutions/security/packages/features @elastic/security-threat-hunting-explore x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting +x-pack/solutions/security/packages/kbn-cloud-security-posture/public @elastic/kibana-cloud-security-posture x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-explore x-pack/solutions/security/packages/side_nav @elastic/security-threat-hunting-explore x-pack/solutions/security/packages/storybook/config @elastic/security-threat-hunting-explore diff --git a/package.json b/package.json index 05a25ab82b61d..59f87d2015159 100644 --- a/package.json +++ b/package.json @@ -218,7 +218,7 @@ "@kbn/cloud-integration-saml-provider-plugin": "link:x-pack/test/cloud_integration/plugins/saml_provider", "@kbn/cloud-links-plugin": "link:x-pack/plugins/cloud_integrations/cloud_links", "@kbn/cloud-plugin": "link:x-pack/plugins/cloud", - "@kbn/cloud-security-posture": "link:x-pack/packages/kbn-cloud-security-posture/public", + "@kbn/cloud-security-posture": "link:x-pack/solutions/security/packages/kbn-cloud-security-posture/public", "@kbn/cloud-security-posture-common": "link:x-pack/packages/kbn-cloud-security-posture/common", "@kbn/cloud-security-posture-graph": "link:x-pack/packages/kbn-cloud-security-posture/graph", "@kbn/cloud-security-posture-plugin": "link:x-pack/plugins/cloud_security_posture", diff --git a/tsconfig.base.json b/tsconfig.base.json index 5f7d9b5096544..2b2f84b211685 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -176,8 +176,8 @@ "@kbn/cloud-links-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_links/*"], "@kbn/cloud-plugin": ["x-pack/plugins/cloud"], "@kbn/cloud-plugin/*": ["x-pack/plugins/cloud/*"], - "@kbn/cloud-security-posture": ["x-pack/packages/kbn-cloud-security-posture/public"], - "@kbn/cloud-security-posture/*": ["x-pack/packages/kbn-cloud-security-posture/public/*"], + "@kbn/cloud-security-posture": ["x-pack/solutions/security/packages/kbn-cloud-security-posture/public"], + "@kbn/cloud-security-posture/*": ["x-pack/solutions/security/packages/kbn-cloud-security-posture/public/*"], "@kbn/cloud-security-posture-common": ["x-pack/packages/kbn-cloud-security-posture/common"], "@kbn/cloud-security-posture-common/*": ["x-pack/packages/kbn-cloud-security-posture/common/*"], "@kbn/cloud-security-posture-graph": ["x-pack/packages/kbn-cloud-security-posture/graph"], diff --git a/x-pack/packages/kbn-cloud-security-posture/public/index.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/index.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/index.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/index.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/jest.config.js b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/jest.config.js similarity index 70% rename from x-pack/packages/kbn-cloud-security-posture/public/jest.config.js rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/jest.config.js index 1c1a8c84561c1..c5a8f9ba2694d 100644 --- a/x-pack/packages/kbn-cloud-security-posture/public/jest.config.js +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/kbn-cloud-security-posture/public'], + rootDir: '../../../../../..', + roots: ['/x-pack/solutions/security/packages/kbn-cloud-security-posture/public'], }; diff --git a/x-pack/packages/kbn-cloud-security-posture/public/kibana.jsonc b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/kibana.jsonc rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/kibana.jsonc diff --git a/x-pack/packages/kbn-cloud-security-posture/public/package.json b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/package.json similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/package.json rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/package.json diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/components/csp_evaluation_badge.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/csp_evaluation_badge.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/components/csp_evaluation_badge.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/csp_evaluation_badge.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/components/vulnerability_badges.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/vulnerability_badges.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/components/vulnerability_badges.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/vulnerability_badges.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/constants/component_constants.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/constants/component_constants.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/constants/component_constants.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/constants/component_constants.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/constants/navigation.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/constants/navigation.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/constants/navigation.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/constants/navigation.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_csp_setup_status_api.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_csp_setup_status_api.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_csp_setup_status_api.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_csp_setup_status_api.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_data_view.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_data_view.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_data_view.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_data_view.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_get_benchmark_rules_state_api.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_get_benchmark_rules_state_api.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_get_benchmark_rules_state_api.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_get_benchmark_rules_state_api.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_get_navigation_url_params.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_get_navigation_url_params.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_get_navigation_url_params.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_get_navigation_url_params.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_has_misconfigurations.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_has_misconfigurations.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_has_misconfigurations.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_has_misconfigurations.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_has_vulnerabilities.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_has_vulnerabilities.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_has_vulnerabilities.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_has_vulnerabilities.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_navigate_findings.test.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_navigate_findings.test.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_navigate_findings.test.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_navigate_findings.test.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_navigate_findings.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_navigate_findings.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_navigate_findings.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_navigate_findings.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_findings.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_findings.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_findings.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_findings.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_preview.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_preview.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_preview.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_vulnerabilities_preview.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/types.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/types.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/types.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/types.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerabilitiy_colors.test.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerabilitiy_colors.test.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerabilitiy_colors.test.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerabilitiy_colors.test.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_colors.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_colors.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_colors.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_colors.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_text.test.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_text.test.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_text.test.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_text.test.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_text.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_text.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_text.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/get_vulnerability_text.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.test.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.test.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.test.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.test.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/query_utils.test.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/query_utils.test.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/query_utils.test.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/query_utils.test.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/query_utils.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/query_utils.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/query_utils.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/query_utils.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/show_error_toast.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/show_error_toast.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/show_error_toast.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/show_error_toast.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.test.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.test.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.test.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/public/tsconfig.json b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/tsconfig.json similarity index 94% rename from x-pack/packages/kbn-cloud-security-posture/public/tsconfig.json rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/public/tsconfig.json index 8c950553c7cde..80f3333bd276a 100644 --- a/x-pack/packages/kbn-cloud-security-posture/public/tsconfig.json +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/yarn.lock b/yarn.lock index b4216f71d7949..6a824933050da 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4177,7 +4177,7 @@ version "0.0.0" uid "" -"@kbn/cloud-security-posture@link:x-pack/packages/kbn-cloud-security-posture/public": +"@kbn/cloud-security-posture@link:x-pack/solutions/security/packages/kbn-cloud-security-posture/public": version "0.0.0" uid "" From 3ab15a87f66729c82a69b5c935d464b6e2e29672 Mon Sep 17 00:00:00 2001 From: Sean Rathier Date: Fri, 13 Dec 2024 15:04:39 -0500 Subject: [PATCH 04/11] Relocating module `@kbn/cloud-security-posture-common` --- .github/CODEOWNERS | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- .../shared}/kbn-cloud-security-posture/common/README.md | 0 .../shared}/kbn-cloud-security-posture/common/constants.ts | 0 .../shared}/kbn-cloud-security-posture/common/index.ts | 0 .../shared}/kbn-cloud-security-posture/common/jest.config.js | 4 ++-- .../shared}/kbn-cloud-security-posture/common/kibana.jsonc | 0 .../shared}/kbn-cloud-security-posture/common/package.json | 0 .../kbn-cloud-security-posture/common/schema/graph/index.ts | 0 .../kbn-cloud-security-posture/common/schema/graph/latest.ts | 0 .../kbn-cloud-security-posture/common/schema/graph/v1.ts | 0 .../kbn-cloud-security-posture/common/schema/rules/index.ts | 0 .../kbn-cloud-security-posture/common/schema/rules/latest.ts | 0 .../kbn-cloud-security-posture/common/schema/rules/v1.ts | 0 .../kbn-cloud-security-posture/common/schema/rules/v2.ts | 0 .../kbn-cloud-security-posture/common/schema/rules/v3.ts | 0 .../kbn-cloud-security-posture/common/schema/rules/v4.ts | 0 .../kbn-cloud-security-posture/common/schema/rules/v5.ts | 0 .../schema/vulnerabilities/csp_vulnerability_finding.ts | 0 .../common/schema/vulnerabilities/latest.ts | 0 .../shared}/kbn-cloud-security-posture/common/tsconfig.json | 2 +- .../kbn-cloud-security-posture/common/types/benchmark.ts | 0 .../kbn-cloud-security-posture/common/types/findings.ts | 0 .../kbn-cloud-security-posture/common/types/graph/index.ts | 0 .../kbn-cloud-security-posture/common/types/graph/latest.ts | 0 .../kbn-cloud-security-posture/common/types/graph/v1.ts | 0 .../shared}/kbn-cloud-security-posture/common/types/status.ts | 0 .../common/types/vulnerabilities.ts | 0 .../common/utils/get_abbreviated_number.test.ts | 0 .../common/utils/get_abbreviated_number.ts | 0 .../kbn-cloud-security-posture/common/utils/helpers.test.ts | 0 .../kbn-cloud-security-posture/common/utils/helpers.ts | 0 .../kbn-cloud-security-posture/common/utils/ui_metrics.ts | 0 yarn.lock | 2 +- 35 files changed, 8 insertions(+), 8 deletions(-) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/README.md (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/jest.config.js (71%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/package.json (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/graph/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/graph/latest.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/graph/v1.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/rules/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/rules/latest.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/rules/v1.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/rules/v2.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/rules/v3.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/rules/v4.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/rules/v5.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/vulnerabilities/csp_vulnerability_finding.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/schema/vulnerabilities/latest.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/tsconfig.json (87%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/types/benchmark.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/types/findings.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/types/graph/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/types/graph/latest.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/types/graph/v1.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/types/status.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/types/vulnerabilities.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/utils/get_abbreviated_number.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/utils/get_abbreviated_number.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/utils/helpers.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/utils/helpers.ts (100%) rename x-pack/{packages => platform/packages/shared}/kbn-cloud-security-posture/common/utils/ui_metrics.ts (100%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 13f62f517097c..9d878b999ded6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -779,7 +779,6 @@ x-pack/packages/kbn-ai-assistant @elastic/search-kibana x-pack/packages/kbn-ai-assistant-common @elastic/search-kibana x-pack/packages/kbn-alerting-comparators @elastic/response-ops x-pack/packages/kbn-alerting-state-types @elastic/response-ops -x-pack/packages/kbn-cloud-security-posture/common @elastic/kibana-cloud-security-posture x-pack/packages/kbn-cloud-security-posture/graph @elastic/kibana-cloud-security-posture x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team @@ -835,6 +834,7 @@ x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infr x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management x-pack/platform/packages/shared/index-management/index_management_shared_types @elastic/kibana-management +x-pack/platform/packages/shared/kbn-cloud-security-posture/common @elastic/kibana-cloud-security-posture x-pack/platform/packages/shared/kbn-data-forge @elastic/obs-ux-management-team x-pack/platform/packages/shared/kbn-elastic-assistant @elastic/security-generative-ai x-pack/platform/packages/shared/kbn-elastic-assistant-common @elastic/security-generative-ai diff --git a/package.json b/package.json index 59f87d2015159..bc6b4e708c726 100644 --- a/package.json +++ b/package.json @@ -219,7 +219,7 @@ "@kbn/cloud-links-plugin": "link:x-pack/plugins/cloud_integrations/cloud_links", "@kbn/cloud-plugin": "link:x-pack/plugins/cloud", "@kbn/cloud-security-posture": "link:x-pack/solutions/security/packages/kbn-cloud-security-posture/public", - "@kbn/cloud-security-posture-common": "link:x-pack/packages/kbn-cloud-security-posture/common", + "@kbn/cloud-security-posture-common": "link:x-pack/platform/packages/shared/kbn-cloud-security-posture/common", "@kbn/cloud-security-posture-graph": "link:x-pack/packages/kbn-cloud-security-posture/graph", "@kbn/cloud-security-posture-plugin": "link:x-pack/plugins/cloud_security_posture", "@kbn/code-editor": "link:packages/shared-ux/code_editor/impl", diff --git a/tsconfig.base.json b/tsconfig.base.json index 2b2f84b211685..942fe4b35ca34 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -178,8 +178,8 @@ "@kbn/cloud-plugin/*": ["x-pack/plugins/cloud/*"], "@kbn/cloud-security-posture": ["x-pack/solutions/security/packages/kbn-cloud-security-posture/public"], "@kbn/cloud-security-posture/*": ["x-pack/solutions/security/packages/kbn-cloud-security-posture/public/*"], - "@kbn/cloud-security-posture-common": ["x-pack/packages/kbn-cloud-security-posture/common"], - "@kbn/cloud-security-posture-common/*": ["x-pack/packages/kbn-cloud-security-posture/common/*"], + "@kbn/cloud-security-posture-common": ["x-pack/platform/packages/shared/kbn-cloud-security-posture/common"], + "@kbn/cloud-security-posture-common/*": ["x-pack/platform/packages/shared/kbn-cloud-security-posture/common/*"], "@kbn/cloud-security-posture-graph": ["x-pack/packages/kbn-cloud-security-posture/graph"], "@kbn/cloud-security-posture-graph/*": ["x-pack/packages/kbn-cloud-security-posture/graph/*"], "@kbn/cloud-security-posture-plugin": ["x-pack/plugins/cloud_security_posture"], diff --git a/x-pack/packages/kbn-cloud-security-posture/common/README.md b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/README.md similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/README.md rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/README.md diff --git a/x-pack/packages/kbn-cloud-security-posture/common/constants.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/constants.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/constants.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/constants.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/index.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/index.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/index.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/index.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/jest.config.js b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/jest.config.js similarity index 71% rename from x-pack/packages/kbn-cloud-security-posture/common/jest.config.js rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/jest.config.js index 62d5a239b9dc9..bb188473325e7 100644 --- a/x-pack/packages/kbn-cloud-security-posture/common/jest.config.js +++ b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/kbn-cloud-security-posture/common'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/kbn-cloud-security-posture/common'], }; diff --git a/x-pack/packages/kbn-cloud-security-posture/common/kibana.jsonc b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/kibana.jsonc rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/kibana.jsonc diff --git a/x-pack/packages/kbn-cloud-security-posture/common/package.json b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/package.json similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/package.json rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/package.json diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/graph/index.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/graph/index.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/graph/index.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/graph/index.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/graph/latest.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/graph/latest.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/graph/latest.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/graph/latest.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/graph/v1.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/graph/v1.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/graph/v1.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/graph/v1.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/rules/index.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/index.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/rules/index.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/index.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/rules/latest.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/latest.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/rules/latest.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/latest.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/rules/v1.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/v1.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/rules/v1.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/v1.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/rules/v2.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/v2.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/rules/v2.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/v2.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/rules/v3.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/v3.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/rules/v3.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/v3.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/rules/v4.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/v4.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/rules/v4.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/v4.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/rules/v5.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/v5.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/rules/v5.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/rules/v5.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/vulnerabilities/csp_vulnerability_finding.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/vulnerabilities/csp_vulnerability_finding.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/vulnerabilities/csp_vulnerability_finding.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/vulnerabilities/csp_vulnerability_finding.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/schema/vulnerabilities/latest.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/vulnerabilities/latest.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/schema/vulnerabilities/latest.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/schema/vulnerabilities/latest.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/tsconfig.json b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/tsconfig.json similarity index 87% rename from x-pack/packages/kbn-cloud-security-posture/common/tsconfig.json rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/tsconfig.json index ebec9929559f0..681b16eddbd65 100644 --- a/x-pack/packages/kbn-cloud-security-posture/common/tsconfig.json +++ b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/kbn-cloud-security-posture/common/types/benchmark.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/benchmark.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/types/benchmark.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/benchmark.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/types/findings.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/findings.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/types/findings.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/findings.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/types/graph/index.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/graph/index.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/types/graph/index.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/graph/index.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/types/graph/latest.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/graph/latest.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/types/graph/latest.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/graph/latest.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/types/graph/v1.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/graph/v1.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/types/graph/v1.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/graph/v1.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/types/status.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/status.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/types/status.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/status.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/types/vulnerabilities.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/vulnerabilities.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/types/vulnerabilities.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/types/vulnerabilities.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/utils/get_abbreviated_number.test.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/get_abbreviated_number.test.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/utils/get_abbreviated_number.test.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/get_abbreviated_number.test.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/utils/get_abbreviated_number.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/get_abbreviated_number.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/utils/get_abbreviated_number.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/get_abbreviated_number.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/utils/helpers.test.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/utils/helpers.test.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/helpers.test.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/utils/helpers.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/helpers.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/utils/helpers.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/helpers.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/common/utils/ui_metrics.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/ui_metrics.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/common/utils/ui_metrics.ts rename to x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/ui_metrics.ts diff --git a/yarn.lock b/yarn.lock index 6a824933050da..accf54118ee88 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4165,7 +4165,7 @@ version "0.0.0" uid "" -"@kbn/cloud-security-posture-common@link:x-pack/packages/kbn-cloud-security-posture/common": +"@kbn/cloud-security-posture-common@link:x-pack/platform/packages/shared/kbn-cloud-security-posture/common": version "0.0.0" uid "" From 7004d0580d4a0fb65ddbcdf8aa127713cc1439cc Mon Sep 17 00:00:00 2001 From: Sean Rathier Date: Fri, 13 Dec 2024 15:06:02 -0500 Subject: [PATCH 05/11] Relocating module `@kbn/cloud-security-posture-graph` --- .github/CODEOWNERS | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- .../packages/kbn-cloud-security-posture/graph/README.md | 0 .../packages/kbn-cloud-security-posture/graph/index.ts | 0 .../kbn-cloud-security-posture/graph/jest.config.js | 6 +++--- .../packages/kbn-cloud-security-posture/graph/kibana.jsonc | 0 .../packages/kbn-cloud-security-posture/graph/package.json | 0 .../kbn-cloud-security-posture/graph/setup_tests.ts | 0 .../graph/src/assets/icons/aws.svg | 0 .../graph/src/assets/icons/aws_ec2.svg | 0 .../graph/src/assets/icons/aws_s3.svg | 0 .../graph/src/assets/icons/okta.svg | 0 .../graph/src/common/constants.ts | 0 .../graph/src/components/edge/deafult_edge.stories.tsx | 0 .../graph/src/components/edge/default_edge.tsx | 0 .../graph/src/components/edge/index.ts | 0 .../graph/src/components/edge/styles.tsx | 0 .../graph/src/components/edge/utils.ts | 0 .../graph/src/components/graph/graph.test.tsx | 0 .../graph/src/components/graph/graph.tsx | 0 .../graph/src/components/graph/graph_popover.stories.tsx | 0 .../graph/src/components/graph/graph_popover.tsx | 0 .../graph/src/components/graph/layout_graph.ts | 0 .../graph/src/components/graph/use_graph_popover.tsx | 0 .../graph/src/components/graph/utils.ts | 0 .../components/graph_investigation/graph_investigation.tsx | 0 .../graph_investigation/graph_node_expand_popover.tsx | 0 .../graph_investigation/use_graph_node_expand_popover.tsx | 0 .../graph/src/components/graph_layout.stories.test.tsx | 0 .../graph/src/components/graph_layout.stories.tsx | 0 .../graph/src/components/index.ts | 0 .../graph/src/components/mock/react_flow.ts | 0 .../graph/src/components/mock/test_providers.tsx | 0 .../graph/src/components/node/button.stories.tsx | 0 .../graph/src/components/node/diamond_node.tsx | 0 .../graph/src/components/node/edge_group_node.tsx | 0 .../graph/src/components/node/ellipse_node.tsx | 0 .../graph/src/components/node/get_span_icon.ts | 0 .../graph/src/components/node/hexagon_node.tsx | 0 .../graph/src/components/node/index.ts | 0 .../graph/src/components/node/label_node.tsx | 0 .../graph/src/components/node/node.stories.tsx | 0 .../graph/src/components/node/node_expand_button.tsx | 0 .../graph/src/components/node/pentagon_node.tsx | 0 .../graph/src/components/node/rectangle_node.tsx | 0 .../graph/src/components/node/shapes/diamond_shape.tsx | 0 .../graph/src/components/node/shapes/ellipse_shape.tsx | 0 .../graph/src/components/node/shapes/hexagon_shape.tsx | 0 .../graph/src/components/node/shapes/pentagon_shape.tsx | 0 .../graph/src/components/node/shapes/rectangle_shape.tsx | 0 .../graph/src/components/node/shapes/types.ts | 0 .../graph/src/components/node/styles.tsx | 0 .../graph/src/components/styles.tsx | 0 .../graph/src/components/test_ids.ts | 0 .../graph/src/components/types.ts | 0 .../kbn-cloud-security-posture/graph/src/hooks/index.ts | 0 .../graph/src/hooks/use_fetch_graph_data.test.tsx | 0 .../graph/src/hooks/use_fetch_graph_data.ts | 0 .../packages/kbn-cloud-security-posture/graph/tsconfig.json | 2 +- yarn.lock | 2 +- 61 files changed, 9 insertions(+), 9 deletions(-) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/README.md (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/index.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/jest.config.js (66%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/kibana.jsonc (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/package.json (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/setup_tests.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws.svg (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws_ec2.svg (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws_s3.svg (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/assets/icons/okta.svg (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/common/constants.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/edge/default_edge.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/edge/index.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/edge/styles.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/edge/utils.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.test.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph/layout_graph.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph/use_graph_popover.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph/utils.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.test.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/index.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/mock/react_flow.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/mock/test_providers.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/get_span_icon.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/index.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/node.stories.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/node_expand_button.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/ellipse_shape.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/pentagon_shape.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/rectangle_shape.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/types.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/styles.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/test_ids.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/components/types.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/hooks/index.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/hooks/use_fetch_graph_data.test.tsx (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/src/hooks/use_fetch_graph_data.ts (100%) rename x-pack/{ => solutions/security}/packages/kbn-cloud-security-posture/graph/tsconfig.json (88%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9d878b999ded6..7c0ceab4e60ce 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -779,7 +779,6 @@ x-pack/packages/kbn-ai-assistant @elastic/search-kibana x-pack/packages/kbn-ai-assistant-common @elastic/search-kibana x-pack/packages/kbn-alerting-comparators @elastic/response-ops x-pack/packages/kbn-alerting-state-types @elastic/response-ops -x-pack/packages/kbn-cloud-security-posture/graph @elastic/kibana-cloud-security-posture x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team x-pack/packages/maps/vector_tile_utils @elastic/kibana-presentation @@ -990,6 +989,7 @@ x-pack/solutions/security/packages/ecs_data_quality_dashboard @elastic/security- x-pack/solutions/security/packages/expandable-flyout @elastic/security-threat-hunting-investigations x-pack/solutions/security/packages/features @elastic/security-threat-hunting-explore x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting +x-pack/solutions/security/packages/kbn-cloud-security-posture/graph @elastic/kibana-cloud-security-posture x-pack/solutions/security/packages/kbn-cloud-security-posture/public @elastic/kibana-cloud-security-posture x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-explore x-pack/solutions/security/packages/side_nav @elastic/security-threat-hunting-explore diff --git a/package.json b/package.json index bc6b4e708c726..dacf3c0b9ea33 100644 --- a/package.json +++ b/package.json @@ -220,7 +220,7 @@ "@kbn/cloud-plugin": "link:x-pack/plugins/cloud", "@kbn/cloud-security-posture": "link:x-pack/solutions/security/packages/kbn-cloud-security-posture/public", "@kbn/cloud-security-posture-common": "link:x-pack/platform/packages/shared/kbn-cloud-security-posture/common", - "@kbn/cloud-security-posture-graph": "link:x-pack/packages/kbn-cloud-security-posture/graph", + "@kbn/cloud-security-posture-graph": "link:x-pack/solutions/security/packages/kbn-cloud-security-posture/graph", "@kbn/cloud-security-posture-plugin": "link:x-pack/plugins/cloud_security_posture", "@kbn/code-editor": "link:packages/shared-ux/code_editor/impl", "@kbn/code-editor-mock": "link:packages/shared-ux/code_editor/mocks", diff --git a/tsconfig.base.json b/tsconfig.base.json index 942fe4b35ca34..49e0fb224d5bb 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -180,8 +180,8 @@ "@kbn/cloud-security-posture/*": ["x-pack/solutions/security/packages/kbn-cloud-security-posture/public/*"], "@kbn/cloud-security-posture-common": ["x-pack/platform/packages/shared/kbn-cloud-security-posture/common"], "@kbn/cloud-security-posture-common/*": ["x-pack/platform/packages/shared/kbn-cloud-security-posture/common/*"], - "@kbn/cloud-security-posture-graph": ["x-pack/packages/kbn-cloud-security-posture/graph"], - "@kbn/cloud-security-posture-graph/*": ["x-pack/packages/kbn-cloud-security-posture/graph/*"], + "@kbn/cloud-security-posture-graph": ["x-pack/solutions/security/packages/kbn-cloud-security-posture/graph"], + "@kbn/cloud-security-posture-graph/*": ["x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/*"], "@kbn/cloud-security-posture-plugin": ["x-pack/plugins/cloud_security_posture"], "@kbn/cloud-security-posture-plugin/*": ["x-pack/plugins/cloud_security_posture/*"], "@kbn/code-editor": ["packages/shared-ux/code_editor/impl"], diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/README.md b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/README.md similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/README.md rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/README.md diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/index.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/index.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/index.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/index.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/jest.config.js b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/jest.config.js similarity index 66% rename from x-pack/packages/kbn-cloud-security-posture/graph/jest.config.js rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/jest.config.js index 3f600bebb30f7..91c324ed4596c 100644 --- a/x-pack/packages/kbn-cloud-security-posture/graph/jest.config.js +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - roots: ['/x-pack/packages/kbn-cloud-security-posture/graph'], - rootDir: '../../../..', + roots: ['/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph'], + rootDir: '../../../../../..', transform: { '^.+\\.(js|tsx?)$': '/x-pack/packages/kbn-cloud-security-posture/storybook/config/babel_with_emotion.ts', }, setupFiles: ['jest-canvas-mock'], - setupFilesAfterEnv: ['/x-pack/packages/kbn-cloud-security-posture/graph/setup_tests.ts'], + setupFilesAfterEnv: ['/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/setup_tests.ts'], }; diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/kibana.jsonc b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/kibana.jsonc rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/kibana.jsonc diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/package.json b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/package.json similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/package.json rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/package.json diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/setup_tests.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/setup_tests.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/setup_tests.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/setup_tests.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws.svg b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws.svg similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws.svg rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws.svg diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws_ec2.svg b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws_ec2.svg similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws_ec2.svg rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws_ec2.svg diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws_s3.svg b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws_s3.svg similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws_s3.svg rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/assets/icons/aws_s3.svg diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/assets/icons/okta.svg b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/assets/icons/okta.svg similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/assets/icons/okta.svg rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/assets/icons/okta.svg diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/common/constants.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/common/constants.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/common/constants.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/common/constants.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/edge/default_edge.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/default_edge.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/edge/default_edge.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/default_edge.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/edge/index.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/index.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/edge/index.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/index.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/edge/styles.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/styles.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/edge/styles.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/styles.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/edge/utils.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/utils.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/edge/utils.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/utils.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.test.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.test.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.test.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.test.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/layout_graph.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/layout_graph.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/layout_graph.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/layout_graph.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/use_graph_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/use_graph_popover.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/use_graph_popover.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/use_graph_popover.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/utils.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/utils.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph/utils.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/utils.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.test.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.test.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.test.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.test.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/index.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/index.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/index.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/index.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/mock/react_flow.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/react_flow.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/mock/react_flow.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/react_flow.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/mock/test_providers.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/test_providers.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/mock/test_providers.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/test_providers.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/get_span_icon.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/get_span_icon.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/get_span_icon.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/get_span_icon.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/index.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/index.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/index.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/index.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/node.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/node.stories.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/node.stories.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/node.stories.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/node_expand_button.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/node_expand_button.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/node_expand_button.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/node_expand_button.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/ellipse_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/ellipse_shape.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/ellipse_shape.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/ellipse_shape.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/pentagon_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/pentagon_shape.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/pentagon_shape.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/pentagon_shape.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/rectangle_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/rectangle_shape.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/rectangle_shape.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/rectangle_shape.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/types.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/types.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/types.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/types.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/styles.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/styles.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/styles.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/styles.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/styles.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/test_ids.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/test_ids.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/test_ids.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/test_ids.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/components/types.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/components/types.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/hooks/index.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/hooks/index.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/hooks/index.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/hooks/index.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/hooks/use_fetch_graph_data.test.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/hooks/use_fetch_graph_data.test.tsx similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/hooks/use_fetch_graph_data.test.tsx rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/hooks/use_fetch_graph_data.test.tsx diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/src/hooks/use_fetch_graph_data.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/hooks/use_fetch_graph_data.ts similarity index 100% rename from x-pack/packages/kbn-cloud-security-posture/graph/src/hooks/use_fetch_graph_data.ts rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/hooks/use_fetch_graph_data.ts diff --git a/x-pack/packages/kbn-cloud-security-posture/graph/tsconfig.json b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/tsconfig.json similarity index 88% rename from x-pack/packages/kbn-cloud-security-posture/graph/tsconfig.json rename to x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/tsconfig.json index e56b9aabf16a9..711f3cb002692 100644 --- a/x-pack/packages/kbn-cloud-security-posture/graph/tsconfig.json +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/yarn.lock b/yarn.lock index accf54118ee88..451c6c17ddebe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4169,7 +4169,7 @@ version "0.0.0" uid "" -"@kbn/cloud-security-posture-graph@link:x-pack/packages/kbn-cloud-security-posture/graph": +"@kbn/cloud-security-posture-graph@link:x-pack/solutions/security/packages/kbn-cloud-security-posture/graph": version "0.0.0" uid "" From d1de27e7b7d462937efc329af8b5efeb663c994e Mon Sep 17 00:00:00 2001 From: Sean Rathier Date: Fri, 13 Dec 2024 15:07:22 -0500 Subject: [PATCH 06/11] Relocating module `@kbn/cloud-security-posture-plugin` --- .../pipelines/pull_request/pipeline.ts | 2 +- .eslintrc.js | 2 +- .github/CODEOWNERS | 2 +- .github/codeql/codeql-config.yml | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- packages/deeplinks/security/deep_links.ts | 2 +- tsconfig.base.json | 4 +- x-pack/.i18nrc.json | 2 +- .../common/README.md | 4 +- .../plugins/cloud_security_posture/README.md | 20 +- .../common/constants.ts | 0 ...enerated_csp_requirements_test_coverage.md | 928 +++++++++--------- .../cloud_security_posture/common/index.ts | 0 .../get_identifier_runtime_mapping.ts | 0 .../get_package_policy_id_mapping.ts | 0 .../get_safe_posture_type_runtime_mapping.ts | 0 .../common/schemas/stats.ts | 0 .../__auto_generated_csp_test_log.json | 200 ++-- .../common/scripts/get_tests.js | 4 +- .../common/types/benchmarks/v1.ts | 0 .../common/types/benchmarks/v2.ts | 0 .../common/types/index.ts | 0 .../common/types/latest.ts | 0 .../common/types_old.ts | 0 .../common/utils/detection_rules.test.ts | 0 .../common/utils/detection_rules.ts | 0 .../common/utils/helpers.test.ts | 0 .../common/utils/helpers.ts | 0 .../common/utils/rules_states.ts | 0 .../common/utils/subscription.test.ts | 0 .../common/utils/subscription.ts | 0 .../cloud_security_posture/jest.config.js | 8 +- .../cloud_security_posture/kibana.jsonc | 0 .../public/application/csp_route.tsx | 0 .../public/application/csp_router.test.tsx | 0 .../public/application/csp_router.tsx | 0 .../application/security_solution_context.ts | 0 .../public/application/setup_context.ts | 0 .../public/assets/icons/cis_aks_logo.svg | 0 .../public/assets/icons/cis_eks_logo.svg | 0 .../public/assets/icons/cis_gke_logo.svg | 0 .../public/assets/icons/cis_logo.svg | 0 .../public/assets/icons/google_cloud_logo.svg | 0 .../public/assets/icons/nvd_logo_svg.tsx | 0 .../public/assets/icons/redhat_logo.svg | 0 .../public/assets/illustrations/clouds.svg | 0 ...on_product_no_results_magnifying_glass.svg | 0 .../misconfigurations_vendors.svg | 0 .../illustrations/no_data_illustration.svg | 0 .../illustrations/vulnerabilities_vendors.svg | 0 .../common/api/create_detection_rule.ts | 0 .../public/common/api/index.ts | 0 .../api/use_cis_kubernetes_integration.tsx | 0 ...use_fetch_detection_rules_alerts_status.ts | 0 .../api/use_fetch_detection_rules_by_tags.ts | 0 .../use_license_management_locator_api.tsx | 0 .../common/api/use_package_policy_list.ts | 0 .../public/common/api/use_stats_api.ts | 0 .../api/use_vulnerability_dashboard_api.ts | 0 .../common/api/use_wiz_integration_route.ts | 0 .../common/component/multi_select_filter.tsx | 0 .../public/common/constants.ts | 0 .../common/contexts/data_view_context.ts | 0 .../use_benchmark_dynamic_values.test.ts | 0 .../hooks/use_benchmark_dynamic_values.ts | 0 .../use_cloud_posture_data_table/index.ts | 0 .../use_base_es_query.ts | 0 .../use_cloud_posture_data_table.ts | 0 .../use_persisted_query.ts | 0 .../use_cloud_posture_data_table/utils.ts | 0 .../hooks/use_is_subscription_status_valid.ts | 0 .../public/common/hooks/use_kibana.ts | 0 .../public/common/hooks/use_page_size.ts | 0 .../public/common/hooks/use_url_query.test.ts | 0 .../public/common/hooks/use_url_query.ts | 0 .../public/common/navigation/constants.ts | 0 .../security_solution_links.test.ts | 0 .../navigation/security_solution_links.ts | 0 .../public/common/navigation/types.ts | 0 .../navigation/use_csp_integration_link.ts | 0 ...se_navigate_to_cis_integration_policies.ts | 0 .../public/common/types.ts | 0 .../utils/get_template_url_package_info.ts | 0 .../common/utils/get_vendor_name.test.ts | 0 .../public/common/utils/get_vendor_name.ts | 0 .../utils/is_native_csp_finding.test.ts | 0 .../common/utils/is_native_csp_finding.ts | 0 .../accounts_evaluated_widget.test.tsx | 0 .../components/accounts_evaluated_widget.tsx | 0 .../public/components/chart_panel.test.tsx | 0 .../public/components/chart_panel.tsx | 0 .../public/components/cis_benchmark_icon.tsx | 0 .../components/cloud_posture_page.test.tsx | 0 .../public/components/cloud_posture_page.tsx | 0 .../components/cloud_posture_page_title.tsx | 0 .../public/components/cloud_provider_icon.tsx | 0 .../additional_controls.tsx | 0 .../cloud_security_data_table.test.tsx | 0 .../cloud_security_data_table.tsx | 0 .../fields_selector/fields_selector_modal.tsx | 0 .../fields_selector_table.test.tsx | 0 .../fields_selector/fields_selector_table.tsx | 0 .../fields_selector/index.ts | 0 .../fields_selector/use_fields_modal.ts | 0 .../cloud_security_data_table/index.ts | 0 .../cloud_security_data_table/use_styles.ts | 0 .../cloud_security_grouping.tsx | 0 .../cloud_security_grouping/index.ts | 0 .../cloud_security_grouping/loading_group.tsx | 0 .../cloud_security_grouping/null_group.tsx | 0 .../use_cloud_security_grouping.ts | 0 .../utils/first_non_null_value.test.ts | 0 .../utils/first_non_null_value.ts | 0 .../components/column_name_with_tooltip.tsx | 0 .../components/compact_formatted_number.tsx | 0 .../components/compliance_score_bar.test.tsx | 0 .../components/compliance_score_bar.tsx | 0 .../public/components/csp_counter_card.tsx | 0 .../csp_inline_description_list.tsx | 0 .../public/components/csp_loading_state.tsx | 0 .../detection_rule_counter.test.tsx | 0 .../components/detection_rule_counter.tsx | 0 .../public/components/empty_state.tsx | 0 .../empty_states_illustration_container.tsx | 0 .../aws_credentials_form.tsx | 0 .../aws_credentials_form_agentless.tsx | 0 .../aws_input_var_fields.tsx | 0 .../get_aws_credentials_form_options.tsx | 0 .../aws_credentials_form/hooks.ts | 0 .../azure_credentials_form.tsx | 0 .../azure_credentials_form_agentless.tsx | 0 .../get_azure_credentials_form_options.tsx | 0 .../azure_credentials_form/hooks.ts | 0 .../csp_boxed_radio_group.tsx | 0 .../custom_assets_extension.tsx | 0 .../fleet_extensions/eks_credentials_form.tsx | 0 .../gcp_credential_form.tsx | 0 .../gcp_credentials_form_agentless.tsx | 0 .../components/fleet_extensions/mocks.ts | 0 .../policy_template_form.test.tsx | 0 .../fleet_extensions/policy_template_form.tsx | 0 .../policy_template_selectors.tsx | 0 .../setup_technology_selector.tsx | 0 .../use_setup_technology.test.ts | 0 .../use_setup_technology.ts | 0 .../components/fleet_extensions/utils.test.ts | 0 .../components/fleet_extensions/utils.ts | 0 .../components/full_size_centered_page.tsx | 0 .../components/no_findings_states/index.ts | 0 .../no_findings_states.test.tsx | 0 .../no_findings_states/no_findings_states.tsx | 0 .../components/no_vulnerabilities_states.tsx | 0 .../components/subscription_not_allowed.tsx | 0 .../public/components/take_action.tsx | 0 .../public/components/test_subjects.ts | 0 .../components/timestamp_table_cell.tsx | 0 .../public/components/vuln_counter_card.tsx | 0 .../components/vulnerability_severity_map.tsx | 0 .../cloud_security_posture/public/index.ts | 0 .../pages/benchmarks/benchmarks.test.tsx | 0 .../public/pages/benchmarks/benchmarks.tsx | 0 .../benchmarks/benchmarks_table.test.tsx | 0 .../pages/benchmarks/benchmarks_table.tsx | 0 .../public/pages/benchmarks/index.ts | 0 .../public/pages/benchmarks/test_subjects.ts | 0 .../use_csp_benchmark_integrations.ts | 0 .../compliance_score_chart.tsx | 0 .../compliance_charts/risks_table.test.ts | 0 .../compliance_charts/risks_table.tsx | 0 .../compliance_dashboard.test.tsx | 0 .../compliance_dashboard.tsx | 0 .../benchmark_details_box.tsx | 0 .../benchmarks_section.test.tsx | 0 .../dashboard_sections/benchmarks_section.tsx | 0 .../summary_section.test.tsx | 0 .../dashboard_sections/summary_section.tsx | 0 .../pages/compliance_dashboard/index.tsx | 0 .../public/pages/compliance_dashboard/mock.ts | 0 .../compliance_dashboard/test_subjects.ts | 0 .../configurations/__mocks__/findings.ts | 0 .../configurations.handlers.mock.ts | 0 .../configurations/configurations.test.tsx | 0 .../pages/configurations/configurations.tsx | 0 .../findings_detection_rule_counter.tsx | 0 .../findings_flyout/findings_flyout.test.tsx | 0 .../findings_flyout/findings_flyout.tsx | 0 .../findings_flyout/json_tab.tsx | 0 .../findings_flyout/overview_tab.tsx | 0 .../findings_flyout/rule_tab.tsx | 0 .../findings_flyout/table_tab.tsx | 0 .../public/pages/configurations/index.tsx | 0 .../latest_findings/constants.ts | 0 .../findings_table_field_labels.ts | 0 .../latest_findings_container.tsx | 0 .../latest_findings_group_renderer.test.tsx | 0 .../latest_findings_group_renderer.tsx | 0 .../latest_findings/latest_findings_table.tsx | 0 .../latest_findings/use_grouped_findings.tsx | 0 .../latest_findings/use_latest_findings.ts | 0 .../use_latest_findings_grouping.tsx | 0 .../use_latest_findings_table.tsx | 0 .../configurations/layout/error_callout.tsx | 0 .../layout/findings_distribution_bar.tsx | 0 .../layout/findings_search_bar.tsx | 0 .../pages/configurations/test_subjects.ts | 0 .../create_detection_rule_from_benchmark.ts | 0 .../configurations/utils/get_filters.test.ts | 0 .../pages/configurations/utils/get_filters.ts | 0 .../pages/configurations/utils/utils.ts | 0 .../public/pages/findings/findings.tsx | 0 .../public/pages/findings/index.tsx | 0 .../third_party_integrations_callout.tsx | 0 .../public/pages/index.ts | 0 .../public/pages/rules/index.tsx | 0 .../public/pages/rules/rules.test.tsx | 0 .../pages/rules/rules_container.test.tsx | 0 .../public/pages/rules/rules_container.tsx | 0 .../public/pages/rules/rules_counters.tsx | 0 .../rules/rules_detection_rule_counter.tsx | 0 .../public/pages/rules/rules_flyout.tsx | 0 .../public/pages/rules/rules_table.tsx | 0 .../public/pages/rules/rules_table_header.tsx | 0 .../public/pages/rules/test_subjects.ts | 0 .../rules/use_change_csp_rule_state.test.tsx | 0 .../pages/rules/use_change_csp_rule_state.tsx | 0 .../pages/rules/use_csp_benchmark_rules.ts | 0 .../public/pages/rules/use_csp_rules_state.ts | 0 .../_mocks_/vulnerability.mock.ts | 0 .../public/pages/vulnerabilities/constants.ts | 0 .../hooks/use_grouped_vulnerabilities.tsx | 0 .../hooks/use_latest_vulnerabilities.tsx | 0 .../use_latest_vulnerabilities_grouping.tsx | 0 .../use_latest_vulnerabilities_table.tsx | 0 .../public/pages/vulnerabilities/index.tsx | 0 .../latest_vulnerabilities_container.tsx | 0 .../latest_vulnerabilities_group_renderer.tsx | 0 .../latest_vulnerabilities_table.tsx | 0 .../pages/vulnerabilities/test_subjects.ts | 0 .../pages/vulnerabilities/translations.ts | 0 .../public/pages/vulnerabilities/types.ts | 0 ..._detection_rule_from_vulnerability.test.ts | 0 ...reate_detection_rule_from_vulnerability.ts | 0 .../utils/custom_sort_script.ts | 0 .../utils/get_vector_score_list.ts | 0 .../pages/vulnerabilities/vulnerabilities.tsx | 0 .../vulnerability_detection_rule_counter.tsx | 0 .../vulnerability_finding_flyout.test.tsx | 0 .../vulnerability_finding_flyout.tsx | 0 .../vulnerability_json_tab.tsx | 0 .../vulnerability_overview_tab.tsx | 0 .../vulnerability_table_tab.tsx | 0 .../vulnerabilities_table_field_labels.ts | 0 .../vulnerabilities/vulnerabilties.test.tsx | 0 .../_mocks_/vulnerability_dashboard.mock.ts | 0 .../vulnerability_dashboard.test.tsx | 0 .../vulnerability_dashboard.tsx | 0 .../vulnerability_statistics.tsx | 0 .../vulnerability_table_panel.config.ts | 0 .../vulnerability_table_panel.tsx | 0 .../vulnerability_table_panel_section.tsx | 0 .../vulnerability_trend_graph.tsx | 0 .../cloud_security_posture/public/plugin.tsx | 0 .../fixtures/csp_benchmark_integration.ts | 0 .../public/test/fixtures/findings_fixture.ts | 0 .../test/fixtures/get_mock_dependencies.ts | 0 .../public/test/fixtures/react_query.ts | 0 .../handlers/dataview.handlers.mock.ts | 0 .../handlers/fleet.handlers.mock.ts | 0 .../public/test/mock_server/handlers/index.ts | 0 .../handlers/licensing.handlers.mock.ts | 0 .../public/test/mock_server/mock_server.ts | 0 .../mock_server/mock_server_test_provider.tsx | 0 .../public/test/test_provider.tsx | 0 .../public/test/utils.ts | 0 .../cloud_security_posture/public/types.ts | 0 .../cloud_security_posture/server/config.ts | 0 .../create_indices/benchmark_score_mapping.ts | 0 .../create_indices/create_indices.test.ts | 0 .../server/create_indices/create_indices.ts | 0 .../server/create_indices/create_processor.ts | 0 .../server/create_indices/ingest_pipelines.ts | 0 .../server/create_indices/latest_indices.ts | 0 .../server/create_indices/types.ts | 0 .../create_transforms.test.ts | 0 .../create_transforms/create_transforms.ts | 0 .../latest_findings_transform.ts | 0 .../latest_vulnerabilities_transforms.ts | 0 .../fleet_integration/fleet_integration.ts | 0 .../cloud_security_posture/server/index.ts | 0 .../server/lib/check_index_status.ts | 0 .../server/lib/fleet_util.ts | 0 .../server/lib/mapping_field_util.test.ts | 0 .../server/lib/mapping_field_util.ts | 0 .../server/lib/task_manager_util.ts | 0 .../collectors/accounts_stats_collector.ts | 0 .../collectors/alert_stats_collector.ts | 0 .../cloud_accounts_stats_collector.ts | 0 .../collectors/indices_stats_collector.ts | 0 .../installation_stats_collector.ts | 0 .../collectors/muted_rules_stats_collector.ts | 0 .../lib/telemetry/collectors/register.ts | 0 .../collectors/resources_stats_collector.ts | 0 .../collectors/rules_stats_collector.ts | 0 .../server/lib/telemetry/collectors/schema.ts | 0 .../server/lib/telemetry/collectors/types.ts | 0 .../cloud_security_posture/server/mocks.ts | 0 .../server/plugin.test.ts | 0 .../cloud_security_posture/server/plugin.ts | 0 .../bulk_action/bulk_action.ts | 0 .../benchmark_rules/bulk_action/utils.ts | 0 .../routes/benchmark_rules/bulk_action/v1.ts | 0 .../routes/benchmark_rules/find/find.test.ts | 0 .../routes/benchmark_rules/find/find.ts | 0 .../routes/benchmark_rules/find/utils.ts | 0 .../server/routes/benchmark_rules/find/v1.ts | 0 .../server/routes/benchmark_rules/find/v2.ts | 0 .../server/routes/benchmark_rules/find/v3.ts | 0 .../benchmark_rules/get_states/get_states.ts | 0 .../routes/benchmark_rules/get_states/v1.ts | 0 .../benchmarks/benchmarks.handlers.mock.ts | 0 .../routes/benchmarks/benchmarks.test.ts | 0 .../server/routes/benchmarks/benchmarks.ts | 0 .../server/routes/benchmarks/utilities.ts | 0 .../server/routes/benchmarks/v1.ts | 0 .../server/routes/benchmarks/v2.ts | 0 .../compliance_dashboard.ts | 0 .../get_benchmarks.test.ts | 0 .../compliance_dashboard/get_benchmarks.ts | 0 .../compliance_dashboard/get_clusters.test.ts | 0 .../compliance_dashboard/get_clusters.ts | 0 .../get_grouped_findings_evaluation.test.ts | 0 .../get_grouped_findings_evaluation.ts | 0 .../compliance_dashboard/get_stats.test.ts | 0 .../routes/compliance_dashboard/get_stats.ts | 0 .../compliance_dashboard/get_trends.test.ts | 0 .../routes/compliance_dashboard/get_trends.ts | 0 ...ection_engine_alerts_count_by_rule_tags.ts | 0 .../server/routes/graph/route.ts | 0 .../server/routes/graph/v1.ts | 0 .../server/routes/setup_routes.ts | 0 .../routes/status/status.handlers.mock.ts | 0 .../server/routes/status/status.test.ts | 0 .../server/routes/status/status.ts | 0 .../get_top_patchable_vulnerabilities.ts | 0 .../get_top_vulnerabilities.ts | 0 .../get_top_vulnerable_resources.ts | 0 .../get_vulnerabilities_statistics.ts | 0 .../get_vulnerabilities_trend.ts | 0 .../vulnerabilities_dashboard.ts | 0 .../saved_objects/csp_benchmark_rule.ts | 0 .../server/saved_objects/csp_settings.ts | 0 .../server/saved_objects/data_views.ts | 0 .../server/saved_objects/index.ts | 0 .../server/saved_objects/mappings.ts | 0 .../migrations/csp_benchmark_rule.ts | 0 .../server/saved_objects/migrations/index.ts | 0 .../server/tasks/findings_stats_task.ts | 0 .../server/tasks/task_state.test.ts | 0 .../server/tasks/task_state.ts | 0 .../server/tasks/types.ts | 0 .../cloud_security_posture/server/types.ts | 0 .../cloud_security_posture/tsconfig.json | 4 +- yarn.lock | 2 +- 364 files changed, 595 insertions(+), 595 deletions(-) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/README.md (81%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/dev_docs/__auto_generated_csp_requirements_test_coverage.md (58%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/runtime_mappings/get_identifier_runtime_mapping.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/runtime_mappings/get_package_policy_id_mapping.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/runtime_mappings/get_safe_posture_type_runtime_mapping.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/schemas/stats.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/scripts/__auto_generated_csp_test_log.json (98%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/scripts/get_tests.js (98%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/types/benchmarks/v1.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/types/benchmarks/v2.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/types/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/types/latest.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/types_old.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/utils/detection_rules.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/utils/detection_rules.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/utils/helpers.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/utils/helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/utils/rules_states.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/utils/subscription.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/common/utils/subscription.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/jest.config.js (84%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/kibana.jsonc (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/application/csp_route.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/application/csp_router.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/application/csp_router.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/application/security_solution_context.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/application/setup_context.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/icons/cis_aks_logo.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/icons/cis_eks_logo.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/icons/cis_gke_logo.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/icons/cis_logo.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/icons/google_cloud_logo.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/icons/nvd_logo_svg.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/icons/redhat_logo.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/illustrations/clouds.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/illustrations/illustration_product_no_results_magnifying_glass.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/illustrations/misconfigurations_vendors.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/illustrations/no_data_illustration.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/assets/illustrations/vulnerabilities_vendors.svg (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/api/create_detection_rule.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/api/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/api/use_cis_kubernetes_integration.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_alerts_status.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_by_tags.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/api/use_license_management_locator_api.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/api/use_package_policy_list.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/api/use_stats_api.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/api/use_vulnerability_dashboard_api.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/api/use_wiz_integration_route.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/component/multi_select_filter.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/contexts/data_view_context.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_base_es_query.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_cloud_posture_data_table.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_persisted_query.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/utils.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_is_subscription_status_valid.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_kibana.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_page_size.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/hooks/use_url_query.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/navigation/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/navigation/security_solution_links.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/navigation/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/navigation/use_csp_integration_link.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/navigation/use_navigate_to_cis_integration_policies.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/utils/get_template_url_package_info.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/utils/get_vendor_name.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/utils/get_vendor_name.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/utils/is_native_csp_finding.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/common/utils/is_native_csp_finding.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/chart_panel.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/chart_panel.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cis_benchmark_icon.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_posture_page.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_posture_page_title.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_provider_icon.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_data_table/additional_controls.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_modal.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/use_fields_modal.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_data_table/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_data_table/use_styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_grouping/cloud_security_grouping.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_grouping/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_grouping/loading_group.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_grouping/null_group.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_grouping/use_cloud_security_grouping.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/column_name_with_tooltip.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/compact_formatted_number.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/compliance_score_bar.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/compliance_score_bar.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/csp_counter_card.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/csp_inline_description_list.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/csp_loading_state.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/detection_rule_counter.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/empty_state.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/empty_states_illustration_container.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form_agentless.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_input_var_fields.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/get_aws_credentials_form_options.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/hooks.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form_agentless.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/get_azure_credentials_form_options.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/hooks.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/custom_assets_extension.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/eks_credentials_form.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credentials_form_agentless.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/mocks.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_selectors.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/setup_technology_selector.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/fleet_extensions/utils.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/full_size_centered_page.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/no_findings_states/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/no_vulnerabilities_states.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/subscription_not_allowed.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/take_action.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/test_subjects.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/timestamp_table_cell.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/vuln_counter_card.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/components/vulnerability_severity_map.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/benchmarks/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/benchmarks/test_subjects.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/benchmarks/use_csp_benchmark_integrations.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/compliance_score_chart.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmark_details_box.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/compliance_dashboard/test_subjects.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/__mocks__/findings.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/configurations.handlers.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/configurations.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_detection_rule_counter.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/json_tab.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/overview_tab.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/rule_tab.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/table_tab.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/latest_findings/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/latest_findings/findings_table_field_labels.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_container.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_group_renderer.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_group_renderer.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_table.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_grouped_findings.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings_grouping.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings_table.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/layout/error_callout.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/layout/findings_distribution_bar.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/layout/findings_search_bar.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/test_subjects.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_benchmark.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/configurations/utils/utils.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/findings/findings.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/findings/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/findings/third_party_integrations_callout.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/rules_container.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/rules_counters.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/rules_detection_rule_counter.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/rules_flyout.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/rules_table.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/rules_table_header.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/test_subjects.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/use_csp_benchmark_rules.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/rules/use_csp_rules_state.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/_mocks_/vulnerability.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_grouped_vulnerabilities.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities_grouping.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities_table.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_container.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_group_renderer.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_table.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/test_subjects.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/create_detection_rule_from_vulnerability.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/create_detection_rule_from_vulnerability.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/custom_sort_script.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/get_vector_score_list.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_detection_rule_counter.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_json_tab.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_overview_tab.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_table_tab.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_table_field_labels.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/_mocks_/vulnerability_dashboard.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_statistics.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel.config.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel_section.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_trend_graph.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/plugin.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/fixtures/csp_benchmark_integration.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/fixtures/findings_fixture.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/fixtures/get_mock_dependencies.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/fixtures/react_query.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/mock_server/handlers/dataview.handlers.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/mock_server/handlers/fleet.handlers.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/mock_server/handlers/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/mock_server/handlers/licensing.handlers.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/mock_server/mock_server.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/mock_server/mock_server_test_provider.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/test_provider.tsx (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/test/utils.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/public/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/config.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_indices/benchmark_score_mapping.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_indices/create_indices.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_indices/create_processor.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_indices/ingest_pipelines.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_indices/latest_indices.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_indices/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_transforms/create_transforms.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_transforms/latest_findings_transform.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/create_transforms/latest_vulnerabilities_transforms.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/fleet_integration/fleet_integration.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/check_index_status.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/fleet_util.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/mapping_field_util.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/task_manager_util.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/accounts_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/alert_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/cloud_accounts_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/indices_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/installation_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/muted_rules_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/register.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/resources_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/rules_stats_collector.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/schema.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/lib/telemetry/collectors/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/mocks.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/plugin.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/plugin.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/bulk_action.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/utils.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/v1.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/find/utils.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v1.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v2.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v3.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/get_states.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/v1.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.handlers.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmarks/utilities.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmarks/v1.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/benchmarks/v2.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/detection_engine/get_detection_engine_alerts_count_by_rule_tags.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/graph/route.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/graph/v1.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/setup_routes.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/status/status.handlers.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/status/status.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/status/status.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_patchable_vulnerabilities.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_vulnerabilities.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_vulnerable_resources.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_vulnerabilities_statistics.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_vulnerabilities_trend.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/vulnerabilities_dashboard.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/saved_objects/csp_benchmark_rule.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/saved_objects/csp_settings.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/saved_objects/data_views.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/saved_objects/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/saved_objects/mappings.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/saved_objects/migrations/csp_benchmark_rule.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/saved_objects/migrations/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/tasks/findings_stats_task.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/tasks/task_state.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/tasks/task_state.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/tasks/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/server/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/cloud_security_posture/tsconfig.json (95%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 0f015a98c76e7..16c4241de75de 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -365,7 +365,7 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ /^x-pack\/packages\/kbn-cloud-security-posture/, - /^x-pack\/plugins\/cloud_security_posture/, + /^x-pack\/solutions\/security\/plugins\/cloud_security_posture/, /^x-pack\/plugins\/security_solution/, /^x-pack\/test\/security_solution_cypress/, ])) || diff --git a/.eslintrc.js b/.eslintrc.js index dd397193cf425..69f8ce5cd1eb0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1966,7 +1966,7 @@ module.exports = { * Cloud Security Team overrides */ { - files: ['x-pack/plugins/cloud_security_posture/**/*.{js,mjs,ts,tsx}'], + files: ['x-pack/solutions/security/plugins/cloud_security_posture/**/*.{js,mjs,ts,tsx}'], plugins: ['testing-library'], rules: { 'testing-library/await-async-utils': 'error', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7c0ceab4e60ce..7672697fa3790 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -887,7 +887,6 @@ x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core -x-pack/plugins/cloud_security_posture @elastic/kibana-cloud-security-posture x-pack/plugins/custom_branding @elastic/appex-sharedux x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation x-pack/plugins/data_quality @elastic/obs-ux-logs-team @@ -997,6 +996,7 @@ x-pack/solutions/security/packages/storybook/config @elastic/security-threat-hun x-pack/solutions/security/packages/upselling @elastic/security-threat-hunting-explore x-pack/solutions/security/plugins/asset_inventory @elastic/kibana-cloud-security-posture x-pack/solutions/security/plugins/cloud_defend @elastic/kibana-cloud-security-posture +x-pack/solutions/security/plugins/cloud_security_posture @elastic/kibana-cloud-security-posture x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai x-pack/solutions/security/plugins/threat_intelligence @elastic/security-threat-hunting-investigations diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index b8fcb71c67a06..49809521e8807 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -74,7 +74,7 @@ paths-ignore: - scripts - test - x-pack/plugins/canvas/scripts - - x-pack/plugins/cloud_security_posture/common/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/plugins/fleet/scripts diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 402b9231c4d71..2a40fdb0b9c8f 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -516,7 +516,7 @@ This plugin no-longer exposes any evaluation APIs. Refer to **Note** > -> for a coverage report, add the `--coverage` flag, and run `open target/kibana-coverage/jest/x-pack/plugins/cloud_security_posture/index.html` +> for a coverage report, add the `--coverage` flag, and run `open target/kibana-coverage/jest/x-pack/solutions/security/plugins/cloud_security_posture/index.html` Run [**Integration Tests**](https://docs.elastic.dev/kibana-dev-docs/tutorials/testing-plugins#): diff --git a/x-pack/plugins/cloud_security_posture/common/constants.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/constants.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/constants.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/constants.ts diff --git a/x-pack/plugins/cloud_security_posture/common/dev_docs/__auto_generated_csp_requirements_test_coverage.md b/x-pack/solutions/security/plugins/cloud_security_posture/common/dev_docs/__auto_generated_csp_requirements_test_coverage.md similarity index 58% rename from x-pack/plugins/cloud_security_posture/common/dev_docs/__auto_generated_csp_requirements_test_coverage.md rename to x-pack/solutions/security/plugins/cloud_security_posture/common/dev_docs/__auto_generated_csp_requirements_test_coverage.md index 495400272ac43..a7cf161697027 100644 --- a/x-pack/plugins/cloud_security_posture/common/dev_docs/__auto_generated_csp_requirements_test_coverage.md +++ b/x-pack/solutions/security/plugins/cloud_security_posture/common/dev_docs/__auto_generated_csp_requirements_test_coverage.md @@ -28,7 +28,7 @@ You can also check out the dedicated app view, which enables easier search and f | [should return the correct queries for multiple muted rules](x-pack/packages/kbn-cloud-security-posture-common/utils/helpers.test.ts) | it | | | -## Directory: x-pack/plugins/cloud_security_posture +## Directory: x-pack/solutions/security/plugins/cloud_security_posture **Total Tests:** 463 | **Skipped:** 7 (1.51%) | **Todo:** 0 (0.00%) @@ -39,469 +39,469 @@ You can also check out the dedicated app view, which enables easier search and f | Test Label | Type | Skipped | Todo | |------------|------|---------|------| -| [Detection rules utils](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | describe | | | -| [should convert tags to KQL format with AND operator](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [Should convert tags to KQL format with AND Operator (empty array)](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [should convert tags to KQL format with OR Operator](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [Should convert tags to KQL format with OR Operator (empty array)](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [Should generate search tags for a CSP benchmark rule](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [Should handle undefined benchmark object gracefully](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [Should handle undefined rule number gracefully](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [Should generate search tags for a CSP benchmark rule given an array of Benchmarks](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [Should handle undefined benchmark object gracefully given an array of empty benchmark](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [Should generate tags for a CSPM benchmark rule](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [Should generate tags for a KSPM benchmark rule](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | -| [test helper methods](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | describe | | | -| [get default integration type from inputs with multiple enabled types](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [get default integration type from inputs without any enabled types](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [get EKS integration type](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [get Vanilla K8S integration type](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [get benchmark type filter based on a benchmark id](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [should return a string with the correct filter when given a benchmark type and section](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [get benchmark filter query based on a benchmark Id, version](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [get benchmark filter query based on a benchmark Id, version and multiple sections and rule numbers](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [get benchmark filter query based on a benchmark Id, version and just sections](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [get benchmark filter query based on a benchmark Id, version and just rule numbers](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [cleanupCredentials](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | describe | | | -| [cleans unused aws credential methods, except role_arn when using assume_role](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [cleans unused aws credential methods, when using cloud formation](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [cleans unused aws credential methods, when using direct_access_keys method ](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [when aws credential type is undefined, return unchanged policy](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [cleans unused gcp credential methods, when using credentials-file method ](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [when gcp credential type is undefined, return unchanged policy](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | -| [isSubscriptionAllowed](x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts) | describe | | | -| [should allow any cloud subscription](x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts) | it | | | -| [should allow enterprise and trial licenses for on-prem](x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts) | it | | | -| [should not allow enterprise and trial licenses for on-prem](x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts) | it | | | -| [CspRouter](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | -| [happy path](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | -| [should render Findings](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | -| [should render Dashboards](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | -| [should render the Vulnerability Dashboard](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | -| [should render Benchmarks](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | -| [should render Rules](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | -| [unhappy path](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | -| [should redirect base path to dashboard](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | -| [CspRoute](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | -| [should not render disabled path](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | -| [should render SpyRoute for static paths](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | -| [should not render SpyRoute for dynamic paths](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | -| [useBenchmarkDynamicValues](x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts) | describe | | | -| [should return the correct dynamic benchmark values for each provided benchmark ID](x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts) | it | | | -| [should return the correct resource plurals based on the provided resource count](x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts) | it | | | -| [useNavigateFindings](x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | describe | | | -| [creates a URL to findings page with correct path, filter and dataViewId](x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | it | | | -| [creates a URL to findings page with correct path and negated filter](x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | it | | | -| [creates a URL to vulnerabilities page with correct path, filter and dataViewId](x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | it | | | -| [useUrlQuery](x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts) | describe | | | -| [uses default query when no query is provided](x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts) | it | | | -| [merges default query, partial first query and partial second query](x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts) | it | | | -| [getSecuritySolutionLink](x-pack/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts) | describe | | | -| [gets the correct link properties](x-pack/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts) | it | | | -| [getAbbreviatedNumber](x-pack/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | describe | | | -| [should return the same value if it is less than 1000](x-pack/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | it | | | -| [should use numeral to format the value if it is greater than or equal to 1000](x-pack/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | it | | | -| [should return 0 if the value is NaN](x-pack/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | it | | | -| [getCvsScoreColor](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | describe | | | -| [returns correct color for low severity score](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | -| [returns correct color for medium severity score](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | -| [returns correct color for high severity score](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | -| [returns correct color for critical severity score](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | -| [returns correct color for low severity score for undefined value](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | -| [getSeverityStatusColor](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | describe | | | -| [should return the correct color for LOW severity](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | -| [should return the correct color for MEDIUM severity](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | -| [should return the correct color for HIGH severity](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | -| [should return the correct color for CRITICAL severity](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | -| [should return #aaa for an unknown severity](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | -| [AccountsEvaluatedWidget](x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | describe | | | -| [renders the component with benchmark data correctly](x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | it | | | -| [calls navToFindingsByCloudProvider when a benchmark with provider is clicked](x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | it | | | -| [calls navToFindingsByCisBenchmark when a benchmark with benchmarkId is clicked](x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | describe | | | -| [renders loading state](x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | it | | | -| [renders error state](x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | it | | | -| [renders chart component](x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | describe | | | -| [renders children if setup status is indexed](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | -| [renders default loading text when query isLoading](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | -| [renders default loading text when query is idle](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | -| [renders default error texts when query isError](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | -| [prefers custom error render](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | -| [prefers custom loading render](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | -| [renders no data prompt when query data is undefined](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | -| [prefers custom no data prompt](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | -| [CloudSecurityDataTable](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | describe | | | -| [renders loading state](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | -| [renders empty state when no rows are present](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | -| [renders data table with rows](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | -| [renders data table with actions button](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | -| [renders data table without actions button](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | -| [FieldsSelectorTable](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | describe | | | -| [renders the table with data correctly](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [calls onAddColumn when a checkbox is checked](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [calls onRemoveColumn when a checkbox is unchecked](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [View selected](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | describe | | | -| [should show "view all" option by default](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [should render "view selected" option when previous selection was "view selected"](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [should show "view all" option after the "view all" is selected](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [should show only selected columns after the "view selected" option is selected](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [should show all columns available after the "view all" option is selected](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [should open the view selector with button click](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [Searching columns](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | describe | | | -| [should find all columns match the search term](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [should find all columns match the search term and are selected](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | -| [firstNonNullValue](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | describe | | | -| [returns the value itself for non-null single value](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | -| [returns undefined for a null single value](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | -| [returns undefined for an array of all null values](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | -| [returns the first non-null value in an array of mixed values](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | -| [returns the first value in an array of all non-null values](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | -| [returns undefined for an empty array](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | -| [DetectionRuleCounter](x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | describe | | | -| [should render loading skeleton when both rules and alerts are loading](x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | -| [should render create rule link when no rules exist](x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | -| [should render alert and rule count when rules exist](x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | -| [should show loading spinner when creating a rule](x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | -| [shows license block if subscription is not allowed](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [license block renders with license url locator](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [license block renders without license url locator](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates package policy namespace to default when it changes](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders and updates name field](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders and updates description field](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders KSPM input selector](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates selected KSPM input](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders CSPM input selector](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders disabled KSPM input when editing](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders disabled CSPM input when editing](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [selects default KSPM input selector](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [selects default VULN_MGMT input selector](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [selects default CSPM input selector](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [K8S](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | -| [K8S or KSPM Vanilla should not render any Setup Access option](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [EKS Credentials input fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | -| [documentation Hyperlink should have correct URL to redirect users to AWS page](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_EKS} Assume Role fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_EKS} Assume Role fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_EKS} Direct Access Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_EKS} Direct Access Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_EKS} Temporary Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_EKS} Temporary Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_EKS} Shared Credentials fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_EKS} Shared Credentials fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [AWS Credentials input fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | -| [renders ${CLOUDBEAT_AWS} Account Type field, AWS Organization is enabled for supported versions](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [${CLOUDBEAT_AWS} form displays upgrade message for unsupported versions and aws organization option is disabled](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [${CLOUDBEAT_AWS} form do not displays upgrade message for supported versions and aws organization option is enabled](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [Getting started Hyperlink should have correct URL to redirect users to elastic page](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [documentation Hyperlink should have correct URL to redirect users to elastic page if user chose Manual](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [documentation Hyperlink should have correct URL to redirect users to AWS page if user chose Cloudformation](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_AWS} Assume Role fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_AWS} Assume Role fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_AWS} Direct Access Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_AWS} Direct Access Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_AWS} Temporary Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_AWS} Temporary Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_AWS} Shared Credentials fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_AWS} Shared Credentials fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [Vuln Mgmt](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | -| [Update Agent Policy CloudFormation template from vars](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [Additional Charge Callout message should be rendered](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [GCP Credentials input fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | -| [renders ${CLOUDBEAT_GCP} Not supported when version is not at least version 1.5.2](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [documentation Hyperlink should have correct URL to redirect users to elastic page](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders Google Cloud Shell forms when Setup Access is set to Google Cloud Shell](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_GCP} Credentials File fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_GCP} Credentials File fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [${CLOUDBEAT_GCP} form do not displays upgrade message for supported versions and gcp organization option is enabled](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is Google Cloud Shell](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is manual](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [Should not render ${CLOUDBEAT_GCP} Organization fields when account type is Single](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_GCP} organization id](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [Azure Credentials input fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | -| [renders ${CLOUDBEAT_AZURE} Not supported when version is not at least version 1.6.0](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [doesnt render ${CLOUDBEAT_AZURE} Manual fields when version is not at least version 1.7.0](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [selects default ${CLOUDBEAT_AZURE} fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [Agentless](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | -| [should not render setup technology selector if agentless is not available and CSPM integration supports agentless](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [should render setup technology selector for AWS and allow to select agentless](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [should render setup technology selector for GCP for organisation account type](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | -| [should render setup technology selector for GCP for single-account](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | -| [should render setup technology selector for Azure for Organisation type](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [should render setup technology selector for Azure for Single Subscription type](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [should not render setup technology selector for KSPM](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [should not render setup technology selector for CNVM](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders Service principal with Client Certificate fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [updates Service principal with Client Certificate fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [should not render Service principal with Client Username and Password option](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | -| [renders Service principal with Client Username and Password fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | -| [updates Service principal with Client Username and Password fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | -| [useSetupTechnology](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | describe | | | -| [create page flow](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | describe | | | -| [initializes with AGENT_BASED technology](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [sets to AGENT-BASED when agentless is available and AWS cloud](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [sets to AGENT-BASED when agentless is available and GCP cloud](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [sets to AGENT-BASED when agentless is available and Azure cloud](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [sets to AGENT_BASED when agentless is available but input is not supported for agentless](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [sets to AGENT_BASED when isAgentlessEnabled is false](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [calls handleSetupTechnologyChange when setupTechnology changes](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [edit page flow](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | describe | | | -| [initializes with AGENT_BASED technology](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [initializes with agentless when is in edit mode and is agentless selected](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [should not call handleSetupTechnologyChange when setupTechnology changes](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [should not update setupTechnology when agentlessPolicyId becomes available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | -| [getPosturePolicy](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | describe | | | -| [updates package policy with hidden vars for ${name}](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [updates package policy required vars (posture/deployment)](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [updates package policy with a single enabled input](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should correctly increment cspm package name](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return correctly increment vuln_mgmt package name](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return correctly increment kspm package name](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return package name with -1 when no matching package policies are found](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return empty string when policy_templates is missing](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return empty string when policy_templates.name is not cspm](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return empty string when policy_templates.inputs is missing](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return empty string when policy_templates.inputs is empty](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return empty string when policy_templates.inputs is undefined](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return empty string when policy_templates.inputs.vars does not have cloud_shell_url](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return empty string when policy_templates.inputs.varshave cloud_shell_url but no default](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should cloud shell url when policy_templates.inputs.vars have cloud_shell_url](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return "direct_access_key" for agentless](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return "assume_role" for agent-based, when cloudformation is not available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return "cloud_formation" for agent-based, when cloudformation is available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return "service_principal_with_client_secret" for agentless](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [shold return "arm_template" for agent-based, when arm_template is available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return "managed_identity" for agent-based, when arm_template is not available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return manual credentials-json credentials type for agentless](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return google_cloud_shell setup access for agent-based if cloud_shell_url is available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [should return manual setup access for agent-based if cloud_shell_url is not available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [Should return var item when key exist](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [Should return undefined when key is invalid](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [Should return undefined when datastream is undefined](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [Should return undefined when stream is undefined](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [Should return undefined when stream.var is invalid](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | -| [NoFindingsStates](x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | describe | | | -| [shows integrations installation prompt with installation links when integration is not-installed](x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | -| [shows install agent prompt with install agent link when status is not-deployed](x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | -| [shows install agent prompt with install agent link when status is not-deployed and postureType is KSPM](x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | -| [shows indexing message when status is indexing](x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | -| [shows timeout message when status is index-timeout](x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | -| [shows unprivileged message when status is unprivileged](x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | -| [renders empty container when the status does not match a no finding status](x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | describe | | | -| [renders cis integration name](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | -| [renders benchmark version](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | -| [renders applicable to](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | -| [renders evaluated](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | -| [renders compliance](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | describe | | | -| [renders the page header](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | -| [renders the "add integration" button](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | -| [renders error state while there is an error](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | -| [renders the benchmarks table](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | -| [getTopRisks](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts) | describe | | | -| [returns sorted by posture score](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts) | it | | | -| [return sorted array with the correct number of elements](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | describe | | | -| [shows package not installed page instead of tabs](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [no findings state: not-deployed - shows NotDeployed instead of dashboard](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [no findings state: indexing - shows Indexing instead of dashboard](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [no findings state: indexing - shows Indexing instead of dashboard when waiting_for_results](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [no findings state: index-timeout - shows IndexTimeout instead of dashboard](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [no findings state: unprivileged - shows Unprivileged instead of dashboard](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [shows dashboard when there are findings in latest findings index](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [Show Kubernetes dashboard if there are KSPM findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [Show Cloud dashboard if there are CSPM findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [Show Cloud dashboard "no findings prompt" if the CSPM integration is installed without findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [Show Kubernetes dashboard "no findings prompt" if the KSPM integration is installed without findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [Prefer Cloud dashboard if both integration are installed](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [Prefer Cloud dashboard if both integration have findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [Show CSPM installation prompt if CSPM is not installed and KSPM is installed ,NO AGENT](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [Show KSPM installation prompt if KSPM is not installed and CSPM is installed , NO AGENT](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [getDefaultTab](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | describe | | | -| [returns CSPM tab if only CSPM has findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [returns CSPM tab if both CSPM and KSPM has findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [returns KSPM tab if only KSPM has findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [when no findings preffers CSPM tab unless not-installed or unprivileged](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [should returns undefined when plugin status and cspm stats is not provided](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [should return undefined is plugin status and csp status is not provided ](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [should return undefined when plugins status or cspm stats data is not provided](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | describe | | | -| [Sorting](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | describe | | | -| [sorts by ascending order of compliance scores](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | it | | | -| [toggles sort order when clicking Posture Score](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | describe | | | -| [renders all counter cards](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | it | | | -| [renders counters content according to mock](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | it | | | -| [renders counters value in compact abbreviation if its above one million](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | describe | | | -| [renders integrations installation prompt if integration is not installed and there are no findings](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | -| [SearchBar](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | describe | | | -| [set search query](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | -| [renders no results message and reset button when search query does not match](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | -| [add filter](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | -| [remove filter](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | -| [DistributionBar](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | describe | | | -| [renders the distribution bar](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | -| [filters by passed findings when clicking on the passed findings button](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | -| [filters by failed findings when clicking on the failed findings button](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | -| [Overview Tab](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | -| [details and remediation accordions are open](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [displays text details summary info](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [displays missing info callout when data source is not CSP](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [does not display missing info callout when data source is CSP](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [Rule Tab](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | -| [displays rule text details](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [displays missing info callout when data source is not CSP](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [does not display missing info callout when data source is CSP](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [Table Tab](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | -| [displays resource name and id](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [does not display missing info callout for 3Ps](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [JSON Tab](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | -| [does not display missing info callout for 3Ps](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [should allow pagination with next](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [should allow pagination with previous](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | -| [Get Filters](x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts) | describe | | | -| [negate an existing filter](x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx) | describe | | | -| [displays rules with their initial state](x-pack/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx) | describe | | | -| [calls Benchmark API](x-pack/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx) | it | | | -| [Display success state when result request is resolved](x-pack/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx) | it | | | -| [use_change_csp_rule_state](x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | describe | | | -| [should call http.post with the correct parameters](x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | -| [should cancel queries and update query data onMutate](x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | -| [should invalidate queries onSettled](x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | -| [should restore previous query data onError](x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | -| [creates the new set of cache rules in a muted state when calling createRulesWithUpdatedState](x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | -| [creates the new cache with rules in a unmute state](x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | -| [Header Info](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | -| [displays text details flyout header info](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | -| [JSON Tab](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | -| [show display Vulnerability JSON Tab](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | -| [Overview Summary Details Tab](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | -| [show display Vulnerability details in a Overview Tab](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | -| [show empty state for no fixes](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | -| [Flyout Pagination](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | ![](https://img.shields.io/badge/skipped-yellow) | | -| [should allow pagination with next](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | -| [should allow pagination with previous](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | -| [](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | describe | | | -| [No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | -| [No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | -| [No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | -| [No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | -| [renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | -| [](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | describe | | | -| [renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | -| [No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | -| [No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | -| [No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | -| [No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | -| [Vulnerabilities state: indexed - renders dashboard container on indexed state ](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | -| [createBenchmarkScoreIndex](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | describe | | | -| [should delete old index template from prev verions first](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | -| [should create index template with the correct index pattern, index name and default ingest pipeline](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | -| [should create index template the correct index patter, index name and default ingest pipeline but without lifecycle in serverless](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | -| [should create index if does not exist](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | -| [should updat index mapping if index exists](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | -| [createTransformIfNotExist](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | describe | | | -| [expect not to create if already exists](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | -| [expect to create if does not already exist](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | -| [expect not to create if get error is not 404](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | -| [startTransformIfNotStarted](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | describe | | | -| [expect not to start if state is ${state}](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | -| [expect not to start if transform not found](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | -| [expect to start if state is stopped](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | -| [expect to attempt restart if state is failed](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | -| [Benchmark Field Key Functions](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | describe | | | -| [toBenchmarkDocFieldKey should keep the same benchmark id and version key for benchmark document](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | -| [toBenchmarkDocFieldKey should convert benchmark version with . delimiter correctly](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | -| [toBenchmarkMappingFieldKey should convert benchmark version with _ delimiter correctly](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | -| [toBenchmarkMappingFieldKey should handle benchmark version with dots correctly](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | -| [MAPPING_VERSION_DELIMITER should be an underscore](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | -| [Cloud Security Posture Plugin](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | describe | | | -| [start()](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | describe | | | -| [should initialize when package installed](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | -| [should not initialize when package is not installed](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | -| [should not initialize when other package is created](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | -| [packagePolicyPostCreate should return the same received policy](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | -| [getSortedCspBenchmarkRules](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | describe | | | -| [sorts by metadata.benchmark.rule_number, invalid semantic version still should still get sorted and empty values should be sorted last](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | -| [edge case - returns empty array if input is empty](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | -| [edge case - returns sorted array even if input only has one element](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | -| [returns sorted array even with undefined or null properties](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | -| [returns sorted array with invalid semantic versions](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | -| [benchmarks API](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | -| [validate the API route path](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should accept to a user with fleet.all privilege](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should reject to a user without fleet.all privilege](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [test input schema](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | -| [expect to find default values](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [expect to find package_policy_name](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should throw when page field is not a positive integer](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should throw when per_page field is not a positive integer](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should throw when sort_field is not string](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should not throw when sort_field is a string](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should throw when sort_order is not ](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should not throw when ](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should not throw when ](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should not throw when fields is a known string literal](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [test benchmarks utils](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | -| [test getAgentPolicies](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | -| [should return one agent policy id when there is duplication](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [should return full policy ids list when there is no id duplication](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [test addPackagePolicyCspBenchmarkRule](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | -| [should retrieve the rules count by the filtered benchmark type](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | -| [compliance dashboard permissions API](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts) | describe | | | -| [should accept to a user with fleet.all privilege](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts) | it | | | -| [should reject to a user without fleet.all privilege](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts) | it | | | -| [getBenchmarksFromAggs](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts) | describe | | | -| [should return value matching ComplianceDashboardDataV2["benchmarks"]](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts) | it | | | -| [getClustersFromAggs](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts) | describe | | | -| [should return value matching ComplianceDashboardData["clusters"]](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts) | it | | | -| [getPostureStatsFromAggs](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts) | describe | | | -| [should return value matching ComplianceDashboardData["resourcesTypes"]](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts) | it | | | -| [roundScore](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | describe | | | -| [should return decimal values with one fraction digit](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | -| [calculatePostureScore](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | describe | | | -| [should return calculated posture score](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | -| [getStatsFromFindingsEvaluationsAggs](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | describe | | | -| [should throw error in case no findings were found](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | -| [should return value matching ComplianceDashboardData["stats"]](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | -| [checks for stability in case one of the values is zero](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | -| [should return zero on all stats if there are no failed or passed findings](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | -| [getTrendsFromQueryResult](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts) | describe | | | -| [should return value matching Trends type definition, in descending order, and with postureScore](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts) | it | | | -| [calculateIntegrationStatus for cspm](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | describe | | | -| [Verify status when CSP package is not installed](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are no permission for cspm](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are no findings, no healthy agents and no installed policy templates](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are findings and installed policies but no healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are findings ,installed policies and healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are no findings ,installed policies and no healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are installed policies, healthy agents and no findings](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are installed policies, healthy agents and no findings and been more than 10 minutes](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are installed policies, healthy agents past findings but no recent findings](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [calculateIntegrationStatus for vul_mgmt](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | describe | | | -| [Verify status when there are no permission for vul_mgmt](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are no vul_mgmt findings, no healthy agents and no installed policy templates](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are vul_mgmt findings and installed policies but no healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are vul_mgmt findings ,installed policies and healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are no vul_mgmt findings ,installed policies and no healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are installed policies, healthy agents and no vul_mgmt findings](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 10 minutes](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 1 hour](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [Verify status when there are installed policies, healthy agents past vul_mgmt findings but no recent findings](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | -| [finding stats task state](x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | describe | | | -| [v1](x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | describe | | | -| [should work on empty object when running the up migration](x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | it | | | -| [shouldn](x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | it | | | -| [should drop unknown properties when running the up migration](x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | it | | | +| [Detection rules utils](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | describe | | | +| [should convert tags to KQL format with AND operator](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should convert tags to KQL format with AND Operator (empty array)](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [should convert tags to KQL format with OR Operator](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should convert tags to KQL format with OR Operator (empty array)](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should generate search tags for a CSP benchmark rule](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should handle undefined benchmark object gracefully](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should handle undefined rule number gracefully](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should generate search tags for a CSP benchmark rule given an array of Benchmarks](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should handle undefined benchmark object gracefully given an array of empty benchmark](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should generate tags for a CSPM benchmark rule](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should generate tags for a KSPM benchmark rule](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [test helper methods](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | describe | | | +| [get default integration type from inputs with multiple enabled types](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get default integration type from inputs without any enabled types](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get EKS integration type](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get Vanilla K8S integration type](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get benchmark type filter based on a benchmark id](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [should return a string with the correct filter when given a benchmark type and section](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get benchmark filter query based on a benchmark Id, version](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get benchmark filter query based on a benchmark Id, version and multiple sections and rule numbers](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get benchmark filter query based on a benchmark Id, version and just sections](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get benchmark filter query based on a benchmark Id, version and just rule numbers](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [cleanupCredentials](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | describe | | | +| [cleans unused aws credential methods, except role_arn when using assume_role](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [cleans unused aws credential methods, when using cloud formation](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [cleans unused aws credential methods, when using direct_access_keys method ](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [when aws credential type is undefined, return unchanged policy](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [cleans unused gcp credential methods, when using credentials-file method ](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [when gcp credential type is undefined, return unchanged policy](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [isSubscriptionAllowed](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/subscription.test.ts) | describe | | | +| [should allow any cloud subscription](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/subscription.test.ts) | it | | | +| [should allow enterprise and trial licenses for on-prem](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/subscription.test.ts) | it | | | +| [should not allow enterprise and trial licenses for on-prem](x-pack/solutions/security/plugins/cloud_security_posture/common/utils/subscription.test.ts) | it | | | +| [CspRouter](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | +| [happy path](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | +| [should render Findings](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should render Dashboards](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should render the Vulnerability Dashboard](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should render Benchmarks](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should render Rules](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [unhappy path](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | +| [should redirect base path to dashboard](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [CspRoute](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | +| [should not render disabled path](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should render SpyRoute for static paths](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should not render SpyRoute for dynamic paths](x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [useBenchmarkDynamicValues](x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts) | describe | | | +| [should return the correct dynamic benchmark values for each provided benchmark ID](x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts) | it | | | +| [should return the correct resource plurals based on the provided resource count](x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts) | it | | | +| [useNavigateFindings](x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | describe | | | +| [creates a URL to findings page with correct path, filter and dataViewId](x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | it | | | +| [creates a URL to findings page with correct path and negated filter](x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | it | | | +| [creates a URL to vulnerabilities page with correct path, filter and dataViewId](x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | it | | | +| [useUrlQuery](x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts) | describe | | | +| [uses default query when no query is provided](x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts) | it | | | +| [merges default query, partial first query and partial second query](x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts) | it | | | +| [getSecuritySolutionLink](x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts) | describe | | | +| [gets the correct link properties](x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts) | it | | | +| [getAbbreviatedNumber](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | describe | | | +| [should return the same value if it is less than 1000](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | it | | | +| [should use numeral to format the value if it is greater than or equal to 1000](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | it | | | +| [should return 0 if the value is NaN](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | it | | | +| [getCvsScoreColor](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | describe | | | +| [returns correct color for low severity score](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [returns correct color for medium severity score](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [returns correct color for high severity score](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [returns correct color for critical severity score](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [returns correct color for low severity score for undefined value](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [getSeverityStatusColor](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | describe | | | +| [should return the correct color for LOW severity](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [should return the correct color for MEDIUM severity](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [should return the correct color for HIGH severity](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [should return the correct color for CRITICAL severity](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [should return #aaa for an unknown severity](x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [AccountsEvaluatedWidget](x-pack/solutions/security/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | describe | | | +| [renders the component with benchmark data correctly](x-pack/solutions/security/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | it | | | +| [calls navToFindingsByCloudProvider when a benchmark with provider is clicked](x-pack/solutions/security/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | it | | | +| [calls navToFindingsByCisBenchmark when a benchmark with benchmarkId is clicked](x-pack/solutions/security/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | describe | | | +| [renders loading state](x-pack/solutions/security/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | it | | | +| [renders error state](x-pack/solutions/security/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | it | | | +| [renders chart component](x-pack/solutions/security/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | describe | | | +| [renders children if setup status is indexed](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders default loading text when query isLoading](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders default loading text when query is idle](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders default error texts when query isError](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [prefers custom error render](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [prefers custom loading render](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders no data prompt when query data is undefined](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [prefers custom no data prompt](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [CloudSecurityDataTable](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | describe | | | +| [renders loading state](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | +| [renders empty state when no rows are present](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | +| [renders data table with rows](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | +| [renders data table with actions button](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | +| [renders data table without actions button](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | +| [FieldsSelectorTable](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | describe | | | +| [renders the table with data correctly](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [calls onAddColumn when a checkbox is checked](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [calls onRemoveColumn when a checkbox is unchecked](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [View selected](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | describe | | | +| [should show "view all" option by default](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [should render "view selected" option when previous selection was "view selected"](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [should show "view all" option after the "view all" is selected](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [should show only selected columns after the "view selected" option is selected](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [should show all columns available after the "view all" option is selected](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [should open the view selector with button click](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [Searching columns](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | describe | | | +| [should find all columns match the search term](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [should find all columns match the search term and are selected](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [firstNonNullValue](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | describe | | | +| [returns the value itself for non-null single value](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [returns undefined for a null single value](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [returns undefined for an array of all null values](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [returns the first non-null value in an array of mixed values](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [returns the first value in an array of all non-null values](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [returns undefined for an empty array](x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [DetectionRuleCounter](x-pack/solutions/security/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | describe | | | +| [should render loading skeleton when both rules and alerts are loading](x-pack/solutions/security/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | +| [should render create rule link when no rules exist](x-pack/solutions/security/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | +| [should render alert and rule count when rules exist](x-pack/solutions/security/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | +| [should show loading spinner when creating a rule](x-pack/solutions/security/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [shows license block if subscription is not allowed](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [license block renders with license url locator](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [license block renders without license url locator](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates package policy namespace to default when it changes](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders and updates name field](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders and updates description field](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders KSPM input selector](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates selected KSPM input](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders CSPM input selector](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders disabled KSPM input when editing](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders disabled CSPM input when editing](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [selects default KSPM input selector](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [selects default VULN_MGMT input selector](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [selects default CSPM input selector](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [K8S](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [K8S or KSPM Vanilla should not render any Setup Access option](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [EKS Credentials input fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [documentation Hyperlink should have correct URL to redirect users to AWS page](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_EKS} Assume Role fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_EKS} Assume Role fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_EKS} Direct Access Keys fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_EKS} Direct Access Keys fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_EKS} Temporary Keys fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_EKS} Temporary Keys fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_EKS} Shared Credentials fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_EKS} Shared Credentials fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [AWS Credentials input fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [renders ${CLOUDBEAT_AWS} Account Type field, AWS Organization is enabled for supported versions](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [${CLOUDBEAT_AWS} form displays upgrade message for unsupported versions and aws organization option is disabled](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [${CLOUDBEAT_AWS} form do not displays upgrade message for supported versions and aws organization option is enabled](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Getting started Hyperlink should have correct URL to redirect users to elastic page](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [documentation Hyperlink should have correct URL to redirect users to elastic page if user chose Manual](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [documentation Hyperlink should have correct URL to redirect users to AWS page if user chose Cloudformation](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_AWS} Assume Role fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_AWS} Assume Role fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_AWS} Direct Access Keys fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_AWS} Direct Access Keys fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_AWS} Temporary Keys fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_AWS} Temporary Keys fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_AWS} Shared Credentials fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_AWS} Shared Credentials fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Vuln Mgmt](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [Update Agent Policy CloudFormation template from vars](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Additional Charge Callout message should be rendered](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [GCP Credentials input fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [renders ${CLOUDBEAT_GCP} Not supported when version is not at least version 1.5.2](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [documentation Hyperlink should have correct URL to redirect users to elastic page](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders Google Cloud Shell forms when Setup Access is set to Google Cloud Shell](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_GCP} Credentials File fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_GCP} Credentials File fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [${CLOUDBEAT_GCP} form do not displays upgrade message for supported versions and gcp organization option is enabled](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is Google Cloud Shell](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is manual](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Should not render ${CLOUDBEAT_GCP} Organization fields when account type is Single](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_GCP} organization id](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Azure Credentials input fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [renders ${CLOUDBEAT_AZURE} Not supported when version is not at least version 1.6.0](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [doesnt render ${CLOUDBEAT_AZURE} Manual fields when version is not at least version 1.7.0](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [selects default ${CLOUDBEAT_AZURE} fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Agentless](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [should not render setup technology selector if agentless is not available and CSPM integration supports agentless](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should render setup technology selector for AWS and allow to select agentless](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should render setup technology selector for GCP for organisation account type](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [should render setup technology selector for GCP for single-account](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [should render setup technology selector for Azure for Organisation type](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should render setup technology selector for Azure for Single Subscription type](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should not render setup technology selector for KSPM](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should not render setup technology selector for CNVM](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders Service principal with Client Certificate fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates Service principal with Client Certificate fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should not render Service principal with Client Username and Password option](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders Service principal with Client Username and Password fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [updates Service principal with Client Username and Password fields](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [useSetupTechnology](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | describe | | | +| [create page flow](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | describe | | | +| [initializes with AGENT_BASED technology](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [sets to AGENT-BASED when agentless is available and AWS cloud](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [sets to AGENT-BASED when agentless is available and GCP cloud](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [sets to AGENT-BASED when agentless is available and Azure cloud](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [sets to AGENT_BASED when agentless is available but input is not supported for agentless](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [sets to AGENT_BASED when isAgentlessEnabled is false](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [calls handleSetupTechnologyChange when setupTechnology changes](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [edit page flow](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | describe | | | +| [initializes with AGENT_BASED technology](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [initializes with agentless when is in edit mode and is agentless selected](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [should not call handleSetupTechnologyChange when setupTechnology changes](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [should not update setupTechnology when agentlessPolicyId becomes available](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [getPosturePolicy](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | describe | | | +| [updates package policy with hidden vars for ${name}](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [updates package policy required vars (posture/deployment)](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [updates package policy with a single enabled input](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should correctly increment cspm package name](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return correctly increment vuln_mgmt package name](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return correctly increment kspm package name](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return package name with -1 when no matching package policies are found](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates is missing](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.name is not cspm](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.inputs is missing](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.inputs is empty](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.inputs is undefined](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.inputs.vars does not have cloud_shell_url](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.inputs.varshave cloud_shell_url but no default](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should cloud shell url when policy_templates.inputs.vars have cloud_shell_url](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return "direct_access_key" for agentless](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return "assume_role" for agent-based, when cloudformation is not available](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return "cloud_formation" for agent-based, when cloudformation is available](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return "service_principal_with_client_secret" for agentless](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [shold return "arm_template" for agent-based, when arm_template is available](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return "managed_identity" for agent-based, when arm_template is not available](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return manual credentials-json credentials type for agentless](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return google_cloud_shell setup access for agent-based if cloud_shell_url is available](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return manual setup access for agent-based if cloud_shell_url is not available](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [Should return var item when key exist](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [Should return undefined when key is invalid](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [Should return undefined when datastream is undefined](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [Should return undefined when stream is undefined](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [Should return undefined when stream.var is invalid](x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [NoFindingsStates](x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | describe | | | +| [shows integrations installation prompt with installation links when integration is not-installed](x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | +| [shows install agent prompt with install agent link when status is not-deployed](x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | +| [shows install agent prompt with install agent link when status is not-deployed and postureType is KSPM](x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | +| [shows indexing message when status is indexing](x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | +| [shows timeout message when status is index-timeout](x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | +| [shows unprivileged message when status is unprivileged](x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | +| [renders empty container when the status does not match a no finding status](x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | describe | | | +| [renders cis integration name](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | +| [renders benchmark version](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | +| [renders applicable to](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | +| [renders evaluated](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | +| [renders compliance](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | describe | | | +| [renders the page header](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | +| [renders the "add integration" button](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | +| [renders error state while there is an error](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | +| [renders the benchmarks table](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | +| [getTopRisks](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts) | describe | | | +| [returns sorted by posture score](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts) | it | | | +| [return sorted array with the correct number of elements](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | describe | | | +| [shows package not installed page instead of tabs](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [no findings state: not-deployed - shows NotDeployed instead of dashboard](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [no findings state: indexing - shows Indexing instead of dashboard](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [no findings state: indexing - shows Indexing instead of dashboard when waiting_for_results](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [no findings state: index-timeout - shows IndexTimeout instead of dashboard](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [no findings state: unprivileged - shows Unprivileged instead of dashboard](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [shows dashboard when there are findings in latest findings index](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show Kubernetes dashboard if there are KSPM findings](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show Cloud dashboard if there are CSPM findings](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show Cloud dashboard "no findings prompt" if the CSPM integration is installed without findings](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show Kubernetes dashboard "no findings prompt" if the KSPM integration is installed without findings](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Prefer Cloud dashboard if both integration are installed](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Prefer Cloud dashboard if both integration have findings](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show CSPM installation prompt if CSPM is not installed and KSPM is installed ,NO AGENT](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show KSPM installation prompt if KSPM is not installed and CSPM is installed , NO AGENT](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [getDefaultTab](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | describe | | | +| [returns CSPM tab if only CSPM has findings](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [returns CSPM tab if both CSPM and KSPM has findings](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [returns KSPM tab if only KSPM has findings](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [when no findings preffers CSPM tab unless not-installed or unprivileged](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [should returns undefined when plugin status and cspm stats is not provided](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [should return undefined is plugin status and csp status is not provided ](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [should return undefined when plugins status or cspm stats data is not provided](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | describe | | | +| [Sorting](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | describe | | | +| [sorts by ascending order of compliance scores](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | it | | | +| [toggles sort order when clicking Posture Score](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | describe | | | +| [renders all counter cards](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | it | | | +| [renders counters content according to mock](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | it | | | +| [renders counters value in compact abbreviation if its above one million](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | describe | | | +| [renders integrations installation prompt if integration is not installed and there are no findings](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [SearchBar](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | describe | | | +| [set search query](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [renders no results message and reset button when search query does not match](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [add filter](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [remove filter](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [DistributionBar](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | describe | | | +| [renders the distribution bar](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [filters by passed findings when clicking on the passed findings button](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [filters by failed findings when clicking on the failed findings button](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | +| [Overview Tab](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | +| [details and remediation accordions are open](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [displays text details summary info](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [displays missing info callout when data source is not CSP](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [does not display missing info callout when data source is CSP](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [Rule Tab](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | +| [displays rule text details](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [displays missing info callout when data source is not CSP](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [does not display missing info callout when data source is CSP](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [Table Tab](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | +| [displays resource name and id](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [does not display missing info callout for 3Ps](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [JSON Tab](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | +| [does not display missing info callout for 3Ps](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [should allow pagination with next](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [should allow pagination with previous](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [Get Filters](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts) | describe | | | +| [negate an existing filter](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx) | describe | | | +| [displays rules with their initial state](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx) | describe | | | +| [calls Benchmark API](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx) | it | | | +| [Display success state when result request is resolved](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx) | it | | | +| [use_change_csp_rule_state](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | describe | | | +| [should call http.post with the correct parameters](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | +| [should cancel queries and update query data onMutate](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | +| [should invalidate queries onSettled](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | +| [should restore previous query data onError](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | +| [creates the new set of cache rules in a muted state when calling createRulesWithUpdatedState](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | +| [creates the new cache with rules in a unmute state](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | +| [Header Info](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | +| [displays text details flyout header info](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | +| [JSON Tab](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | +| [show display Vulnerability JSON Tab](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | +| [Overview Summary Details Tab](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | +| [show display Vulnerability details in a Overview Tab](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | +| [show empty state for no fixes](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | +| [Flyout Pagination](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | ![](https://img.shields.io/badge/skipped-yellow) | | +| [should allow pagination with next](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [should allow pagination with previous](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | describe | | | +| [No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | +| [No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | +| [No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | +| [No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | +| [renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | +| [](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | describe | | | +| [renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [Vulnerabilities state: indexed - renders dashboard container on indexed state ](x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [createBenchmarkScoreIndex](x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | describe | | | +| [should delete old index template from prev verions first](x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | +| [should create index template with the correct index pattern, index name and default ingest pipeline](x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | +| [should create index template the correct index patter, index name and default ingest pipeline but without lifecycle in serverless](x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | +| [should create index if does not exist](x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | +| [should updat index mapping if index exists](x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | +| [createTransformIfNotExist](x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | describe | | | +| [expect not to create if already exists](x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [expect to create if does not already exist](x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [expect not to create if get error is not 404](x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [startTransformIfNotStarted](x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | describe | | | +| [expect not to start if state is ${state}](x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [expect not to start if transform not found](x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [expect to start if state is stopped](x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [expect to attempt restart if state is failed](x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [Benchmark Field Key Functions](x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | describe | | | +| [toBenchmarkDocFieldKey should keep the same benchmark id and version key for benchmark document](x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | +| [toBenchmarkDocFieldKey should convert benchmark version with . delimiter correctly](x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | +| [toBenchmarkMappingFieldKey should convert benchmark version with _ delimiter correctly](x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | +| [toBenchmarkMappingFieldKey should handle benchmark version with dots correctly](x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | +| [MAPPING_VERSION_DELIMITER should be an underscore](x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | +| [Cloud Security Posture Plugin](x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.test.ts) | describe | | | +| [start()](x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.test.ts) | describe | | | +| [should initialize when package installed](x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | +| [should not initialize when package is not installed](x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | +| [should not initialize when other package is created](x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | +| [packagePolicyPostCreate should return the same received policy](x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | +| [getSortedCspBenchmarkRules](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | describe | | | +| [sorts by metadata.benchmark.rule_number, invalid semantic version still should still get sorted and empty values should be sorted last](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | +| [edge case - returns empty array if input is empty](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | +| [edge case - returns sorted array even if input only has one element](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | +| [returns sorted array even with undefined or null properties](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | +| [returns sorted array with invalid semantic versions](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | +| [benchmarks API](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | +| [validate the API route path](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should accept to a user with fleet.all privilege](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should reject to a user without fleet.all privilege](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [test input schema](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | +| [expect to find default values](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [expect to find package_policy_name](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should throw when page field is not a positive integer](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should throw when per_page field is not a positive integer](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should throw when sort_field is not string](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should not throw when sort_field is a string](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should throw when sort_order is not ](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should not throw when ](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should not throw when ](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should not throw when fields is a known string literal](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [test benchmarks utils](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | +| [test getAgentPolicies](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | +| [should return one agent policy id when there is duplication](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should return full policy ids list when there is no id duplication](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [test addPackagePolicyCspBenchmarkRule](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | +| [should retrieve the rules count by the filtered benchmark type](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [compliance dashboard permissions API](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts) | describe | | | +| [should accept to a user with fleet.all privilege](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts) | it | | | +| [should reject to a user without fleet.all privilege](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts) | it | | | +| [getBenchmarksFromAggs](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts) | describe | | | +| [should return value matching ComplianceDashboardDataV2["benchmarks"]](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts) | it | | | +| [getClustersFromAggs](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts) | describe | | | +| [should return value matching ComplianceDashboardData["clusters"]](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts) | it | | | +| [getPostureStatsFromAggs](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts) | describe | | | +| [should return value matching ComplianceDashboardData["resourcesTypes"]](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts) | it | | | +| [roundScore](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | describe | | | +| [should return decimal values with one fraction digit](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [calculatePostureScore](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | describe | | | +| [should return calculated posture score](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [getStatsFromFindingsEvaluationsAggs](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | describe | | | +| [should throw error in case no findings were found](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [should return value matching ComplianceDashboardData["stats"]](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [checks for stability in case one of the values is zero](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [should return zero on all stats if there are no failed or passed findings](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [getTrendsFromQueryResult](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts) | describe | | | +| [should return value matching Trends type definition, in descending order, and with postureScore](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts) | it | | | +| [calculateIntegrationStatus for cspm](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | describe | | | +| [Verify status when CSP package is not installed](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are no permission for cspm](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are no findings, no healthy agents and no installed policy templates](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are findings and installed policies but no healthy agents](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are findings ,installed policies and healthy agents](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are no findings ,installed policies and no healthy agents](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents and no findings](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents and no findings and been more than 10 minutes](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents past findings but no recent findings](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [calculateIntegrationStatus for vul_mgmt](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | describe | | | +| [Verify status when there are no permission for vul_mgmt](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are no vul_mgmt findings, no healthy agents and no installed policy templates](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are vul_mgmt findings and installed policies but no healthy agents](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are vul_mgmt findings ,installed policies and healthy agents](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are no vul_mgmt findings ,installed policies and no healthy agents](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents and no vul_mgmt findings](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 10 minutes](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 1 hour](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents past vul_mgmt findings but no recent findings](x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [finding stats task state](x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | describe | | | +| [v1](x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | describe | | | +| [should work on empty object when running the up migration](x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | it | | | +| [shouldn](x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | it | | | +| [should drop unknown properties when running the up migration](x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | it | | | ## Directory: x-pack/test_serverless/api_integration/test_suites/security/cloud_security_posture diff --git a/x-pack/plugins/cloud_security_posture/common/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/index.ts diff --git a/x-pack/plugins/cloud_security_posture/common/runtime_mappings/get_identifier_runtime_mapping.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/runtime_mappings/get_identifier_runtime_mapping.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/runtime_mappings/get_identifier_runtime_mapping.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/runtime_mappings/get_identifier_runtime_mapping.ts diff --git a/x-pack/plugins/cloud_security_posture/common/runtime_mappings/get_package_policy_id_mapping.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/runtime_mappings/get_package_policy_id_mapping.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/runtime_mappings/get_package_policy_id_mapping.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/runtime_mappings/get_package_policy_id_mapping.ts diff --git a/x-pack/plugins/cloud_security_posture/common/runtime_mappings/get_safe_posture_type_runtime_mapping.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/runtime_mappings/get_safe_posture_type_runtime_mapping.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/runtime_mappings/get_safe_posture_type_runtime_mapping.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/runtime_mappings/get_safe_posture_type_runtime_mapping.ts diff --git a/x-pack/plugins/cloud_security_posture/common/schemas/stats.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/schemas/stats.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/schemas/stats.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/schemas/stats.ts diff --git a/x-pack/plugins/cloud_security_posture/common/scripts/__auto_generated_csp_test_log.json b/x-pack/solutions/security/plugins/cloud_security_posture/common/scripts/__auto_generated_csp_test_log.json similarity index 98% rename from x-pack/plugins/cloud_security_posture/common/scripts/__auto_generated_csp_test_log.json rename to x-pack/solutions/security/plugins/cloud_security_posture/common/scripts/__auto_generated_csp_test_log.json index b2479277f0ee1..2fcada14f0ae3 100644 --- a/x-pack/plugins/cloud_security_posture/common/scripts/__auto_generated_csp_test_log.json +++ b/x-pack/solutions/security/plugins/cloud_security_posture/common/scripts/__auto_generated_csp_test_log.json @@ -230,9 +230,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts", "fileName": "detection_rules.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -498,9 +498,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts", "fileName": "helpers.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -894,9 +894,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/common/utils/subscription.test.ts", "fileName": "subscription.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -994,9 +994,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx", "fileName": "csp_router.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -1289,9 +1289,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts", "fileName": "use_benchmark_dynamic_values.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -1368,9 +1368,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts", "fileName": "use_navigate_findings.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -1468,9 +1468,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts", "fileName": "use_url_query.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -1547,9 +1547,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts", "fileName": "security_solution_links.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -1605,9 +1605,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts", "fileName": "get_abbreviated_number.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -1705,9 +1705,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts", "fileName": "get_vulnerabiltity_colors.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -1975,9 +1975,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx", "fileName": "accounts_evaluated_widget.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -2075,9 +2075,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/chart_panel.test.tsx", "fileName": "chart_panel.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -2175,9 +2175,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx", "fileName": "cloud_posture_page.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -2380,9 +2380,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx", "fileName": "cloud_security_data_table.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -2522,9 +2522,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx", "fileName": "fields_selector_table.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -2836,9 +2836,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts", "fileName": "first_non_null_value.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -2999,9 +2999,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx", "fileName": "detection_rule_counter.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -3120,9 +3120,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx", "fileName": "policy_template_form.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT", "HAS SKIP" @@ -4747,9 +4747,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts", "fileName": "use_setup_technology.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -5061,9 +5061,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts", "fileName": "utils.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -5784,9 +5784,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx", "fileName": "no_findings_states.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -5968,9 +5968,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx", "fileName": "benchmarks_table.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -6110,9 +6110,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx", "fileName": "benchmarks.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -6231,9 +6231,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts", "fileName": "risks_table.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -6310,9 +6310,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx", "fileName": "compliance_dashboard.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -6832,9 +6832,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx", "fileName": "benchmarks_section.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -6934,9 +6934,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx", "fileName": "summary_section.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -7034,9 +7034,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx", "fileName": "configurations.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -7285,9 +7285,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx", "fileName": "findings_flyout.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -7666,9 +7666,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts", "fileName": "get_filters.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -7724,9 +7724,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx", "fileName": "rules_container.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -7782,9 +7782,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx", "fileName": "rules.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -7861,9 +7861,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx", "fileName": "use_change_csp_rule_state.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -8024,9 +8024,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx", "fileName": "vulnerability_finding_flyout.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT", "HAS SKIP" @@ -8280,9 +8280,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx", "fileName": "vulnerabilties.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -8422,9 +8422,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx", "fileName": "vulnerability_dashboard.test.tsx", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -8585,9 +8585,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts", "fileName": "create_indices.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -8727,9 +8727,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts", "fileName": "create_transforms.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -8934,9 +8934,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts", "fileName": "mapping_field_util.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -9076,9 +9076,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/plugin.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.test.ts", "fileName": "plugin.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -9220,9 +9220,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts", "fileName": "find.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -9362,9 +9362,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts", "fileName": "benchmarks.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -9827,9 +9827,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts", "fileName": "compliance_dashboard.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -9906,9 +9906,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts", "fileName": "get_benchmarks.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -9964,9 +9964,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts", "fileName": "get_clusters.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -10022,9 +10022,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts", "fileName": "get_grouped_findings_evaluation.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -10080,9 +10080,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts", "fileName": "get_stats.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -10289,9 +10289,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts", "fileName": "get_trends.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -10347,9 +10347,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts", "fileName": "status.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], @@ -10785,9 +10785,9 @@ ] }, { - "filePath": "x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts", + "filePath": "x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/task_state.test.ts", "fileName": "task_state.test.ts", - "directory": "x-pack/plugins/cloud_security_posture", + "directory": "x-pack/solutions/security/plugins/cloud_security_posture", "tags": [ "UT" ], diff --git a/x-pack/plugins/cloud_security_posture/common/scripts/get_tests.js b/x-pack/solutions/security/plugins/cloud_security_posture/common/scripts/get_tests.js similarity index 98% rename from x-pack/plugins/cloud_security_posture/common/scripts/get_tests.js rename to x-pack/solutions/security/plugins/cloud_security_posture/common/scripts/get_tests.js index d23498b24bd86..e44cd96a659a3 100644 --- a/x-pack/plugins/cloud_security_posture/common/scripts/get_tests.js +++ b/x-pack/solutions/security/plugins/cloud_security_posture/common/scripts/get_tests.js @@ -32,7 +32,7 @@ const FTR_CSP_API = 'x-pack/test/cloud_security_posture_api'; const FTR_CSP_FUNCTIONAL = 'x-pack/test/cloud_security_posture_functional'; // Unit tests -const UNIT_TEST_CSP = 'x-pack/plugins/cloud_security_posture'; +const UNIT_TEST_CSP = 'x-pack/solutions/security/plugins/cloud_security_posture'; // KBN Package const KBN_CSP_PACKAGE = 'x-pack/packages/kbn-cloud-security-posture'; @@ -51,7 +51,7 @@ const directoryPaths = [ // Output directories and file paths const MD_FILE_PATH = path.join( - 'x-pack/plugins/cloud_security_posture/common/dev_docs', + 'x-pack/solutions/security/plugins/cloud_security_posture/common/dev_docs', '__auto_generated_csp_requirements_test_coverage.md' ); const CSP_TEST_LOGS_FILE_PATH = path.join(__dirname, '__auto_generated_csp_test_log.json'); diff --git a/x-pack/plugins/cloud_security_posture/common/types/benchmarks/v1.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/types/benchmarks/v1.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/types/benchmarks/v1.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/types/benchmarks/v1.ts diff --git a/x-pack/plugins/cloud_security_posture/common/types/benchmarks/v2.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/types/benchmarks/v2.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/types/benchmarks/v2.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/types/benchmarks/v2.ts diff --git a/x-pack/plugins/cloud_security_posture/common/types/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/types/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/types/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/types/index.ts diff --git a/x-pack/plugins/cloud_security_posture/common/types/latest.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/types/latest.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/types/latest.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/types/latest.ts diff --git a/x-pack/plugins/cloud_security_posture/common/types_old.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/types_old.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/types_old.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/types_old.ts diff --git a/x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.test.ts diff --git a/x-pack/plugins/cloud_security_posture/common/utils/detection_rules.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/utils/detection_rules.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/utils/detection_rules.ts diff --git a/x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.test.ts diff --git a/x-pack/plugins/cloud_security_posture/common/utils/helpers.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/utils/helpers.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/utils/helpers.ts diff --git a/x-pack/plugins/cloud_security_posture/common/utils/rules_states.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/utils/rules_states.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/utils/rules_states.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/utils/rules_states.ts diff --git a/x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/utils/subscription.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/utils/subscription.test.ts diff --git a/x-pack/plugins/cloud_security_posture/common/utils/subscription.ts b/x-pack/solutions/security/plugins/cloud_security_posture/common/utils/subscription.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/common/utils/subscription.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/common/utils/subscription.ts diff --git a/x-pack/plugins/cloud_security_posture/jest.config.js b/x-pack/solutions/security/plugins/cloud_security_posture/jest.config.js similarity index 84% rename from x-pack/plugins/cloud_security_posture/jest.config.js rename to x-pack/solutions/security/plugins/cloud_security_posture/jest.config.js index 82ecbd0c85592..01066ae3794f3 100644 --- a/x-pack/plugins/cloud_security_posture/jest.config.js +++ b/x-pack/solutions/security/plugins/cloud_security_posture/jest.config.js @@ -8,12 +8,12 @@ /** @type {import('@jest/types').Config.InitialOptions} */ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/cloud_security_posture'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/cloud_security_posture', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/security/plugins/cloud_security_posture'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/cloud_security_posture', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/cloud_security_posture/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/solutions/security/plugins/cloud_security_posture/{common,public,server}/**/*.{ts,tsx}', ], // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation transformIgnorePatterns: [ diff --git a/x-pack/plugins/cloud_security_posture/kibana.jsonc b/x-pack/solutions/security/plugins/cloud_security_posture/kibana.jsonc similarity index 100% rename from x-pack/plugins/cloud_security_posture/kibana.jsonc rename to x-pack/solutions/security/plugins/cloud_security_posture/kibana.jsonc diff --git a/x-pack/plugins/cloud_security_posture/public/application/csp_route.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_route.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/application/csp_route.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_route.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/application/csp_router.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/application/csp_router.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/application/csp_router.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/application/security_solution_context.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/application/security_solution_context.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/application/security_solution_context.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/application/security_solution_context.ts diff --git a/x-pack/plugins/cloud_security_posture/public/application/setup_context.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/application/setup_context.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/application/setup_context.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/application/setup_context.ts diff --git a/x-pack/plugins/cloud_security_posture/public/assets/icons/cis_aks_logo.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/cis_aks_logo.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/icons/cis_aks_logo.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/cis_aks_logo.svg diff --git a/x-pack/plugins/cloud_security_posture/public/assets/icons/cis_eks_logo.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/cis_eks_logo.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/icons/cis_eks_logo.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/cis_eks_logo.svg diff --git a/x-pack/plugins/cloud_security_posture/public/assets/icons/cis_gke_logo.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/cis_gke_logo.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/icons/cis_gke_logo.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/cis_gke_logo.svg diff --git a/x-pack/plugins/cloud_security_posture/public/assets/icons/cis_logo.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/cis_logo.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/icons/cis_logo.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/cis_logo.svg diff --git a/x-pack/plugins/cloud_security_posture/public/assets/icons/google_cloud_logo.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/google_cloud_logo.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/icons/google_cloud_logo.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/google_cloud_logo.svg diff --git a/x-pack/plugins/cloud_security_posture/public/assets/icons/nvd_logo_svg.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/nvd_logo_svg.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/icons/nvd_logo_svg.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/nvd_logo_svg.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/assets/icons/redhat_logo.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/redhat_logo.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/icons/redhat_logo.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/icons/redhat_logo.svg diff --git a/x-pack/plugins/cloud_security_posture/public/assets/illustrations/clouds.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/illustrations/clouds.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/illustrations/clouds.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/illustrations/clouds.svg diff --git a/x-pack/plugins/cloud_security_posture/public/assets/illustrations/illustration_product_no_results_magnifying_glass.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/illustrations/illustration_product_no_results_magnifying_glass.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/illustrations/illustration_product_no_results_magnifying_glass.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/illustrations/illustration_product_no_results_magnifying_glass.svg diff --git a/x-pack/plugins/cloud_security_posture/public/assets/illustrations/misconfigurations_vendors.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/illustrations/misconfigurations_vendors.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/illustrations/misconfigurations_vendors.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/illustrations/misconfigurations_vendors.svg diff --git a/x-pack/plugins/cloud_security_posture/public/assets/illustrations/no_data_illustration.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/illustrations/no_data_illustration.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/illustrations/no_data_illustration.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/illustrations/no_data_illustration.svg diff --git a/x-pack/plugins/cloud_security_posture/public/assets/illustrations/vulnerabilities_vendors.svg b/x-pack/solutions/security/plugins/cloud_security_posture/public/assets/illustrations/vulnerabilities_vendors.svg similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/assets/illustrations/vulnerabilities_vendors.svg rename to x-pack/solutions/security/plugins/cloud_security_posture/public/assets/illustrations/vulnerabilities_vendors.svg diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/create_detection_rule.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/create_detection_rule.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/api/create_detection_rule.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/create_detection_rule.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/api/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/index.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/use_cis_kubernetes_integration.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_cis_kubernetes_integration.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/api/use_cis_kubernetes_integration.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_cis_kubernetes_integration.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_alerts_status.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_alerts_status.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_alerts_status.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_alerts_status.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_by_tags.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_by_tags.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_by_tags.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_by_tags.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/use_license_management_locator_api.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_license_management_locator_api.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/api/use_license_management_locator_api.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_license_management_locator_api.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/use_package_policy_list.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_package_policy_list.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/api/use_package_policy_list.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_package_policy_list.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/use_stats_api.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_stats_api.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/api/use_stats_api.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_stats_api.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/use_vulnerability_dashboard_api.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_vulnerability_dashboard_api.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/api/use_vulnerability_dashboard_api.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_vulnerability_dashboard_api.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/use_wiz_integration_route.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_wiz_integration_route.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/api/use_wiz_integration_route.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/api/use_wiz_integration_route.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/component/multi_select_filter.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/component/multi_select_filter.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/component/multi_select_filter.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/component/multi_select_filter.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/common/constants.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/constants.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/constants.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/constants.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/contexts/data_view_context.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/contexts/data_view_context.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/contexts/data_view_context.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/contexts/data_view_context.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/index.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_base_es_query.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_base_es_query.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_base_es_query.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_base_es_query.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_cloud_posture_data_table.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_cloud_posture_data_table.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_cloud_posture_data_table.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_cloud_posture_data_table.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_persisted_query.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_persisted_query.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_persisted_query.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/use_persisted_query.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/utils.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/utils.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/utils.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/utils.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_is_subscription_status_valid.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_is_subscription_status_valid.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_is_subscription_status_valid.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_is_subscription_status_valid.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_kibana.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_kibana.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_kibana.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_kibana.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_page_size.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_page_size.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_page_size.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_page_size.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_url_query.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/hooks/use_url_query.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/navigation/constants.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/constants.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/navigation/constants.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/constants.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/navigation/security_solution_links.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/security_solution_links.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/navigation/security_solution_links.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/security_solution_links.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/navigation/types.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/types.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/navigation/types.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/types.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/navigation/use_csp_integration_link.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/use_csp_integration_link.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/navigation/use_csp_integration_link.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/use_csp_integration_link.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/navigation/use_navigate_to_cis_integration_policies.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/use_navigate_to_cis_integration_policies.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/navigation/use_navigate_to_cis_integration_policies.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/navigation/use_navigate_to_cis_integration_policies.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/types.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/types.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/types.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/types.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/utils/get_template_url_package_info.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_template_url_package_info.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/utils/get_template_url_package_info.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_template_url_package_info.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/utils/get_vendor_name.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vendor_name.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/utils/get_vendor_name.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vendor_name.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/utils/get_vendor_name.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vendor_name.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/utils/get_vendor_name.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/get_vendor_name.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/utils/is_native_csp_finding.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/is_native_csp_finding.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/utils/is_native_csp_finding.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/is_native_csp_finding.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/common/utils/is_native_csp_finding.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/is_native_csp_finding.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/common/utils/is_native_csp_finding.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/common/utils/is_native_csp_finding.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/chart_panel.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/chart_panel.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/chart_panel.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/chart_panel.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/chart_panel.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/chart_panel.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cis_benchmark_icon.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cis_benchmark_icon.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cis_benchmark_icon.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cis_benchmark_icon.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page_title.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page_title.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page_title.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_posture_page_title.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_provider_icon.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_provider_icon.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_provider_icon.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_provider_icon.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/additional_controls.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/additional_controls.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/additional_controls.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/additional_controls.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_modal.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_modal.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_modal.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_modal.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/index.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/use_fields_modal.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/use_fields_modal.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/use_fields_modal.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/use_fields_modal.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/index.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/use_styles.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/use_styles.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/use_styles.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/use_styles.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/cloud_security_grouping.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/cloud_security_grouping.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/cloud_security_grouping.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/cloud_security_grouping.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/index.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/loading_group.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/loading_group.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/loading_group.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/loading_group.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/null_group.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/null_group.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/null_group.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/null_group.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/use_cloud_security_grouping.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/use_cloud_security_grouping.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/use_cloud_security_grouping.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/use_cloud_security_grouping.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/column_name_with_tooltip.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/column_name_with_tooltip.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/column_name_with_tooltip.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/column_name_with_tooltip.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/compact_formatted_number.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/compact_formatted_number.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/compact_formatted_number.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/compact_formatted_number.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/compliance_score_bar.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/compliance_score_bar.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/compliance_score_bar.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/compliance_score_bar.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/compliance_score_bar.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/compliance_score_bar.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/compliance_score_bar.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/compliance_score_bar.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/csp_counter_card.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/csp_counter_card.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/csp_counter_card.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/csp_counter_card.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/csp_inline_description_list.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/csp_inline_description_list.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/csp_inline_description_list.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/csp_inline_description_list.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/csp_loading_state.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/csp_loading_state.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/csp_loading_state.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/csp_loading_state.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/detection_rule_counter.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/detection_rule_counter.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/empty_state.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/empty_state.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/empty_state.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/empty_state.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/empty_states_illustration_container.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/empty_states_illustration_container.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/empty_states_illustration_container.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/empty_states_illustration_container.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form_agentless.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form_agentless.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form_agentless.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_credentials_form_agentless.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_input_var_fields.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_input_var_fields.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_input_var_fields.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/aws_input_var_fields.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/get_aws_credentials_form_options.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/get_aws_credentials_form_options.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/get_aws_credentials_form_options.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/get_aws_credentials_form_options.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/hooks.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/hooks.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/hooks.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/aws_credentials_form/hooks.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form_agentless.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form_agentless.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form_agentless.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/azure_credentials_form_agentless.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/get_azure_credentials_form_options.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/get_azure_credentials_form_options.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/get_azure_credentials_form_options.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/get_azure_credentials_form_options.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/hooks.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/hooks.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/hooks.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/azure_credentials_form/hooks.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/csp_boxed_radio_group.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/custom_assets_extension.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/custom_assets_extension.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/custom_assets_extension.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/custom_assets_extension.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/eks_credentials_form.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/eks_credentials_form.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/eks_credentials_form.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/eks_credentials_form.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credential_form.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credentials_form_agentless.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credentials_form_agentless.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credentials_form_agentless.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/gcp_credentials_form/gcp_credentials_form_agentless.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/mocks.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/mocks.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/mocks.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/mocks.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_selectors.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_selectors.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_selectors.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_selectors.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/setup_technology_selector.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/setup_technology_selector.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/setup_technology_selector.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/setup_technology_selector.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/fleet_extensions/utils.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/full_size_centered_page.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/full_size_centered_page.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/full_size_centered_page.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/full_size_centered_page.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/no_findings_states/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/no_findings_states/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/index.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_findings_states/no_findings_states.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/no_vulnerabilities_states.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_vulnerabilities_states.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/no_vulnerabilities_states.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/no_vulnerabilities_states.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/subscription_not_allowed.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/subscription_not_allowed.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/subscription_not_allowed.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/subscription_not_allowed.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/take_action.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/take_action.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/take_action.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/take_action.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/test_subjects.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/test_subjects.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/test_subjects.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/test_subjects.ts diff --git a/x-pack/plugins/cloud_security_posture/public/components/timestamp_table_cell.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/timestamp_table_cell.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/timestamp_table_cell.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/timestamp_table_cell.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/vuln_counter_card.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/vuln_counter_card.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/vuln_counter_card.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/vuln_counter_card.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/components/vulnerability_severity_map.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/components/vulnerability_severity_map.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/components/vulnerability_severity_map.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/components/vulnerability_severity_map.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/index.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/benchmarks/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/benchmarks/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/index.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/benchmarks/test_subjects.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/test_subjects.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/benchmarks/test_subjects.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/test_subjects.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/benchmarks/use_csp_benchmark_integrations.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/use_csp_benchmark_integrations.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/benchmarks/use_csp_benchmark_integrations.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/benchmarks/use_csp_benchmark_integrations.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/compliance_score_chart.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/compliance_score_chart.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/compliance_score_chart.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/compliance_score_chart.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmark_details_box.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmark_details_box.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmark_details_box.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmark_details_box.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/index.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/index.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/index.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/index.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/mock.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/mock.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/mock.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/mock.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/test_subjects.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/test_subjects.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/test_subjects.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/compliance_dashboard/test_subjects.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/__mocks__/findings.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/__mocks__/findings.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/__mocks__/findings.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/__mocks__/findings.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.handlers.mock.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.handlers.mock.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.handlers.mock.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.handlers.mock.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/configurations.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_detection_rule_counter.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_detection_rule_counter.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_detection_rule_counter.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_detection_rule_counter.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/json_tab.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/json_tab.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/json_tab.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/json_tab.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/overview_tab.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/overview_tab.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/overview_tab.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/overview_tab.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/rule_tab.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/rule_tab.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/rule_tab.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/rule_tab.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/table_tab.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/table_tab.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/table_tab.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/table_tab.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/index.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/index.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/index.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/index.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/constants.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/constants.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/constants.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/constants.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/findings_table_field_labels.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/findings_table_field_labels.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/findings_table_field_labels.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/findings_table_field_labels.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_container.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_container.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_container.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_container.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_group_renderer.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_group_renderer.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_group_renderer.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_group_renderer.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_group_renderer.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_group_renderer.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_group_renderer.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_group_renderer.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_table.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_table.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_table.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/latest_findings_table.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_grouped_findings.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_grouped_findings.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_grouped_findings.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_grouped_findings.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings_grouping.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings_grouping.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings_grouping.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings_grouping.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings_table.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings_table.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings_table.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/latest_findings/use_latest_findings_table.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/layout/error_callout.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/layout/error_callout.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/layout/error_callout.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/layout/error_callout.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/layout/findings_distribution_bar.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/layout/findings_distribution_bar.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/layout/findings_distribution_bar.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/layout/findings_distribution_bar.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/layout/findings_search_bar.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/layout/findings_search_bar.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/layout/findings_search_bar.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/layout/findings_search_bar.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/test_subjects.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/test_subjects.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/test_subjects.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/test_subjects.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_benchmark.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_benchmark.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_benchmark.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_benchmark.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/utils.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/utils.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/utils.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/configurations/utils/utils.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/findings/findings.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/findings/findings.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/findings/findings.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/findings/findings.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/findings/index.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/findings/index.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/findings/index.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/findings/index.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/findings/third_party_integrations_callout.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/findings/third_party_integrations_callout.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/findings/third_party_integrations_callout.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/findings/third_party_integrations_callout.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/index.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/index.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/index.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/index.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/index.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_container.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_container.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/rules_container.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_container.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_counters.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_counters.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/rules_counters.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_counters.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_detection_rule_counter.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_detection_rule_counter.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/rules_detection_rule_counter.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_detection_rule_counter.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_flyout.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_flyout.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/rules_flyout.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_flyout.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_table.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_table.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/rules_table.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_table.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_table_header.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_table_header.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/rules_table_header.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/rules_table_header.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/test_subjects.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/test_subjects.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/test_subjects.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/test_subjects.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_change_csp_rule_state.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/use_csp_benchmark_rules.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_csp_benchmark_rules.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/use_csp_benchmark_rules.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_csp_benchmark_rules.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/use_csp_rules_state.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_csp_rules_state.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/rules/use_csp_rules_state.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/rules/use_csp_rules_state.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/_mocks_/vulnerability.mock.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/_mocks_/vulnerability.mock.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/_mocks_/vulnerability.mock.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/_mocks_/vulnerability.mock.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/constants.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/constants.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/constants.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/constants.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_grouped_vulnerabilities.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_grouped_vulnerabilities.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_grouped_vulnerabilities.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_grouped_vulnerabilities.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities_grouping.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities_grouping.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities_grouping.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities_grouping.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities_table.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities_table.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities_table.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/hooks/use_latest_vulnerabilities_table.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/index.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/index.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/index.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/index.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_container.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_container.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_container.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_container.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_group_renderer.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_group_renderer.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_group_renderer.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_group_renderer.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_table.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_table.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_table.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/latest_vulnerabilities_table.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/test_subjects.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/test_subjects.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/test_subjects.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/test_subjects.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/translations.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/translations.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/translations.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/translations.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/types.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/types.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/types.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/types.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/create_detection_rule_from_vulnerability.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/create_detection_rule_from_vulnerability.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/create_detection_rule_from_vulnerability.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/create_detection_rule_from_vulnerability.test.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/create_detection_rule_from_vulnerability.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/create_detection_rule_from_vulnerability.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/create_detection_rule_from_vulnerability.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/create_detection_rule_from_vulnerability.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/custom_sort_script.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/custom_sort_script.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/custom_sort_script.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/custom_sort_script.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/get_vector_score_list.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/get_vector_score_list.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/get_vector_score_list.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/utils/get_vector_score_list.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_detection_rule_counter.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_detection_rule_counter.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_detection_rule_counter.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_detection_rule_counter.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_json_tab.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_json_tab.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_json_tab.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_json_tab.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_overview_tab.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_overview_tab.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_overview_tab.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_overview_tab.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_table_tab.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_table_tab.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_table_tab.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_table_tab.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_table_field_labels.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_table_field_labels.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_table_field_labels.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_table_field_labels.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/_mocks_/vulnerability_dashboard.mock.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/_mocks_/vulnerability_dashboard.mock.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/_mocks_/vulnerability_dashboard.mock.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/_mocks_/vulnerability_dashboard.mock.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_statistics.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_statistics.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_statistics.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_statistics.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel.config.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel.config.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel.config.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel.config.ts diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel_section.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel_section.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel_section.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_table_panel_section.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_trend_graph.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_trend_graph.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_trend_graph.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_trend_graph.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/plugin.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/plugin.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/plugin.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/plugin.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/test/fixtures/csp_benchmark_integration.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/fixtures/csp_benchmark_integration.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/fixtures/csp_benchmark_integration.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/fixtures/csp_benchmark_integration.ts diff --git a/x-pack/plugins/cloud_security_posture/public/test/fixtures/findings_fixture.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/fixtures/findings_fixture.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/fixtures/findings_fixture.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/fixtures/findings_fixture.ts diff --git a/x-pack/plugins/cloud_security_posture/public/test/fixtures/get_mock_dependencies.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/fixtures/get_mock_dependencies.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/fixtures/get_mock_dependencies.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/fixtures/get_mock_dependencies.ts diff --git a/x-pack/plugins/cloud_security_posture/public/test/fixtures/react_query.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/fixtures/react_query.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/fixtures/react_query.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/fixtures/react_query.ts diff --git a/x-pack/plugins/cloud_security_posture/public/test/mock_server/handlers/dataview.handlers.mock.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/handlers/dataview.handlers.mock.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/mock_server/handlers/dataview.handlers.mock.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/handlers/dataview.handlers.mock.ts diff --git a/x-pack/plugins/cloud_security_posture/public/test/mock_server/handlers/fleet.handlers.mock.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/handlers/fleet.handlers.mock.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/mock_server/handlers/fleet.handlers.mock.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/handlers/fleet.handlers.mock.ts diff --git a/x-pack/plugins/cloud_security_posture/public/test/mock_server/handlers/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/handlers/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/mock_server/handlers/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/handlers/index.ts diff --git a/x-pack/plugins/cloud_security_posture/public/test/mock_server/handlers/licensing.handlers.mock.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/handlers/licensing.handlers.mock.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/mock_server/handlers/licensing.handlers.mock.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/handlers/licensing.handlers.mock.ts diff --git a/x-pack/plugins/cloud_security_posture/public/test/mock_server/mock_server.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/mock_server.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/mock_server/mock_server.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/mock_server.ts diff --git a/x-pack/plugins/cloud_security_posture/public/test/mock_server/mock_server_test_provider.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/mock_server_test_provider.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/mock_server/mock_server_test_provider.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/mock_server/mock_server_test_provider.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/test/test_provider.tsx b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/test_provider.tsx similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/test_provider.tsx rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/test_provider.tsx diff --git a/x-pack/plugins/cloud_security_posture/public/test/utils.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/test/utils.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/test/utils.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/test/utils.ts diff --git a/x-pack/plugins/cloud_security_posture/public/types.ts b/x-pack/solutions/security/plugins/cloud_security_posture/public/types.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/public/types.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/public/types.ts diff --git a/x-pack/plugins/cloud_security_posture/server/config.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/config.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/config.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/config.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_indices/benchmark_score_mapping.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/benchmark_score_mapping.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_indices/benchmark_score_mapping.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/benchmark_score_mapping.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_indices.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_indices/create_processor.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_processor.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_indices/create_processor.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/create_processor.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_indices/ingest_pipelines.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/ingest_pipelines.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_indices/ingest_pipelines.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/ingest_pipelines.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_indices/latest_indices.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/latest_indices.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_indices/latest_indices.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/latest_indices.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_indices/types.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/types.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_indices/types.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_indices/types.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/create_transforms.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_transforms/latest_findings_transform.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/latest_findings_transform.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_transforms/latest_findings_transform.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/latest_findings_transform.ts diff --git a/x-pack/plugins/cloud_security_posture/server/create_transforms/latest_vulnerabilities_transforms.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/latest_vulnerabilities_transforms.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/create_transforms/latest_vulnerabilities_transforms.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/create_transforms/latest_vulnerabilities_transforms.ts diff --git a/x-pack/plugins/cloud_security_posture/server/fleet_integration/fleet_integration.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/fleet_integration/fleet_integration.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/fleet_integration/fleet_integration.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/fleet_integration/fleet_integration.ts diff --git a/x-pack/plugins/cloud_security_posture/server/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/index.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/check_index_status.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/check_index_status.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/check_index_status.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/check_index_status.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/fleet_util.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/fleet_util.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/fleet_util.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/fleet_util.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/mapping_field_util.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/task_manager_util.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/task_manager_util.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/task_manager_util.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/task_manager_util.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/accounts_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/accounts_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/accounts_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/accounts_stats_collector.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/alert_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/alert_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/alert_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/alert_stats_collector.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/cloud_accounts_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/cloud_accounts_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/cloud_accounts_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/cloud_accounts_stats_collector.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/indices_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/indices_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/indices_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/indices_stats_collector.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/installation_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/installation_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/installation_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/installation_stats_collector.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/muted_rules_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/muted_rules_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/muted_rules_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/muted_rules_stats_collector.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/register.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/register.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/register.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/register.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/resources_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/resources_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/resources_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/resources_stats_collector.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/rules_stats_collector.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/rules_stats_collector.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/rules_stats_collector.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/rules_stats_collector.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/schema.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/schema.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/schema.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/schema.ts diff --git a/x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/types.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/types.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/lib/telemetry/collectors/types.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/lib/telemetry/collectors/types.ts diff --git a/x-pack/plugins/cloud_security_posture/server/mocks.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/mocks.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/mocks.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/mocks.ts diff --git a/x-pack/plugins/cloud_security_posture/server/plugin.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/plugin.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/plugin.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/plugin.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/plugin.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/bulk_action.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/bulk_action.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/bulk_action.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/bulk_action.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/utils.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/utils.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/utils.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/utils.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/v1.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/v1.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/v1.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/v1.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/utils.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/utils.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/utils.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/utils.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v1.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v1.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v1.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v1.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v2.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v2.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v2.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v2.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v3.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v3.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v3.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/find/v3.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/get_states.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/get_states.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/get_states.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/get_states.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/v1.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/v1.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/v1.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmark_rules/get_states/v1.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.handlers.mock.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.handlers.mock.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.handlers.mock.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.handlers.mock.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmarks/utilities.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/utilities.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmarks/utilities.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/utilities.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmarks/v1.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/v1.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmarks/v1.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/v1.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/benchmarks/v2.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/v2.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/benchmarks/v2.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/benchmarks/v2.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/detection_engine/get_detection_engine_alerts_count_by_rule_tags.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/detection_engine/get_detection_engine_alerts_count_by_rule_tags.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/detection_engine/get_detection_engine_alerts_count_by_rule_tags.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/detection_engine/get_detection_engine_alerts_count_by_rule_tags.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/graph/route.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/graph/route.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/graph/route.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/graph/route.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/graph/v1.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/graph/v1.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/graph/v1.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/graph/v1.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/setup_routes.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/setup_routes.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/setup_routes.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/setup_routes.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/status/status.handlers.mock.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.handlers.mock.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/status/status.handlers.mock.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.handlers.mock.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/status/status.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/status/status.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/status/status.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_patchable_vulnerabilities.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_patchable_vulnerabilities.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_patchable_vulnerabilities.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_patchable_vulnerabilities.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_vulnerabilities.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_vulnerabilities.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_vulnerabilities.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_vulnerabilities.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_vulnerable_resources.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_vulnerable_resources.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_vulnerable_resources.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_top_vulnerable_resources.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_vulnerabilities_statistics.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_vulnerabilities_statistics.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_vulnerabilities_statistics.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_vulnerabilities_statistics.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_vulnerabilities_trend.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_vulnerabilities_trend.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_vulnerabilities_trend.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/get_vulnerabilities_trend.ts diff --git a/x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/vulnerabilities_dashboard.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/vulnerabilities_dashboard.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/vulnerabilities_dashboard.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/vulnerabilities_dashboard.ts diff --git a/x-pack/plugins/cloud_security_posture/server/saved_objects/csp_benchmark_rule.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/csp_benchmark_rule.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/saved_objects/csp_benchmark_rule.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/csp_benchmark_rule.ts diff --git a/x-pack/plugins/cloud_security_posture/server/saved_objects/csp_settings.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/csp_settings.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/saved_objects/csp_settings.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/csp_settings.ts diff --git a/x-pack/plugins/cloud_security_posture/server/saved_objects/data_views.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/data_views.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/saved_objects/data_views.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/data_views.ts diff --git a/x-pack/plugins/cloud_security_posture/server/saved_objects/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/saved_objects/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/index.ts diff --git a/x-pack/plugins/cloud_security_posture/server/saved_objects/mappings.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/mappings.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/saved_objects/mappings.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/mappings.ts diff --git a/x-pack/plugins/cloud_security_posture/server/saved_objects/migrations/csp_benchmark_rule.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/migrations/csp_benchmark_rule.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/saved_objects/migrations/csp_benchmark_rule.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/migrations/csp_benchmark_rule.ts diff --git a/x-pack/plugins/cloud_security_posture/server/saved_objects/migrations/index.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/migrations/index.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/saved_objects/migrations/index.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/saved_objects/migrations/index.ts diff --git a/x-pack/plugins/cloud_security_posture/server/tasks/findings_stats_task.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/findings_stats_task.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/tasks/findings_stats_task.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/findings_stats_task.ts diff --git a/x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/task_state.test.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/task_state.test.ts diff --git a/x-pack/plugins/cloud_security_posture/server/tasks/task_state.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/task_state.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/tasks/task_state.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/task_state.ts diff --git a/x-pack/plugins/cloud_security_posture/server/tasks/types.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/types.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/tasks/types.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/tasks/types.ts diff --git a/x-pack/plugins/cloud_security_posture/server/types.ts b/x-pack/solutions/security/plugins/cloud_security_posture/server/types.ts similarity index 100% rename from x-pack/plugins/cloud_security_posture/server/types.ts rename to x-pack/solutions/security/plugins/cloud_security_posture/server/types.ts diff --git a/x-pack/plugins/cloud_security_posture/tsconfig.json b/x-pack/solutions/security/plugins/cloud_security_posture/tsconfig.json similarity index 95% rename from x-pack/plugins/cloud_security_posture/tsconfig.json rename to x-pack/solutions/security/plugins/cloud_security_posture/tsconfig.json index f3883e0fc43c6..e723ae3bc5d9f 100755 --- a/x-pack/plugins/cloud_security_posture/tsconfig.json +++ b/x-pack/solutions/security/plugins/cloud_security_posture/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -11,7 +11,7 @@ // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "server/**/*.json", "public/**/*.json", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/yarn.lock b/yarn.lock index 451c6c17ddebe..aff25c1cf9cd4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4173,7 +4173,7 @@ version "0.0.0" uid "" -"@kbn/cloud-security-posture-plugin@link:x-pack/plugins/cloud_security_posture": +"@kbn/cloud-security-posture-plugin@link:x-pack/solutions/security/plugins/cloud_security_posture": version "0.0.0" uid "" From 4b18689a941f7fd6ac227ec6093a1a70ad648970 Mon Sep 17 00:00:00 2001 From: Sean Rathier Date: Fri, 13 Dec 2024 15:08:39 -0500 Subject: [PATCH 07/11] Relocating module `@kbn/kubernetes-security-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../security}/plugins/kubernetes_security/.eslintrc.json | 0 .../security}/plugins/kubernetes_security/README.md | 0 .../plugins/kubernetes_security/common/constants.ts | 0 .../plugins/kubernetes_security/common/translations.ts | 0 .../plugins/kubernetes_security/common/types/index.ts | 0 .../plugins/kubernetes_security/common/types/latest.ts | 0 .../plugins/kubernetes_security/common/types/v1.ts | 0 .../security}/plugins/kubernetes_security/jest.config.js | 8 ++++---- .../security}/plugins/kubernetes_security/kibana.jsonc | 0 .../security}/plugins/kubernetes_security/package.json | 4 ++-- .../public/components/charts_toggle/index.test.tsx | 0 .../public/components/charts_toggle/index.tsx | 0 .../container_name_widget/container_name_row.test.tsx | 0 .../container_name_widget/container_name_row.tsx | 0 .../public/components/container_name_widget/hooks.ts | 0 .../components/container_name_widget/index.test.tsx | 0 .../public/components/container_name_widget/index.tsx | 0 .../public/components/container_name_widget/styles.ts | 0 .../public/components/count_widget/helpers.test.ts | 0 .../public/components/count_widget/helpers.ts | 0 .../public/components/count_widget/hooks.ts | 0 .../public/components/count_widget/index.test.tsx | 0 .../public/components/count_widget/index.tsx | 0 .../public/components/count_widget/styles.ts | 0 .../components/kubernetes_security_routes/index.test.tsx | 0 .../components/kubernetes_security_routes/index.tsx | 0 .../components/kubernetes_security_routes/styles.ts | 0 .../public/components/percent_widget/hooks.ts | 0 .../public/components/percent_widget/index.test.tsx | 0 .../public/components/percent_widget/index.tsx | 0 .../public/components/percent_widget/styles.ts | 0 .../illustration_product_no_results_magnifying_glass.svg | 0 .../breadcrumb/__snapshots__/index.test.tsx.snap | 0 .../tree_view_container/breadcrumb/helper.test.tsx | 0 .../components/tree_view_container/breadcrumb/helper.tsx | 0 .../tree_view_container/breadcrumb/index.test.tsx | 0 .../components/tree_view_container/breadcrumb/index.tsx | 0 .../components/tree_view_container/breadcrumb/styles.ts | 0 .../public/components/tree_view_container/contexts.tsx | 0 .../dynamic_tree_view/helpers.test.tsx | 0 .../tree_view_container/dynamic_tree_view/helpers.ts | 0 .../tree_view_container/dynamic_tree_view/hooks.ts | 0 .../tree_view_container/dynamic_tree_view/index.test.tsx | 0 .../tree_view_container/dynamic_tree_view/index.tsx | 0 .../tree_view_container/dynamic_tree_view/styles.ts | 0 .../tree_view_container/dynamic_tree_view/types.ts | 0 .../public/components/tree_view_container/empty_state.tsx | 0 .../public/components/tree_view_container/helpers.ts | 0 .../public/components/tree_view_container/hooks.tsx | 0 .../public/components/tree_view_container/index.test.tsx | 0 .../public/components/tree_view_container/index.tsx | 0 .../public/components/tree_view_container/mocks.ts | 0 .../public/components/tree_view_container/styles.ts | 0 .../public/components/tree_view_container/translations.ts | 0 .../components/tree_view_container/tree_nav/constants.ts | 0 .../tree_view_container/tree_nav/index.test.tsx | 0 .../components/tree_view_container/tree_nav/index.tsx | 0 .../components/tree_view_container/tree_nav/styles.ts | 0 .../tree_view_container/tree_nav/translations.ts | 0 .../components/tree_view_container/tree_nav/types.ts | 0 .../components/tree_view_container/tree_view_icon.tsx | 0 .../plugins/kubernetes_security/public/hooks/index.ts | 0 .../kubernetes_security/public/hooks/use_eui_theme.ts | 0 .../kubernetes_security/public/hooks/use_filter.ts | 0 .../kubernetes_security/public/hooks/use_last_updated.ts | 0 .../kubernetes_security/public/hooks/use_scroll.ts | 0 .../security}/plugins/kubernetes_security/public/index.ts | 0 .../plugins/kubernetes_security/public/methods/index.tsx | 0 .../plugins/kubernetes_security/public/plugin.ts | 0 .../plugins/kubernetes_security/public/test/index.tsx | 0 .../security}/plugins/kubernetes_security/public/types.ts | 0 .../public/utils/add_commas_to_number.test.ts | 0 .../public/utils/add_commas_to_number.ts | 0 .../add_timerange_and_default_filter_to_query.test.ts | 0 .../utils/add_timerange_and_default_filter_to_query.ts | 0 .../security}/plugins/kubernetes_security/server/index.ts | 0 .../plugins/kubernetes_security/server/plugin.ts | 0 .../kubernetes_security/server/routes/aggregate.ts | 0 .../plugins/kubernetes_security/server/routes/count.ts | 0 .../plugins/kubernetes_security/server/routes/index.ts | 0 .../server/routes/multi_terms_aggregate.ts | 0 .../security}/plugins/kubernetes_security/server/types.ts | 0 .../security}/plugins/kubernetes_security/tsconfig.json | 4 ++-- yarn.lock | 2 +- 89 files changed, 15 insertions(+), 15 deletions(-) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/.eslintrc.json (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/README.md (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/common/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/common/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/common/types/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/common/types/latest.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/common/types/v1.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/jest.config.js (63%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/kibana.jsonc (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/package.json (59%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/charts_toggle/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/charts_toggle/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/container_name_widget/container_name_row.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/container_name_widget/container_name_row.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/container_name_widget/hooks.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/container_name_widget/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/container_name_widget/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/container_name_widget/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/count_widget/helpers.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/count_widget/helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/count_widget/hooks.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/count_widget/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/count_widget/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/count_widget/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/kubernetes_security_routes/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/kubernetes_security_routes/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/kubernetes_security_routes/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/percent_widget/hooks.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/percent_widget/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/percent_widget/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/percent_widget/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/assets/illustration_product_no_results_magnifying_glass.svg (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/__snapshots__/index.test.tsx.snap (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/helper.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/helper.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/contexts.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/helpers.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/hooks.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/empty_state.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/hooks.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/mocks.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/components/tree_view_container/tree_view_icon.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/hooks/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/hooks/use_eui_theme.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/hooks/use_filter.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/hooks/use_last_updated.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/hooks/use_scroll.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/methods/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/plugin.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/test/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/utils/add_commas_to_number.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/utils/add_commas_to_number.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/utils/add_timerange_and_default_filter_to_query.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/public/utils/add_timerange_and_default_filter_to_query.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/server/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/server/plugin.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/server/routes/aggregate.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/server/routes/count.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/server/routes/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/server/routes/multi_terms_aggregate.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/server/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/kubernetes_security/tsconfig.json (91%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7672697fa3790..8b58449f91d21 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -906,7 +906,6 @@ x-pack/plugins/global_search_providers @elastic/appex-sharedux x-pack/plugins/graph @elastic/kibana-visualizations x-pack/plugins/index_management @elastic/kibana-management x-pack/plugins/ingest_pipelines @elastic/kibana-management -x-pack/plugins/kubernetes_security @elastic/kibana-cloud-security-posture x-pack/plugins/lens @elastic/kibana-visualizations x-pack/plugins/licensing @elastic/kibana-core x-pack/plugins/lists @elastic/security-detection-engine @@ -999,6 +998,7 @@ x-pack/solutions/security/plugins/cloud_defend @elastic/kibana-cloud-security-po x-pack/solutions/security/plugins/cloud_security_posture @elastic/kibana-cloud-security-posture x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai +x-pack/solutions/security/plugins/kubernetes_security @elastic/kibana-cloud-security-posture x-pack/solutions/security/plugins/threat_intelligence @elastic/security-threat-hunting-investigations x-pack/solutions/security/plugins/timelines @elastic/security-threat-hunting-investigations x-pack/test diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 2a40fdb0b9c8f..d57f6b78ee8ff 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -673,7 +673,7 @@ the infrastructure monitoring use-case within Kibana. |undefined -|{kib-repo}blob/{branch}/x-pack/plugins/kubernetes_security/README.md[kubernetesSecurity] +|{kib-repo}blob/{branch}/x-pack/solutions/security/plugins/kubernetes_security/README.md[kubernetesSecurity] |This plugin provides interactive visualizations of your Kubernetes workload and session data. diff --git a/package.json b/package.json index 2092da2f709ad..c422c91a4fec6 100644 --- a/package.json +++ b/package.json @@ -607,7 +607,7 @@ "@kbn/kibana-react-plugin": "link:src/plugins/kibana_react", "@kbn/kibana-usage-collection-plugin": "link:src/plugins/kibana_usage_collection", "@kbn/kibana-utils-plugin": "link:src/plugins/kibana_utils", - "@kbn/kubernetes-security-plugin": "link:x-pack/plugins/kubernetes_security", + "@kbn/kubernetes-security-plugin": "link:x-pack/solutions/security/plugins/kubernetes_security", "@kbn/langchain": "link:x-pack/platform/packages/shared/kbn-langchain", "@kbn/language-documentation": "link:src/platform/packages/private/kbn-language-documentation", "@kbn/lens-config-builder-example-plugin": "link:x-pack/examples/lens_config_builder_example", diff --git a/tsconfig.base.json b/tsconfig.base.json index 972096d307c46..ac95a14e90372 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1130,8 +1130,8 @@ "@kbn/kibana-usage-collection-plugin/*": ["src/plugins/kibana_usage_collection/*"], "@kbn/kibana-utils-plugin": ["src/plugins/kibana_utils"], "@kbn/kibana-utils-plugin/*": ["src/plugins/kibana_utils/*"], - "@kbn/kubernetes-security-plugin": ["x-pack/plugins/kubernetes_security"], - "@kbn/kubernetes-security-plugin/*": ["x-pack/plugins/kubernetes_security/*"], + "@kbn/kubernetes-security-plugin": ["x-pack/solutions/security/plugins/kubernetes_security"], + "@kbn/kubernetes-security-plugin/*": ["x-pack/solutions/security/plugins/kubernetes_security/*"], "@kbn/langchain": ["x-pack/platform/packages/shared/kbn-langchain"], "@kbn/langchain/*": ["x-pack/platform/packages/shared/kbn-langchain/*"], "@kbn/language-documentation": ["src/platform/packages/private/kbn-language-documentation"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 2b6035860bf16..69b026e40db68 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -70,7 +70,7 @@ "xpack.inventory": "plugins/observability_solution/inventory", "xpack.investigate": "solutions/observability/plugins/investigate", "xpack.investigateApp": "solutions/observability/plugins/investigate_app", - "xpack.kubernetesSecurity": "plugins/kubernetes_security", + "xpack.kubernetesSecurity": "solutions/security/plugins/kubernetes_security", "xpack.lens": "plugins/lens", "xpack.licenseApiGuard": "platform/plugins/private/license_api_guard", "xpack.licenseMgmt": "platform/plugins/shared/license_management", diff --git a/x-pack/plugins/kubernetes_security/.eslintrc.json b/x-pack/solutions/security/plugins/kubernetes_security/.eslintrc.json similarity index 100% rename from x-pack/plugins/kubernetes_security/.eslintrc.json rename to x-pack/solutions/security/plugins/kubernetes_security/.eslintrc.json diff --git a/x-pack/plugins/kubernetes_security/README.md b/x-pack/solutions/security/plugins/kubernetes_security/README.md similarity index 100% rename from x-pack/plugins/kubernetes_security/README.md rename to x-pack/solutions/security/plugins/kubernetes_security/README.md diff --git a/x-pack/plugins/kubernetes_security/common/constants.ts b/x-pack/solutions/security/plugins/kubernetes_security/common/constants.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/common/constants.ts rename to x-pack/solutions/security/plugins/kubernetes_security/common/constants.ts diff --git a/x-pack/plugins/kubernetes_security/common/translations.ts b/x-pack/solutions/security/plugins/kubernetes_security/common/translations.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/common/translations.ts rename to x-pack/solutions/security/plugins/kubernetes_security/common/translations.ts diff --git a/x-pack/plugins/kubernetes_security/common/types/index.ts b/x-pack/solutions/security/plugins/kubernetes_security/common/types/index.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/common/types/index.ts rename to x-pack/solutions/security/plugins/kubernetes_security/common/types/index.ts diff --git a/x-pack/plugins/kubernetes_security/common/types/latest.ts b/x-pack/solutions/security/plugins/kubernetes_security/common/types/latest.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/common/types/latest.ts rename to x-pack/solutions/security/plugins/kubernetes_security/common/types/latest.ts diff --git a/x-pack/plugins/kubernetes_security/common/types/v1.ts b/x-pack/solutions/security/plugins/kubernetes_security/common/types/v1.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/common/types/v1.ts rename to x-pack/solutions/security/plugins/kubernetes_security/common/types/v1.ts diff --git a/x-pack/plugins/kubernetes_security/jest.config.js b/x-pack/solutions/security/plugins/kubernetes_security/jest.config.js similarity index 63% rename from x-pack/plugins/kubernetes_security/jest.config.js rename to x-pack/solutions/security/plugins/kubernetes_security/jest.config.js index d42855eeab9de..61ec51c372562 100644 --- a/x-pack/plugins/kubernetes_security/jest.config.js +++ b/x-pack/solutions/security/plugins/kubernetes_security/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/kubernetes_security'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/kubernetes_security', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/security/plugins/kubernetes_security'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/kubernetes_security', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/kubernetes_security/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/solutions/security/plugins/kubernetes_security/{common,public,server}/**/*.{ts,tsx}', ], setupFiles: ['jest-canvas-mock'], }; diff --git a/x-pack/plugins/kubernetes_security/kibana.jsonc b/x-pack/solutions/security/plugins/kubernetes_security/kibana.jsonc similarity index 100% rename from x-pack/plugins/kubernetes_security/kibana.jsonc rename to x-pack/solutions/security/plugins/kubernetes_security/kibana.jsonc diff --git a/x-pack/plugins/kubernetes_security/package.json b/x-pack/solutions/security/plugins/kubernetes_security/package.json similarity index 59% rename from x-pack/plugins/kubernetes_security/package.json rename to x-pack/solutions/security/plugins/kubernetes_security/package.json index 0f322f0649f66..b54e2d0381c93 100644 --- a/x-pack/plugins/kubernetes_security/package.json +++ b/x-pack/solutions/security/plugins/kubernetes_security/package.json @@ -5,7 +5,7 @@ "private": true, "license": "Elastic License 2.0", "scripts": { - "test:jest": "node ../../scripts/jest", - "test:coverage": "node ../../scripts/jest --coverage" + "test:jest": "node ../../../../scripts/jest", + "test:coverage": "node ../../../../scripts/jest --coverage" } } diff --git a/x-pack/plugins/kubernetes_security/public/components/charts_toggle/index.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/charts_toggle/index.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/charts_toggle/index.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/charts_toggle/index.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/charts_toggle/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/charts_toggle/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/charts_toggle/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/charts_toggle/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/container_name_widget/container_name_row.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/container_name_row.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/container_name_widget/container_name_row.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/container_name_row.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/container_name_widget/container_name_row.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/container_name_row.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/container_name_widget/container_name_row.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/container_name_row.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/container_name_widget/hooks.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/hooks.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/container_name_widget/hooks.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/hooks.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/container_name_widget/index.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/index.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/container_name_widget/index.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/index.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/container_name_widget/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/container_name_widget/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/container_name_widget/styles.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/styles.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/container_name_widget/styles.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/container_name_widget/styles.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/count_widget/helpers.test.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/helpers.test.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/count_widget/helpers.test.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/helpers.test.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/count_widget/helpers.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/helpers.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/count_widget/helpers.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/helpers.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/count_widget/hooks.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/hooks.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/count_widget/hooks.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/hooks.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/count_widget/index.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/index.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/count_widget/index.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/index.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/count_widget/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/count_widget/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/count_widget/styles.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/styles.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/count_widget/styles.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/count_widget/styles.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/kubernetes_security_routes/index.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/kubernetes_security_routes/index.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/kubernetes_security_routes/index.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/kubernetes_security_routes/index.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/kubernetes_security_routes/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/kubernetes_security_routes/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/kubernetes_security_routes/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/kubernetes_security_routes/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/kubernetes_security_routes/styles.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/kubernetes_security_routes/styles.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/kubernetes_security_routes/styles.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/kubernetes_security_routes/styles.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/percent_widget/hooks.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/percent_widget/hooks.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/percent_widget/hooks.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/percent_widget/hooks.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/percent_widget/index.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/percent_widget/index.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/percent_widget/index.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/percent_widget/index.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/percent_widget/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/percent_widget/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/percent_widget/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/percent_widget/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/percent_widget/styles.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/percent_widget/styles.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/percent_widget/styles.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/percent_widget/styles.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/assets/illustration_product_no_results_magnifying_glass.svg b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/assets/illustration_product_no_results_magnifying_glass.svg similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/assets/illustration_product_no_results_magnifying_glass.svg rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/assets/illustration_product_no_results_magnifying_glass.svg diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/__snapshots__/index.test.tsx.snap b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/__snapshots__/index.test.tsx.snap rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/helper.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/helper.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/helper.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/helper.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/helper.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/helper.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/helper.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/helper.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/index.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/index.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/index.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/index.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/styles.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/styles.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/styles.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/breadcrumb/styles.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/contexts.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/contexts.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/contexts.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/contexts.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/helpers.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/helpers.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/helpers.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/helpers.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/helpers.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/helpers.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/helpers.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/helpers.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/hooks.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/hooks.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/hooks.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/hooks.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/index.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/index.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/index.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/index.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/styles.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/styles.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/styles.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/styles.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/types.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/types.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/types.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/dynamic_tree_view/types.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/empty_state.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/empty_state.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/empty_state.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/empty_state.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/helpers.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/helpers.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/helpers.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/helpers.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/hooks.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/hooks.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/hooks.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/hooks.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/index.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/index.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/index.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/index.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/mocks.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/mocks.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/mocks.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/mocks.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/styles.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/styles.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/styles.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/styles.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/translations.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/translations.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/translations.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/translations.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/constants.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/constants.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/constants.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/constants.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/index.test.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/index.test.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/index.test.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/index.test.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/styles.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/styles.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/styles.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/styles.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/translations.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/translations.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/translations.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/translations.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/types.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/types.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/types.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_nav/types.ts diff --git a/x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_view_icon.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_view_icon.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/components/tree_view_container/tree_view_icon.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/components/tree_view_container/tree_view_icon.tsx diff --git a/x-pack/plugins/kubernetes_security/public/hooks/index.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/hooks/index.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/hooks/index.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/hooks/index.ts diff --git a/x-pack/plugins/kubernetes_security/public/hooks/use_eui_theme.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/hooks/use_eui_theme.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/hooks/use_eui_theme.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/hooks/use_eui_theme.ts diff --git a/x-pack/plugins/kubernetes_security/public/hooks/use_filter.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/hooks/use_filter.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/hooks/use_filter.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/hooks/use_filter.ts diff --git a/x-pack/plugins/kubernetes_security/public/hooks/use_last_updated.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/hooks/use_last_updated.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/hooks/use_last_updated.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/hooks/use_last_updated.ts diff --git a/x-pack/plugins/kubernetes_security/public/hooks/use_scroll.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/hooks/use_scroll.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/hooks/use_scroll.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/hooks/use_scroll.ts diff --git a/x-pack/plugins/kubernetes_security/public/index.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/index.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/index.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/index.ts diff --git a/x-pack/plugins/kubernetes_security/public/methods/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/methods/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/methods/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/methods/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/plugin.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/plugin.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/plugin.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/plugin.ts diff --git a/x-pack/plugins/kubernetes_security/public/test/index.tsx b/x-pack/solutions/security/plugins/kubernetes_security/public/test/index.tsx similarity index 100% rename from x-pack/plugins/kubernetes_security/public/test/index.tsx rename to x-pack/solutions/security/plugins/kubernetes_security/public/test/index.tsx diff --git a/x-pack/plugins/kubernetes_security/public/types.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/types.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/types.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/types.ts diff --git a/x-pack/plugins/kubernetes_security/public/utils/add_commas_to_number.test.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/utils/add_commas_to_number.test.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/utils/add_commas_to_number.test.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/utils/add_commas_to_number.test.ts diff --git a/x-pack/plugins/kubernetes_security/public/utils/add_commas_to_number.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/utils/add_commas_to_number.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/utils/add_commas_to_number.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/utils/add_commas_to_number.ts diff --git a/x-pack/plugins/kubernetes_security/public/utils/add_timerange_and_default_filter_to_query.test.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/utils/add_timerange_and_default_filter_to_query.test.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/utils/add_timerange_and_default_filter_to_query.test.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/utils/add_timerange_and_default_filter_to_query.test.ts diff --git a/x-pack/plugins/kubernetes_security/public/utils/add_timerange_and_default_filter_to_query.ts b/x-pack/solutions/security/plugins/kubernetes_security/public/utils/add_timerange_and_default_filter_to_query.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/public/utils/add_timerange_and_default_filter_to_query.ts rename to x-pack/solutions/security/plugins/kubernetes_security/public/utils/add_timerange_and_default_filter_to_query.ts diff --git a/x-pack/plugins/kubernetes_security/server/index.ts b/x-pack/solutions/security/plugins/kubernetes_security/server/index.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/server/index.ts rename to x-pack/solutions/security/plugins/kubernetes_security/server/index.ts diff --git a/x-pack/plugins/kubernetes_security/server/plugin.ts b/x-pack/solutions/security/plugins/kubernetes_security/server/plugin.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/server/plugin.ts rename to x-pack/solutions/security/plugins/kubernetes_security/server/plugin.ts diff --git a/x-pack/plugins/kubernetes_security/server/routes/aggregate.ts b/x-pack/solutions/security/plugins/kubernetes_security/server/routes/aggregate.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/server/routes/aggregate.ts rename to x-pack/solutions/security/plugins/kubernetes_security/server/routes/aggregate.ts diff --git a/x-pack/plugins/kubernetes_security/server/routes/count.ts b/x-pack/solutions/security/plugins/kubernetes_security/server/routes/count.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/server/routes/count.ts rename to x-pack/solutions/security/plugins/kubernetes_security/server/routes/count.ts diff --git a/x-pack/plugins/kubernetes_security/server/routes/index.ts b/x-pack/solutions/security/plugins/kubernetes_security/server/routes/index.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/server/routes/index.ts rename to x-pack/solutions/security/plugins/kubernetes_security/server/routes/index.ts diff --git a/x-pack/plugins/kubernetes_security/server/routes/multi_terms_aggregate.ts b/x-pack/solutions/security/plugins/kubernetes_security/server/routes/multi_terms_aggregate.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/server/routes/multi_terms_aggregate.ts rename to x-pack/solutions/security/plugins/kubernetes_security/server/routes/multi_terms_aggregate.ts diff --git a/x-pack/plugins/kubernetes_security/server/types.ts b/x-pack/solutions/security/plugins/kubernetes_security/server/types.ts similarity index 100% rename from x-pack/plugins/kubernetes_security/server/types.ts rename to x-pack/solutions/security/plugins/kubernetes_security/server/types.ts diff --git a/x-pack/plugins/kubernetes_security/tsconfig.json b/x-pack/solutions/security/plugins/kubernetes_security/tsconfig.json similarity index 91% rename from x-pack/plugins/kubernetes_security/tsconfig.json rename to x-pack/solutions/security/plugins/kubernetes_security/tsconfig.json index cf3d895eb40b9..3acc6db4c9bd7 100644 --- a/x-pack/plugins/kubernetes_security/tsconfig.json +++ b/x-pack/solutions/security/plugins/kubernetes_security/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -12,7 +12,7 @@ "scripts/**/*", "package.json", "storybook/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/yarn.lock b/yarn.lock index aff25c1cf9cd4..5fdabcdf4a769 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6077,7 +6077,7 @@ version "0.0.0" uid "" -"@kbn/kubernetes-security-plugin@link:x-pack/plugins/kubernetes_security": +"@kbn/kubernetes-security-plugin@link:x-pack/solutions/security/plugins/kubernetes_security": version "0.0.0" uid "" From 40e33e5b29a772762d831fc22258debaa7d1a2f4 Mon Sep 17 00:00:00 2001 From: Sean Rathier Date: Fri, 13 Dec 2024 15:09:55 -0500 Subject: [PATCH 08/11] Relocating module `@kbn/session-view-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../security}/plugins/session_view/.eslintrc.json | 0 .../security}/plugins/session_view/README.md | 4 ++-- .../security}/plugins/session_view/common/constants.ts | 0 .../security}/plugins/session_view/common/index.ts | 0 .../common/mocks/constants/session_view_process.mock.ts | 0 .../common/mocks/responses/session_view_io_events.mock.ts | 0 .../mocks/responses/session_view_process_events.mock.ts | 0 .../responses/session_view_process_events_merged.mock.ts | 0 .../security}/plugins/session_view/common/translations.ts | 0 .../security}/plugins/session_view/common/types/latest.ts | 0 .../security}/plugins/session_view/common/types/v1.ts | 0 .../common/utils/alert_icon_tooltip_content.test.ts | 0 .../common/utils/alert_icon_tooltip_content.ts | 0 .../common/utils/expand_dotted_object.test.ts | 0 .../session_view/common/utils/expand_dotted_object.ts | 0 .../session_view/common/utils/sort_processes.test.ts | 0 .../plugins/session_view/common/utils/sort_processes.ts | 0 .../security}/plugins/session_view/jest.config.js | 8 ++++---- .../security}/plugins/session_view/kibana.jsonc | 0 .../security}/plugins/session_view/package.json | 4 ++-- .../components/back_to_investigated_alert/index.test.tsx | 0 .../components/back_to_investigated_alert/index.tsx | 0 .../components/back_to_investigated_alert/styles.ts | 0 .../components/detail_panel_accordion/index.test.tsx | 0 .../public/components/detail_panel_accordion/index.tsx | 0 .../public/components/detail_panel_accordion/styles.ts | 0 .../components/detail_panel_alert_actions/index.test.tsx | 0 .../components/detail_panel_alert_actions/index.tsx | 0 .../components/detail_panel_alert_actions/styles.ts | 0 .../components/detail_panel_alert_group_item/index.tsx | 0 .../components/detail_panel_alert_list_item/index.tsx | 0 .../components/detail_panel_alert_list_item/styles.ts | 0 .../components/detail_panel_alert_tab/index.test.tsx | 0 .../public/components/detail_panel_alert_tab/index.tsx | 0 .../public/components/detail_panel_alert_tab/styles.ts | 0 .../detail_panel_copy/__snapshots__/index.test.tsx.snap | 0 .../public/components/detail_panel_copy/index.test.tsx | 0 .../public/components/detail_panel_copy/index.tsx | 0 .../public/components/detail_panel_copy/styles.ts | 0 .../detail_panel_description_list/index.test.tsx | 0 .../components/detail_panel_description_list/index.tsx | 0 .../components/detail_panel_description_list/styles.ts | 0 .../components/detail_panel_list_item/index.test.tsx | 0 .../public/components/detail_panel_list_item/index.tsx | 0 .../public/components/detail_panel_list_item/styles.ts | 0 .../components/detail_panel_metadata_tab/helpers.test.ts | 0 .../components/detail_panel_metadata_tab/helpers.ts | 0 .../components/detail_panel_metadata_tab/index.test.tsx | 0 .../public/components/detail_panel_metadata_tab/index.tsx | 0 .../public/components/detail_panel_metadata_tab/styles.ts | 0 .../components/detail_panel_process_tab/helpers.test.ts | 0 .../public/components/detail_panel_process_tab/helpers.ts | 0 .../components/detail_panel_process_tab/index.test.tsx | 0 .../public/components/detail_panel_process_tab/index.tsx | 0 .../public/components/detail_panel_process_tab/styles.ts | 0 .../public/components/process_tree/helpers.test.ts | 0 .../public/components/process_tree/helpers.ts | 0 .../public/components/process_tree/hooks.test.tsx | 0 .../session_view/public/components/process_tree/hooks.ts | 0 .../public/components/process_tree/index.test.tsx | 0 .../session_view/public/components/process_tree/index.tsx | 0 .../session_view/public/components/process_tree/styles.ts | 0 .../process_tree_alert/__snapshots__/index.test.tsx.snap | 0 .../public/components/process_tree_alert/helpers.ts | 0 .../public/components/process_tree_alert/index.test.tsx | 0 .../public/components/process_tree_alert/index.tsx | 0 .../public/components/process_tree_alert/styles.ts | 0 .../public/components/process_tree_alerts/index.test.tsx | 0 .../public/components/process_tree_alerts/index.tsx | 0 .../public/components/process_tree_alerts/styles.ts | 0 .../components/process_tree_alerts_filter/index.test.tsx | 0 .../components/process_tree_alerts_filter/index.tsx | 0 .../components/process_tree_alerts_filter/styles.ts | 0 .../components/process_tree_alerts_filter/translations.ts | 0 .../components/process_tree_load_more_button/index.tsx | 0 .../components/process_tree_load_more_button/styles.ts | 0 .../public/components/process_tree_node/buttons.tsx | 0 .../public/components/process_tree_node/index.test.tsx | 0 .../public/components/process_tree_node/index.tsx | 0 .../public/components/process_tree_node/nbsp.tsx | 0 .../components/process_tree_node/split_text.test.tsx | 0 .../public/components/process_tree_node/split_text.tsx | 0 .../public/components/process_tree_node/styles.ts | 0 .../components/process_tree_node/text_highlight.test.tsx | 0 .../components/process_tree_node/text_highlight.tsx | 0 .../components/process_tree_node/use_button_styles.ts | 0 .../session_view/public/components/session_view/hooks.ts | 0 .../public/components/session_view/index.test.tsx | 0 .../session_view/public/components/session_view/index.tsx | 0 .../session_view/public/components/session_view/styles.ts | 0 .../public/components/session_view/translations.ts | 0 .../components/session_view_detail_panel/helpers.test.ts | 0 .../components/session_view_detail_panel/helpers.ts | 0 .../components/session_view_detail_panel/index.test.tsx | 0 .../public/components/session_view_detail_panel/index.tsx | 0 .../public/components/session_view_detail_panel/styles.ts | 0 .../components/session_view_display_options/index.tsx | 0 .../components/session_view_display_options/styles.ts | 0 .../components/session_view_search_bar/index.test.tsx | 0 .../public/components/session_view_search_bar/index.tsx | 0 .../public/components/session_view_search_bar/styles.ts | 0 .../public/components/tty_player/ansi_helpers.ts | 0 .../public/components/tty_player/hooks.test.tsx | 0 .../session_view/public/components/tty_player/hooks.ts | 0 .../public/components/tty_player/index.test.tsx | 0 .../session_view/public/components/tty_player/index.tsx | 0 .../session_view/public/components/tty_player/styles.ts | 0 .../public/components/tty_player/translations.ts | 0 .../public/components/tty_player/xterm_search.ts | 0 .../public/components/tty_player_controls/index.test.tsx | 0 .../public/components/tty_player_controls/index.tsx | 0 .../public/components/tty_player_controls/styles.ts | 0 .../public/components/tty_player_controls/translations.ts | 0 .../tty_player_controls_markers/index.tsx | 0 .../tty_player_controls_markers/play_head.tsx | 0 .../tty_player_controls_markers/styles.ts | 0 .../public/components/tty_search_bar/index.test.tsx | 0 .../public/components/tty_search_bar/index.tsx | 0 .../public/components/tty_text_sizer/index.test.tsx | 0 .../public/components/tty_text_sizer/index.tsx | 0 .../public/components/tty_text_sizer/styles.ts | 0 .../public/components/tty_text_sizer/translations.ts | 0 .../security}/plugins/session_view/public/constants.ts | 0 .../security}/plugins/session_view/public/hooks/index.ts | 0 .../plugins/session_view/public/hooks/use_date_format.ts | 0 .../plugins/session_view/public/hooks/use_eui_theme.ts | 0 .../plugins/session_view/public/hooks/use_scroll.ts | 0 .../plugins/session_view/public/hooks/use_visible.ts | 0 .../security}/plugins/session_view/public/index.ts | 0 .../plugins/session_view/public/methods/index.test.tsx | 0 .../plugins/session_view/public/methods/index.tsx | 0 .../security}/plugins/session_view/public/plugin.ts | 0 .../plugins/session_view/public/shared_imports.ts | 0 .../security}/plugins/session_view/public/test/index.tsx | 0 .../security}/plugins/session_view/public/types.ts | 0 .../public/utils/alert_category_display_test.test.ts | 0 .../public/utils/alert_category_display_text.ts | 0 .../session_view/public/utils/data_or_dash.test.ts | 0 .../plugins/session_view/public/utils/data_or_dash.ts | 0 .../security}/plugins/session_view/server/index.ts | 0 .../security}/plugins/session_view/server/plugin.ts | 0 .../session_view/server/routes/alert_status_route.test.ts | 0 .../session_view/server/routes/alert_status_route.ts | 0 .../session_view/server/routes/alerts_client_mock.test.ts | 0 .../session_view/server/routes/alerts_route.test.ts | 0 .../plugins/session_view/server/routes/alerts_route.ts | 0 .../server/routes/get_total_io_bytes_route.ts | 0 .../security}/plugins/session_view/server/routes/index.ts | 0 .../session_view/server/routes/io_events_route.test.ts | 0 .../plugins/session_view/server/routes/io_events_route.ts | 0 .../server/routes/process_events_route.test.ts | 0 .../session_view/server/routes/process_events_route.ts | 0 .../security}/plugins/session_view/server/types.ts | 0 .../security}/plugins/session_view/tsconfig.json | 4 ++-- yarn.lock | 2 +- 160 files changed, 17 insertions(+), 17 deletions(-) rename x-pack/{ => solutions/security}/plugins/session_view/.eslintrc.json (100%) rename x-pack/{ => solutions/security}/plugins/session_view/README.md (91%) rename x-pack/{ => solutions/security}/plugins/session_view/common/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/mocks/constants/session_view_process.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/mocks/responses/session_view_io_events.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/mocks/responses/session_view_process_events.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/mocks/responses/session_view_process_events_merged.mock.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/types/latest.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/types/v1.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/utils/alert_icon_tooltip_content.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/utils/alert_icon_tooltip_content.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/utils/expand_dotted_object.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/utils/expand_dotted_object.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/utils/sort_processes.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/common/utils/sort_processes.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/jest.config.js (65%) rename x-pack/{ => solutions/security}/plugins/session_view/kibana.jsonc (100%) rename x-pack/{ => solutions/security}/plugins/session_view/package.json (58%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/back_to_investigated_alert/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/back_to_investigated_alert/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/back_to_investigated_alert/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_accordion/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_accordion/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_accordion/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_alert_actions/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_alert_actions/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_alert_actions/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_alert_group_item/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_alert_list_item/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_alert_list_item/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_alert_tab/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_alert_tab/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_alert_tab/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_copy/__snapshots__/index.test.tsx.snap (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_copy/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_copy/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_copy/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_description_list/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_description_list/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_description_list/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_list_item/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_list_item/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_list_item/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_metadata_tab/helpers.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_metadata_tab/helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_metadata_tab/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_metadata_tab/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_metadata_tab/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_process_tab/helpers.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_process_tab/helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_process_tab/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_process_tab/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/detail_panel_process_tab/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree/helpers.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree/helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree/hooks.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree/hooks.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alert/__snapshots__/index.test.tsx.snap (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alert/helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alert/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alert/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alert/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alerts/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alerts/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alerts/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alerts_filter/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alerts_filter/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alerts_filter/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_alerts_filter/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_load_more_button/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_load_more_button/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_node/buttons.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_node/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_node/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_node/nbsp.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_node/split_text.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_node/split_text.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_node/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_node/text_highlight.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_node/text_highlight.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/process_tree_node/use_button_styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view/hooks.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view_detail_panel/helpers.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view_detail_panel/helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view_detail_panel/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view_detail_panel/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view_detail_panel/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view_display_options/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view_display_options/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view_search_bar/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view_search_bar/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/session_view_search_bar/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player/ansi_helpers.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player/hooks.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player/hooks.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player/xterm_search.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player_controls/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player_controls/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player_controls/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player_controls/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/play_head.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_search_bar/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_search_bar/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_text_sizer/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_text_sizer/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_text_sizer/styles.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/components/tty_text_sizer/translations.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/constants.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/hooks/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/hooks/use_date_format.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/hooks/use_eui_theme.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/hooks/use_scroll.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/hooks/use_visible.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/methods/index.test.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/methods/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/plugin.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/shared_imports.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/test/index.tsx (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/utils/alert_category_display_test.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/utils/alert_category_display_text.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/utils/data_or_dash.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/public/utils/data_or_dash.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/plugin.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/alert_status_route.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/alert_status_route.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/alerts_client_mock.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/alerts_route.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/alerts_route.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/get_total_io_bytes_route.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/index.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/io_events_route.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/io_events_route.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/process_events_route.test.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/routes/process_events_route.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/server/types.ts (100%) rename x-pack/{ => solutions/security}/plugins/session_view/tsconfig.json (92%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8b58449f91d21..e8e4e9f82eba5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -950,7 +950,6 @@ x-pack/plugins/security_solution_ess @elastic/security-solution x-pack/plugins/security_solution_serverless @elastic/security-solution x-pack/plugins/serverless @elastic/appex-sharedux x-pack/plugins/serverless_search @elastic/search-kibana -x-pack/plugins/session_view @elastic/kibana-cloud-security-posture x-pack/plugins/spaces @elastic/kibana-security x-pack/plugins/stack_alerts @elastic/response-ops x-pack/plugins/stack_connectors @elastic/response-ops @@ -999,6 +998,7 @@ x-pack/solutions/security/plugins/cloud_security_posture @elastic/kibana-cloud-s x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai x-pack/solutions/security/plugins/kubernetes_security @elastic/kibana-cloud-security-posture +x-pack/solutions/security/plugins/session_view @elastic/kibana-cloud-security-posture x-pack/solutions/security/plugins/threat_intelligence @elastic/security-threat-hunting-investigations x-pack/solutions/security/plugins/timelines @elastic/security-threat-hunting-investigations x-pack/test diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index d57f6b78ee8ff..35b7e9feafd65 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -890,7 +890,7 @@ This plugin is only enabled when the application is built for serverless project |This plugin contains configuration and code used to create a Serverless Search project. It leverages universal configuration and other APIs in the serverless plugin to configure Kibana. -|{kib-repo}blob/{branch}/x-pack/plugins/session_view/README.md[sessionView] +|{kib-repo}blob/{branch}/x-pack/solutions/security/plugins/session_view/README.md[sessionView] |Session View is meant to provide a visualization into what is going on in a particular Linux environment where the agent is running. It looks likes a terminal emulator; however, it is a tool for introspecting process activity and understanding user and service behaviour in your Linux servers and infrastructure. It is a time-ordered series of process executions displayed in a tree over time. diff --git a/package.json b/package.json index c422c91a4fec6..09389fcf7f58f 100644 --- a/package.json +++ b/package.json @@ -873,7 +873,7 @@ "@kbn/serverless-security-settings": "link:packages/serverless/settings/security_project", "@kbn/serverless-types": "link:packages/serverless/types", "@kbn/session-notifications-plugin": "link:test/plugin_functional/plugins/session_notifications", - "@kbn/session-view-plugin": "link:x-pack/plugins/session_view", + "@kbn/session-view-plugin": "link:x-pack/solutions/security/plugins/session_view", "@kbn/set-map": "link:packages/kbn-set-map", "@kbn/share-examples-plugin": "link:examples/share_examples", "@kbn/share-plugin": "link:src/plugins/share", diff --git a/tsconfig.base.json b/tsconfig.base.json index ac95a14e90372..931908e930ad4 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1724,8 +1724,8 @@ "@kbn/serverless-types/*": ["packages/serverless/types/*"], "@kbn/session-notifications-plugin": ["test/plugin_functional/plugins/session_notifications"], "@kbn/session-notifications-plugin/*": ["test/plugin_functional/plugins/session_notifications/*"], - "@kbn/session-view-plugin": ["x-pack/plugins/session_view"], - "@kbn/session-view-plugin/*": ["x-pack/plugins/session_view/*"], + "@kbn/session-view-plugin": ["x-pack/solutions/security/plugins/session_view"], + "@kbn/session-view-plugin/*": ["x-pack/solutions/security/plugins/session_view/*"], "@kbn/set-map": ["packages/kbn-set-map"], "@kbn/set-map/*": ["packages/kbn-set-map/*"], "@kbn/share-examples-plugin": ["examples/share_examples"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 69b026e40db68..876de4764cba4 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -149,7 +149,7 @@ "xpack.securitySolution": "plugins/security_solution", "xpack.securitySolutionEss": "plugins/security_solution_ess", "xpack.securitySolutionServerless": "plugins/security_solution_serverless", - "xpack.sessionView": "plugins/session_view", + "xpack.sessionView": "solutions/security/plugins/session_view", "xpack.streams": [ "solutions/observability/plugins/streams_app" ], diff --git a/x-pack/plugins/session_view/.eslintrc.json b/x-pack/solutions/security/plugins/session_view/.eslintrc.json similarity index 100% rename from x-pack/plugins/session_view/.eslintrc.json rename to x-pack/solutions/security/plugins/session_view/.eslintrc.json diff --git a/x-pack/plugins/session_view/README.md b/x-pack/solutions/security/plugins/session_view/README.md similarity index 91% rename from x-pack/plugins/session_view/README.md rename to x-pack/solutions/security/plugins/session_view/README.md index 384be8bcc292b..7c83a3dcf42ac 100644 --- a/x-pack/plugins/session_view/README.md +++ b/x-pack/solutions/security/plugins/session_view/README.md @@ -20,7 +20,7 @@ It provides an audit trail of: From kibana path in your terminal go to this plugin root: ```bash -cd x-pack/plugins/session_view +cd x-pack/solutions/security/plugins/session_view ``` Then run jest with: @@ -32,5 +32,5 @@ yarn test:jest Or if running from kibana root, you can specify the `-i` to specify the path: ```bash -yarn test:jest -i x-pack/plugins/session_view/ +yarn test:jest -i x-pack/solutions/security/plugins/session_view/ ``` diff --git a/x-pack/plugins/session_view/common/constants.ts b/x-pack/solutions/security/plugins/session_view/common/constants.ts similarity index 100% rename from x-pack/plugins/session_view/common/constants.ts rename to x-pack/solutions/security/plugins/session_view/common/constants.ts diff --git a/x-pack/plugins/session_view/common/index.ts b/x-pack/solutions/security/plugins/session_view/common/index.ts similarity index 100% rename from x-pack/plugins/session_view/common/index.ts rename to x-pack/solutions/security/plugins/session_view/common/index.ts diff --git a/x-pack/plugins/session_view/common/mocks/constants/session_view_process.mock.ts b/x-pack/solutions/security/plugins/session_view/common/mocks/constants/session_view_process.mock.ts similarity index 100% rename from x-pack/plugins/session_view/common/mocks/constants/session_view_process.mock.ts rename to x-pack/solutions/security/plugins/session_view/common/mocks/constants/session_view_process.mock.ts diff --git a/x-pack/plugins/session_view/common/mocks/responses/session_view_io_events.mock.ts b/x-pack/solutions/security/plugins/session_view/common/mocks/responses/session_view_io_events.mock.ts similarity index 100% rename from x-pack/plugins/session_view/common/mocks/responses/session_view_io_events.mock.ts rename to x-pack/solutions/security/plugins/session_view/common/mocks/responses/session_view_io_events.mock.ts diff --git a/x-pack/plugins/session_view/common/mocks/responses/session_view_process_events.mock.ts b/x-pack/solutions/security/plugins/session_view/common/mocks/responses/session_view_process_events.mock.ts similarity index 100% rename from x-pack/plugins/session_view/common/mocks/responses/session_view_process_events.mock.ts rename to x-pack/solutions/security/plugins/session_view/common/mocks/responses/session_view_process_events.mock.ts diff --git a/x-pack/plugins/session_view/common/mocks/responses/session_view_process_events_merged.mock.ts b/x-pack/solutions/security/plugins/session_view/common/mocks/responses/session_view_process_events_merged.mock.ts similarity index 100% rename from x-pack/plugins/session_view/common/mocks/responses/session_view_process_events_merged.mock.ts rename to x-pack/solutions/security/plugins/session_view/common/mocks/responses/session_view_process_events_merged.mock.ts diff --git a/x-pack/plugins/session_view/common/translations.ts b/x-pack/solutions/security/plugins/session_view/common/translations.ts similarity index 100% rename from x-pack/plugins/session_view/common/translations.ts rename to x-pack/solutions/security/plugins/session_view/common/translations.ts diff --git a/x-pack/plugins/session_view/common/types/latest.ts b/x-pack/solutions/security/plugins/session_view/common/types/latest.ts similarity index 100% rename from x-pack/plugins/session_view/common/types/latest.ts rename to x-pack/solutions/security/plugins/session_view/common/types/latest.ts diff --git a/x-pack/plugins/session_view/common/types/v1.ts b/x-pack/solutions/security/plugins/session_view/common/types/v1.ts similarity index 100% rename from x-pack/plugins/session_view/common/types/v1.ts rename to x-pack/solutions/security/plugins/session_view/common/types/v1.ts diff --git a/x-pack/plugins/session_view/common/utils/alert_icon_tooltip_content.test.ts b/x-pack/solutions/security/plugins/session_view/common/utils/alert_icon_tooltip_content.test.ts similarity index 100% rename from x-pack/plugins/session_view/common/utils/alert_icon_tooltip_content.test.ts rename to x-pack/solutions/security/plugins/session_view/common/utils/alert_icon_tooltip_content.test.ts diff --git a/x-pack/plugins/session_view/common/utils/alert_icon_tooltip_content.ts b/x-pack/solutions/security/plugins/session_view/common/utils/alert_icon_tooltip_content.ts similarity index 100% rename from x-pack/plugins/session_view/common/utils/alert_icon_tooltip_content.ts rename to x-pack/solutions/security/plugins/session_view/common/utils/alert_icon_tooltip_content.ts diff --git a/x-pack/plugins/session_view/common/utils/expand_dotted_object.test.ts b/x-pack/solutions/security/plugins/session_view/common/utils/expand_dotted_object.test.ts similarity index 100% rename from x-pack/plugins/session_view/common/utils/expand_dotted_object.test.ts rename to x-pack/solutions/security/plugins/session_view/common/utils/expand_dotted_object.test.ts diff --git a/x-pack/plugins/session_view/common/utils/expand_dotted_object.ts b/x-pack/solutions/security/plugins/session_view/common/utils/expand_dotted_object.ts similarity index 100% rename from x-pack/plugins/session_view/common/utils/expand_dotted_object.ts rename to x-pack/solutions/security/plugins/session_view/common/utils/expand_dotted_object.ts diff --git a/x-pack/plugins/session_view/common/utils/sort_processes.test.ts b/x-pack/solutions/security/plugins/session_view/common/utils/sort_processes.test.ts similarity index 100% rename from x-pack/plugins/session_view/common/utils/sort_processes.test.ts rename to x-pack/solutions/security/plugins/session_view/common/utils/sort_processes.test.ts diff --git a/x-pack/plugins/session_view/common/utils/sort_processes.ts b/x-pack/solutions/security/plugins/session_view/common/utils/sort_processes.ts similarity index 100% rename from x-pack/plugins/session_view/common/utils/sort_processes.ts rename to x-pack/solutions/security/plugins/session_view/common/utils/sort_processes.ts diff --git a/x-pack/plugins/session_view/jest.config.js b/x-pack/solutions/security/plugins/session_view/jest.config.js similarity index 65% rename from x-pack/plugins/session_view/jest.config.js rename to x-pack/solutions/security/plugins/session_view/jest.config.js index d35db0d369468..d525c255a05a5 100644 --- a/x-pack/plugins/session_view/jest.config.js +++ b/x-pack/solutions/security/plugins/session_view/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/session_view'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/session_view', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/security/plugins/session_view'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/session_view', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/session_view/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/solutions/security/plugins/session_view/{common,public,server}/**/*.{ts,tsx}', ], setupFiles: ['jest-canvas-mock'], }; diff --git a/x-pack/plugins/session_view/kibana.jsonc b/x-pack/solutions/security/plugins/session_view/kibana.jsonc similarity index 100% rename from x-pack/plugins/session_view/kibana.jsonc rename to x-pack/solutions/security/plugins/session_view/kibana.jsonc diff --git a/x-pack/plugins/session_view/package.json b/x-pack/solutions/security/plugins/session_view/package.json similarity index 58% rename from x-pack/plugins/session_view/package.json rename to x-pack/solutions/security/plugins/session_view/package.json index 256080545ba17..a9e4ab1ca6236 100644 --- a/x-pack/plugins/session_view/package.json +++ b/x-pack/solutions/security/plugins/session_view/package.json @@ -5,7 +5,7 @@ "private": true, "license": "Elastic License 2.0", "scripts": { - "test:jest": "node ../../scripts/jest", - "test:coverage": "node ../../scripts/jest --coverage" + "test:jest": "node ../../../../scripts/jest", + "test:coverage": "node ../../../../scripts/jest --coverage" } } diff --git a/x-pack/plugins/session_view/public/components/back_to_investigated_alert/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/back_to_investigated_alert/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/back_to_investigated_alert/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/back_to_investigated_alert/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/back_to_investigated_alert/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/back_to_investigated_alert/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/back_to_investigated_alert/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/back_to_investigated_alert/index.tsx diff --git a/x-pack/plugins/session_view/public/components/back_to_investigated_alert/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/back_to_investigated_alert/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/back_to_investigated_alert/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/back_to_investigated_alert/styles.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_accordion/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_accordion/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_accordion/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_accordion/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_accordion/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_accordion/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_accordion/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_accordion/index.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_accordion/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_accordion/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_accordion/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_accordion/styles.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_alert_actions/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_actions/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_alert_actions/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_actions/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_alert_actions/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_actions/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_alert_actions/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_actions/index.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_alert_actions/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_actions/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_alert_actions/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_actions/styles.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_alert_group_item/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_group_item/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_alert_group_item/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_group_item/index.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_alert_list_item/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_list_item/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_alert_list_item/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_list_item/index.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_alert_list_item/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_list_item/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_alert_list_item/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_list_item/styles.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_alert_tab/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_tab/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_alert_tab/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_tab/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_alert_tab/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_tab/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_alert_tab/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_tab/index.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_alert_tab/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_tab/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_alert_tab/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_alert_tab/styles.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_copy/__snapshots__/index.test.tsx.snap b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_copy/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_copy/__snapshots__/index.test.tsx.snap rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_copy/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/session_view/public/components/detail_panel_copy/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_copy/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_copy/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_copy/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_copy/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_copy/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_copy/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_copy/index.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_copy/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_copy/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_copy/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_copy/styles.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_description_list/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_description_list/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_description_list/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_description_list/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_description_list/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_description_list/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_description_list/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_description_list/index.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_description_list/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_description_list/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_description_list/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_description_list/styles.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_list_item/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_list_item/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_list_item/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_list_item/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_list_item/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_list_item/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_list_item/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_list_item/index.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_list_item/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_list_item/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_list_item/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_list_item/styles.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_metadata_tab/helpers.test.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_metadata_tab/helpers.test.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_metadata_tab/helpers.test.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_metadata_tab/helpers.test.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_metadata_tab/helpers.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_metadata_tab/helpers.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_metadata_tab/helpers.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_metadata_tab/helpers.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_metadata_tab/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_metadata_tab/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_metadata_tab/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_metadata_tab/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_metadata_tab/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_metadata_tab/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_metadata_tab/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_metadata_tab/index.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_metadata_tab/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_metadata_tab/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_metadata_tab/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_metadata_tab/styles.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_process_tab/helpers.test.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_process_tab/helpers.test.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_process_tab/helpers.test.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_process_tab/helpers.test.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_process_tab/helpers.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_process_tab/helpers.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_process_tab/helpers.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_process_tab/helpers.ts diff --git a/x-pack/plugins/session_view/public/components/detail_panel_process_tab/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_process_tab/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_process_tab/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_process_tab/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_process_tab/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_process_tab/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_process_tab/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_process_tab/index.tsx diff --git a/x-pack/plugins/session_view/public/components/detail_panel_process_tab/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/detail_panel_process_tab/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/detail_panel_process_tab/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/detail_panel_process_tab/styles.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree/helpers.test.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree/helpers.test.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree/helpers.test.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree/helpers.test.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree/helpers.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree/helpers.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree/helpers.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree/helpers.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree/hooks.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree/hooks.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree/hooks.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree/hooks.test.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree/hooks.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree/hooks.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree/hooks.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree/hooks.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree/index.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree/styles.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree_alert/__snapshots__/index.test.tsx.snap b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alert/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alert/__snapshots__/index.test.tsx.snap rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alert/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/session_view/public/components/process_tree_alert/helpers.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alert/helpers.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alert/helpers.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alert/helpers.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree_alert/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alert/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alert/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alert/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_alert/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alert/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alert/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alert/index.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_alert/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alert/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alert/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alert/styles.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree_alerts/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alerts/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_alerts/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alerts/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts/index.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_alerts/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alerts/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts/styles.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree_alerts_filter/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts_filter/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alerts_filter/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts_filter/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_alerts_filter/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts_filter/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alerts_filter/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts_filter/index.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_alerts_filter/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts_filter/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alerts_filter/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts_filter/styles.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree_alerts_filter/translations.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts_filter/translations.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_alerts_filter/translations.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_alerts_filter/translations.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree_load_more_button/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_load_more_button/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_load_more_button/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_load_more_button/index.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_load_more_button/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_load_more_button/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_load_more_button/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_load_more_button/styles.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree_node/buttons.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/buttons.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_node/buttons.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/buttons.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_node/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_node/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_node/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_node/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/index.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_node/nbsp.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/nbsp.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_node/nbsp.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/nbsp.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_node/split_text.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/split_text.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_node/split_text.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/split_text.test.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_node/split_text.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/split_text.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_node/split_text.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/split_text.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_node/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_node/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/styles.ts diff --git a/x-pack/plugins/session_view/public/components/process_tree_node/text_highlight.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/text_highlight.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_node/text_highlight.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/text_highlight.test.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_node/text_highlight.tsx b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/text_highlight.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_node/text_highlight.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/text_highlight.tsx diff --git a/x-pack/plugins/session_view/public/components/process_tree_node/use_button_styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/use_button_styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/process_tree_node/use_button_styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/process_tree_node/use_button_styles.ts diff --git a/x-pack/plugins/session_view/public/components/session_view/hooks.ts b/x-pack/solutions/security/plugins/session_view/public/components/session_view/hooks.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view/hooks.ts rename to x-pack/solutions/security/plugins/session_view/public/components/session_view/hooks.ts diff --git a/x-pack/plugins/session_view/public/components/session_view/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/session_view/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/session_view/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/session_view/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/session_view/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/session_view/index.tsx diff --git a/x-pack/plugins/session_view/public/components/session_view/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/session_view/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/session_view/styles.ts diff --git a/x-pack/plugins/session_view/public/components/session_view/translations.ts b/x-pack/solutions/security/plugins/session_view/public/components/session_view/translations.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view/translations.ts rename to x-pack/solutions/security/plugins/session_view/public/components/session_view/translations.ts diff --git a/x-pack/plugins/session_view/public/components/session_view_detail_panel/helpers.test.ts b/x-pack/solutions/security/plugins/session_view/public/components/session_view_detail_panel/helpers.test.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view_detail_panel/helpers.test.ts rename to x-pack/solutions/security/plugins/session_view/public/components/session_view_detail_panel/helpers.test.ts diff --git a/x-pack/plugins/session_view/public/components/session_view_detail_panel/helpers.ts b/x-pack/solutions/security/plugins/session_view/public/components/session_view_detail_panel/helpers.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view_detail_panel/helpers.ts rename to x-pack/solutions/security/plugins/session_view/public/components/session_view_detail_panel/helpers.ts diff --git a/x-pack/plugins/session_view/public/components/session_view_detail_panel/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/session_view_detail_panel/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view_detail_panel/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/session_view_detail_panel/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/session_view_detail_panel/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/session_view_detail_panel/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view_detail_panel/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/session_view_detail_panel/index.tsx diff --git a/x-pack/plugins/session_view/public/components/session_view_detail_panel/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/session_view_detail_panel/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view_detail_panel/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/session_view_detail_panel/styles.ts diff --git a/x-pack/plugins/session_view/public/components/session_view_display_options/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/session_view_display_options/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view_display_options/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/session_view_display_options/index.tsx diff --git a/x-pack/plugins/session_view/public/components/session_view_display_options/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/session_view_display_options/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view_display_options/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/session_view_display_options/styles.ts diff --git a/x-pack/plugins/session_view/public/components/session_view_search_bar/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/session_view_search_bar/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view_search_bar/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/session_view_search_bar/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/session_view_search_bar/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/session_view_search_bar/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view_search_bar/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/session_view_search_bar/index.tsx diff --git a/x-pack/plugins/session_view/public/components/session_view_search_bar/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/session_view_search_bar/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/session_view_search_bar/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/session_view_search_bar/styles.ts diff --git a/x-pack/plugins/session_view/public/components/tty_player/ansi_helpers.ts b/x-pack/solutions/security/plugins/session_view/public/components/tty_player/ansi_helpers.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player/ansi_helpers.ts rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player/ansi_helpers.ts diff --git a/x-pack/plugins/session_view/public/components/tty_player/hooks.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_player/hooks.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player/hooks.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player/hooks.test.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_player/hooks.ts b/x-pack/solutions/security/plugins/session_view/public/components/tty_player/hooks.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player/hooks.ts rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player/hooks.ts diff --git a/x-pack/plugins/session_view/public/components/tty_player/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_player/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_player/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_player/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player/index.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_player/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/tty_player/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player/styles.ts diff --git a/x-pack/plugins/session_view/public/components/tty_player/translations.ts b/x-pack/solutions/security/plugins/session_view/public/components/tty_player/translations.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player/translations.ts rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player/translations.ts diff --git a/x-pack/plugins/session_view/public/components/tty_player/xterm_search.ts b/x-pack/solutions/security/plugins/session_view/public/components/tty_player/xterm_search.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player/xterm_search.ts rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player/xterm_search.ts diff --git a/x-pack/plugins/session_view/public/components/tty_player_controls/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player_controls/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_player_controls/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player_controls/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/index.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_player_controls/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player_controls/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/styles.ts diff --git a/x-pack/plugins/session_view/public/components/tty_player_controls/translations.ts b/x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/translations.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player_controls/translations.ts rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/translations.ts diff --git a/x-pack/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/index.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/play_head.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/play_head.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/play_head.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/play_head.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/tty_player_controls/tty_player_controls_markers/styles.ts diff --git a/x-pack/plugins/session_view/public/components/tty_search_bar/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_search_bar/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_search_bar/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_search_bar/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_search_bar/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_search_bar/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_search_bar/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_search_bar/index.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_text_sizer/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_text_sizer/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_text_sizer/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_text_sizer/index.test.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_text_sizer/index.tsx b/x-pack/solutions/security/plugins/session_view/public/components/tty_text_sizer/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_text_sizer/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/components/tty_text_sizer/index.tsx diff --git a/x-pack/plugins/session_view/public/components/tty_text_sizer/styles.ts b/x-pack/solutions/security/plugins/session_view/public/components/tty_text_sizer/styles.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_text_sizer/styles.ts rename to x-pack/solutions/security/plugins/session_view/public/components/tty_text_sizer/styles.ts diff --git a/x-pack/plugins/session_view/public/components/tty_text_sizer/translations.ts b/x-pack/solutions/security/plugins/session_view/public/components/tty_text_sizer/translations.ts similarity index 100% rename from x-pack/plugins/session_view/public/components/tty_text_sizer/translations.ts rename to x-pack/solutions/security/plugins/session_view/public/components/tty_text_sizer/translations.ts diff --git a/x-pack/plugins/session_view/public/constants.ts b/x-pack/solutions/security/plugins/session_view/public/constants.ts similarity index 100% rename from x-pack/plugins/session_view/public/constants.ts rename to x-pack/solutions/security/plugins/session_view/public/constants.ts diff --git a/x-pack/plugins/session_view/public/hooks/index.ts b/x-pack/solutions/security/plugins/session_view/public/hooks/index.ts similarity index 100% rename from x-pack/plugins/session_view/public/hooks/index.ts rename to x-pack/solutions/security/plugins/session_view/public/hooks/index.ts diff --git a/x-pack/plugins/session_view/public/hooks/use_date_format.ts b/x-pack/solutions/security/plugins/session_view/public/hooks/use_date_format.ts similarity index 100% rename from x-pack/plugins/session_view/public/hooks/use_date_format.ts rename to x-pack/solutions/security/plugins/session_view/public/hooks/use_date_format.ts diff --git a/x-pack/plugins/session_view/public/hooks/use_eui_theme.ts b/x-pack/solutions/security/plugins/session_view/public/hooks/use_eui_theme.ts similarity index 100% rename from x-pack/plugins/session_view/public/hooks/use_eui_theme.ts rename to x-pack/solutions/security/plugins/session_view/public/hooks/use_eui_theme.ts diff --git a/x-pack/plugins/session_view/public/hooks/use_scroll.ts b/x-pack/solutions/security/plugins/session_view/public/hooks/use_scroll.ts similarity index 100% rename from x-pack/plugins/session_view/public/hooks/use_scroll.ts rename to x-pack/solutions/security/plugins/session_view/public/hooks/use_scroll.ts diff --git a/x-pack/plugins/session_view/public/hooks/use_visible.ts b/x-pack/solutions/security/plugins/session_view/public/hooks/use_visible.ts similarity index 100% rename from x-pack/plugins/session_view/public/hooks/use_visible.ts rename to x-pack/solutions/security/plugins/session_view/public/hooks/use_visible.ts diff --git a/x-pack/plugins/session_view/public/index.ts b/x-pack/solutions/security/plugins/session_view/public/index.ts similarity index 100% rename from x-pack/plugins/session_view/public/index.ts rename to x-pack/solutions/security/plugins/session_view/public/index.ts diff --git a/x-pack/plugins/session_view/public/methods/index.test.tsx b/x-pack/solutions/security/plugins/session_view/public/methods/index.test.tsx similarity index 100% rename from x-pack/plugins/session_view/public/methods/index.test.tsx rename to x-pack/solutions/security/plugins/session_view/public/methods/index.test.tsx diff --git a/x-pack/plugins/session_view/public/methods/index.tsx b/x-pack/solutions/security/plugins/session_view/public/methods/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/methods/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/methods/index.tsx diff --git a/x-pack/plugins/session_view/public/plugin.ts b/x-pack/solutions/security/plugins/session_view/public/plugin.ts similarity index 100% rename from x-pack/plugins/session_view/public/plugin.ts rename to x-pack/solutions/security/plugins/session_view/public/plugin.ts diff --git a/x-pack/plugins/session_view/public/shared_imports.ts b/x-pack/solutions/security/plugins/session_view/public/shared_imports.ts similarity index 100% rename from x-pack/plugins/session_view/public/shared_imports.ts rename to x-pack/solutions/security/plugins/session_view/public/shared_imports.ts diff --git a/x-pack/plugins/session_view/public/test/index.tsx b/x-pack/solutions/security/plugins/session_view/public/test/index.tsx similarity index 100% rename from x-pack/plugins/session_view/public/test/index.tsx rename to x-pack/solutions/security/plugins/session_view/public/test/index.tsx diff --git a/x-pack/plugins/session_view/public/types.ts b/x-pack/solutions/security/plugins/session_view/public/types.ts similarity index 100% rename from x-pack/plugins/session_view/public/types.ts rename to x-pack/solutions/security/plugins/session_view/public/types.ts diff --git a/x-pack/plugins/session_view/public/utils/alert_category_display_test.test.ts b/x-pack/solutions/security/plugins/session_view/public/utils/alert_category_display_test.test.ts similarity index 100% rename from x-pack/plugins/session_view/public/utils/alert_category_display_test.test.ts rename to x-pack/solutions/security/plugins/session_view/public/utils/alert_category_display_test.test.ts diff --git a/x-pack/plugins/session_view/public/utils/alert_category_display_text.ts b/x-pack/solutions/security/plugins/session_view/public/utils/alert_category_display_text.ts similarity index 100% rename from x-pack/plugins/session_view/public/utils/alert_category_display_text.ts rename to x-pack/solutions/security/plugins/session_view/public/utils/alert_category_display_text.ts diff --git a/x-pack/plugins/session_view/public/utils/data_or_dash.test.ts b/x-pack/solutions/security/plugins/session_view/public/utils/data_or_dash.test.ts similarity index 100% rename from x-pack/plugins/session_view/public/utils/data_or_dash.test.ts rename to x-pack/solutions/security/plugins/session_view/public/utils/data_or_dash.test.ts diff --git a/x-pack/plugins/session_view/public/utils/data_or_dash.ts b/x-pack/solutions/security/plugins/session_view/public/utils/data_or_dash.ts similarity index 100% rename from x-pack/plugins/session_view/public/utils/data_or_dash.ts rename to x-pack/solutions/security/plugins/session_view/public/utils/data_or_dash.ts diff --git a/x-pack/plugins/session_view/server/index.ts b/x-pack/solutions/security/plugins/session_view/server/index.ts similarity index 100% rename from x-pack/plugins/session_view/server/index.ts rename to x-pack/solutions/security/plugins/session_view/server/index.ts diff --git a/x-pack/plugins/session_view/server/plugin.ts b/x-pack/solutions/security/plugins/session_view/server/plugin.ts similarity index 100% rename from x-pack/plugins/session_view/server/plugin.ts rename to x-pack/solutions/security/plugins/session_view/server/plugin.ts diff --git a/x-pack/plugins/session_view/server/routes/alert_status_route.test.ts b/x-pack/solutions/security/plugins/session_view/server/routes/alert_status_route.test.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/alert_status_route.test.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/alert_status_route.test.ts diff --git a/x-pack/plugins/session_view/server/routes/alert_status_route.ts b/x-pack/solutions/security/plugins/session_view/server/routes/alert_status_route.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/alert_status_route.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/alert_status_route.ts diff --git a/x-pack/plugins/session_view/server/routes/alerts_client_mock.test.ts b/x-pack/solutions/security/plugins/session_view/server/routes/alerts_client_mock.test.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/alerts_client_mock.test.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/alerts_client_mock.test.ts diff --git a/x-pack/plugins/session_view/server/routes/alerts_route.test.ts b/x-pack/solutions/security/plugins/session_view/server/routes/alerts_route.test.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/alerts_route.test.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/alerts_route.test.ts diff --git a/x-pack/plugins/session_view/server/routes/alerts_route.ts b/x-pack/solutions/security/plugins/session_view/server/routes/alerts_route.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/alerts_route.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/alerts_route.ts diff --git a/x-pack/plugins/session_view/server/routes/get_total_io_bytes_route.ts b/x-pack/solutions/security/plugins/session_view/server/routes/get_total_io_bytes_route.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/get_total_io_bytes_route.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/get_total_io_bytes_route.ts diff --git a/x-pack/plugins/session_view/server/routes/index.ts b/x-pack/solutions/security/plugins/session_view/server/routes/index.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/index.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/index.ts diff --git a/x-pack/plugins/session_view/server/routes/io_events_route.test.ts b/x-pack/solutions/security/plugins/session_view/server/routes/io_events_route.test.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/io_events_route.test.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/io_events_route.test.ts diff --git a/x-pack/plugins/session_view/server/routes/io_events_route.ts b/x-pack/solutions/security/plugins/session_view/server/routes/io_events_route.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/io_events_route.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/io_events_route.ts diff --git a/x-pack/plugins/session_view/server/routes/process_events_route.test.ts b/x-pack/solutions/security/plugins/session_view/server/routes/process_events_route.test.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/process_events_route.test.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/process_events_route.test.ts diff --git a/x-pack/plugins/session_view/server/routes/process_events_route.ts b/x-pack/solutions/security/plugins/session_view/server/routes/process_events_route.ts similarity index 100% rename from x-pack/plugins/session_view/server/routes/process_events_route.ts rename to x-pack/solutions/security/plugins/session_view/server/routes/process_events_route.ts diff --git a/x-pack/plugins/session_view/server/types.ts b/x-pack/solutions/security/plugins/session_view/server/types.ts similarity index 100% rename from x-pack/plugins/session_view/server/types.ts rename to x-pack/solutions/security/plugins/session_view/server/types.ts diff --git a/x-pack/plugins/session_view/tsconfig.json b/x-pack/solutions/security/plugins/session_view/tsconfig.json similarity index 92% rename from x-pack/plugins/session_view/tsconfig.json rename to x-pack/solutions/security/plugins/session_view/tsconfig.json index 412de8355943c..80cbd97282268 100644 --- a/x-pack/plugins/session_view/tsconfig.json +++ b/x-pack/solutions/security/plugins/session_view/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -12,7 +12,7 @@ "scripts/**/*", "package.json", "storybook/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/yarn.lock b/yarn.lock index 5fdabcdf4a769..5ef30007e260f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7265,7 +7265,7 @@ version "0.0.0" uid "" -"@kbn/session-view-plugin@link:x-pack/plugins/session_view": +"@kbn/session-view-plugin@link:x-pack/solutions/security/plugins/session_view": version "0.0.0" uid "" From ad202df1948970146c6094836e8411e142d8b204 Mon Sep 17 00:00:00 2001 From: Sean Rathier Date: Fri, 13 Dec 2024 13:37:19 -0500 Subject: [PATCH 09/11] fixed i18n and lint errors --- .i18nrc.json | 7 ++++- .../common/utils/helpers.ts | 9 ++++--- .../translations/translations/fr-FR.json | 19 +++++++------ .../translations/translations/ja-JP.json | 19 +++++++------ .../translations/translations/zh-CN.json | 19 +++++++------ .../graph/graph_popover.stories.tsx | 10 +++++-- .../graph_node_expand_popover.tsx | 27 ++++++++++++------- .../use_graph_node_expand_popover.tsx | 2 ++ .../components/graph_layout.stories.test.tsx | 1 + .../src/components/graph_layout.stories.tsx | 3 +-- .../graph/src/components/mock/react_flow.ts | 1 + .../src/components/node/button.stories.tsx | 2 ++ .../src/components/node/diamond_node.tsx | 1 + .../src/components/node/edge_group_node.tsx | 1 + .../src/components/node/ellipse_node.tsx | 1 + .../src/components/node/get_span_icon.ts | 1 + .../src/components/node/hexagon_node.tsx | 1 + .../graph/src/components/node/label_node.tsx | 1 + .../src/components/node/pentagon_node.tsx | 1 + .../src/components/node/rectangle_node.tsx | 1 + .../components/node/shapes/diamond_shape.tsx | 2 ++ .../components/node/shapes/ellipse_shape.tsx | 2 ++ .../components/node/shapes/hexagon_shape.tsx | 2 ++ .../components/node/shapes/pentagon_shape.tsx | 2 ++ .../node/shapes/rectangle_shape.tsx | 2 ++ .../graph/src/components/types.ts | 3 +-- .../src/components/csp_evaluation_badge.tsx | 15 ++++++++--- .../public/src/constants/navigation.ts | 10 +++---- .../hooks/use_misconfiguration_findings.ts | 1 + .../src/hooks/use_misconfiguration_preview.ts | 1 + .../public/src/utils/hooks_utils.ts | 2 +- .../public/src/utils/query_utils.ts | 3 +++ .../public/src/utils/show_error_toast.ts | 2 +- .../public/src/utils/vulnerability_helpers.ts | 1 + 34 files changed, 116 insertions(+), 59 deletions(-) diff --git a/.i18nrc.json b/.i18nrc.json index 1ef582708b2cd..63cbc62d13650 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -119,7 +119,12 @@ "searchIndexDocuments": "packages/kbn-search-index-documents", "searchResponseWarnings": "packages/kbn-search-response-warnings", "searchTypes": "packages/kbn-search-types", - "securitySolutionPackages": "x-pack/solutions/security/packages", + "securitySolutionPackages": [ + "x-pack/solutions/security/packages" + ], + "sharedPlatformPackages": [ + "x-pack/platform/packages/shared/kbn-cloud-security-posture" + ], "serverlessPackages": "packages/serverless", "sse": ["src/platform/packages/shared/kbn-sse-utils"], "coloring": "packages/kbn-coloring/src", diff --git a/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/helpers.ts b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/helpers.ts index ac2e27b70878f..8335fea705069 100644 --- a/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/helpers.ts +++ b/x-pack/platform/packages/shared/kbn-cloud-security-posture/common/utils/helpers.ts @@ -9,9 +9,12 @@ import { QueryDslQueryContainer } from '@kbn/data-views-plugin/common/types'; import { i18n } from '@kbn/i18n'; import type { CspBenchmarkRulesStates } from '../schema/rules/latest'; -export const defaultErrorMessage = i18n.translate('xpack.csp.common.utils.helpers.unknownError', { - defaultMessage: 'Unknown Error', -}); +export const defaultErrorMessage = i18n.translate( + 'sharedPlatformPackages.csp.common.utils.helpers.unknownError', + { + defaultMessage: 'Unknown Error', + } +); export const extractErrorMessage = (e: unknown, fallbackMessage?: string): string => { if (e instanceof Error) return e.message; diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json index a41c595972c54..4772f4c13db35 100644 --- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json +++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json @@ -14644,7 +14644,7 @@ "xpack.csp.cnvmDashboardTable.section.topVulnerableResources.column.vulnerabilities": "Vulnérabilités", "xpack.csp.cnvmDashboardTable.section.topVulnerableResources.column.vulnerabilityCount": "Vulnérabilités", "xpack.csp.common.component.multiSelectFilter.searchWord": "Recherche", - "xpack.csp.common.utils.helpers.unknownError": "Erreur inconnue", + "sharedPlatformPackages.csp.common.utils.helpers.unknownError": "Erreur inconnue", "xpack.csp.compactFormattedNumber.naTitle": "S. O.", "xpack.csp.complianceScoreBar.tooltipTitle": "{failed} échecs et {passed} réussites de résultats", "xpack.csp.complianceScoreChart.counterButtonLink.failedFindingsTooltip": "Échec des résultats", @@ -14659,9 +14659,9 @@ "xpack.csp.createPackagePolicy.customAssetsTab.rulesViewLabel": "Afficher les règles CSP", "xpack.csp.createPackagePolicy.customAssetsTab.vulnerabilityDashboardViewLabel": "Afficher le tableau de bord CNVM", "xpack.csp.createPackagePolicy.customAssetsTab.vulnerabilityFindingsViewLabel": "Afficher les résultats des vulnérabilités", - "xpack.csp.cspEvaluationBadge.failLabel": "Échec", - "xpack.csp.cspEvaluationBadge.naLabel": "S. O.", - "xpack.csp.cspEvaluationBadge.passLabel": "Réussite", + "securitySolutionPackages.csp.cspEvaluationBadge.failLabel": "Échec", + "securitySolutionPackages.csp.cspEvaluationBadge.naLabel": "S. O.", + "securitySolutionPackages.csp.cspEvaluationBadge.passLabel": "Réussite", "xpack.csp.cspIntegration.gcpCloudCredentials.cloudFormationSupportedMessage": "La fonctionnalité Lancer Cloud Shell pour obtenir les informations d'identification de façon automatisée n’est pas pris en charge dans la version d'intégration actuelle. Veuillez effectuer une mise à niveau vers la dernière version pour activer Lancer Cloud Shell pour les informations d'identification automatisées.", "xpack.csp.cspmIntegration.awsOption.benchmarkTitle": "CIS AWS", "xpack.csp.cspmIntegration.awsOption.nameTitle": "AWS", @@ -14745,7 +14745,7 @@ "xpack.csp.findings.distributionBar.totalPassedLabel": "Réussite des résultats", "xpack.csp.findings.errorCallout.pageSearchErrorTitle": "Une erreur s’est produite lors de la récupération des résultats de recherche.", "xpack.csp.findings.errorCallout.showErrorButtonLabel": "Afficher le message d'erreur", - "xpack.csp.findings.findingsErrorToast.searchFailedTitle": "Échec de la recherche", + "securitySolutionPackages.csp.findings.findingsErrorToast.searchFailedTitle": "Échec de la recherche", "xpack.csp.findings.findingsFlyout.calloutTitle": "Certains champs ne sont pas fournis par {vendor}", "xpack.csp.findings.findingsFlyout.flyoutDescriptionList.resourceId": "ID ressource", "xpack.csp.findings.findingsFlyout.flyoutDescriptionList.resourceName": "Nom de ressource", @@ -14915,11 +14915,10 @@ "xpack.csp.kspmIntegration.integration.shortNameTitle": "KSPM", "xpack.csp.kspmIntegration.vanillaOption.benchmarkTitle": "CIS Kubernetes", "xpack.csp.kspmIntegration.vanillaOption.nameTitle": "Autogéré", - "xpack.csp.navigation.dashboardNavItemLabel": "Niveau de sécurité du cloud", - "xpack.csp.navigation.findingsNavItemLabel": "Résultats", - "xpack.csp.navigation.myBenchmarksNavItemLabel": "Benchmarks", - "xpack.csp.navigation.rulesNavItemLabel": "Règles", - "xpack.csp.navigation.vulnerabilityDashboardNavItemLabel": "Gestion des vulnérabilités natives du cloud", + "securitySolutionPackages.csp.navigation.dashboardNavItemLabel": "Niveau de sécurité du cloud", + "securitySolutionPackages.csp.navigation.findingsNavItemLabel": "Résultats", + "securitySolutionPackages.csp.navigation.rulesNavItemLabel": "Règles", + "securitySolutionPackages.csp.navigation.vulnerabilityDashboardNavItemLabel": "Gestion des vulnérabilités natives du cloud", "xpack.csp.noFindingsStates.indexing.indexingButtonTitle": "Évaluation du niveau en cours", "xpack.csp.noFindingsStates.indexing.indexingDescription": "En attente de la collecte et de l'indexation des données. Revenez plus tard pour voir vos résultats", "xpack.csp.noFindingsStates.indexTimeout.indexTimeoutDescription": "La collecte des résultats prend plus de temps que prévu. {docs}.", diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json index a708ca5977b4c..306985c4034ec 100644 --- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json +++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json @@ -14511,7 +14511,7 @@ "xpack.csp.cnvmDashboardTable.section.topVulnerableResources.column.vulnerabilities": "脆弱性", "xpack.csp.cnvmDashboardTable.section.topVulnerableResources.column.vulnerabilityCount": "脆弱性", "xpack.csp.common.component.multiSelectFilter.searchWord": "検索", - "xpack.csp.common.utils.helpers.unknownError": "不明なエラー", + "sharedPlatformPackages.csp.common.utils.helpers.unknownError": "不明なエラー", "xpack.csp.compactFormattedNumber.naTitle": "N/A", "xpack.csp.complianceScoreBar.tooltipTitle": "{failed}が失敗し、{passed}が調査結果に合格しました", "xpack.csp.complianceScoreChart.counterButtonLink.failedFindingsTooltip": "失敗した調査結果", @@ -14526,9 +14526,9 @@ "xpack.csp.createPackagePolicy.customAssetsTab.rulesViewLabel": "CSPルールを表示", "xpack.csp.createPackagePolicy.customAssetsTab.vulnerabilityDashboardViewLabel": "CNVMダッシュボードを表示", "xpack.csp.createPackagePolicy.customAssetsTab.vulnerabilityFindingsViewLabel": "脆弱性の調査結果を表示", - "xpack.csp.cspEvaluationBadge.failLabel": "失敗", - "xpack.csp.cspEvaluationBadge.naLabel": "N/A", - "xpack.csp.cspEvaluationBadge.passLabel": "合格", + "securitySolutionPackages.csp.cspEvaluationBadge.failLabel": "失敗", + "securitySolutionPackages.csp.cspEvaluationBadge.naLabel": "N/A", + "securitySolutionPackages.csp.cspEvaluationBadge.passLabel": "合格", "xpack.csp.cspIntegration.gcpCloudCredentials.cloudFormationSupportedMessage": "Launch Cloud ShellLaunch Cloud Formation for Automated Credentialsは、現在の統合バージョンではサポートされていません。Launch Cloud Shell for Automated Credentialsを有効化するには、最新バージョンにアップグレードしてください。", "xpack.csp.cspmIntegration.awsOption.benchmarkTitle": "CIS AWS", "xpack.csp.cspmIntegration.awsOption.nameTitle": "AWS", @@ -14611,7 +14611,7 @@ "xpack.csp.findings.distributionBar.totalPassedLabel": "合格した調査結果", "xpack.csp.findings.errorCallout.pageSearchErrorTitle": "検索結果の取得中にエラーが発生しました", "xpack.csp.findings.errorCallout.showErrorButtonLabel": "エラーメッセージを表示", - "xpack.csp.findings.findingsErrorToast.searchFailedTitle": "検索失敗", + "securitySolutionPackages.csp.findings.findingsErrorToast.searchFailedTitle": "検索失敗", "xpack.csp.findings.findingsFlyout.calloutTitle": "一部のフィールドは{vendor}によって提供されていません", "xpack.csp.findings.findingsFlyout.flyoutDescriptionList.resourceId": "リソースID", "xpack.csp.findings.findingsFlyout.flyoutDescriptionList.resourceName": "リソース名", @@ -14780,11 +14780,10 @@ "xpack.csp.kspmIntegration.integration.shortNameTitle": "KSPM", "xpack.csp.kspmIntegration.vanillaOption.benchmarkTitle": "CIS Kubernetes", "xpack.csp.kspmIntegration.vanillaOption.nameTitle": "自己管理", - "xpack.csp.navigation.dashboardNavItemLabel": "クラウドセキュリティ態勢", - "xpack.csp.navigation.findingsNavItemLabel": "調査結果", - "xpack.csp.navigation.myBenchmarksNavItemLabel": "ベンチマーク", - "xpack.csp.navigation.rulesNavItemLabel": "ルール", - "xpack.csp.navigation.vulnerabilityDashboardNavItemLabel": "Cloud Native Vulnerability Management", + "securitySolutionPackages.csp.navigation.dashboardNavItemLabel": "クラウドセキュリティ態勢", + "securitySolutionPackages.csp.navigation.findingsNavItemLabel": "調査結果", + "securitySolutionPackages.csp.navigation.rulesNavItemLabel": "ルール", + "securitySolutionPackages.csp.navigation.vulnerabilityDashboardNavItemLabel": "Cloud Native Vulnerability Management", "xpack.csp.noFindingsStates.indexing.indexingButtonTitle": "態勢評価中", "xpack.csp.noFindingsStates.indexing.indexingDescription": "データの収集とインデックス作成を待機しています。結果を表示するには、しばらくたってから確認してください", "xpack.csp.noFindingsStates.indexTimeout.indexTimeoutDescription": "調査結果の収集に想定よりも時間がかかっています。{docs}。", diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json index 595832d57198b..f07d0e4eeaf5e 100644 --- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json +++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json @@ -14238,7 +14238,7 @@ "xpack.csp.cnvmDashboardTable.section.topVulnerableResources.column.vulnerabilities": "漏洞", "xpack.csp.cnvmDashboardTable.section.topVulnerableResources.column.vulnerabilityCount": "漏洞", "xpack.csp.common.component.multiSelectFilter.searchWord": "搜索", - "xpack.csp.common.utils.helpers.unknownError": "未知错误", + "sharedPlatformPackages.csp.common.utils.helpers.unknownError": "未知错误", "xpack.csp.compactFormattedNumber.naTitle": "不可用", "xpack.csp.complianceScoreBar.tooltipTitle": "{failed} 个失败和 {passed} 个通过的结果", "xpack.csp.complianceScoreChart.counterButtonLink.failedFindingsTooltip": "失败的结果", @@ -14253,9 +14253,9 @@ "xpack.csp.createPackagePolicy.customAssetsTab.rulesViewLabel": "查看 CSP 规则", "xpack.csp.createPackagePolicy.customAssetsTab.vulnerabilityDashboardViewLabel": "查看 CNVM 仪表板", "xpack.csp.createPackagePolicy.customAssetsTab.vulnerabilityFindingsViewLabel": "查看漏洞结果", - "xpack.csp.cspEvaluationBadge.failLabel": "失败", - "xpack.csp.cspEvaluationBadge.naLabel": "不可用", - "xpack.csp.cspEvaluationBadge.passLabel": "通过", + "securitySolutionPackages.csp.cspEvaluationBadge.failLabel": "失败", + "securitySolutionPackages.csp.cspEvaluationBadge.naLabel": "不可用", + "securitySolutionPackages.csp.cspEvaluationBadge.passLabel": "通过", "xpack.csp.cspIntegration.gcpCloudCredentials.cloudFormationSupportedMessage": "当前集成版本不支持为自动化凭据启动 Cloud Shell。请升级到最新版本以启用为自动化凭据启动 Cloud Shell。", "xpack.csp.cspmIntegration.awsOption.benchmarkTitle": "CIS AWS", "xpack.csp.cspmIntegration.awsOption.nameTitle": "AWS", @@ -14339,7 +14339,7 @@ "xpack.csp.findings.distributionBar.totalPassedLabel": "通过的结果", "xpack.csp.findings.errorCallout.pageSearchErrorTitle": "检索搜索结果时遇到问题", "xpack.csp.findings.errorCallout.showErrorButtonLabel": "显示错误消息", - "xpack.csp.findings.findingsErrorToast.searchFailedTitle": "搜索失败", + "securitySolutionPackages.csp.findings.findingsErrorToast.searchFailedTitle": "搜索失败", "xpack.csp.findings.findingsFlyout.calloutTitle": "{vendor} 未提供某些字段", "xpack.csp.findings.findingsFlyout.flyoutDescriptionList.resourceId": "资源 ID", "xpack.csp.findings.findingsFlyout.flyoutDescriptionList.resourceName": "资源名称", @@ -14509,11 +14509,10 @@ "xpack.csp.kspmIntegration.integration.shortNameTitle": "KSPM", "xpack.csp.kspmIntegration.vanillaOption.benchmarkTitle": "CIS Kubernetes", "xpack.csp.kspmIntegration.vanillaOption.nameTitle": "自管型", - "xpack.csp.navigation.dashboardNavItemLabel": "云安全态势", - "xpack.csp.navigation.findingsNavItemLabel": "结果", - "xpack.csp.navigation.myBenchmarksNavItemLabel": "基准", - "xpack.csp.navigation.rulesNavItemLabel": "规则", - "xpack.csp.navigation.vulnerabilityDashboardNavItemLabel": "云原生漏洞管理", + "securitySolutionPackages.csp.navigation.dashboardNavItemLabel": "云安全态势", + "securitySolutionPackages.csp.navigation.findingsNavItemLabel": "结果", + "securitySolutionPackages.csp.navigation.rulesNavItemLabel": "规则", + "securitySolutionPackages.csp.navigation.vulnerabilityDashboardNavItemLabel": "云原生漏洞管理", "xpack.csp.noFindingsStates.indexing.indexingButtonTitle": "正进行态势评估", "xpack.csp.noFindingsStates.indexing.indexingDescription": "正在等待要收集和索引的数据。请稍后返回检查以查看结果", "xpack.csp.noFindingsStates.indexTimeout.indexTimeoutDescription": "收集结果所需的时间长于预期。{docs}。", diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx index 6d5b3c1b372fc..a4561f404829a 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_popover.stories.tsx @@ -6,9 +6,8 @@ */ import React, { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react'; -import { ThemeProvider } from '@emotion/react'; +import { ThemeProvider, css } from '@emotion/react'; import { Story } from '@storybook/react'; -import { css } from '@emotion/react'; import { EuiListGroup, EuiHorizontalRule } from '@elastic/eui'; import type { EntityNodeViewModel, NodeProps } from '..'; import { Graph } from '..'; @@ -77,6 +76,7 @@ const useExpandButtonPopover = () => { closePopover(); }, [closePopover]); + // eslint-disable-next-line react/display-name const PopoverComponent = memo(() => ( { const useNodePopover = () => { const { id, state, actions } = useGraphPopover('node-popover'); + // eslint-disable-next-line react/display-name const PopoverComponent = memo(() => ( { isOpen={state.isOpen} anchorElement={state.anchorElement} closePopover={actions.closePopover} + // eslint-disable-next-line react/jsx-no-literals > TODO @@ -160,17 +162,21 @@ const Template: Story = () => { const popovers = [expandNodePopover, nodePopover]; const isPopoverOpen = popovers.some((popover) => popover.state.isOpen); + // eslint-disable-next-line @typescript-eslint/no-explicit-any const popoverOpenWrapper = (cb: Function, ...args: any[]) => { [expandNodePopover.actions.closePopover, nodePopover.actions.closePopover].forEach( (closePopover) => { closePopover(); } ); + // eslint-disable-next-line prefer-spread cb.apply(null, args); }; + // eslint-disable-next-line @typescript-eslint/no-explicit-any const expandButtonClickHandler = (...args: any[]) => popoverOpenWrapper(expandNodePopover.onNodeExpandButtonClick, ...args); + // eslint-disable-next-line @typescript-eslint/no-explicit-any const nodeClickHandler = (...args: any[]) => popoverOpenWrapper(nodePopover.onNodeClick, ...args); const nodes: EntityNodeViewModel[] = useMemo( diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx index c22f8dbe51ace..2fd10aa5c8c29 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_node_expand_popover.tsx @@ -47,25 +47,34 @@ export const GraphNodeExpandPopover: React.FC = mem diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx index 90e8f66510cc0..520df39c8b47a 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx @@ -60,6 +60,8 @@ export const useGraphNodeExpandPopover = ({ // PopoverComponent is a memoized component that renders the GraphNodeExpandPopover // It handles the display of the popover and the actions that can be performed on the node + + // eslint-disable-next-line react/display-name const PopoverComponent = memo(() => ( { // Same label can appear more than once in the graph, so we skip them if already scanned if (labelElements.has(id!)) { + // eslint-disable-next-line no-continue continue; } labelElements.add(id!); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx index e576a5abf030e..e7fba1a5595b1 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx @@ -6,10 +6,9 @@ */ import React from 'react'; -import { ThemeProvider } from '@emotion/react'; +import { ThemeProvider, css } from '@emotion/react'; import { Story } from '@storybook/react'; import { Writable } from '@kbn/utility-types'; -import { css } from '@emotion/react'; import type { EdgeViewModel, LabelNodeViewModel, diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/react_flow.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/react_flow.ts index 35282dedcc6de..d28a50ba20c33 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/react_flow.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/react_flow.ts @@ -60,6 +60,7 @@ export const mockReactFlow = () => { }, }); + // eslint-disable-next-line @typescript-eslint/no-explicit-any (global.SVGElement as any).prototype.getBBox = () => ({ x: 0, y: 0, diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx index 4a034c05ee166..7dc46ac6eb82c 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/button.stories.tsx @@ -5,6 +5,8 @@ * 2.0. */ +/* eslint-disable react/jsx-no-literals */ + import React from 'react'; import { ThemeProvider } from '@emotion/react'; import { Story } from '@storybook/react'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx index 75ad989b625e8..c3d28d2b1e4f3 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx @@ -24,6 +24,7 @@ import { NodeExpandButton } from './node_expand_button'; const NODE_WIDTH = 99; const NODE_HEIGHT = 98; +// eslint-disable-next-line react/display-name export const DiamondNode: React.FC = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx index a3dd064d16ab7..05a61977cdcb1 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/edge_group_node.tsx @@ -10,6 +10,7 @@ import { Handle, NodeResizeControl, Position } from '@xyflow/react'; import { HandleStyleOverride } from './styles'; import type { NodeProps } from '../types'; +// eslint-disable-next-line react/display-name export const EdgeGroupNode: React.FC = memo((props: NodeProps) => { // Handles order horizontally is: in > inside > out > outside return ( diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx index c9bd363130dca..c4987775861f8 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx @@ -24,6 +24,7 @@ import { NodeExpandButton } from './node_expand_button'; const NODE_WIDTH = 90; const NODE_HEIGHT = 90; +// eslint-disable-next-line react/display-name export const EllipseNode: React.FC = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/get_span_icon.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/get_span_icon.ts index 9aa77f03c3eb6..b5d092ddf25ef 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/get_span_icon.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/get_span_icon.ts @@ -10,6 +10,7 @@ import awsEc2Icon from '../../assets/icons/aws_ec2.svg'; import awsS3Icon from '../../assets/icons/aws_s3.svg'; import oktaIcon from '../../assets/icons/okta.svg'; +// eslint-disable-next-line @typescript-eslint/no-explicit-any const icons: Record = { aws: awsIcon, aws_ec2: awsEc2Icon, diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx index 9d155999e76ca..988fe09739696 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx @@ -24,6 +24,7 @@ import { NodeExpandButton } from './node_expand_button'; const NODE_WIDTH = 87; const NODE_HEIGHT = 96; +// eslint-disable-next-line react/display-name export const HexagonNode: React.FC = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx index 2f23e5ab07513..a1c8379f99592 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx @@ -10,6 +10,7 @@ import { Handle, Position } from '@xyflow/react'; import { LabelNodeContainer, LabelShape, HandleStyleOverride, LabelShapeOnHover } from './styles'; import type { LabelNodeViewModel, NodeProps } from '../types'; +// eslint-disable-next-line react/display-name export const LabelNode: React.FC = memo((props: NodeProps) => { const { id, color, label, interactive } = props.data as LabelNodeViewModel; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx index f2745cef7ec80..a0457654aef4c 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx @@ -29,6 +29,7 @@ const PentagonShapeOnHover = styled(NodeShapeOnHoverSvg)` const NODE_WIDTH = 91; const NODE_HEIGHT = 88; +// eslint-disable-next-line react/display-name export const PentagonNode: React.FC = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx index f85b102c7e445..a325c049391b4 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx @@ -24,6 +24,7 @@ import { NodeExpandButton } from './node_expand_button'; const NODE_WIDTH = 81; const NODE_HEIGHT = 80; +// eslint-disable-next-line react/display-name export const RectangleNode: React.FC = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx index 126a5702cf5d0..0f0cce4e744c7 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/diamond_shape.tsx @@ -8,6 +8,7 @@ import React, { memo } from 'react'; import type { HoverShapeProps, ShapeProps } from './types'; +// eslint-disable-next-line react/display-name export const DiamondHoverShape: React.FC = memo(({ stroke }) => ( = memo(({ stroke }) => /> )); +// eslint-disable-next-line react/display-name export const DiamondShape: React.FC = memo(({ stroke, fill }) => ( = memo(({ stroke }) => ( )); +// eslint-disable-next-line react/display-name export const EllipseShape: React.FC = memo(({ stroke, fill }) => ( )); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx index 12aeebec88605..133c6e4a035c7 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/shapes/hexagon_shape.tsx @@ -8,6 +8,7 @@ import React, { memo } from 'react'; import type { HoverShapeProps, ShapeProps } from './types'; +// eslint-disable-next-line react/display-name export const HexagonHoverShape: React.FC = memo(({ stroke }) => ( = memo(({ stroke }) => /> )); +// eslint-disable-next-line react/display-name export const HexagonShape: React.FC = memo(({ stroke, fill }) => ( = memo(({ stroke }) => ( = memo(({ stroke }) = /> )); +// eslint-disable-next-line react/display-name export const PentagonShape: React.FC = memo(({ stroke, fill }) => ( = memo(({ stroke }) => ( = memo(({ stroke }) /> )); +// eslint-disable-next-line react/display-name export const RectangleShape: React.FC = memo(({ stroke, fill }) => ( )); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts index 328829ee3fabe..b09f6a29f6c62 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts @@ -13,8 +13,7 @@ import type { EdgeDataModel, NodeShape, } from '@kbn/cloud-security-posture-common/types/graph/latest'; -import type { Node, NodeProps as xyNodeProps } from '@xyflow/react'; -import type { Edge, EdgeProps as xyEdgeProps } from '@xyflow/react'; +import type { Node, NodeProps as xyNodeProps, Edge, EdgeProps as xyEdgeProps } from '@xyflow/react'; export interface Size { width: number; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/csp_evaluation_badge.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/csp_evaluation_badge.tsx index f84ac26d68767..28a5b7655723a 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/csp_evaluation_badge.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/components/csp_evaluation_badge.tsx @@ -36,11 +36,20 @@ export const CspEvaluationBadge = ({ type }: Props) => ( data-test-subj={`${type}_finding`} > {type === 'failed' ? ( - + ) : type === 'passed' ? ( - + ) : ( - + )} ); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/constants/navigation.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/constants/navigation.ts index 90c9633433cec..7175de9934a45 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/constants/navigation.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/constants/navigation.ts @@ -9,20 +9,20 @@ import { CLOUD_SECURITY_POSTURE_BASE_PATH } from '@kbn/cloud-security-posture-co import { i18n } from '@kbn/i18n'; export const NAV_ITEMS_NAMES = { - DASHBOARD: i18n.translate('xpack.csp.navigation.dashboardNavItemLabel', { + DASHBOARD: i18n.translate('securitySolutionPackages.csp.navigation.dashboardNavItemLabel', { defaultMessage: 'Cloud Security Posture', }), VULNERABILITY_DASHBOARD: i18n.translate( - 'xpack.csp.navigation.vulnerabilityDashboardNavItemLabel', + 'securitySolutionPackages.csp.navigation.vulnerabilityDashboardNavItemLabel', { defaultMessage: 'Cloud Native Vulnerability Management' } ), - FINDINGS: i18n.translate('xpack.csp.navigation.findingsNavItemLabel', { + FINDINGS: i18n.translate('securitySolutionPackages.csp.navigation.findingsNavItemLabel', { defaultMessage: 'Findings', }), - BENCHMARKS: i18n.translate('xpack.csp.navigation.myBenchmarksNavItemLabel', { + BENCHMARKS: i18n.translate('securitySolutionPackages.csp.navigation.findingsNavItemLabel', { defaultMessage: 'Benchmarks', }), - RULES: i18n.translate('xpack.csp.navigation.rulesNavItemLabel', { + RULES: i18n.translate('securitySolutionPackages.csp.navigation.rulesNavItemLabel', { defaultMessage: 'Rules', }), }; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts index 9bbaedf587dde..fa060738651a1 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_findings.ts @@ -37,6 +37,7 @@ export const useMisconfigurationFindings = (options: UseCspOptions) => { rawResponse: { hits, aggregations }, } = await lastValueFrom( data.search.search({ + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion params: buildMisconfigurationsFindingsQuery(options, rulesStates!), }) ); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts index 067cd22a9e1a9..d2f4d4f522111 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/hooks/use_misconfiguration_preview.ts @@ -35,6 +35,7 @@ export const useMisconfigurationPreview = (options: UseCspOptions) => { rawResponse: { aggregations }, } = await lastValueFrom( data.search.search({ + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion params: buildMisconfigurationsFindingsQuery(options, rulesStates!), }) ); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts index a621e1d01add8..e52b66a0db685 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/hooks_utils.ts @@ -7,12 +7,12 @@ import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import { + buildMutedRulesFilter, CDR_MISCONFIGURATIONS_INDEX_PATTERN, CDR_VULNERABILITIES_INDEX_PATTERN, CDR_3RD_PARTY_RETENTION_POLICY, } from '@kbn/cloud-security-posture-common'; import type { CspBenchmarkRulesStates } from '@kbn/cloud-security-posture-common/schema/rules/latest'; -import { buildMutedRulesFilter } from '@kbn/cloud-security-posture-common'; import type { UseCspOptions } from '../types'; const MISCONFIGURATIONS_SOURCE_FIELDS = ['result.*', 'rule.*', 'resource.*']; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/query_utils.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/query_utils.ts index 6cb5c1384e732..72307e4f47b28 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/query_utils.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/query_utils.ts @@ -20,6 +20,7 @@ type FilterValue = string | number | NegatedValue; export type NavFilter = Record; +// eslint-disable-next-line @typescript-eslint/no-explicit-any const encodeRison = (v: any): string | undefined => { try { return encode(v); @@ -40,6 +41,7 @@ const decodeRison = (query: string): T | undefined => { const QUERY_PARAM_KEY = 'cspq'; +// eslint-disable-next-line @typescript-eslint/no-explicit-any export const encodeQuery = (query: any): LocationDescriptorObject['search'] => { const risonQuery = encodeRison(query); if (!risonQuery) return; @@ -56,6 +58,7 @@ export const encodeQueryUrl = ( servicesStart: DataPublicPluginStart, filters: Filter[], groupBy?: string[] + // eslint-disable-next-line @typescript-eslint/no-explicit-any ): any => { return encodeQuery({ query: servicesStart.query.queryString.getDefaultQuery(), diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/show_error_toast.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/show_error_toast.ts index 060ae8c3b69ee..d8ddbcce9c985 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/show_error_toast.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/show_error_toast.ts @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; import { extractErrorMessage } from '@kbn/cloud-security-posture-common'; const SEARCH_FAILED_TEXT = i18n.translate( - 'xpack.csp.findings.findingsErrorToast.searchFailedTitle', + 'securitySolutionPackages.csp.findings.findingsErrorToast.searchFailedTitle', { defaultMessage: 'Search failed' } ); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.ts index e1bec795ad444..321a135557e59 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/public/src/utils/vulnerability_helpers.ts @@ -16,6 +16,7 @@ interface VulnerabilitiesDistributionBarProps { color: string; isCurrentFilter?: boolean; filter?: () => void; + // eslint-disable-next-line @typescript-eslint/no-explicit-any reset?: (event: any) => void; } From 02dc698ea8d1b7f9b01c03bc0fda35c90aede730 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Fri, 13 Dec 2024 21:08:11 +0000 Subject: [PATCH 10/11] [CI] Auto-commit changed files from 'node scripts/telemetry_check' --- .../schema/xpack_plugins.json | 712 ----------------- .../schema/xpack_security.json | 715 +++++++++++++++++- 2 files changed, 714 insertions(+), 713 deletions(-) diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index e383a14801f14..7ce80d25fec22 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -10955,718 +10955,6 @@ } } }, - "cloud_defend": { - "properties": { - "indices": { - "properties": { - "alerts": { - "properties": { - "doc_count": { - "type": "long" - }, - "deleted": { - "type": "long" - }, - "size_in_bytes": { - "type": "long" - }, - "last_doc_timestamp": { - "type": "date" - } - } - }, - "file": { - "properties": { - "doc_count": { - "type": "long" - }, - "deleted": { - "type": "long" - }, - "size_in_bytes": { - "type": "long" - }, - "last_doc_timestamp": { - "type": "date" - } - } - }, - "process": { - "properties": { - "doc_count": { - "type": "long" - }, - "deleted": { - "type": "long" - }, - "size_in_bytes": { - "type": "long" - }, - "last_doc_timestamp": { - "type": "date" - } - } - }, - "latestPackageVersion": { - "type": "keyword" - }, - "packageStatus": { - "properties": { - "status": { - "type": "keyword" - }, - "installedPackagePolicies": { - "type": "long" - }, - "healthyAgents": { - "type": "long" - } - } - } - } - }, - "pods_stats": { - "type": "array", - "items": { - "properties": { - "account_id": { - "type": "keyword" - }, - "container_image_name": { - "type": "keyword" - }, - "container_image_tag": { - "type": "keyword" - }, - "pod_name": { - "type": "keyword" - }, - "total_doc_count": { - "type": "long" - }, - "process_doc_count": { - "type": "long" - }, - "file_doc_count": { - "type": "long" - }, - "alert_doc_count": { - "type": "long" - } - } - } - }, - "accounts_stats": { - "type": "array", - "items": { - "properties": { - "account_id": { - "type": "keyword" - }, - "cloud_provider": { - "type": "keyword" - }, - "kubernetes_version": { - "type": "keyword" - }, - "total_doc_count": { - "type": "long" - }, - "file_doc_count": { - "type": "long" - }, - "process_doc_count": { - "type": "long" - }, - "alert_doc_count": { - "type": "long" - }, - "agents_count": { - "type": "short" - }, - "nodes_count": { - "type": "short" - }, - "pods_count": { - "type": "short" - } - } - } - }, - "installation_stats": { - "type": "array", - "items": { - "properties": { - "package_policy_id": { - "type": "keyword" - }, - "package_version": { - "type": "keyword" - }, - "agent_policy_id": { - "type": "keyword" - }, - "created_at": { - "type": "date" - }, - "agent_count": { - "type": "long" - }, - "policy_yaml": { - "type": "keyword" - }, - "selectors": { - "type": "array", - "items": { - "properties": { - "type": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "operation": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "containerImageFullName": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "containerImageName": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "containerImageTag": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "kubernetesClusterId": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "kubernetesClusterName": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "kubernetesNamespace": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "kubernetesPodLabel": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "kubernetesPodName": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "targetFilePath": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "ignoreVolumeFiles": { - "type": "boolean" - }, - "ignoreVolumeMounts": { - "type": "boolean" - }, - "processExecutable": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "processName": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "sessionLeaderInteractive": { - "type": "boolean" - } - } - } - }, - "responses": { - "type": "array", - "items": { - "properties": { - "type": { - "type": "keyword" - }, - "match": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "exclude": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "actions": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - } - } - } - } - } - } - }, - "cloud_security_posture": { - "properties": { - "indices": { - "properties": { - "findings": { - "properties": { - "doc_count": { - "type": "long" - }, - "deleted": { - "type": "long" - }, - "size_in_bytes": { - "type": "long" - }, - "last_doc_timestamp": { - "type": "date" - } - } - }, - "latest_findings": { - "properties": { - "doc_count": { - "type": "long" - }, - "deleted": { - "type": "long" - }, - "size_in_bytes": { - "type": "long" - }, - "last_doc_timestamp": { - "type": "date" - } - } - }, - "vulnerabilities": { - "properties": { - "doc_count": { - "type": "long" - }, - "deleted": { - "type": "long" - }, - "size_in_bytes": { - "type": "long" - }, - "last_doc_timestamp": { - "type": "date" - } - } - }, - "latest_vulnerabilities": { - "properties": { - "doc_count": { - "type": "long" - }, - "deleted": { - "type": "long" - }, - "size_in_bytes": { - "type": "long" - }, - "last_doc_timestamp": { - "type": "date" - } - } - }, - "score": { - "properties": { - "doc_count": { - "type": "long" - }, - "deleted": { - "type": "long" - }, - "size_in_bytes": { - "type": "long" - }, - "last_doc_timestamp": { - "type": "date" - } - } - }, - "latestPackageVersion": { - "type": "keyword" - }, - "cspm": { - "properties": { - "status": { - "type": "keyword" - }, - "installedPackagePolicies": { - "type": "long" - }, - "healthyAgents": { - "type": "long" - } - } - }, - "kspm": { - "properties": { - "status": { - "type": "keyword" - }, - "installedPackagePolicies": { - "type": "long" - }, - "healthyAgents": { - "type": "long" - } - } - }, - "vuln_mgmt": { - "properties": { - "status": { - "type": "keyword" - }, - "installedPackagePolicies": { - "type": "long" - }, - "healthyAgents": { - "type": "long" - } - } - } - } - }, - "resources_stats": { - "type": "array", - "items": { - "properties": { - "account_id": { - "type": "keyword" - }, - "resource_type": { - "type": "keyword" - }, - "resource_type_doc_count": { - "type": "long" - }, - "resource_sub_type": { - "type": "keyword" - }, - "resource_sub_type_doc_count": { - "type": "long" - }, - "passed_findings_count": { - "type": "long" - }, - "failed_findings_count": { - "type": "long" - } - } - } - }, - "accounts_stats": { - "type": "array", - "items": { - "properties": { - "account_id": { - "type": "keyword" - }, - "posture_score": { - "type": "long" - }, - "latest_findings_doc_count": { - "type": "long" - }, - "benchmark_id": { - "type": "keyword" - }, - "benchmark_name": { - "type": "keyword" - }, - "benchmark_version": { - "type": "keyword" - }, - "kubernetes_version": { - "type": "keyword" - }, - "passed_findings_count": { - "type": "long" - }, - "failed_findings_count": { - "type": "long" - }, - "agents_count": { - "type": "short" - }, - "nodes_count": { - "type": "short" - }, - "pods_count": { - "type": "short" - } - } - } - }, - "rules_stats": { - "type": "array", - "items": { - "properties": { - "account_id": { - "type": "keyword" - }, - "rule_id": { - "type": "keyword" - }, - "rule_name": { - "type": "keyword" - }, - "rule_section": { - "type": "keyword" - }, - "rule_version": { - "type": "keyword" - }, - "rule_number": { - "type": "keyword" - }, - "posture_type": { - "type": "keyword" - }, - "benchmark_id": { - "type": "keyword" - }, - "benchmark_name": { - "type": "keyword" - }, - "benchmark_version": { - "type": "keyword" - }, - "passed_findings_count": { - "type": "long" - }, - "failed_findings_count": { - "type": "long" - } - } - } - }, - "installation_stats": { - "type": "array", - "items": { - "properties": { - "package_policy_id": { - "type": "keyword" - }, - "feature": { - "type": "keyword" - }, - "package_version": { - "type": "keyword" - }, - "agent_policy_id": { - "type": "keyword" - }, - "deployment_mode": { - "type": "keyword" - }, - "created_at": { - "type": "date" - }, - "agent_count": { - "type": "long" - }, - "is_agentless": { - "type": "boolean" - }, - "account_type": { - "type": "keyword" - }, - "is_setup_automatic": { - "type": "boolean" - }, - "setup_access_option": { - "type": "keyword" - } - } - } - }, - "alerts_stats": { - "type": "array", - "items": { - "properties": { - "posture_type": { - "type": "keyword" - }, - "rules_count": { - "type": "long" - }, - "alerts_count": { - "type": "long" - }, - "alerts_open_count": { - "type": "long" - }, - "alerts_closed_count": { - "type": "long" - }, - "alerts_acknowledged_count": { - "type": "long" - } - } - } - }, - "cloud_account_stats": { - "type": "array", - "items": { - "properties": { - "account_id": { - "type": "keyword" - }, - "cloud_provider": { - "type": "keyword" - }, - "product": { - "type": "keyword" - }, - "package_policy_id": { - "type": "keyword" - }, - "latest_doc_count": { - "type": "long" - }, - "latest_doc_updated_timestamp": { - "type": "date" - }, - "posture_management_stats": { - "properties": { - "posture_score": { - "type": "long" - }, - "benchmark_name": { - "type": "keyword" - }, - "benchmark_version": { - "type": "keyword" - }, - "passed_findings_count": { - "type": "long" - }, - "failed_findings_count": { - "type": "long" - } - } - }, - "posture_management_stats_enabled_rules": { - "properties": { - "posture_score": { - "type": "long" - }, - "benchmark_name": { - "type": "keyword" - }, - "benchmark_version": { - "type": "keyword" - }, - "passed_findings_count": { - "type": "long" - }, - "failed_findings_count": { - "type": "long" - } - } - }, - "kspm_stats": { - "properties": { - "kubernetes_version": { - "type": "keyword" - }, - "agents_count": { - "type": "short" - }, - "nodes_count": { - "type": "short" - }, - "pods_count": { - "type": "short" - } - } - }, - "has_muted_rules": { - "type": "boolean" - } - } - } - }, - "muted_rules_stats": { - "type": "array", - "items": { - "properties": { - "id": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "section": { - "type": "keyword" - }, - "benchmark_id": { - "type": "keyword" - }, - "benchmark_name": { - "type": "keyword" - }, - "benchmark_version": { - "type": "keyword" - }, - "rule_number": { - "type": "keyword" - }, - "posture_type": { - "type": "keyword" - }, - "version": { - "type": "keyword" - } - } - } - } - } - }, "connectors": { "properties": { "connectors": { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_security.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_security.json index d5b0514b64918..7f411b0007cf4 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_security.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_security.json @@ -1,3 +1,716 @@ { - "properties": {} + "properties": { + "cloud_defend": { + "properties": { + "indices": { + "properties": { + "alerts": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "file": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "process": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "latestPackageVersion": { + "type": "keyword" + }, + "packageStatus": { + "properties": { + "status": { + "type": "keyword" + }, + "installedPackagePolicies": { + "type": "long" + }, + "healthyAgents": { + "type": "long" + } + } + } + } + }, + "pods_stats": { + "type": "array", + "items": { + "properties": { + "account_id": { + "type": "keyword" + }, + "container_image_name": { + "type": "keyword" + }, + "container_image_tag": { + "type": "keyword" + }, + "pod_name": { + "type": "keyword" + }, + "total_doc_count": { + "type": "long" + }, + "process_doc_count": { + "type": "long" + }, + "file_doc_count": { + "type": "long" + }, + "alert_doc_count": { + "type": "long" + } + } + } + }, + "accounts_stats": { + "type": "array", + "items": { + "properties": { + "account_id": { + "type": "keyword" + }, + "cloud_provider": { + "type": "keyword" + }, + "kubernetes_version": { + "type": "keyword" + }, + "total_doc_count": { + "type": "long" + }, + "file_doc_count": { + "type": "long" + }, + "process_doc_count": { + "type": "long" + }, + "alert_doc_count": { + "type": "long" + }, + "agents_count": { + "type": "short" + }, + "nodes_count": { + "type": "short" + }, + "pods_count": { + "type": "short" + } + } + } + }, + "installation_stats": { + "type": "array", + "items": { + "properties": { + "package_policy_id": { + "type": "keyword" + }, + "package_version": { + "type": "keyword" + }, + "agent_policy_id": { + "type": "keyword" + }, + "created_at": { + "type": "date" + }, + "agent_count": { + "type": "long" + }, + "policy_yaml": { + "type": "keyword" + }, + "selectors": { + "type": "array", + "items": { + "properties": { + "type": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "operation": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "containerImageFullName": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "containerImageName": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "containerImageTag": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "kubernetesClusterId": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "kubernetesClusterName": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "kubernetesNamespace": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "kubernetesPodLabel": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "kubernetesPodName": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "targetFilePath": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "ignoreVolumeFiles": { + "type": "boolean" + }, + "ignoreVolumeMounts": { + "type": "boolean" + }, + "processExecutable": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "processName": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "sessionLeaderInteractive": { + "type": "boolean" + } + } + } + }, + "responses": { + "type": "array", + "items": { + "properties": { + "type": { + "type": "keyword" + }, + "match": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "exclude": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "actions": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + } + } + } + } + } + } + }, + "cloud_security_posture": { + "properties": { + "indices": { + "properties": { + "findings": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "latest_findings": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "vulnerabilities": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "latest_vulnerabilities": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "score": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "latestPackageVersion": { + "type": "keyword" + }, + "cspm": { + "properties": { + "status": { + "type": "keyword" + }, + "installedPackagePolicies": { + "type": "long" + }, + "healthyAgents": { + "type": "long" + } + } + }, + "kspm": { + "properties": { + "status": { + "type": "keyword" + }, + "installedPackagePolicies": { + "type": "long" + }, + "healthyAgents": { + "type": "long" + } + } + }, + "vuln_mgmt": { + "properties": { + "status": { + "type": "keyword" + }, + "installedPackagePolicies": { + "type": "long" + }, + "healthyAgents": { + "type": "long" + } + } + } + } + }, + "resources_stats": { + "type": "array", + "items": { + "properties": { + "account_id": { + "type": "keyword" + }, + "resource_type": { + "type": "keyword" + }, + "resource_type_doc_count": { + "type": "long" + }, + "resource_sub_type": { + "type": "keyword" + }, + "resource_sub_type_doc_count": { + "type": "long" + }, + "passed_findings_count": { + "type": "long" + }, + "failed_findings_count": { + "type": "long" + } + } + } + }, + "accounts_stats": { + "type": "array", + "items": { + "properties": { + "account_id": { + "type": "keyword" + }, + "posture_score": { + "type": "long" + }, + "latest_findings_doc_count": { + "type": "long" + }, + "benchmark_id": { + "type": "keyword" + }, + "benchmark_name": { + "type": "keyword" + }, + "benchmark_version": { + "type": "keyword" + }, + "kubernetes_version": { + "type": "keyword" + }, + "passed_findings_count": { + "type": "long" + }, + "failed_findings_count": { + "type": "long" + }, + "agents_count": { + "type": "short" + }, + "nodes_count": { + "type": "short" + }, + "pods_count": { + "type": "short" + } + } + } + }, + "rules_stats": { + "type": "array", + "items": { + "properties": { + "account_id": { + "type": "keyword" + }, + "rule_id": { + "type": "keyword" + }, + "rule_name": { + "type": "keyword" + }, + "rule_section": { + "type": "keyword" + }, + "rule_version": { + "type": "keyword" + }, + "rule_number": { + "type": "keyword" + }, + "posture_type": { + "type": "keyword" + }, + "benchmark_id": { + "type": "keyword" + }, + "benchmark_name": { + "type": "keyword" + }, + "benchmark_version": { + "type": "keyword" + }, + "passed_findings_count": { + "type": "long" + }, + "failed_findings_count": { + "type": "long" + } + } + } + }, + "installation_stats": { + "type": "array", + "items": { + "properties": { + "package_policy_id": { + "type": "keyword" + }, + "feature": { + "type": "keyword" + }, + "package_version": { + "type": "keyword" + }, + "agent_policy_id": { + "type": "keyword" + }, + "deployment_mode": { + "type": "keyword" + }, + "created_at": { + "type": "date" + }, + "agent_count": { + "type": "long" + }, + "is_agentless": { + "type": "boolean" + }, + "account_type": { + "type": "keyword" + }, + "is_setup_automatic": { + "type": "boolean" + }, + "setup_access_option": { + "type": "keyword" + } + } + } + }, + "alerts_stats": { + "type": "array", + "items": { + "properties": { + "posture_type": { + "type": "keyword" + }, + "rules_count": { + "type": "long" + }, + "alerts_count": { + "type": "long" + }, + "alerts_open_count": { + "type": "long" + }, + "alerts_closed_count": { + "type": "long" + }, + "alerts_acknowledged_count": { + "type": "long" + } + } + } + }, + "cloud_account_stats": { + "type": "array", + "items": { + "properties": { + "account_id": { + "type": "keyword" + }, + "cloud_provider": { + "type": "keyword" + }, + "product": { + "type": "keyword" + }, + "package_policy_id": { + "type": "keyword" + }, + "latest_doc_count": { + "type": "long" + }, + "latest_doc_updated_timestamp": { + "type": "date" + }, + "posture_management_stats": { + "properties": { + "posture_score": { + "type": "long" + }, + "benchmark_name": { + "type": "keyword" + }, + "benchmark_version": { + "type": "keyword" + }, + "passed_findings_count": { + "type": "long" + }, + "failed_findings_count": { + "type": "long" + } + } + }, + "posture_management_stats_enabled_rules": { + "properties": { + "posture_score": { + "type": "long" + }, + "benchmark_name": { + "type": "keyword" + }, + "benchmark_version": { + "type": "keyword" + }, + "passed_findings_count": { + "type": "long" + }, + "failed_findings_count": { + "type": "long" + } + } + }, + "kspm_stats": { + "properties": { + "kubernetes_version": { + "type": "keyword" + }, + "agents_count": { + "type": "short" + }, + "nodes_count": { + "type": "short" + }, + "pods_count": { + "type": "short" + } + } + }, + "has_muted_rules": { + "type": "boolean" + } + } + } + }, + "muted_rules_stats": { + "type": "array", + "items": { + "properties": { + "id": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "section": { + "type": "keyword" + }, + "benchmark_id": { + "type": "keyword" + }, + "benchmark_name": { + "type": "keyword" + }, + "benchmark_version": { + "type": "keyword" + }, + "rule_number": { + "type": "keyword" + }, + "posture_type": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + } + } + } + } + } } From 3bcaa77cb6c25888006accb9ff4387ee68b7ccd4 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Fri, 13 Dec 2024 21:28:30 +0000 Subject: [PATCH 11/11] [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' --- .../kbn-cloud-security-posture/graph/jest.config.js | 4 +++- .../graph/src/components/edge/deafult_edge.stories.tsx | 8 ++++---- .../graph/src/components/graph_layout.stories.tsx | 4 ++-- .../graph/src/components/node/diamond_node.tsx | 2 +- .../graph/src/components/node/ellipse_node.tsx | 2 +- .../graph/src/components/node/hexagon_node.tsx | 2 +- .../graph/src/components/node/label_node.tsx | 2 +- .../graph/src/components/node/pentagon_node.tsx | 2 +- .../graph/src/components/node/rectangle_node.tsx | 2 +- .../security/plugins/cloud_defend/jest.config.js | 3 ++- .../plugins/cloud_security_posture/jest.config.js | 3 ++- .../security/plugins/kubernetes_security/jest.config.js | 3 ++- .../security/plugins/session_view/jest.config.js | 3 ++- 13 files changed, 23 insertions(+), 17 deletions(-) diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/jest.config.js b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/jest.config.js index 91c324ed4596c..0448a8a11bc86 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/jest.config.js +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/jest.config.js @@ -14,5 +14,7 @@ module.exports = { '/x-pack/packages/kbn-cloud-security-posture/storybook/config/babel_with_emotion.ts', }, setupFiles: ['jest-canvas-mock'], - setupFilesAfterEnv: ['/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/setup_tests.ts'], + setupFilesAfterEnv: [ + '/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/setup_tests.ts', + ], }; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx index 4d6c689dd643b..dd1c956a55e55 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/edge/deafult_edge.stories.tsx @@ -88,11 +88,11 @@ const Template: Story = (args: NodeViewModel) => { const initialEdges = [ { - id: 'source-' + args.id, + id: `source-${args.id}`, source: 'source', target: args.id, data: { - id: 'source-' + args.id, + id: `source-${args.id}`, source: 'source', sourceShape: 'rectangle', target: args.id, @@ -103,11 +103,11 @@ const Template: Story = (args: NodeViewModel) => { type: 'default', }, { - id: args.id + '-target', + id: `${args.id}-target`, source: args.id, target: 'target', data: { - id: args.id + '-target', + id: `${args.id}-target`, source: args.id, sourceShape: 'label', target: 'target', diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx index e7fba1a5595b1..21a75d2500fec 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.tsx @@ -514,7 +514,7 @@ GraphLargeStackedEdgeCases.args = { id: 'a(oktauser)-b(hackeruser)', source: 'oktauser', target: 'hackeruser', - label: 'CreateUser' + idx, + label: `CreateUser${idx}`, color: 'primary', shape: 'label', })), @@ -524,7 +524,7 @@ GraphLargeStackedEdgeCases.args = { id: 'a(siem-windows)-b(user)', source: 'siem-windows', target: 'user', - label: 'User login to OKTA' + idx, + label: `User login to OKTA${idx}`, color: 'danger', shape: 'label', })), diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx index c3d28d2b1e4f3..c974c0c9a60e6 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx @@ -81,7 +81,7 @@ export const DiamondNode: React.FC = memo((props: NodeProps) => { style={HandleStyleOverride} /> - {Boolean(label) ? label : id} + {label ? label : id} ); }); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx index c4987775861f8..7fccea3b6bcf6 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/ellipse_node.tsx @@ -81,7 +81,7 @@ export const EllipseNode: React.FC = memo((props: NodeProps) => { style={HandleStyleOverride} /> - {Boolean(label) ? label : id} + {label ? label : id} ); }); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx index 988fe09739696..ca90094344072 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/hexagon_node.tsx @@ -81,7 +81,7 @@ export const HexagonNode: React.FC = memo((props: NodeProps) => { style={HandleStyleOverride} /> - {Boolean(label) ? label : id} + {label ? label : id} ); }); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx index a1c8379f99592..62ee671659662 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/label_node.tsx @@ -18,7 +18,7 @@ export const LabelNode: React.FC = memo((props: NodeProps) => { {interactive && } - {Boolean(label) ? label : id} + {label ? label : id} = memo((props: NodeProps) => { style={HandleStyleOverride} /> - {Boolean(label) ? label : id} + {label ? label : id} ); }); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx index a325c049391b4..6884974982838 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/rectangle_node.tsx @@ -81,7 +81,7 @@ export const RectangleNode: React.FC = memo((props: NodeProps) => { style={HandleStyleOverride} /> - {Boolean(label) ? label : id} + {label ? label : id} ); }); diff --git a/x-pack/solutions/security/plugins/cloud_defend/jest.config.js b/x-pack/solutions/security/plugins/cloud_defend/jest.config.js index 61bc21fda7236..1a923a89d2da0 100644 --- a/x-pack/solutions/security/plugins/cloud_defend/jest.config.js +++ b/x-pack/solutions/security/plugins/cloud_defend/jest.config.js @@ -10,7 +10,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/solutions/security/plugins/cloud_defend'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/cloud_defend', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/cloud_defend', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/x-pack/solutions/security/plugins/cloud_defend/{common,public,server}/**/*.{ts,tsx}', diff --git a/x-pack/solutions/security/plugins/cloud_security_posture/jest.config.js b/x-pack/solutions/security/plugins/cloud_security_posture/jest.config.js index 01066ae3794f3..630c9292dd304 100644 --- a/x-pack/solutions/security/plugins/cloud_security_posture/jest.config.js +++ b/x-pack/solutions/security/plugins/cloud_security_posture/jest.config.js @@ -10,7 +10,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/solutions/security/plugins/cloud_security_posture'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/cloud_security_posture', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/cloud_security_posture', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/x-pack/solutions/security/plugins/cloud_security_posture/{common,public,server}/**/*.{ts,tsx}', diff --git a/x-pack/solutions/security/plugins/kubernetes_security/jest.config.js b/x-pack/solutions/security/plugins/kubernetes_security/jest.config.js index 61ec51c372562..0ab8dfc19a081 100644 --- a/x-pack/solutions/security/plugins/kubernetes_security/jest.config.js +++ b/x-pack/solutions/security/plugins/kubernetes_security/jest.config.js @@ -9,7 +9,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/solutions/security/plugins/kubernetes_security'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/kubernetes_security', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/kubernetes_security', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/x-pack/solutions/security/plugins/kubernetes_security/{common,public,server}/**/*.{ts,tsx}', diff --git a/x-pack/solutions/security/plugins/session_view/jest.config.js b/x-pack/solutions/security/plugins/session_view/jest.config.js index d525c255a05a5..b4881f48bbf6a 100644 --- a/x-pack/solutions/security/plugins/session_view/jest.config.js +++ b/x-pack/solutions/security/plugins/session_view/jest.config.js @@ -9,7 +9,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/solutions/security/plugins/session_view'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/session_view', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/session_view', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/x-pack/solutions/security/plugins/session_view/{common,public,server}/**/*.{ts,tsx}',