Skip to content

Commit

Permalink
Merge branch 'main' into change-logic-to-identify-integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored Nov 19, 2024
2 parents 3ea6f9a + a5831c0 commit 4467d7f
Show file tree
Hide file tree
Showing 224 changed files with 5,912 additions and 2,510 deletions.
91 changes: 85 additions & 6 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -1621,10 +1621,66 @@ x-pack/test/**/deployment_agnostic/ @elastic/appex-qa #temporarily to monitor te
# Core
/test/api_integration/apis/general/*.js @elastic/kibana-core # Assigned per https://github.com/elastic/kibana/pull/199795/files/894a8ede3f9d0398c5af56bf5a82654a9bc0610b#r1846691639
/x-pack/test/plugin_api_integration/plugins/feature_usage_test @elastic/kibana-core
/test/plugin_functional/plugins/rendering_plugin @elastic/kibana-core
/test/plugin_functional/plugins/session_notifications @elastic/kibana-core
/x-pack/test/functional/page_objects/navigational_search.ts @elastic/kibana-core
/x-pack/test/stack_functional_integration/apps/savedobjects_upgrade_testing @elastic/kibana-core
/x-pack/test/functional/page_objects/status_page.ts @elastic/kibana-core
/x-pack/test/functional/page_objects/share_saved_objects_to_space_page.ts @elastic/kibana-core
/x-pack/test/functional/page_objects/banners_page.ts @elastic/kibana-core
/x-pack/test/common/lib/test_data_loader.ts @elastic/kibana-core
/x-pack/test/api_integration/services/usage_api.ts @elastic/kibana-core
/x-pack/test/api_integration/apis/kibana @elastic/kibana-core
/test/api_integration/fixtures/import.ndjson @elastic/kibana-core
/x-pack/test/plugin_api_integration @elastic/kibana-core # Assigned per https://github.com/elastic/kibana/pull/146704
/x-pack/test/localization/ @elastic/kibana-core # Assigned per https://github.com/elastic/kibana/pull/146704
/test/ui_capabilities/newsfeed_err @elastic/kibana-core # Assigned per https://github.com/elastic/kibana/pull/66562
/test/server_integration/services/types.d.ts @elastic/kibana-core # Assigned per https://github.com/elastic/kibana/pull/81140
/test/server_integration/http @elastic/kibana-core
/test/scripts/run_multiple_kibana_nodes.sh @elastic/kibana-core
/test/functional/services/usage_collection.ts @elastic/kibana-core
/test/api_integration/fixtures/import_managed.ndjson @elastic/kibana-core
/test/functional/services/apps_menu.ts @elastic/kibana-core
/x-pack/test/functional/apps/status_page @elastic/kibana-core
/x-pack/test/cloud_integration @elastic/kibana-core
/x-pack/test/cloud_integration/plugins/saml_provider @elastic/kibana-core
/x-pack/test/functional_embedded/plugins/iframe_embedded @elastic/kibana-core
/test/server_integration @elastic/kibana-core
/x-pack/test/functional_cors @elastic/kibana-core
/x-pack/test/stack_functional_integration/apps/telemetry @elastic/kibana-core
/test/plugin_functional/plugins/core* @elastic/kibana-core
/test/plugin_functional/plugins/telemetry @elastic/kibana-core
/test/plugin_functional/plugins/session_notifications @elastic/kibana-core
/test/plugin_functional/plugins/kbn_top_nav/ @elastic/kibana-core
/test/plugin_functional/plugins/app_link_test @elastic/kibana-core
/test/plugin_functional/plugins/saved_object* @elastic/kibana-core
/test/plugin_functional/plugins/rendering_plugin @elastic/kibana-core
/test/plugin_functional/test_suites/application_links @elastic/kibana-core
/test/plugin_functional/test_suites/telemetry @elastic/kibana-core
/test/plugin_functional/test_suites/usage_collection @elastic/kibana-core
/test/plugin_functional/test_suites/saved_objects* @elastic/kibana-core
/test/plugin_functional/test_suites/core* @elastic/kibana-core
/test/interpreter_functional/plugins/kbn_tp_run_pipeline @elastic/kibana-core
/x-pack/test/functional/fixtures/kbn_archiver/saved_objects_management @elastic/kibana-core
/x-pack/test/functional_embedded @elastic/kibana-core
/test/node_roles_functional @elastic/kibana-core
/test/functional/page_objects/newsfeed_page.ts @elastic/kibana-core # assigned per https://github.com/elastic/kibana/pull/160210
/test/functional/page_objects/home_page.ts @elastic/kibana-core
/test/functional/fixtures/es_archiver/deprecations_service @elastic/kibana-core
/test/health_gateway @elastic/kibana-core
/test/api_integration/apis/saved_objects* @elastic/kibana-core
/test/health_gateway @elastic/kibana-core
/test/node_roles_functional @elastic/kibana-core
/test/functional/firefox/home.config.ts @elastic/kibana-core
/test/functional/apps/status_page/*.ts @elastic/kibana-core
/test/functional/apps/bundles @elastic/kibana-core # Assigned per https://github.com/elastic/kibana/pull/64367
/test/examples/hello_world @elastic/kibana-core
/test/examples/routing/index.ts @elastic/kibana-core # Assigned per https://github.com/elastic/kibana/pull/69581
/test/common/plugins/newsfeed @elastic/kibana-core
/test/common/configure_http2.ts @elastic/kibana-core
/test/api_integration/apis/ui_counters @elastic/kibana-core
/test/api_integration/apis/telemetry @elastic/kibana-core
/test/api_integration/apis/status @elastic/kibana-core
/test/api_integration/apis/stats @elastic/kibana-core # Assigned per: https://github.com/elastic/kibana/pull/20577
/test/api_integration/apis/saved_objects* @elastic/kibana-core
/test/api_integration/apis/core/*.ts @elastic/kibana-core
/x-pack/test/functional/apps/saved_objects_management @elastic/kibana-core
/x-pack/test/usage_collection @elastic/kibana-core
/x-pack/test/licensing_plugin @elastic/kibana-core
Expand Down Expand Up @@ -1736,12 +1792,33 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib
#CC# /x-pack/plugins/security/ @elastic/kibana-security

# Response Ops team
/x-pack/test/examples/triggers_actions_ui_examples @elastic/response-ops
/x-pack/test/plugin_api_perf @elastic/response-ops # Assigned per https://github.com/elastic/kibana/blob/assign-response-ops/x-pack/test/plugin_api_perf/plugins/task_manager_performance/kibana.jsonc#L4
/x-pack/test/functional/page_objects/maintenance_windows_page.ts @elastic/response-ops
/x-pack/test_serverless/functional/test_suites/observability/screenshot_creation/index.ts @elastic/response-ops
/x-pack/test_serverless/functional/test_suites/observability/rules/rules_list.ts @elastic/response-ops
/x-pack/test/functional_with_es_ssl/config.base.ts @elastic/response-ops # Assigned per https://github.com/elastic/kibana/pull/197070
/x-pack/test/functional_with_es_ssl/lib/alert_api_actions.ts @elastic/response-ops
/x-pack/test/functional_with_es_ssl/lib/get_test_data.ts @elastic/response-ops
/x-pack/test/functional_with_es_ssl/page_objects/index.ts @elastic/response-ops # Assigned per git blame
/x-pack/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts @elastic/response-ops
/x-pack/test/functional_with_es_ssl/page_objects/rule_details.ts @elastic/response-ops
/x-pack/test/functional_with_es_ssl/lib/object_remover.ts @elastic/response-ops
/x-pack/test/stack_functional_integration/apps/alerts @elastic/response-ops
/x-pack/test/functional/services/actions @elastic/response-ops
/x-pack/test/api_integration_basic/apis/security_solution/index.ts @elastic/response-ops
/x-pack/test/api_integration_basic/apis/security_solution/cases_privileges.ts @elastic/response-ops
/x-pack/test/upgrade/services/rules_upgrade_services.ts @elastic/response-ops
/x-pack/test/upgrade/apps/rules @elastic/response-ops
/x-pack/test/examples/triggers_actions_ui_examples @elastic/response-ops # Assigned per https://github.com/elastic/kibana/blob/main/x-pack/examples/triggers_actions_ui_example/kibana.jsonc#L4
/x-pack/test/functional/services/rules @elastic/response-ops
/x-pack/test/plugin_api_integration/plugins/sample_task_plugin @elastic/response-ops
/x-pack/test/functional/fixtures/kbn_archiver/cases @elastic/response-ops
/x-pack/test/functional/es_archives/cases @elastic/response-ops
/x-pack/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops
/x-pack/test/functional_with_es_ssl/plugins/cases @elastic/response-ops
/x-pack/test/screenshot_creation/apps/response_ops_docs @elastic/response-ops
/x-pack/test/rule_registry @elastic/response-ops @elastic/obs-ux-management-team
/x-pack/test/accessibility/apps/group3/rules_connectors.ts @elastic/response-ops
/x-pack/test/functional/es_archives/cases/default @elastic/response-ops
/x-pack/test_serverless/functional/page_objects/svl_triggers_actions_ui_page.ts @elastic/response-ops
/x-pack/test_serverless/functional/page_objects/svl_rule_details_ui_page.ts @elastic/response-ops
/x-pack/test_serverless/functional/page_objects/svl_oblt_overview_page.ts @elastic/response-ops
Expand Down Expand Up @@ -2269,8 +2346,10 @@ x-pack/plugins/security_solution/server/lib/security_integrations @elastic/secur
/x-pack/plugins/security_solution_serverless/**/*.scss @elastic/security-design

# Logstash
/x-pack/test/api_integration/apis/logstash @elastic/logstash
/x-pack/test/functional/services/pipeline_* @elastic/logstash
/x-pack/test/functional/page_objects/logstash_page.ts @elastic/logstash
/x-pack/test/functional/apps/logstash @elastic/logstash
/x-pack/test/api_integration/apis/logstash @elastic/logstash
#CC# /x-pack/plugins/logstash/ @elastic/logstash

# EUI team
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-doc-links/src/get_doc_links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
mappingSimilarity: `${ELASTICSEARCH_DOCS}similarity.html`,
mappingSourceFields: `${ELASTICSEARCH_DOCS}mapping-source-field.html`,
mappingSourceFieldsDisable: `${ELASTICSEARCH_DOCS}mapping-source-field.html#disable-source-field`,
mappingSyntheticSourceFields: `${ELASTICSEARCH_DOCS}mapping-source-field.html#synthetic-source`,
mappingStore: `${ELASTICSEARCH_DOCS}mapping-store.html`,
mappingSubobjects: `${ELASTICSEARCH_DOCS}subobjects.html`,
mappingTermVector: `${ELASTICSEARCH_DOCS}term-vector.html`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ viewer:
- feature_siem.read
- feature_siem.read_alerts
- feature_siem.endpoint_list_read
- feature_securitySolutionCases.read
- feature_securitySolutionCasesV2.read
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.read
Expand Down Expand Up @@ -126,7 +126,7 @@ editor:
- feature_siem.process_operations_all
- feature_siem.actions_log_management_all # Response actions history
- feature_siem.file_operations_all
- feature_securitySolutionCases.all
- feature_securitySolutionCasesV2.all
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.read
Expand Down Expand Up @@ -175,7 +175,7 @@ t1_analyst:
- feature_siem.read
- feature_siem.read_alerts
- feature_siem.endpoint_list_read
- feature_securitySolutionCases.read
- feature_securitySolutionCasesV2.read
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.read
Expand Down Expand Up @@ -230,7 +230,7 @@ t2_analyst:
- feature_siem.read
- feature_siem.read_alerts
- feature_siem.endpoint_list_read
- feature_securitySolutionCases.all
- feature_securitySolutionCasesV2.all
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.read
Expand Down Expand Up @@ -300,7 +300,7 @@ t3_analyst:
- feature_siem.actions_log_management_all # Response actions history
- feature_siem.file_operations_all
- feature_siem.scan_operations_all
- feature_securitySolutionCases.all
- feature_securitySolutionCasesV2.all
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.read
Expand Down Expand Up @@ -362,7 +362,7 @@ threat_intelligence_analyst:
- feature_siem.all
- feature_siem.endpoint_list_read
- feature_siem.blocklist_all
- feature_securitySolutionCases.all
- feature_securitySolutionCasesV2.all
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.read
Expand Down Expand Up @@ -430,7 +430,7 @@ rule_author:
- feature_siem.host_isolation_exceptions_read
- feature_siem.blocklist_all # Elastic Defend Policy Management
- feature_siem.actions_log_management_read
- feature_securitySolutionCases.all
- feature_securitySolutionCasesV2.all
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.read
Expand Down Expand Up @@ -502,7 +502,7 @@ soc_manager:
- feature_siem.file_operations_all
- feature_siem.execute_operations_all
- feature_siem.scan_operations_all
- feature_securitySolutionCases.all
- feature_securitySolutionCasesV2.all
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.all
Expand Down Expand Up @@ -562,7 +562,7 @@ detections_admin:
- feature_siem.all
- feature_siem.read_alerts
- feature_siem.crud_alerts
- feature_securitySolutionCases.all
- feature_securitySolutionCasesV2.all
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.all
Expand Down Expand Up @@ -621,7 +621,7 @@ platform_engineer:
- feature_siem.host_isolation_exceptions_all
- feature_siem.blocklist_all # Elastic Defend Policy Management
- feature_siem.actions_log_management_read
- feature_securitySolutionCases.all
- feature_securitySolutionCasesV2.all
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.all
Expand Down Expand Up @@ -694,7 +694,7 @@ endpoint_operations_analyst:
- feature_siem.file_operations_all
- feature_siem.execute_operations_all
- feature_siem.scan_operations_all
- feature_securitySolutionCases.all
- feature_securitySolutionCasesV2.all
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.all
Expand Down Expand Up @@ -769,7 +769,7 @@ endpoint_policy_manager:
- feature_siem.event_filters_all
- feature_siem.host_isolation_exceptions_all
- feature_siem.blocklist_all # Elastic Defend Policy Management
- feature_securitySolutionCases.all
- feature_securitySolutionCasesV2.all
- feature_securitySolutionAssistant.all
- feature_securitySolutionAttackDiscovery.all
- feature_actions.all
Expand Down
14 changes: 7 additions & 7 deletions packages/kbn-es/src/serverless_resources/security_roles.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"siem": ["read", "read_alerts"],
"securitySolutionAssistant": ["all"],
"securitySolutionAttackDiscovery": ["all"],
"securitySolutionCases": ["read"],
"securitySolutionCasesV2": ["read"],
"actions": ["read"],
"builtInAlerts": ["read"]
},
Expand Down Expand Up @@ -82,7 +82,7 @@
"siem": ["read", "read_alerts"],
"securitySolutionAssistant": ["all"],
"securitySolutionAttackDiscovery": ["all"],
"securitySolutionCases": ["read"],
"securitySolutionCasesV2": ["read"],
"actions": ["read"],
"builtInAlerts": ["read"]
},
Expand Down Expand Up @@ -150,7 +150,7 @@
"actions_log_management_all",
"file_operations_all"
],
"securitySolutionCases": ["all"],
"securitySolutionCasesV2": ["all"],
"securitySolutionAssistant": ["all"],
"securitySolutionAttackDiscovery": ["all"],
"actions": ["read"],
Expand Down Expand Up @@ -210,7 +210,7 @@
"siem": ["all", "read_alerts", "crud_alerts"],
"securitySolutionAssistant": ["all"],
"securitySolutionAttackDiscovery": ["all"],
"securitySolutionCases": ["all"],
"securitySolutionCasesV2": ["all"],
"actions": ["read"],
"builtInAlerts": ["all"]
},
Expand Down Expand Up @@ -263,7 +263,7 @@
"siem": ["all", "read_alerts", "crud_alerts"],
"securitySolutionAssistant": ["all"],
"securitySolutionAttackDiscovery": ["all"],
"securitySolutionCases": ["all"],
"securitySolutionCasesV2": ["all"],
"actions": ["all"],
"builtInAlerts": ["all"]
},
Expand Down Expand Up @@ -311,7 +311,7 @@
"siem": ["all", "read_alerts", "crud_alerts"],
"securitySolutionAssistant": ["all"],
"securitySolutionAttackDiscovery": ["all"],
"securitySolutionCases": ["all"],
"securitySolutionCasesV2": ["all"],
"actions": ["read"],
"builtInAlerts": ["all"],
"dev_tools": ["all"]
Expand Down Expand Up @@ -366,7 +366,7 @@
"siem": ["all", "read_alerts", "crud_alerts"],
"securitySolutionAssistant": ["all"],
"securitySolutionAttackDiscovery": ["all"],
"securitySolutionCases": ["all"],
"securitySolutionCasesV2": ["all"],
"actions": ["all"],
"builtInAlerts": ["all"]
},
Expand Down
41 changes: 40 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"enabled": true
},
{
"groupName": "@elastic/appex-ai-infra",
"groupName": "@elastic/appex-ai-infra dependencies",
"matchDepNames": [
"@aws-crypto/sha256-js",
"@aws-crypto/util",
Expand Down Expand Up @@ -133,6 +133,45 @@
],
"enabled": true
},
{
"groupName": "@elastic/appex-qa dependencies",
"matchDepNames": [
"cheerio",
"@istanbuljs/nyc-config-typescript",
"@istanbuljs/schema",
"@types/enzyme",
"@types/faker",
"@types/pixelmatch",
"@types/pngjs",
"@types/supertest",
"@wojtekmaj/enzyme-adapter-react-17",
"babel-plugin-istanbul",
"enzyme",
"enzyme-to-json",
"faker",
"nyc",
"oboe",
"pixelmatch",
"playwright",
"pngjs",
"sharp",
"superagent",
"supertest",
"xmlbuilder"
],
"reviewers": [
"team:appex-qa"
],
"matchBaseBranches": [
"main"
],
"labels": [
"Team:QA",
"release_note:skip",
"backport:all-open"
],
"enabled": true
},
{
"groupName": "@elastic/charts",
"matchDepNames": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
*/

export { getSecurityFeature } from './src/security';
export { getCasesFeature } from './src/cases';
export { getCasesFeature, getCasesV2Feature } from './src/cases';
export { getAssistantFeature } from './src/assistant';
export { getAttackDiscoveryFeature } from './src/attack_discovery';
23 changes: 21 additions & 2 deletions x-pack/packages/security-solution/features/src/cases/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,33 @@
*/
import type { CasesSubFeatureId } from '../product_features_keys';
import type { ProductFeatureParams } from '../types';
import { getCasesBaseKibanaFeature } from './kibana_features';
import { getCasesBaseKibanaSubFeatureIds, getCasesSubFeaturesMap } from './kibana_sub_features';
import { getCasesBaseKibanaFeature } from './v1_features/kibana_features';
import {
getCasesBaseKibanaSubFeatureIds,
getCasesSubFeaturesMap,
} from './v1_features/kibana_sub_features';
import type { CasesFeatureParams } from './types';
import { getCasesBaseKibanaFeatureV2 } from './v2_features/kibana_features';
import {
getCasesBaseKibanaSubFeatureIdsV2,
getCasesSubFeaturesMapV2,
} from './v2_features/kibana_sub_features';

/**
* @deprecated Use getCasesV2Feature instead
*/
export const getCasesFeature = (
params: CasesFeatureParams
): ProductFeatureParams<CasesSubFeatureId> => ({
baseKibanaFeature: getCasesBaseKibanaFeature(params),
baseKibanaSubFeatureIds: getCasesBaseKibanaSubFeatureIds(),
subFeaturesMap: getCasesSubFeaturesMap(params),
});

export const getCasesV2Feature = (
params: CasesFeatureParams
): ProductFeatureParams<CasesSubFeatureId> => ({
baseKibanaFeature: getCasesBaseKibanaFeatureV2(params),
baseKibanaSubFeatureIds: getCasesBaseKibanaSubFeatureIdsV2(),
subFeaturesMap: getCasesSubFeaturesMapV2(params),
});
Loading

0 comments on commit 4467d7f

Please sign in to comment.