Commit graph

1713 commits

Author SHA1 Message Date
Tre
0ab703e3ef
[Ownership] Assign test files to data discovery team (#200932)
## Summary

Assign test files to data discovery team

Contributes to: #192979
2024-11-25 15:28:58 +00:00
Tre
d0f0809b06
[Ownership] Assign test files to mgmt team (#200989)
## Summary

Assign test files to mgmt team

Contributes to: #192979
2024-11-25 09:08:55 -06:00
Tre
da1a7c49f3
[Ownership] Assign more to presentation team (#201551)
## Summary

Assign more to presentation team

Contributes to: #192979
2024-11-25 14:03:43 +00:00
Tre
9d44c14f66
[Ownership] Assign test files to obs ai assist team (#200936)
## Summary

Assign test files to obs ai assist team

Contributes to: #192979

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-25 14:01:56 +00:00
Tre
94c9012f1b
[Ownership] Assign test files to search team (#200988)
## Summary

Assign test files to search team

Contributes to: #192979

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-25 14:01:07 +00:00
Dario Gieselaar
63da7701e7
[Streams] App plugin (#200060)
Creates the Streams app plugin, which renders UI for managing streams
(see https://github.com/elastic/kibana/pull/198713).

Additional changes in this PR:

- The menus were updated to conditionally add a link to the Streams app.
The Streams plugin itself returns a status$ observable which signals if
Streams have been enabled. This value is used to conditionally render
the link in the various flavors of menus.
- There's a small change in the ES types to allow for ordered params in
ES|QL (vs named params)
- `@kbn/server-route-repository` was updated to be able to override
`access` (instead of only inferring it from the endpoint name).
Additionally, we now allow all route options by default.
- `@kbn/typed-react-router-config` now also exports a `useBreadcrumbs`.
This was copied over from the APM implementation.
- the signature of the `esql` method in
`ObservabilityElasticsearchClient` was updated to separate processing
options from options that are sent over to the _query endpoint.

---------

Co-authored-by: Chris Cowan <chris@elastic.co>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-25 14:51:24 +01:00
Elena Shostak
34bf83b54f
Dependency usage CLI (#198920)
## Summary


[dependency-cruiser](https://github.com/sverweij/dependency-cruiser/tree/main)
is used for building dependency graph.

### Show all dependencies for a specific package/plugin or directory

#### Run for all plugins
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins -o ./tmp/deps-result-all.json
```

#### Run for single plugin
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -o ./tmp/deps-result-single.json
```

#### Run for multiple plugins
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution x-pack/plugins/security -o ./tmp/deps-result-multiple.json
```

#### Run for `x-pack/packages`
```bash
bash scripts/dependency_usage.sh -p x-pack/packages -o ./tmp/deps-packages-1.json
```

#### Run for `packages`
```bash
bash scripts/dependency_usage.sh -p packages -o ./tmp/deps-packages-2.json
```

#### Benchmark

| Analysis              | Real Time   | User Time   | Sys Time   |
|-----------------------|-------------|-------------|------------|
| All plugins           | 7m 21.126s  | 7m 53.099s  | 20.581s    |
| Single plugin         | 31.360s     | 45.352s     | 2.208s     |
| Multiple plugins      | 36.403s     | 50.563s     | 2.814s     |
| x-pack/packages       | 6.638s      | 12.646s     | 0.654s     |
| packages              | 25.744s     | 39.073s     | 2.191s     |


#### Show all packages/plugins within a directory that use a specific
dependency

```sh
bash scripts/dependency_usage.sh -d rxjs -p x-pack/plugins/security_solution
```
---
#### Show all packages/plugins within a directory grouped by code owner
```sh
bash scripts/dependency_usage.sh -d rxjs -p x-pack/plugins -g owner
```
---

#### Group by code owner with adjustable collapse depth for fine-grained
grouping
**Fine-grained grouping**:
```sh
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -g owner --collapse-depth 4
```
**Collapsed grouping**: groups the results under a higher-level owner
(e.g., `security_solution` as a single group).
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -g owner --collapse-depth 1
```
---

#### Show all dependencies matching a pattern (e.g., `react-*`) within a
package
```bash
bash scripts/dependency_usage.sh -p x-pack/plugins/security_solution -d 'react-*' -o ./tmp/result.json
```

### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

__Related: https://github.com/elastic/kibana/issues/196767__

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-25 14:07:40 +01:00
Tre
5d6d45c341
[Ownership] Assign test files to viz team (#200934)
## Summary

Assign test files to viz team

Contributes to: #192979

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-25 07:03:53 -06:00
Tre
99eb6823e6
[Ownership] Assign test files to core team (#200950)
## Summary

Assign test files to core team

Contributes to: #192979
2024-11-25 05:38:53 -06:00
Tre
18eb11a958
[Ownership] Assign test files to security-defend-workflows team (#201000)
## Summary

Assign test files to security-defend-workflows team

Contributes to: #192979

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-25 09:11:21 +00:00
Tre
3e10e6053b
[Ownership] Assign test files to obs-ux-logs team (#200940)
## Summary

Assign test files to obs-ux-logs team

Contributes to: #192979

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-24 14:00:11 -06:00
Tre
9bf50ff622
[Ownership] Assign test files to platform-security team (#200951)
## Summary

Assign test files to platform-security team

Contributes to: #192979

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-24 13:55:22 -06:00
Kevin Lacabane
0b3f4fbd3c
[eem] _search endpoint / initial entity manager UI (#199609)
## Summary

- create `_search` endpoint to discover entities with esql queries. It
currently reads sources of the provided `type` from
`kibana_entity_definitions` index. Run this query to insert a
definition:
```
POST kibana_entity_definitions/_doc
{
    "entity_type": "service",
    "index_patterns": ["remote_cluster:logs-*"],
    "metadata_fields": [],
    "identity_fields": ["service.name"],
    "filters": [],
    "timestamp_field": "@timestamp"
}
```

By default `_search` will look at data in the last 5m. The lookup period
can be overriden by providing `start`/`end` parameters in ISO format. It
also accepts a `limit` to specify the number of entities returned which
defaults to 10

```
POST kbn:/internal/entities/v2/_search
{
    "type": "service",
    "start": "2024-11-19T20:40:00.000Z",
    "end": "2024-11-19T20:50:00.000Z",
    "limit": 20
}
```

- create `_search/preview` endpoint to preview output of entity sources
without persisting them
 
- create UI to preview results of an entity definition at
`/app/entity_manager`. The application is living in its own plugin at
`observability_solution/entity_manager_app`
![Screenshot 2024-11-11 at 11 37
18](https://github.com/user-attachments/assets/f284342d-21a3-4ba1-be94-38cff311266c)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Milton Hultgren <miltonhultgren@gmail.com>
2024-11-22 16:12:04 +01:00
Ievgen Sorokopud
a627e011a8
[Rules migration][UI] Basic rule migrations UI (#10820) (#200978)
## Summary

[Internal link](https://github.com/elastic/security-team/issues/10820)
to the feature details

This is a very first version of the SIEM rules migrations UI
functionality. The main goal is to setup and agree on a folder structure
where the feature gonna live. Tests covering feature will follow in a
separate PR (see [internal
link](https://github.com/elastic/security-team/issues/11232) for more
details).

The code follows the structure of prebuilt rules feature
https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/add_prebuilt_rules_table
and hidden behind `siemMigrationsEnabled` feature flag.

### Key UI changes

* New "SIEM Rules Migrations." rules management sub-page
* Navigation between different "finished" migrations
* InMemory table with all the translations within the selected migration
* Translation details preview flyout with `Translation` and `Overview`
tabs
* User cannot modify translations via UI

### Testing locally

Enable the flag

```
xpack.securitySolution.enableExperimental: ['siemMigrationsEnabled']
```
### Screenshot


https://github.com/user-attachments/assets/a5a7e777-c5f8-40b4-be1d-1bd07a2729ac
2024-11-22 15:48:14 +01:00
Rodney Norris
a84122c4ca
[Search] Introduce search navigation plugin (#200314) 2024-11-22 08:35:49 -06:00
Gerard Soldevila
b24fdf5d3f
Sustainable Kibana Architecture: Categorise straightforward packages (#199630)
## Summary

This PR is part of the Kibana Sustainable Architecture effort.

The goal is to start categorising Kibana packages into _generic
platform_ (`group: "platform"`) vs _solution-specific_.

```
group?: 'search' | 'security' | 'observability' | 'platform'
visibility?: 'private' | 'shared'
```
Uncategorised modules are considered to be `group: 'common', visibility:
'shared'` by default.

We want to prevent code from solution A to depend on code from solution
B.
Thus, the rules are pretty simple:

* Modules can only depend on:
  * Modules in the same group
  * OR modules with 'shared' visibility
* Modules in `'observability', 'security', 'search'` groups are
mandatorily `visibility: "private"`.

Long term, the goal is to re-organise packages into dedicated folders,
e.g.:

```
x-pack/platform/plugins/private
x-pack/observability/packages
```

For this first wave, we have categorised packages that seem
"straightforward":
* Any packages that have:
  * at least one dependant module
  * all dependants belong to the same group
* Categorise all Core packages:
  * `@kbn/core-...-internal` => _platform/private_
  * everything else => _platform/shared_
* Categorise as _platform/shared_ those packages that:
  * Have at least one dependant in the _platform_ group.
  * Don't have any `devOnly: true` dependants.

### What we ask from you, as CODEOWNERS of the _package manifests_, is
that you confirm that the categorisation is correct:

* `group: "platform", visibility: "private"` if it's a package that
should only be used from platform code, not from any solution code. It
will be loaded systematically in all serverless flavors, but solution
plugins and packages won't be able to `import` from it.
* `group: "platform", visibility: "shared"` if it's a package that can
be consumed by both platform and solutions code. It will be loaded
systematically in all serverless flavors, and anybody can import / use
code from it.
* `group: "observability" | "security" | "search", visibility:
"private"` if it's a package that is intented to be used exclusively
from a given solution. It won't be accessible nor loaded from other
solutions nor platform code.

Please refer to
[#kibana-sustainable-architecture](https://elastic.slack.com/archives/C07TCKTA22E)
for any related questions.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-22 10:33:25 +01:00
Tim Sullivan
0b92c1d072
[Codeowners] fix a missing space character (#201296)
## Summary

Found a missing space character in the code owners file. This created
problems when trying to filter for all the areas owned by
@elastic/appex-sharedux
2024-11-21 17:36:27 -06:00
Tre
55a5b9f865
[Ownership] Assign test files to cloud-security-posture team (#201003)
## Summary

Assign test files to cloud-security-posture team

Contributes to: #192979
2024-11-21 04:40:28 -06:00
Tre
bb5acea689
[Ownership] Assign test files to qa team (#200948)
## Summary

Assign test files to qa team

Contributes to: #192979

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-21 04:30:27 -06:00
Tre
a459b0d8c3
[Ownership] Assign test files to response ops team (#200952)
## Summary

Assign test files to response ops team

Contributes to: #192979
2024-11-21 08:39:33 +00:00
Tre
115e4dbd3e
[Ownership] Assign test files to presentation team (#200943)
## Summary

Assign test files to presentation team

Contributes to: #192979
2024-11-20 16:56:17 +00:00
Tre
7c02b3279c
[Ownership] Assign test files to fleet team (#200939)
## Summary

Assign test files to fleet team

Contributes to: #192979
2024-11-20 10:41:57 -06:00
Tre
cd7d0ab6f0
[Ownership] Assign test files to observability-ui team (#200942)
## Summary

Assign test files to observability-ui team

Contributes to: #192979
2024-11-20 10:38:11 -06:00
Tre
ad03671873
[Ownership] Assign test files to obs-ux-infra_services-team (#200937)
## Summary

Assign test files to obs-ux-infra_services-team

Contributes to: #192979
2024-11-20 10:37:10 -06:00
Thomas Neirynck
1378c10a4f
[Docs] fix typo (#200812)
## Summary

Fix typo in PR template.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- ~[ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios~
- ~[ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~
- ~[ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.~
- ~[ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed~
- ~[ ] The PR description includes the appropriate Release Notes
section, and the correct `release_node:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)~

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.
2024-11-20 11:15:57 -05:00
Tre
3c80061277
[Ownership] Assign test files to viz team (#200775)
## Summary

Assign test files to viz team

Contributes to: #192979
2024-11-20 05:28:33 -06:00
Dzmitry Lemechko
5c82e0b947
Update code owners under "x-pack/test/api_integration/deployment_agnostic" (#200689)
## Summary

Initially we kept under `appex-qa` the code ownership of the whole
`x-pack/test/api_integration/deployment_agnostic` directory.

It helped us to keep track of test migration, provide feedback to the
Observability Teams and make sure tests are deployment-agnostic by
design and continuous runs against Cloud (both MKI & ESS deployments)
have no major failures.

As of now, we believe Teams need less guidance and we can limit
`appex-qa` code ownership to shared services and config files, as it is
still critical assets for FTR tests stability.

For reviewers: please review that your Team ownership is properly
assigned.
2024-11-20 11:26:27 +01:00
Tre
7e65cdef6d
[Ownership] Assign test files to observability-ai-assistant team (#200147)
## Summary

Assign test files to observability-ai-assistant team

Contributes to: #192979

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-20 09:38:27 +00:00
Tre
7699806ae5
[Ownership] Assign test files to Core Team (#199771)
## Summary
Assign test files to Core Team

Contributes to: https://github.com/elastic/kibana/issues/192979

---------

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2024-11-19 11:07:32 -06:00
Tre
c1af3d1d83
[Ownership] Assign test files to logstash team (#199783)
## Summary

Assign test files to logstash team

Contributes to: https://github.com/elastic/kibana/issues/192979

---------

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-19 11:02:05 -06:00
Tre
74f4a9b03a
[Ownership] Assign test files to response ops team (#199797)
## Summary

Assign test files to response ops team

Contributes to: #192979
2024-11-19 10:56:11 -06:00
Tre
674bf635a9
[Ownership] Assign test files to data discovery team (#200132)
## Summary

Assign test files to data discovery team

Contributes to: #192979

---------

Co-authored-by: Julia Rechkunova <julia.rechkunova@gmail.com>
Co-authored-by: Davis McPhee <davismcphee@hotmail.com>
2024-11-19 15:02:55 +00:00
Pierre Gayvallet
455c781c6d
[LLM tasks] Add product documentation retrieval task (#194379)
## Summary

Close https://github.com/elastic/kibana/issues/193473
Close https://github.com/elastic/kibana/issues/193474

This PR utilize the documentation packages that are build via the tool
introduced by https://github.com/elastic/kibana/pull/193847, allowing to
install them in Kibana and expose documentation retrieval as an LLM task
that AI assistants (or other consumers) can call.

Users can now decide to install the Elastic documentation from the
assistant's config screen, which will expose a new tool for the
assistant, `retrieve_documentation` (only implemented for the o11y
assistant in the current PR, shall be done for security as a follow up).

For more information, please refer to the self-review.

## General architecture

<img width="1118" alt="Screenshot 2024-10-17 at 09 22 32"
src="https://github.com/user-attachments/assets/3df8c30a-9ccc-49ab-92ce-c204b96d6fc4">

## What this PR does

Adds two plugin:
- `productDocBase`: contains all the logic related to product
documentation installation, status, and search. This is meant to be a
"low level" components only responsible for this specific part.
- `llmTasks`: an higher level plugin that will contain various LLM tasks
to be used by assistants and genAI consumers. The intent is not to have
a single place to put all llm tasks, but more to have a default place
where we can introduce new tasks from. (fwiw, the `nlToEsql` task will
probably be moved to that plugin).

- Add a `retrieve_documentation` tool registration for the o11y
assistant
- Add a component on the o11y assistant configuration page to install
the product doc

(wiring the feature to the o11y assistant was done for testing purposes
mostly, any addition / changes / enhancement should be done by the
owning team - either in this PR or as a follow-up)

## What is NOT included in this PR:

- Wire product base feature to the security assistant (should be done by
the owning team as a follow-up)
  - installation
  - utilization as tool

- FTR tests: this is somewhat blocked by the same things we need to
figure out for https://github.com/elastic/kibana-team/issues/1271

## Screenshots 

### Installation from o11y assistant configuration page

<img width="1476" alt="Screenshot 2024-10-17 at 09 41 24"
src="https://github.com/user-attachments/assets/31daa585-9fb2-400a-a2d1-5917a262367a">

### Example of output

#### Without product documentation installed 

<img width="739" alt="Screenshot 2024-10-10 at 09 59 41"
src="https://github.com/user-attachments/assets/993fb216-6c9a-433f-bf44-f6e383d20d9d">

#### With product documentation installed

<img width="718" alt="Screenshot 2024-10-10 at 09 55 38"
src="https://github.com/user-attachments/assets/805ea4ca-8bc9-4355-a434-0ba81f8228a9">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-19 08:28:26 -06:00
Tre
37b1dbb3ca
[Ownership] Assign home plugin and helper (#200564)
## Summary

Assign home plugin and helper.
This pr is a follow up to a wrongly assigned entry within
https://github.com/elastic/kibana/pull/200142

Contributes to: #192979

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-19 11:36:36 +00:00
Joey F. Poon
efc0568e01
[Security Solution] add defend insights elastic assistant tool (#198676)
### Summary
Adds the new Defend Insights Elastic Assistant tool. This assistant tool
provides Elastic Defend configuration insights. For this initial PR,
only incompatible antivirus detection is supported. Telemetry is
collected for success and error events.

For incompatible antivirus detection, Defend Insights will review the
last 200 file events for the given endpoint and output suspected
antiviruses. Improvements such as customizable event count and date
range will come in the future.

This PR does not include any UI, that will come in a separate PR. 3
internal APIs for interacting with Defend Insights are provided here:
- `POST /defend_insights` for creating a new Defend Insight
- `GET /defend_insights/{id}` for getting a Defend Insight
- `GET /defend_insights` for getting multiple Defend Insights
	- available optional query params:
		- `size` - default 10
		- `ids`
		- `connector_id`
		- `type` - `incompatible_antivirus`
		- `status` - `running`, `completed`, `failed`, `canceled`
		- `endpoint_ids`

This initial implementation does not include the LangGraph/output
chunking upgrades seen in Attack Discovery due to time constraints.
We'll look to make this upgrade in a future PR.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios


### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)
2024-11-19 04:07:42 -06:00
Tre
4f96b85914
[Ownership] Assign test fixtures, etc to ops team (#200552)
## Summary

Assign test fixtures, etc to ops team

Contributes to: #192979

Assigned `x-pack/test/plugin_functional/screenshots` per
https://github.com/elastic/kibana/pull/94370
2024-11-19 09:35:39 +00:00
Anton Dosov
45972374f0
[ES|QL] Starred queries in the editor (#198362)
## Summary

close https://github.com/elastic/kibana/issues/194165
close https://github.com/elastic/kibana-team/issues/1245

### User-facing

<img width="1680" alt="image"
src="https://github.com/user-attachments/assets/6df4ee9f-1b4d-404c-a764-592998a1d430">

This PRs adds a new tab in the editor history component. You can star
your query from the history and then you will see it in the Starred
list. The started queries are scoped to a user and a space.


### Server

To allow starring ESQL query, this PR extends [favorites
service](https://github.com/elastic/kibana/pull/189285) with ability to
store metadata in addition to an id. To make metadata strict and in
future to support proper metadata migrations if needed, metadata needs
to be defined as schema:

```
plugins.contentManagement.favorites.registerFavoriteType('esql_query', {
       typeMetadataSchema: schema.object({ query: schema.string(), timeRange:...., etc... }),
})
```

Notable changes: 

- Add support for registering a favorite type and a schema for favorite
type metadata. Previosly the `dashboard` type was the only supported
type and was hardcoded
- Add `favoriteMetadata` property to a saved object mapping and make it
`enabled:false` we don't want to index it, but just want to store
metadata in addition to an id.
[code](https://github.com/elastic/kibana/pull/198362/files#diff-d1a39e36f1de11a1110520d7607e6aee7d506c76626993842cb58db012b760a2R74-R87)
- Add a 100 favorite items limit (per type per space per user). Just do
it for sanity to prevent too large objects due to metadata stored in
addtion to ids.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Stratoula Kalafateli <stratoula1@gmail.com>
2024-11-18 21:53:46 +01:00
Nathan Reese
9f545039ab
fix dashboard grid item performs 2 DOM queries every render (#199390)
Closes https://github.com/elastic/kibana/issues/199361

While investigating, I found that fetching DOM element with id
`app-fixed-viewport` is a common pattern. I created the hook
`useAppFixedViewport` to consolidate this logic into a single location.
The hook only performs the DOM look-up on first render and then avoids
the DOM look-up on each additional render.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-18 11:32:53 -07:00
Tre
598076e215
[Ownership] Assign test files to presentation team (#200209)
## Summary

Assign test files to presentation team

Contributes to: #192979

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-18 11:50:21 -06:00
Tre
d804b38ea4
[Ownership] Assign test files to platform security team (#199795)
## Summary

Assign test files to platform security team

Contributes to: #192979

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2024-11-18 10:32:46 -06:00
Tre
1e29cf8af1
[Ownership] Assign maps test files to presentation team (#200214)
## Summary

 Assign maps test files to presentation team

Contributes to: #192979

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
2024-11-18 16:17:13 +00:00
Gerard Soldevila
ab0375f56f
Kibana Sustainable Architecture: Expose StatusResponse in core-status-common (#200524)
## Summary

- Exposes the interfaces that define the format of the response of the
`/api/status` endpoint.
- Moves them from `@kbn/core-status-common-internal` to
`@kbn/core-status-common`.
- Removes the former package, as it no longer contains anything.
- Fixes some of the illegal dependencies uncovered by
https://github.com/elastic/kibana/pull/199630.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-18 14:34:54 +01:00
Tre
82273806c5
[Ownership] Assign test files to observability-ui team (#200185)
## Summary

Assign test files to observability-ui team

Contributes to: #192979

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-18 06:46:07 -06:00
Tre
c16a46217e
[Ownership] Assign test files to stack-monitoring team (#200178)
## Summary

Assign test files to stack-monitoring team

Contributes to: #192979

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-18 06:41:13 -06:00
Tre
da46be0a66
[Ownership] Assign test files to apm teams (#200182)
## Summary

Assign test files to apm teams

Contributes to: #192979

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-18 12:30:47 +00:00
Tre
c14c1205ed
[Ownership] Assign test files to ops team (#200217)
## Summary

Assign test files to ops team

Contributes to: #192979

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-18 06:00:11 -06:00
Tre
a411b4a5f1
[Ownership] Assign sample data to core team (#200142)
## Summary

Assign test files to platform docs team

Contributes to: #192979

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-18 05:55:59 -06:00
Tre
994d11bf2d
[Ownership] Assign test files to obs-ux-logs team (#200157)
## Summary

Assign test files to obs-ux-logs team

Contributes to: #192979
2024-11-18 05:54:13 -06:00
Tre
4f6ace4d03
[Ownership] Assign test files to obs-ux-infra_services-team team (#200156)
## Summary

Assign test files to obs-ux-infra_services-team team

Contributes to: #192979
2024-11-18 05:51:02 -06:00
Tre
b427cea2e5
[Ownership] Assign test files to obs-ux-management-team (#200176)
## Summary

Assign test files to obs-ux-management-team

Contributes to: #192979

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-18 05:48:16 -06:00