Skip to content
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] GET /api/fleet/agents/:id should return audit_unenrolled_reason in response body #194884

Open
ycombinator opened this issue Oct 3, 2024 · 1 comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@ycombinator
Copy link
Contributor

Describe the feature:

In elastic/fleet-server#3818, we introduced a new Fleet Server API, POST /api/fleet/agents/:id/audit/unenroll. When called by Agent, this API records a new audit_unenrolled_reason field in .fleet-agents documents.

It would be convenient if the GET /api/fleet/agents/:id API returned this audit_unenrolled_reason field in its response body.

Describe a specific use case for the feature:

For writing E2E tests (see https://github.com/elastic/elastic-agent/pull/5302/files#r1738582241) and potentially for displaying in the Fleet UI.

@ycombinator ycombinator added the Team:Fleet Team label for Observability Data Collection Fleet team label Oct 3, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

2 participants