-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fix Code Scanning Alert #1292 #202125
Fix Code Scanning Alert #1292 #202125
Conversation
@@ -117,10 +117,12 @@ describe('assignToPaths', () => { | |||
assignToPaths(paths, '/foo', {}); | |||
assignToPaths(paths, '/bar/{id?}', {}); |
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.
I actually wonder if this type of path should translate into 2: /bar
and /bar/{id}
. But that's unrelated to this PR.
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.
++ it should, thanks for adding that check
💚 Build Succeeded
Metrics [docs]
cc @afharo |
@@ -117,10 +117,12 @@ describe('assignToPaths', () => { | |||
assignToPaths(paths, '/foo', {}); | |||
assignToPaths(paths, '/bar/{id?}', {}); |
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.
++ it should, thanks for adding that check
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12084865691 |
## Summary Resolves [elastic#1292](elastic/kibana-team#1292) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit 841d052)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [Fix Code Scanning Alert #1292 (#202125)](#202125) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alejandro Fernández Haro","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-29T12:35:49Z","message":"Fix Code Scanning Alert #1292 (#202125)\n\n## Summary\n\nResolves [#1292](https://github.com/elastic/kibana-team/issues/1292)\n\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"841d052776e5e9e703ce69f0161bc21e49446792","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"title":"Fix Code Scanning Alert #1292","number":202125,"url":"https://github.com/elastic/kibana/pull/202125","mergeCommit":{"message":"Fix Code Scanning Alert #1292 (#202125)\n\n## Summary\n\nResolves [#1292](https://github.com/elastic/kibana-team/issues/1292)\n\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"841d052776e5e9e703ce69f0161bc21e49446792"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202125","number":202125,"mergeCommit":{"message":"Fix Code Scanning Alert #1292 (#202125)\n\n## Summary\n\nResolves [#1292](https://github.com/elastic/kibana-team/issues/1292)\n\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"841d052776e5e9e703ce69f0161bc21e49446792"}}]}] BACKPORT--> Co-authored-by: Alejandro Fernández Haro <[email protected]>
## Summary Resolves [elastic#1292](elastic/kibana-team#1292) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Summary
Resolves #1292
Checklist