Commit a52796f
# Backport
This will backport the following commits from `main` to `9.4`:
- [[Actions] Fix HTTP connector TLS options through proxies
(#269898)](#269898)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Shahar
Glazner","email":"shaharglazner@gmail.com"},"sourceCommit":{"committedDate":"2026-05-20T08:50:22Z","message":"[Actions]
Fix HTTP connector TLS options through proxies (#269898)\n\n##
Summary\n- For HTTPS requests through an HTTP proxy, forward target TLS
options\nto the CONNECT-upgraded request created by
`HttpsProxyAgent`.\n- Ensures connector `verificationMode: none` and
per-request SSL\noverrides like `fetcher.skip_ssl_verification` are
honored when the\nproxy performs TLS inspection.\n- Adds a regression
test covering target SSL overrides through the proxy\nagent
callback.\n\n## Test plan\n- `node
scripts/jest\nsrc/platform/packages/shared/kbn-actions-utils/utils/get_custom_agents.test.ts`\n-
`node scripts/check_changes.ts`\n- Manually reproduced with local
mitmproxy before the fix and verified\n`_execute` succeeds after the
fix.\n\n## References\nCloses elastic/security-team#17454\nCloses
https://github.com/elastic/kibana/issues/196602\n\nMade with
[Cursor](https://cursor.com)\n\nCo-authored-by: Cursor
<cursoragent@cursor.com>","sha":"4783bfafd2d0e25d59d5f2a835ef5f84defd1333","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport:all-open","Team:One
Workflow","v9.5.0"],"title":"[Actions] Fix HTTP connector TLS options
through
proxies","number":269898,"url":"https://github.com/elastic/kibana/pull/269898","mergeCommit":{"message":"[Actions]
Fix HTTP connector TLS options through proxies (#269898)\n\n##
Summary\n- For HTTPS requests through an HTTP proxy, forward target TLS
options\nto the CONNECT-upgraded request created by
`HttpsProxyAgent`.\n- Ensures connector `verificationMode: none` and
per-request SSL\noverrides like `fetcher.skip_ssl_verification` are
honored when the\nproxy performs TLS inspection.\n- Adds a regression
test covering target SSL overrides through the proxy\nagent
callback.\n\n## Test plan\n- `node
scripts/jest\nsrc/platform/packages/shared/kbn-actions-utils/utils/get_custom_agents.test.ts`\n-
`node scripts/check_changes.ts`\n- Manually reproduced with local
mitmproxy before the fix and verified\n`_execute` succeeds after the
fix.\n\n## References\nCloses elastic/security-team#17454\nCloses
https://github.com/elastic/kibana/issues/196602\n\nMade with
[Cursor](https://cursor.com)\n\nCo-authored-by: Cursor
<cursoragent@cursor.com>","sha":"4783bfafd2d0e25d59d5f2a835ef5f84defd1333"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.5.0","branchLabelMappingKey":"^v9.5.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/269898","number":269898,"mergeCommit":{"message":"[Actions]
Fix HTTP connector TLS options through proxies (#269898)\n\n##
Summary\n- For HTTPS requests through an HTTP proxy, forward target TLS
options\nto the CONNECT-upgraded request created by
`HttpsProxyAgent`.\n- Ensures connector `verificationMode: none` and
per-request SSL\noverrides like `fetcher.skip_ssl_verification` are
honored when the\nproxy performs TLS inspection.\n- Adds a regression
test covering target SSL overrides through the proxy\nagent
callback.\n\n## Test plan\n- `node
scripts/jest\nsrc/platform/packages/shared/kbn-actions-utils/utils/get_custom_agents.test.ts`\n-
`node scripts/check_changes.ts`\n- Manually reproduced with local
mitmproxy before the fix and verified\n`_execute` succeeds after the
fix.\n\n## References\nCloses elastic/security-team#17454\nCloses
https://github.com/elastic/kibana/issues/196602\n\nMade with
[Cursor](https://cursor.com)\n\nCo-authored-by: Cursor
<cursoragent@cursor.com>","sha":"4783bfafd2d0e25d59d5f2a835ef5f84defd1333"}}]}]
BACKPORT-->
Co-authored-by: Shahar Glazner <shaharglazner@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 412dca0 commit a52796f
2 files changed
Lines changed: 78 additions & 12 deletions
File tree
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
55 | 99 | | |
56 | 100 | | |
57 | 101 | | |
| |||
Lines changed: 34 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
36 | 54 | | |
37 | 55 | | |
38 | 56 | | |
| |||
137 | 155 | | |
138 | 156 | | |
139 | 157 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
150 | 172 | | |
151 | 173 | | |
152 | | - | |
| 174 | + | |
153 | 175 | | |
154 | 176 | | |
155 | | - | |
| 177 | + | |
156 | 178 | | |
157 | 179 | | |
158 | 180 | | |
| |||
0 commit comments