Skip to content

Comments

[7.x] [Monitoring] Migrate license expiration alert to Kibana alerting (#54306)#56677

Merged
chrisronline merged 3 commits intoelastic:7.xfrom
chrisronline:backport/7.x/pr-54306
Feb 4, 2020
Merged

[7.x] [Monitoring] Migrate license expiration alert to Kibana alerting (#54306)#56677
chrisronline merged 3 commits intoelastic:7.xfrom
chrisronline:backport/7.x/pr-54306

Conversation

@chrisronline
Copy link
Contributor

Backports the following commits to 7.x:

…stic#54306)

* License expiration

* Flip off

* Only require alerting and actions if enabled

* Support date formating and timezones in the alert UI messages, support ccs better

* Fix status tests

* Fix up front end tests

* Fix linting, and switch this back

* Add this back in so legacy alerts continue to work

* Fix type issues

* Handle CCS better

* Code cleanup

* Fix type issues

* Flip this off, and fix test

* Moved the email address config to advanced settings, but need help with test failures and typescript

* Fix issue with task manager

* Deprecate email_address

* Use any until we can figure out this TS issue

* Fix type issue

* More tests

* Fix mocha tests

* Use mock instead of any

* I'm not sure why these changed...

* Provide timezone in moment usage in tests for consistency

* Fix type issue

* Change how we get dateFormat and timezone

* Change where we calculate the dates to show in the alerts UI

* Show deprecation warning based on the feature toggle

* Ensure we are using UTC

* PR feedback

* Only add this if the feature flag is enabled

* Fix tests

* Ensure we only attempt to look this up if the feature flag is enabled

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@chrisronline chrisronline added the backport This PR is a backport of another PR label Feb 3, 2020
@tylersmalley
Copy link
Member

@elasticmachine merge upstream

@chrisronline
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@chrisronline chrisronline merged commit 1601403 into elastic:7.x Feb 4, 2020
@chrisronline chrisronline deleted the backport/7.x/pr-54306 branch February 4, 2020 14:39
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