Skip to content

Conversation

@alexreal1314
Copy link
Contributor

@alexreal1314 alexreal1314 commented Nov 9, 2025

Summary

This PR addresses the following issue.

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

Screen Recording - Fix

cloudFormation_bug_fix.mov

@alexreal1314 alexreal1314 force-pushed the 14627-fleet-cloudformation-url branch from 11fb078 to b4994a0 Compare November 9, 2025 21:56
@alexreal1314 alexreal1314 force-pushed the 14627-fleet-cloudformation-url branch from b4994a0 to 8d6e209 Compare November 9, 2025 22:36
@alexreal1314 alexreal1314 self-assigned this Nov 9, 2025
@alexreal1314 alexreal1314 added ci:cloud-deploy Create or update a Cloud deployment ci:cloud-redeploy Always create a new Cloud deployment Team:Cloud Security Cloud Security team related labels Nov 9, 2025
@kibanamachine
Copy link
Contributor

Project deployments require a Github label, please add one or more of ci:project-deploy-(elasticsearch|observability|security) and trigger the job through the checkbox again.

@kibanamachine
Copy link
Contributor

PR Cloud deployment started at: https://buildkite.com/elastic/kibana-deploy-cloud-from-pr/builds/546

@alexreal1314 alexreal1314 marked this pull request as ready for review November 10, 2025 07:27
@alexreal1314 alexreal1314 requested review from a team as code owners November 10, 2025 07:27
@elasticmachine
Copy link
Contributor

Pinging @elastic/contextual-security-apps (Team:Cloud Security)

@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Nov 10, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Copy link
Contributor

@kfirpeled kfirpeled left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

.replace('KIBANA_VERSION', agentVersion);
.replace('FLEET_ENROLLMENT_TOKEN', encodeURIComponent(enrollmentToken))
.replace('FLEET_URL', encodeURIComponent(fleetUrl))
.replace('KIBANA_VERSION', encodeURIComponent(agentVersion));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pay attention ACCOUNT_TYPE is replaced the value is not encoded to URI component

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kfirpeled encodeURIComponent doesn't change the value in this case for the possible values, but Im going to encode it as well and check it.

@alexreal1314 alexreal1314 added the ci:project-deploy-security Create a Security Serverless Project label Nov 10, 2025
@alexreal1314
Copy link
Contributor Author

/ci

Copy link
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code LGTM

@elasticmachine
Copy link
Contributor

elasticmachine commented Nov 10, 2025

⏳ Build in-progress

History

cc @alexreal1314

@alexreal1314 alexreal1314 merged commit 370ec0e into main Nov 10, 2025
14 checks passed
@alexreal1314 alexreal1314 deleted the 14627-fleet-cloudformation-url branch November 10, 2025 19:26
@alexreal1314 alexreal1314 added backport:version Backport to applied version labels v9.2.1 labels Nov 10, 2025
@alexreal1314
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.2

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

alexreal1314 added a commit that referenced this pull request Nov 11, 2025
# Backport

This will backport the following commits from `main` to `9.2`:
- [add encoding of cloudFormation url params
(#242365)](#242365)

<!--- Backport version: 10.1.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alex
Prozorov","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-11-10T19:26:34Z","message":"add
encoding of cloudFormation url params (#242365)\n\n## Summary\n\nThis PR
addresses the
following\n[issue](https://github.com/elastic/security-team/issues/14627).\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [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\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n**Screen Recording -
Fix**\n\n\nhttps://github.com/user-attachments/assets/85687888-25cf-4a26-b0fb-91a3c2c5ef46","sha":"370ec0e3298a60a778070b7b04cc2723198f9a63","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","Team:Cloud
Security","ci:cloud-deploy","ci:cloud-redeploy","ci:project-deploy-security","backport:version","v9.3.0","backport:version
+ v9.2.0","v9.2.1"],"title":"add encoding of cloudFormation url
params","number":242365,"url":"https://github.com/elastic/kibana/pull/242365","mergeCommit":{"message":"add
encoding of cloudFormation url params (#242365)\n\n## Summary\n\nThis PR
addresses the
following\n[issue](https://github.com/elastic/security-team/issues/14627).\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [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\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n**Screen Recording -
Fix**\n\n\nhttps://github.com/user-attachments/assets/85687888-25cf-4a26-b0fb-91a3c2c5ef46","sha":"370ec0e3298a60a778070b7b04cc2723198f9a63"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/242365","number":242365,"mergeCommit":{"message":"add
encoding of cloudFormation url params (#242365)\n\n## Summary\n\nThis PR
addresses the
following\n[issue](https://github.com/elastic/security-team/issues/14627).\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [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\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n**Screen Recording -
Fix**\n\n\nhttps://github.com/user-attachments/assets/85687888-25cf-4a26-b0fb-91a3c2c5ef46","sha":"370ec0e3298a60a778070b7b04cc2723198f9a63"}},{"branch":"9.2","label":"v9.2.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version + v9.2.0 backport:version Backport to applied version labels ci:cloud-deploy Create or update a Cloud deployment ci:cloud-redeploy Always create a new Cloud deployment ci:project-deploy-security Create a Security Serverless Project release_note:fix Team:Cloud Security Cloud Security team related Team:Fleet Team label for Observability Data Collection Fleet team v9.2.1 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants