James Gowdy
9a85329015
translations and code clean up
2023-01-27 09:08:20 +00:00
James Gowdy
5f8fecfe77
aligning badges
2023-01-26 16:29:59 +00:00
James Gowdy
fbf2177e64
moving and renaming page
2023-01-26 15:52:08 +00:00
James Gowdy
8164fc07c1
Merge branch 'main' into adding-job-memory-tree-map
2023-01-25 17:21:34 +00:00
Candace Park
2874f34e01
[Security Solution][Fleet] Fixes bug when adding Security Defend integration ( #149232 )
...
## Summary
- [x] Fixes a bug in the `Add Elastic Defend Integration` page in fleet
where users would encounter a broken page when trying to add the
security defend integration to their agent policy.
# Screenshot
Before
https://user-images.githubusercontent.com/91867110/211752156-e678f6fc-4a79-4ead-b1d9-1eac9e82f912.mp4
After

2023-01-25 11:33:22 -05:00
Angela Chuang
a3ba2763c9
[SecuritySolution] Fix data view not found when rendering with adHocDataView ( #149513 )
...
## Summary
Please Enable feature flags. Please add this to kibana.dev.yml
xpack.securitySolution.enableExperimental: ['chartEmbeddablesEnabled']
<img width="1513" alt="Screenshot 2023-01-25 at 12 54 54"
src="https://user-images.githubusercontent.com/6295984/214573163-1e606e07-c7c6-4980-99c5-0ce4347fb6c0.png ">
AdHocDataview requires a static reference to point internal reference Id
to the given data view.
The reference of data view will be lost If we re-generate internal
reference Id every time the function is called.
To fix this, I assigned the id out side of the function so it wouldn't
change when the function is called.
Expected: Risk score over time should be rendered properly:
<img width="1501" alt="Screenshot 2023-01-25 at 13 42 56"
src="https://user-images.githubusercontent.com/6295984/214578964-06dc8d11-cf65-4ede-a2ba-a42a1268d6e5.png ">
<img width="1513" alt="Screenshot 2023-01-25 at 13 43 57"
src="https://user-images.githubusercontent.com/6295984/214579194-d64ef60f-28fe-407e-8d71-abb56ef845e4.png ">
### 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
2023-01-25 15:54:46 +00:00
Tiago Costa
d74e2152e2
skip flaky suite ( #149256 )
2023-01-25 15:22:21 +00:00
Spencer
4e7560f19d
[ci-stats] move shipper to a package, validate limits in on-merge job ( #149474 )
...
We just had an issue where two PRs were merged and it caused the limit
of the `triggerActionsUi` bundle to be exceeded, breaking PR builds. The
issue is that we didn't see any indication of this in the on-merge jobs
because we don't produce the PR report for on-merge jobs or ask ci-stats
if we should fail the job. Instead, we just ship the metrics for
baseline purposes. This fixes that problem by adding a `--validate` flag
to `node scripts/ship_ci_stats`, which takes care of sending at least
some ci-stats and will verify that the bundle limits are not exceeded.
Since we didn't catch this issue in the on-merge job the limits were
incorrect for over an hour and merged into many PRs, wasting engineering
and CI time.
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 08:20:40 -07:00
Julia Bardi
179b36f93f
[Fleet] experimental toggles for doc-value-only ( #149131 )
...
## Summary
Closes https://github.com/elastic/kibana/issues/144357
WIP. Review can be started, but still requires a lot of testing and
fixing the issue below.
How to test locally:
- Turn on `experimentalDataStreamSettings` feature flag
- Go to Add integration, System integration
- On the first data stream, turn on the Doc value only switches, Save
- The mapping changes are visible under Stack Management / Index
Management / Component Templates e.g. `logs-system.auth@package`
- The numeric switch sets `index:false` on all numeric field mappings
(long, double, etc.)
- The other switch sets `index:false` on all other field type mappings
that support it (keyword, ip, date, etc.)
- The new mappings will take effect after rollover
<img width="475" alt="image"
src="https://user-images.githubusercontent.com/90178898/213206641-13ead2fc-f079-407c-9c0e-c58f99dd4903.png ">
<img width="1037" alt="image"
src="https://user-images.githubusercontent.com/90178898/213495546-9962c458-590b-4787-bf2d-9f19abea3f67.png ">
What works:
- When turning the new doc-value-only numeric and other checkboxes on or
off, the corresponding mapping changes are done in the component
template
- The logic also reads the package spec's template and preserves the
`index:false` values regardless of the switch (tested manually by
setting `@timestamp` field to `index:false` in the template, there is
also the `original` field in `logs-system.auth@package` stream that is
set to `index:false` in the package by default.
```
"original": {
"index": false,
"doc_values": false,
"type": "keyword"
},
```
Pending:
- Add/update unit and integration tests to verify the mapping change
logic - DONE
- Manual testing (turning the switches on/off, create/update package
policy, upgrade package) - DONE
- Clarify TODOs in the code about the supported types - DONE
- Hitting an issue when turning on `doc-value-only` for "other" types
(keyword, date, etc.). Could be that one of the fields doesn't support
`index:false` setting. Didn't experience this when turning on only the
numeric types. - FIXED
```
illegal_argument_exception: [illegal_argument_exception] Reason: updating component template [logs-system.auth@package] results in invalid composable template [logs-system.auth] after templates are merged
```
EDIT: found the root cause of this: `Caused by:
java.lang.IllegalArgumentException: data stream timestamp field
[@timestamp] is not indexed`
### Checklist
Delete any items that are not applicable to this PR.
- [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] [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
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 15:32:12 +01:00
Jiawei Wu
e2824c3041
[RAM] Reduce triggers actions UI bundle size ( #149473 )
...
## Summary
Reduces the bundle size of `triggersActionsUI`. Fix a change in a recent
PR that added util functions to an index file that was in turn being
imported when it wasn't needed. Gets it down to `118085`.

2023-01-25 06:23:02 -08:00
Rodney Norris
32b1e9b1ab
[Enterprise Search][Engines] feat: create engine flow ( #149263 )
...
## Summary
Added the create engine flyout and associated logics
### Screenshots
https://user-images.githubusercontent.com/1972968/213552877-52f81594-bf0d-41bf-bf4b-ca16f922562d.mov
### Checklist
- [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 )
- [ ]
[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
- [x] 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 ))
- [ ] 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 ))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers )
2023-01-25 08:21:38 -06:00
Jordan
2589e34f3e
[Cloud Posture] Benchmark page AWS changes ( #149505 )
2023-01-25 16:19:03 +02:00
Nicolas Chaulet
52f324b9ad
[Fleet] Fix agent status when .fleet-agents do not exists ( #149509 )
2023-01-25 07:09:50 -07:00
Achyut Jhunjhunwala
83d56cd776
add language specific headers ( #149400 )
...
Closes https://github.com/elastic/kibana/issues/76296
## Summary
Stacktrace for various Languages and Frameworks were not displaying
proper Title.
With this PR, it fixes the display of individual language-framework
specific error title in Exception Stack Traces
| Agent | Template |
|---------|-----------|
| .NET | `"${exception.type}: ${exception.message}"` |
| Javascript | `"${exception.type}: ${exception.message}"` |
| PHP | `"${exception.type}: ${exception.message}"` |
| Python | `"${exception.type}: ${exception.message}"` |
| Go | `"${exception.message}"` |
| Java | `exception.message ? "${exception.type}: ${exception.message}"
: "${exception.type}"` |
| Ruby | `"${exception.type} (${exception.message ? exception.message :
exception.type})"`|
## C#
### Before
<img width="1232" alt="Screenshot 2023-01-24 at 14 56 29"
src="https://user-images.githubusercontent.com/7416358/214313402-cc5309af-ddbe-4862-98b0-4e646d5702b1.png ">
### After
<img width="1230" alt="Screenshot 2023-01-24 at 14 55 13"
src="https://user-images.githubusercontent.com/7416358/214313139-7068b020-b729-4cd8-b3cf-d78b5282cfa8.png ">
## Javascript
### Before
<img width="1245" alt="Screenshot 2023-01-24 at 15 02 25"
src="https://user-images.githubusercontent.com/7416358/214314780-c6ea9da6-0634-4ce8-a7ad-87ff81c5c51c.png ">
### After
<img width="1253" alt="Screenshot 2023-01-24 at 15 00 47"
src="https://user-images.githubusercontent.com/7416358/214314605-2942170a-b97e-4902-82ed-2c6e2850a836.png ">
## PHP
### Before
<img width="1241" alt="Screenshot 2023-01-24 at 15 20 19"
src="https://user-images.githubusercontent.com/7416358/214318997-1a8e44b9-30f9-48fa-903c-3de56b2cca40.png ">
### After
<img width="1243" alt="Screenshot 2023-01-24 at 15 19 31"
src="https://user-images.githubusercontent.com/7416358/214318814-62299e49-9433-4c35-ad17-27a1ad29d2ee.png ">
## Python
### Before
<img width="1251" alt="Screenshot 2023-01-24 at 15 21 49"
src="https://user-images.githubusercontent.com/7416358/214319342-a6510b24-8049-402a-a92d-51002efc9a3b.png ">
### After
<img width="1252" alt="Screenshot 2023-01-24 at 15 23 03"
src="https://user-images.githubusercontent.com/7416358/214319683-d21bd01b-a6c9-45a6-88b5-8527f1b4ad04.png ">
## Go
### Before and After Same
<img width="1237" alt="Screenshot 2023-01-24 at 15 10 16"
src="https://user-images.githubusercontent.com/7416358/214316664-424c5a00-d113-495f-aa5a-f42d571e3bd6.png ">
## Java
### Before
<img width="1237" alt="Screenshot 2023-01-24 at 15 14 19"
src="https://user-images.githubusercontent.com/7416358/214317545-f54aedb1-6e1a-42fc-883e-c32f479b639c.png ">
### After
<img width="1241" alt="Screenshot 2023-01-24 at 15 18 07"
src="https://user-images.githubusercontent.com/7416358/214318481-c2b3049c-2325-4347-9789-e59b9d8db905.png ">
## Ruby
### Before
<img width="1253" alt="Screenshot 2023-01-24 at 15 22 26"
src="https://user-images.githubusercontent.com/7416358/214319495-46d54586-e6b6-4226-a217-0fc4ddd02cca.png ">
### After
<img width="1248" alt="Screenshot 2023-01-24 at 15 23 46"
src="https://user-images.githubusercontent.com/7416358/214319869-84fbbda6-4469-43dd-9aa8-5033ee155794.png ">
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 14:32:31 +01:00
Jonathan Buttner
e6f24a2272
[Cases] Adding oldestPushDate field to get connectors API ( #149451 )
...
This PR adds the `oldestPushDate` field to the `_connectors` API. This
is needed to determine whether to show the text `pushed as new incident
<name>` or `updated incident <name>`.
Update response
```
{
"8548e270-9c26-11ed-8376-87998de9968e": {
"name": "Jira",
"type": ".jira",
"fields": {
"issueType": "10001",
"parent": null,
"priority": null
},
"id": "8548e270-9c26-11ed-8376-87998de9968e",
"needsToBePushed": false,
"latestPushDate": "2023-01-24T20:35:54.325Z",
"oldestPushDate": "2023-01-24T20:35:43.730Z", <--- New field
"hasBeenPushed": true
}
}
```
2023-01-25 08:15:48 -05:00
Katerina Patticha
026d347305
[APM] Display comparison for mobile stats ( #149097 )
...
## Summary
related to https://github.com/elastic/kibana/issues/146854
1. Show the comparison for the mobile stats
2. Display a badge "comparison not supported" (when the comparison is
enabled )for the components that don't support comparison
3. display "coming soon" text for the metrics that are not available yet
Addressing feedback
- Replace the badge with a tooltip with an icon
- Always display the previous state for metrics when loading and add the
spinner
- Update Crash rate to Crash rate (Crash per minute)
- Remove fallback to transaction events badge
## Before
<img width="1420" alt="image"
src="https://user-images.githubusercontent.com/3369346/213138845-3eab0bf5-a24e-4ec0-87fb-d8eacc029a2f.png ">
## After

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 05:56:53 -07:00
Julia Bardi
43247bdc0f
[Fleet] fix updates available when beta integrations are off ( #149486 )
...
## Summary
Fixes https://github.com/elastic/kibana/issues/149470
Loading installed packages with prerelease flag, so that the `Updates
available` is not showing prerelease versions when prerelease flag is
off.
How to test:
- Install endpoint latest GA (8.6.1)
- Check that there are no updates available on `Installed integrations`
tab
- Enable `Show Beta integrations` switch
- Check that there is 1 badge in `Updates available`, showing the latest
`Endpoint` `8.7.0-next` version.
<img width="1183" alt="image"
src="https://user-images.githubusercontent.com/90178898/214531019-e1971f73-669d-4eda-b968-0d007763ca59.png ">
<img width="832" alt="image"
src="https://user-images.githubusercontent.com/90178898/214530754-0131e3e0-ae43-47cb-9454-fb4ab72adc2c.png ">
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 05:53:50 -07:00
Jean-Louis Leysens
631675ba39
[Saved Objects] Import SO types from server
rather than common
to avoid deprecation ( #149289 )
...
## Summary
After merging https://github.com/elastic/kibana/pull/148979 there are a
number of imports that can be fixed immediately to address our new
deprecation notice.
## To Core reviewers
The package `core-saved-objects-server` is using types from
`core-saved-objects-api-server` which creates a circular dependency when
using `SavedObject` type from it's new home in
`core-saved-object-server`:
`core-saved-objects-server` -> `core-saved-objects-api-server` ->
`core-saved-objects-server`
One solution is that we can create a new package
`packages/core/saved-objects/core-saved-objects-server-shared` that will
only hold the `SavedObject` type and a select few others. I'm not sure
what the best approach here is. I have left
`core-saved-objects-api-server` unchanged for now (i.e., it is still
importing `SavedObject` from `common` which is deprecated).
Any input would be greatly appreciated!
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 05:38:05 -07:00
Antonio
a04a03b438
[Cases] Enable case search by ID ( #149233 )
...
Fixes #148084
[The uuid PR was merged](https://github.com/elastic/kibana/pull/149135 )
so I am removing the `draft` status here.
## Summary
This PR introduces search by UUID in the Cases table.
If a user puts a UUID in the search bar and presses enter the search
result will now return the case with that ID.
Additionally, we look for the matches of that search text in the title
and description fields.
See the example below:
<img width="1554" alt="Screenshot 2023-01-19 at 16 06 53"
src="https://user-images.githubusercontent.com/1533137/213477884-498d34c0-d4d1-405d-8d76-f077d46157aa.png ">
We are searching for `733e1c40-9586-11ed-a29f-8b57be9cf211`. There are
two matches because that search text matches the ID of a case and the
title of another.
### Checklist
Delete any items that are not applicable to this PR.
- [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] [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] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/ ))
### Release notes
Users can now search for Cases by ID.
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 12:27:11 +01:00
Achyut Jhunjhunwala
7f2bf935ec
add stacktrace support for php ( #149122 )
...
Closes https://github.com/elastic/kibana/issues/80949
## Summary
This PR adds support for displaying Language specific Stacktrace for
PHP.
## PHP
**Before changes -**
<img width="1681" alt="image"
src="https://user-images.githubusercontent.com/7416358/213389631-f8dd808d-3a38-4663-b2dc-c777d87795a6.png ">
**After changes the Stackttrace will look like this**
<img width="1681" alt="image"
src="https://user-images.githubusercontent.com/7416358/213192049-e4bc56b0-49ba-40a3-85c1-218be917ba71.png ">
2023-01-25 12:13:36 +01:00
Stratoula Kalafateli
5ec4bde603
[Visualizations] Enables multiple values filtering on tooltip actions ( #148372 )
...
## Summary
Enables tooltip actions on:
- Lens embeddables (as soon as the unified search bar exists)
- Lens
- Agg based (as they share the same renderer with Lens)
I am not enabling this in TSVB.

Also the action is not enabled for Lens if:
- there are only series with metrics
### Checklist
- [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] [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
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 12:55:30 +02:00
Aleh Zasypkin
f3741b7a61
Upgrade simple-git
dependency (3.15.1
→ 3.16.0
). ( #149483 )
2023-01-25 11:54:02 +01:00
Francois-Clement Brossard
876c3f89fb
[Advanced Settings] Fix query:allowLeadingWildcards description ( #148264 )
...
Fix query:allowLeadingWildcards description as there are no "experimental query features" anymore.
Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2023-01-25 03:50:47 -07:00
Jorge Sanz
6453c6ebd2
[Docs] Confirm Kibana checksum with the command line ( #148117 )
...
## Summary
Following this
[recommendation](https://discuss.elastic.co/t/checksum-confirmation-during-kibana-installation-for-rpm/320425 )
from a community member, this PR aligns the instructions to install
Kibana from RPM with [Elasticsearch
documentation](b7060bad9a/docs/reference/setup/install/rpm.asciidoc (L114-L117)
)
to also download the checksum file and use `shasum` to run the test and
confirm the file is correct.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 11:46:30 +01:00
Jorge Sanz
fc17f49f27
Update DELETE request ( #127537 )
...
Update the `DELETE` request to use `<space_name>`.
Thanks @Erni for the nudge!
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 11:45:49 +01:00
James Gowdy
8b3305f803
[ML] Allow dedicated index override in JSON editor ( #148887 )
...
Editing the `results_index_name` property in the advanced wizard's JSON
editor is now not immediately overwritten when the editor flyout closes.
This property will be reset if the user edits the job ID in the UI.

Fixes https://github.com/elastic/kibana/issues/148860
Also includes some minor layout changes, adding extra spacers to
separate components which were too close to each other.
2023-01-25 03:31:49 -07:00
Aleh Zasypkin
750f28f535
Remove node-fetch
package.json resolutions for puppeteer
package. ( #149398 )
2023-01-25 03:25:02 -07:00
Shahzad
808b99c118
[Synthetics] Step details page error callout ( #149410 )
...
Fixes https://github.com/elastic/kibana/issues/145386
Step details page error callout !!
<img width="1779" alt="image"
src="https://user-images.githubusercontent.com/3505601/214309774-302ca366-31dc-47ee-a863-7452e7d8c848.png ">
2023-01-25 10:33:06 +01:00
Carlos Crespo
252d81c46a
[Infrastructure UI] Add lens charts to hosts view ( #148906 )
...
## Summary
closes https://github.com/elastic/obs-infraobs-team/issues/921
This PR introduces a series of lens charts to hosts view page.

The Lens embeddable component is fully integrated, allowing the filters
to react to clicks on the charts as well as accessing Lens directly from
the chart
The charts will show metrics for:
- Load
- CPU Usage
- RX
- TX
- Memory
- Disk Read
- Disk Write
### How to test
- Using metricbeat
- Enable system metric in metricbeat
- Start your local ES
- Using oblt
- configure kibana.dev.yml with your oblt-cluster
- Using slingshot
- Clone https://github.com/elastic/slingshot and run slingshot yarn
slingshot load --config ./configs/hosts.json
- Start your local ES
- Start kibana
- Navigate to Infrastructure > Hosts
### Notes
- I've renamed a few things that started to become confusing after this
change.
- The structure created for the lens vis is similar to the
inventory_model, but here is only used in `public` and I've placed them
as a common functionality, since this might also be used in other pages
in the future.
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-25 10:17:52 +01:00
Muhammad Ibragimov
ce075504ae
[Console] Use elasticsearch-js's maxResponseSize
option instead of raw http requests for autocomplete_entities ( #148146 )
...
Closes https://github.com/elastic/kibana/issues/145653
### Summary
This PR replaces the raw http requests with the elasticsearch client to
retrieve autocomplete suggestions. In 8.5, and 8.6, the autocomplete
suggestions were retrieved using raw http requests. This was done
because the elasticsearch client's `maxResponseSize` and
`maxCompressedResponseSize` settings were not working as expected when
`Content-Length` header was not set in the response. This was fixed in
https://github.com/elastic/elastic-transport-js/pull/57 , so we can now
use the elasticsearch client instead of raw http requests.
Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ignacio Rivas <ignacio.rivas@elastic.co>
2023-01-25 13:49:53 +05:00
Dzmitry Lemechko
ff77de662d
[api capacity testing] Adjust endpoint limits ( #149333 )
...
## Summary
This PR tweaks max load and thresholds for some apis in order to get
more consistent
[results](c4b07f90
-58eb-563e-8e59-3be09c8074f8?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-3d,to:now))).
Current main (last 3 days):
<img width="1534" alt="Screenshot 2023-01-24 at 14 53 15"
src="https://user-images.githubusercontent.com/10977896/214314206-0b849053-9473-4a98-9f3e-e90461a5a341.png ">
PR (4 runs):
<img width="1569" alt="Screenshot 2023-01-24 at 15 00 49"
src="https://user-images.githubusercontent.com/10977896/214314530-60a5b3e4-2730-4307-946d-cf25d57d04ab.png ">
2023-01-25 09:20:49 +01:00
Dominique Clarke
c09a9d2e00
[Synthetics] add test coverage for editing monitors within a non default space ( #149138 )
2023-01-25 09:01:04 +01:00
Kibana Machine
468b897d88
[api-docs] 2023-01-25 Daily api_docs build ( #149475 )
...
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/228
2023-01-25 00:55:30 -05:00
spalger
3d0756fc35
fix triggerActionsUi overage
2023-01-24 19:25:56 -06:00
Nicolas Chaulet
c9617dc9e0
[Fleet] Update openAPI to include agent metrics ( #149455 )
2023-01-24 18:23:47 -07:00
Jonathan Budzenski
612d05d469
skip flaky suite ( #103043 )
2023-01-24 17:43:35 -06:00
Zacqary Adam Xeper
cb2f07b570
[RAM] Fix case conversion of frequency.notify_when in API ( #148838 )
...
## Summary
Closes #148572
Fixes an issue where rules APIs required `frequency.notifyWhen` to be
sent/received instead of `frequency.notify_when`
### 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
Co-authored-by: Julia <iuliia.guskova@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-01-24 16:53:59 -06:00
Brandon Morelli
2228086ae6
[APM] docs: SDH documentation updates ( #149359 )
...
## Summary
Two small documentation updates based on feedback in recent SDHs.
2023-01-24 14:30:18 -08:00
Jon
4fa3cdcac6
[artifacts/container-image] Fix image tag when triggering update ( #149449 )
...
Instead of passing the entire qualified tag when triggering an update,
this sets the image tag to the abbreviated commit.
2023-01-24 16:25:46 -06:00
Andrew Tate
ed51f0f1ef
[Lens] only reload embeddable when a new message was actually added ( #149424 )
2023-01-24 15:26:39 -06:00
Lisa Cawley
4c9a76cabd
[DOCS] Fix incorrect alt text for images ( #149371 )
2023-01-24 12:49:33 -08:00
Dominique Clarke
0592abdab5
[Synthetics] Omit or include ssl
keys when appropriate for project monitors and private locations ( #149298 )
...
## Summary
Resolves https://github.com/elastic/kibana/issues/149083
1. [Prevents tls fields from being
saved](https://github.com/elastic/kibana/pull/149298/files#diff-56296f634bf379eb71629f426c670cd030d2a15263a59964847c0d10af09a767R14 )
on the Synthetics Integration policy when `is_tls_enabled` is false
2. Ensures `is_tls_enabled` is set properly for project monitors
([http](https://github.com/elastic/kibana/pull/149298/files#diff-0f42bb3b11a6ab864dee3488d5e9f7282adc009a261b3caee743a880b825c766R73 )
and
[tcp](https://github.com/elastic/kibana/pull/149298/files#diff-3ad87e629abc6f17c395e8435c94f0f1a6274c9efea7d24ab81b7635ef0e43dfR69 )).
This ensures that when a monitor is sent to a public location or a
private location, the `ssl` fields are sent or stripped appropriately.
### Testing
1. Create a private location
2. Create 2 lightweight project monitors using the following
configuration
```
- type: tcp
id: 'tls-enabled'
name: 'TLS-Enabled'
hosts: ["8.8.8.8:80"]
ssl:
verification_mode: 'strict'
```
```
- type: tcp
id: 'tls-disabled'
name: 'TLS-Disabled'
hosts: ["8.8.8.8:80"]
```
3. Set these monitors to execute from both a private and public location
via the `monitor` key in your `synthetics.config.ts` file.
```
monitor: {
schedule: 3,
privateLocations: ["YOUR PRIVATE LOCATION"],
locations: ["us_central"], // to test against dev environment
},
```
4. Navigate to the agent policy for the private location and inspect the
full policy. Ensure the Synthetics policy on the agent package policy
does not have `ssl` fields set for ssl disabled monitor. Ensure the
`ssl` fields are set for the ssl enabled monitor.
2023-01-24 14:56:38 -05:00
Steph Milovic
bd940e8d3a
[Security solution] Fix IP/geo location in Top N Flow Table ( #149369 )
2023-01-24 12:41:55 -07:00
Shahzad
02d99a97ee
[Synthetics] Test run steps list metrics- content size ( #149339 )
2023-01-24 20:39:17 +01:00
Paul Tavares
2370b62b99
[Security Solution][Endpoint] Adjust the Response Actions file download API so that it is driven by a file_id
( #149267 )
...
## Summary
- Adjust the file download APIs (info and download) to use a file ID as
a route param instead of having the API calculate the File ID
- Adjusts the UI code to ensure the new APIs are called correctly
2023-01-24 14:36:23 -05:00
Walter Rafelsberger
caec0ed8d8
[ML] Transforms: Use concise fragment syntax. ( #149434 )
...
Refactor to use concise fragment syntax (`<>...</>` instead of `<Fragment>...</Fragment>`) where applicable.
2023-01-24 19:52:18 +01:00
Pablo Machado
d313c950d1
[145663] Refactor explore pages to migrate HoverActions to CellActions ( #148056 )
...
Epic: https://github.com/elastic/kibana/issues/144943
## Summary
Update explore pages to use the new `CellActions` component instead of
`HoverActions `.
### What is included?
* Update the user, host, and network page tables.
<img width="1512" alt="Screenshot 2023-01-17 at 13 12 16"
src="https://user-images.githubusercontent.com/1490444/212896520-f41e9026-cef0-4a37-8bd1-35784a87ca09.png ">
<img width="1482" alt="Screenshot 2023-01-17 at 13 19 34"
src="https://user-images.githubusercontent.com/1490444/212897411-cd3c3ef8-bca0-461b-a1ff-c7dd67159d1b.png ">
* Fields rendered when clicking on "+{N} more"
<img width="248" alt="Screenshot 2023-01-17 at 12 51 38"
src="https://user-images.githubusercontent.com/1490444/212892255-2ecd7050-75f6-4883-b331-1fed527de53f.png ">
### What is NOT included?
* Visualizations
* Fields on details pages. They are also used by the Timeline and need
to be draggable.
* Timeline
* Datagrid tables - Events and Alerts
* Plugins
### 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] 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>
2023-01-24 11:44:43 -07:00
Shahzad
ded5f9a2ca
[Synthetics] Failed tests by step panel ( #149322 )
...
## Summary
Failed tests by step panel
Fixes https://github.com/elastic/kibana/issues/145368
<img width="1523" alt="image"
src="https://user-images.githubusercontent.com/3505601/214053308-458c023e-aaab-4db6-8aa4-a18ce150ce19.png ">
2023-01-24 19:22:46 +01:00
Jorge Sanz
cdc373719a
[Maps] Update EMS resources ( #149331 )
...
* Updates to the latest released version of `@elastic/ems-client`
(8.4.0)
* Updates link to EMS landing page to 8.6
* Passes Kibana version to EMS Client instance to request explicitly to
point to the correct API endpoints. This change is introduced to avoid
needing to keep releasing EMS Client with the rest of the stack.
2023-01-24 10:59:28 -07:00
Quynh Nguyen (Quinn)
b255217c32
[ML] Fix ML page crash due to css string ( #149428 )
...
## Summary
Fix a regression introduced by merge of
https://github.com/elastic/kibana/pull/147322 due to css string not
being wrapped in emotion `css` tag.

### Checklist
Delete any items that are not applicable to this PR.
- [ ] 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 )
- [ ]
[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
- [ ] 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 ))
- [ ] 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 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 ))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers )
### Risk Matrix
Delete this section if it is not applicable to this PR.
Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.
When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:
| Risk | Probability | Severity | Mitigation/Notes |
|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces—unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes—Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx ) |
### For maintainers
- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process )
2023-01-24 10:55:55 -07:00