Skip to content

inspect command does not honour inputs.d external input directory #622

@ChrsMark

Description

@ChrsMark

At 3c2072d support for inputs.d external input directory was added. However elastic-agent inspect command seems to not take into account the inputs.d directory during its execution.

I was checking the code of the command at

and it might misses to include the additional configs like it happens at
discover := discoverer(pathConfigFile, cfg.Settings.Path, externalConfigsGlob())

Since inspect command is really useful for evaluating policies etc it would be nice to provide full access to any additional inputs available.

cc: @kvch

Metadata

Metadata

Assignees

No one assigned

    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