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
[Synthetics] omit ssl fields when ssl is disabled #149087
[Synthetics] omit ssl fields when ssl is disabled #149087
Conversation
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/uptime (Team:uptime) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Tested on main and works as expected.
## Summary Resolves #149083 Omits SSL fields when TLS is disabled. ### Testing Testing should be done both in the Uptime and Synthetics app 1. Create a TCP monitor in the Uptime and synthetics app with the following host `8.8.8.8:80` 2. Navigate to the monitor details page for each monitor, either in the Synthetics or Uptime app. 3. Confirm that the url for the monitor is `tcp://8.8.8.8:80`, not `ssl:/8.8.8.8:80`. (cherry picked from commit 55bb5c3)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
## Summary Resolves elastic#149083 Omits SSL fields when TLS is disabled. ### Testing Testing should be done both in the Uptime and Synthetics app 1. Create a TCP monitor in the Uptime and synthetics app with the following host `8.8.8.8:80` 2. Navigate to the monitor details page for each monitor, either in the Synthetics or Uptime app. 3. Confirm that the url for the monitor is `tcp://8.8.8.8:80`, not `ssl:/8.8.8.8:80`.
…49228) # Backport This will backport the following commits from `main` to `8.6`: - [[Synthetics] omit ssl fields when ssl is disabled (#149087)](#149087) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dominique Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2023-01-19T14:13:55Z","message":"[Synthetics] omit ssl fields when ssl is disabled (#149087)\n\n## Summary\r\nResolves #149083 SSL fields when TLS is disabled.\r\n\r\n### Testing\r\nTesting should be done both in the Uptime and Synthetics app\r\n1. Create a TCP monitor in the Uptime and synthetics app with the\r\nfollowing host `8.8.8.8:80`\r\n2. Navigate to the monitor details page for each monitor, either in the\r\nSynthetics or Uptime app.\r\n3. Confirm that the url for the monitor is `tcp://8.8.8.8:80`, not\r\n`ssl:/8.8.8.8:80`.","sha":"55bb5c307015662fd309c5cc86ebbf59fb6f8e77","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:uptime","auto-backport","v8.7.0","v8.6.1"],"number":149087,"url":"#149087 omit ssl fields when ssl is disabled (#149087)\n\n## Summary\r\nResolves #149083 SSL fields when TLS is disabled.\r\n\r\n### Testing\r\nTesting should be done both in the Uptime and Synthetics app\r\n1. Create a TCP monitor in the Uptime and synthetics app with the\r\nfollowing host `8.8.8.8:80`\r\n2. Navigate to the monitor details page for each monitor, either in the\r\nSynthetics or Uptime app.\r\n3. Confirm that the url for the monitor is `tcp://8.8.8.8:80`, not\r\n`ssl:/8.8.8.8:80`.","sha":"55bb5c307015662fd309c5cc86ebbf59fb6f8e77"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"#149087 omit ssl fields when ssl is disabled (#149087)\n\n## Summary\r\nResolves #149083 SSL fields when TLS is disabled.\r\n\r\n### Testing\r\nTesting should be done both in the Uptime and Synthetics app\r\n1. Create a TCP monitor in the Uptime and synthetics app with the\r\nfollowing host `8.8.8.8:80`\r\n2. Navigate to the monitor details page for each monitor, either in the\r\nSynthetics or Uptime app.\r\n3. Confirm that the url for the monitor is `tcp://8.8.8.8:80`, not\r\n`ssl:/8.8.8.8:80`.","sha":"55bb5c307015662fd309c5cc86ebbf59fb6f8e77"}},{"branch":"8.6","label":"v8.6.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
Failing on Uptime
|
Raised #150949 |
#152239 and #150949 have been merged into 8.7. @emilioalvap You can retest if you'd like |
Post-FF Testing LGTM |
Summary
Resolves #149083
Omits SSL fields when TLS is disabled.
Testing
Testing should be done both in the Uptime and Synthetics app
8.8.8.8:80
tcp://8.8.8.8:80
, notssl:/8.8.8.8:80
.