Skip to content

Elastic Agent Docker: agent always picks up the newest policy #23928

@mtojek

Description

@mtojek

Hi,

I'm working on the Kubernetes integration and just spotted a weird issue. Steps to reproduce:

  1. Create a policy A.
  2. Run new Docker container with Elastic Agent. The agent will get enrolled and will be assigned the newest available policy (policy A, not Default).

If I'm working on a policy which is not ready yet and suddenly a new agent boots up, it should pick up the Default policy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions