Skip to content

Conversation

@semd
Copy link
Contributor

@semd semd commented Sep 1, 2021

Backports the following commits to 7.15:

MadameSheema and others added 5 commits August 31, 2021 20:10
…#110609)

* updates loock-back time

* updates loock-back value for 'expectedExportedRule'
* wip to remove rbac

* Revert "[Cases] Include rule registry client for updating alert statuses (elastic#108588)"

This reverts commit 1fd7038.

This leaves the rule registry mock changes

* remove rbac on Trend/Count alert

* update detection api for status

* remove @kbn-alerts packages

* fix leftover

* Switching cases to leverage update by query for alert status

* Adding missed files

* fix bad logic

* updating tests for use_alerts_privileges

* remove index alias/fields

* fix types

* fix plugin to get the right index names

* left over of alis on template

* forget to use current user for create/read route index

* updated alerts page to not show table when no privileges and updates to tests

* fix bug when switching between o11y and security solution

* updates tests and move to use privileges page when user tries to access alerts without proper access

* updating jest tests

* pairing with yara

* bring back kbn-alerts after discussion with the team

* fix types

* fix index field for o11y

* fix bug with updating index priv state

* fix i18n issue and update api docs

* fix refresh on alerts

* fix render view on alerts

* updating tests and checking for null in alerts page to not show no privileges page before load

* fix details rules

Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
Co-authored-by: Yara Tercero <yara.tercero@elastic.co>
# Conflicts:
#	x-pack/plugins/security_solution/cypress/integration/detection_alerts/alerts_details.spec.ts
@semd semd added the backport This PR is a backport of another PR label Sep 1, 2021
@semd semd enabled auto-merge (squash) September 1, 2021 09:02
@semd semd disabled auto-merge September 1, 2021 11:48
@semd
Copy link
Contributor Author

semd commented Sep 1, 2021

@elasticmachine merge upstream

@semd semd enabled auto-merge (squash) September 1, 2021 13:31
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 2373 2366 -7

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
timelines 845 846 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 6.6MB 6.5MB -6.7KB
timelines 438.0KB 438.2KB +208.0B
total -6.5KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
core 425.7KB 425.8KB +95.0B
securitySolution 211.7KB 211.4KB -264.0B
timelines 307.7KB 308.2KB +528.0B
total +359.0B
Unknown metric groups

API count

id before after diff
timelines 966 967 +1

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@semd semd merged commit 441f276 into elastic:7.15 Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants