Skip to content

Conversation

@leehinman
Copy link

Adds support for a new environment variable ELASTIC_PACKAGE_KIBANA_POLICY_OVERRIDES

If this variable is set and is a path to a yaml file, then the contents of the yaml file will be used for the kibana policy overrides in the system tests.

This allows you to test how integrations will behave with experimental settings.

Example

ELASTIC_PACKAGE_KIBANA_POLICY_OVERRIDES=/tmp/overrides.yml elastic-package test system

and the /tmp/overrides.yml file has the following contents:

agent:
  monitoring:
    _runtime_experimental: otel

Will result in the system test running with the agent monitoring using the otel runtime.

Closes #2975

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

@leehinman leehinman requested a review from jsoriano November 21, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a way to enable the beats receivers feature flag for package tests

2 participants