diff --git a/libbeat/docs/release-notes/breaking/breaking-7.7.asciidoc b/libbeat/docs/release-notes/breaking/breaking-7.7.asciidoc index 201af453dea..4562f580be7 100644 --- a/libbeat/docs/release-notes/breaking/breaking-7.7.asciidoc +++ b/libbeat/docs/release-notes/breaking/breaking-7.7.asciidoc @@ -12,9 +12,26 @@ //tag::notable-breaking-changes[] -//[float] -//==== Breaking change +[float] +==== Environment variables can no longer reference other environment variables -//Description +Environment variables are still supported in the {beats} configuration. +However, starting in Version 7.7.0, an environment variable cannot reference +another environment variable or event in the configuration. + +For example, if you have `export VAR1=${VAR2}` and use `var: ${VAR1}` in +the configuration, this results in `var: "${VAR2}"`, where +`${VAR2}` is not expanded. + +[float] +==== Docker and kubernetes processors no longer allowed in script processor + +Prior to this release, it was possible to use the `add_docker_metadata` and +`add_kubernetes_metadata` processors in the `script` processor. This was not a +good practice because it sometimes resulted in memory and file descriptor leaks. + +Starting in version 7.7.0, scripts that use these processors will fail. To +resolve this problem, define the processors in your configuration instead of the +script. // end::notable-breaking-changes[]