[Fleet] Invalid agent YAML is generated when quoted text fields are numeric #112896
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Fleet
Fleet team's agent central management project
Team:Fleet
Team label for Observability Data Collection Fleet team
Kibana version: 7.13+ / 8.0
Describe the bug:
Saving a policy fails due to YAML error when a policy variable of type text has a numeric value and it's used inside a quoted string in the package's yml.hbs template.
Steps to reproduce:
my_var
of type text.-or-
1234
or0xABC
.Expected behavior:
No error.
Examples:
This bug is exhibited by the Zoom package (latest version 0.6.0, 0.3.1 in cloud) when setting the Zoom verification token (
secret_value
variable):Also the Bluecoat Director package and many others that build a "host:port" string from two separate variables:
The text was updated successfully, but these errors were encountered: