I believe there is an issue with the agent handlebars template for the process.env.whitelist field, there isn't a key before printing the items:
|
process.include_cpu_ticks: {{process.include_cpu_ticks}} |
|
{{#if process.env.whitelist}} |
|
{{#each process.env.whitelist}} |
|
- {{this}} |
|
{{/each}} |
|
{{/if}} |
This is causing the agent yaml that Fleet generates to be malformed:

I believe there is an issue with the agent handlebars template for the
process.env.whitelistfield, there isn't a key before printing the items:integrations/packages/system/data_stream/process/agent/stream/stream.yml.hbs
Lines 7 to 12 in aed6e1c
This is causing the agent yaml that Fleet generates to be malformed: