-
Notifications
You must be signed in to change notification settings - Fork 8.3k
[Fleet] Allow to overrides agent policy #159414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fleet] Allow to overrides agent policy #159414
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
…-ref HEAD~1..HEAD --fix'
@cmacknz that new API allow to configure any key of the agent policy in Fleet, I tried to configure the |
Pinging @elastic/fleet (Team:Fleet) |
x-pack/plugins/fleet/common/openapi/components/schemas/agent_policy.yaml
Outdated
Show resolved
Hide resolved
…kibana into feature-agent-policy-overrides
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with the condition to find out why the override is not applied on the agent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SO changes LGTM
@juliaElastic @cmacknz I created the following issue for the |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @nchaulet |
Summary
Resolve #158699
Add a new property
overrides
to the agent policy API.We do not allow to override
inputs
this will throw a 400.How to test?
PUT /api/fleet/agent_polcies/{id}
API add some agent properties insideoverrides
Todo