Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [Uptime] TLS alerting (#63913) #65211

Merged
merged 1 commit into from
May 5, 2020

Conversation

justinkambic
Copy link
Contributor

Backports the following commits to 7.x:

* Refactor settings form event handling and modify certs fields.

* Fix/improve broken types/unit/integration/api tests.

* Modify default expiration threshold.

* Rename test vars.

* Implement PR feedback.

* Refresh snapshots, fix broken tests/types.

* Remove unnecessary state spreading.

* Add type for settings field errors.

* Refresh test snapshots.

* Improve punctuation.

* Add TLS alert type.

* Add cert API request and runtime type checking.

* Add api test for cert api.

* Add unload command to certs test.

* Extract API params interface to io-ts type.

* Add TLS alert type on server.

* WIP - add state for changing selected alert type.

* Finish adding alert type for client, add server alert summary.

* Add some state variables.

* Update certs summary function to create required values.

* Refresh test snapshots.

* Clean up message generator function.

* Add a comment.

* Update formatting for alert messages, add flags denoting presence of age/expiration data.

* Add relative date information to tls alert messages.

* Clean up more logic in certs request function.

* Fix broken unit tests.

* Move tests for common function to new file.

* Fix logic error in test and add common state fields to tls alerts.

* Extract common state field translations from status check alert.

* Add a comment.

* Add nested context navigation for uptime alert selection.

* Clean up types.

* Fix translation key typo.

* Extract translations from tls alert factory.

* Extract summary messages to translation file.

* Change default tls alert time window from 1w to 1d.

* Remove unnecessary import.

* Simplify page linking.

* Extract a non-trivial component to a dedicated file.

* Simplify create alert copy.

* Fix broken functional test.

* Fix busted types.

* Fix tls query error.

* Allow for alerts toggle button to receive a set of types to display.

* Add alerts toggle button to certs page.

* Fix copy.

* Fixup punctuation in default message to avoid double-period symbols.

* Refresh snapshots.
@justinkambic justinkambic self-assigned this May 5, 2020
@justinkambic justinkambic added Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.8.0 labels May 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

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

@justinkambic justinkambic merged commit 0bc8e3e into elastic:7.x May 5, 2020
@justinkambic justinkambic deleted the backport/7.x/pr-63913 branch May 5, 2020 01:55
@justinkambic justinkambic mentioned this pull request May 5, 2020
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants