Commit graph

140 commits

Author SHA1 Message Date
Matthew Kime
610fee6d21
Renovate - Move filesaver to its own group to upgrade it independently (#208246)
Allow filesaver package to be upgraded independent of
other modules

---------

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2025-01-24 20:58:23 +00:00
Nick Peihl
1341bcd97d
Update Renovate ownership for mapbox dependencies (#208211)
Fix ownership of mapbox dependencies. These should belong to the Kibana
Presentation team.

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2025-01-24 15:06:19 -05:00
Larry Gregory
395e49484e
Add check to fail CI if any dependencies are unowned (#206679)
## Summary
- Updates `scripts/dependency_ownership` to use the
`@kbn/dev-cli-runner` for consistency with other CI-related CLIs.
- Adds a new `failIfUnowned` flag to exit with an error code if any
dependencies are unowned.
- Adds a new dependency ownership check to `quick_checks` and `renovate`
CI steps.


From a CI run, the additional quick check executes successfully in 3
seconds:
```sh
info [quick-checks] Passed check: /opt/buildkite-agent/builds/bk-agent-prod-gcp-abc123/elastic/kibana-pull-request/kibana/.buildkite/scripts/steps/checks/dependencies_missing_owner.sh in 3s
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-16 09:59:04 -05:00
Hannah Mudge
364abf7b09
[Presentation] Remove unused dependencies (#206689)
Closes https://github.com/elastic/kibana/issues/205639

## Summary

Now that https://github.com/elastic/kibana/pull/205341 is merged, we can
remove both `react-grid-layout` and `react-resizable` since they are no
longer used in Dashboard (and Dashboard was the only consumer, so they
are no longer used anywhere in Kibana).

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks
 
There are no risks to removing an unused dependency.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-15 08:54:54 -07:00
Jon
7efec8ba92
[renovate] Include main branch in chainguard group (#206359)
This was missing from https://github.com/elastic/kibana/pull/205963
2025-01-14 11:22:18 -06:00
Nick Partridge
3b36b2413c
[Renovate] Fix group spelling (#206473) 2025-01-13 17:09:09 +00:00
Nick Partridge
fe0bc34069
Update vis related renovate configs (#206304)
- Fix team name based on renovate
[docs](https://docs.renovatebot.com/configuration-options/#reviewers)
- Use `release_note:skip` label on all by default
- Use `backport:prev-minor` label over `backport:all-open` by default
2025-01-13 17:41:46 +01:00
Jon
4991ee1c2f
[renovate] Fix match for all base branches (#205963)
https://docs.renovatebot.com/string-pattern-matching/ doesn't appear to
be working for this setting.

The documentation [mentions regular expression
support](https://docs.renovatebot.com/configuration-options/#matchbasebranches),
this moves the expression over.
2025-01-10 12:38:17 -06:00
Larry Gregory
a9f5f432ad
Dependency ownership refinements (#205937)
## Summary

This PR assigns owners for dependencies that are not yet claimed. These
assignments were a "best effort", and will likely need tweaking once
downstream teams start receiving renovate PRs.
2025-01-09 18:33:38 +00:00
Larry Gregory
d16bc940b1
Fix dependency assignments for security-generative-ai team (#205621)
## Summary

Fixes dependency assignment for security generative AI dependencies
introduced via https://github.com/elastic/kibana/pull/205523
2025-01-06 12:54:19 -05:00
Larry Gregory
e8ef186be8
Dependency ownership for security solution teams, part 1 (#205523)
## Summary

This updates our `renovate.json` configuration to mark the security
solution teams as owners of their set of dependencies.
2025-01-03 17:22:39 +00:00
Jon
b2344549fb
[renovate] matchBaseBranches for a few more groups (#205451)
Follow up to https://github.com/elastic/kibana/pull/205285

This uses renovate instead of backport tooling on a few more of
operation's groups. These were selected because they have not required
any code changes to date.
2025-01-03 08:27:54 -06:00
Larry Gregory
f72252a07c
Dependency ownership for o11y teams, part 1 (#205429)
## Summary

This updates our `renovate.json` configuration to mark the Observability
teams as owners of their set of dependencies.
2025-01-02 15:40:39 -05:00
Jon
2735ac184a
[renovate] Match all branches instead of backporting for FTR group (#205285)
FTR dependencies needs to be kept up to date across all branches, but
using the backport automation ends up requiring manual intervention due
to merge conflicts.

This configures renovate to open separate pull requests per branch for
the `ftr` group. If this works as expected I'll do another pass and see
if there's other groups that this makes sense for.
2024-12-30 16:54:33 -06:00
Alejandro Fernández Haro
997884e1ba
[Renovate/Core] Use prev-minor backport strategy (#204709)
## Summary

Speaking to @azasypkin, we noticed that we are not backporting many of
our dependency updates. These were mostly set to `backport:skip` before
the 9 vs. 8.x branch split. But we need it at the moment.

We'll need to revisit our backport strategy once we release 9.0.

### Identify risks

- [ ] Some deps like `@elastic/elasticsearch` might be bumped to 9.0 and
shouldn't be backported. We'll update the renovate file when that
occurs.
2024-12-19 11:02:46 +01:00
Larry Gregory
0aa45fc7ef
Dependency ownership for Kibana Search team, part 1 (#204649)
## Summary

This updates our `renovate.json` configuration to mark the Kibana Search
team as owners of their set of dependencies.
2024-12-18 19:33:53 +01:00
Larry Gregory
492d4d2e5f
Dependency ownership for Kibana Visualization team, part 1 (#204103)
## Summary

This updates our `renovate.json` configuration to mark the Kibana
Visualization team as owners of their set of dependencies.
2024-12-13 07:43:38 -05:00
Larry Gregory
2bc6b8e45f
Dependency ownership for Stack Monitoring team, part 1 (#204107)
## Summary

This updates our `renovate.json` configuration to mark the Stack
Monitoring team as owners of their set of dependencies.
2024-12-13 07:43:12 -05:00
Larry Gregory
86d87ee746
Dependency ownership for ML UI team, part 1 (#204110)
## Summary

This updates our `renovate.json` configuration to mark the ML UI team as
owners of their set of dependencies.
2024-12-13 07:43:01 -05:00
Larry Gregory
561eff3bf5
Dependency ownership for Kibana Security team, part 1 (#203456)
## Summary

This updates our `renovate.json` configuration to mark the Kibana
Security team as owners of their set of dependencies.
2024-12-10 08:27:32 -06:00
Larry Gregory
a95a5a39b8
Dependency ownership for Kibana Reporting/Response-Ops team, part 1 (#203441)
## Summary

This updates our `renovate.json` configuration to mark the Response Ops
team as owners of their set of dependencies.
2024-12-09 09:42:08 -06:00
Larry Gregory
61dd1f57ac
Dependency ownership for Kibana Presentation team, part 1 (#203269)
## Summary

This updates our `renovate.json` configuration to mark the Kibana
Presentation team as owners of their set of dependencies.
2024-12-09 07:41:38 -06:00
Brad White
313deddfb5
[Ops] Combine some Renovate groups. Disable webpack, ts (#203350)
## Summary

Combine some Renovate groups.

Disable TS group. Closes #189415.
Disable Webpack group until #191106 is finished.
2024-12-06 16:52:17 -08:00
Larry Gregory
e255ca2728
Dependency ownership for Kibana Operations team, part 1 (#202904)
## Summary

This updates our `renovate.json` configuration to mark the Kibana
Operations team as owners of their set of dependencies.

---------

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2024-12-06 10:58:55 -05:00
Larry Gregory
c0b3dac7cb
Dependency ownership for Kibana Management team, part 1 (#202776)
## Summary

This updates our `renovate.json` configuration to mark the Kibana
Management team as owners of their set of dependencies.
2024-12-04 10:02:22 -06:00
Marco Vettorello
eb8f2617e0
[deps] Remove faker from renovate (#202777)
## Summary

With the [replacement](https://github.com/elastic/kibana/pull/201105) of
`faker` with `@faker-js` there is no more need of this renovate
configuration.
2024-12-04 11:33:02 +01:00
Dzmitry Lemechko
27f650bf99
[chore] update playwright version + ownership (#202535)
## Summary

Since the new Kibana test framework has a strong dependency on
`@playwright/test`, moving it under appex-qa ownership

I had to update and explicitly specify types when extending the
pre-existing fixtures as there was a bug fix enforcing it
https://github.com/microsoft/playwright/pull/32066
2024-12-03 15:47:30 +01:00
Larry Gregory
33e91592e8
Dependency ownership for Kibana Data Discovery team, part 1 (#202578) 2024-12-02 20:45:53 -05:00
Dzmitry Lemechko
783a97cda0
[renovate] move ownership for faker to team:kibana-visualizations (#202329)
## Summary

@markov00 opened PR to
[migrate](https://github.com/elastic/kibana/pull/201105) from `faker`,
but it probably will take extra time and to keep track let's move its
ownership to `team:kibana-visualizations`

---------

Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2024-12-02 14:39:48 +01:00
Larry Gregory
d28d2c3415
Dependency ownership for Kibana Core team, part 1 (#201380)
## Summary

This updates our `renovate.json` configuration to mark the Core team as
owners of their set of dependencies.
2024-11-25 08:12:32 -06:00
Larry Gregory
0f6e7fc3c3
Dependency ownership for Kibana Cloud Security Posture team, part 1 (#201212)
## Summary

This updates our `renovate.json` configuration to mark the Kibana CSP
team as owners of their set of dependencies.
2024-11-21 15:04:06 -06:00
Larry Gregory
8c00f5f1af
Dependency ownership for Fleet team, part 1 (#200990)
## Summary
This updates our renovate.json configuration to mark the Fleet team as
owners of their set of dependencies.
2024-11-21 07:57:30 -06:00
Dzmitry Lemechko
c04d80b03f
[Dependency ownership] move enzyme to shared-ux (#200964)
## Summary

According to `Kibana Dependency ownership report` majority of React
dependencies are owned by `elastic/appex-sharedux` team.

We had a chat and agreed that it makes sense to change ownership for
React testing libraries like `enzyme` to `elastic/appex-sharedux` for
consistency (testing dependencies are usually updated together with
React ones)

Ownership report was updated.
2024-11-20 13:01:11 -06:00
Dzmitry Lemechko
88a280c250
[chore] remove unused nyc configs and dependencies (#200909)
## Summary

nyc (istanbuljs) cleanup as we no longer collect code coverage for
functional tests
2024-11-20 16:41:30 +01:00
Larry Gregory
8ce1c466e3
Dependency ownership for Shared UX team, part 1 (#200794)
## Summary

This updates our `renovate.json` configuration to mark the Shared UX
team as owners of their set of dependencies. I made an attempt to group
the dependencies into logical groups, but this is easily changed if
desired.
2024-11-20 08:59:52 -06:00
Ignacio Rivas
0bb62939f0
Add @elastic/request-converter to renovate.json (#200588) 2024-11-20 11:23:38 +01:00
Larry Gregory
5268fc5d77
Dependency ownership for QA team (#200589)
## Summary

This updates our `renovate.json` configuration to mark the QA team as
owners of their set of dependencies.
2024-11-19 13:14:17 -05:00
Larry Gregory
d910e5e8a3
Dependency ownership for AI Infra Team (#200238)
## Summary

This updates our `renovate.json` configuration to mark the AI Infra team
as owners of their set of dependencies.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-18 08:34:09 -06:00
Alejandro Fernández Haro
41998b48f7
Improve stack traces in dev mode (#195916) 2024-10-18 17:35:08 +02:00
Kfir Peled
be0eadfb9f
[Cloud Security] Graph visualization and API (#195307)
## Summary

This PR adds:
- Graph visualization component using `xyflow`, and layouts the graph
using `dagre`.
- API that supports the graph visualization
- API tests
- Serverless API tests

**List of open issues (will be tracked in a different ticket):**
- Identify if `related.hosts`, `related.ip` and `related.user` are
mapped before the query. (can be fixed by
https://github.com/elastic/elasticsearch/issues/112912)
- Update nodes rendering to match recent figma changes
- Return 404 when feature is not enabled
- Add keyboard accessibility
- Resolve axe failures (run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))

### How to test

You can view the graph using storybook's
[playground](https://supreme-adventure-8qjmlp1.pages.github.io/graph-storybook/?path=/story/components-graph-components-dagree-layout-graph--graph-stacked-edge-cases).

To test this PR you can run

```
yarn storybook cloud_security_posture_packages
```

To test the API you can use the mocked data

```bash
node scripts/es_archiver load x-pack/test/cloud_security_posture_api/es_archives/logs_gcp_audit \ 
--es-url http://elastic:changeme@localhost:9200 \
--kibana-url http://elastic:changeme@localhost:5601
```

And through dev tools:

```
POST kbn:/internal/cloud_security_posture/graph?apiVersion=1
{
  "query": {
    "actorIds": ["admin@example.com"],
    "eventIds": [""],
    "start": "now-1y/y",
    "end": "now/d"
  }
}
```

### Checklist

Delete any items that are not applicable to this PR.

- [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
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-10-11 22:37:02 -05:00
Nick Partridge
ac2e0c81cf
Update @elastic/charts renovate config labels (#195642) 2024-10-09 20:01:21 +02:00
Alejandro Fernández Haro
f29c513465
Add @elastic/apm-rum-core to renovate (#195112) 2024-10-08 04:07:14 +02:00
Victor Martinez
94aa915169
github-actions: notify github commands for all the observability code (#195219) 2024-10-07 22:19:08 +02:00
Alejandro Fernández Haro
833a267419
chore(deps): add lodash to renovate (#194613) 2024-10-02 14:24:02 +02:00
Alejandro Fernández Haro
04fe43d4c2
chore(deps): upgrade rxjs (#194610) 2024-10-02 14:22:28 +02:00
Alejandro Fernández Haro
4dca8f6f70
chore(deps): Add joi to the hapi group in renovate (#194623) 2024-10-02 14:21:54 +02:00
Alejandro Fernández Haro
d570d60b0b
Upgrade http dependencies (#180986)
Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2024-10-01 11:50:47 -05:00
Alejandro Fernández Haro
02ce1b9101
[Feature Flags Service] Hello world 👋 (#188562)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2024-09-18 11:02:55 -05:00
Jeramy Soucy
c426b06aa4
Adds @mswjs/http-middleware to renovate.json (#193257)
## Summary

Assigns ownership of new dev dep `@mswjs/http-middleware` to cloud
security team (`kibana-cloud-security-posture`).

Dependency was addded in https://github.com/elastic/kibana/pull/187219
2024-09-18 15:44:53 +02:00
Nick Peihl
6689169687
Move @elastic/kibana-gis ownership to @elastic/kibana-presentation (#192521)
## Summary

The legacy `@elastic/kibana-gis` team is now a part of
`@elastic/kibana-presentation`. So we should move ownership of all code
to the correct team.
2024-09-16 09:50:50 -05:00