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

Add status to /id response, and include enrollment status #1637

Merged

Conversation

RebeccaMahany
Copy link
Contributor

Building on #1632 -- make enrollment status available via /id response

Copy link
Contributor

@James-Pickett James-Pickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try

Comment on lines +30 to +32
status struct {
EnrollmentStatus string
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like an okay PoC, but my hunch is if this grows we'll want to centralize what our status is. Unclear if that's going to be knapsack.Status, control.Status, or agent.Status depends a bit on where the brain is.

@RebeccaMahany RebeccaMahany added this pull request to the merge queue Mar 4, 2024
Merged via the queue into kolide:main with commit 67a9019 Mar 4, 2024
30 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/localserver-enrollment-status branch March 4, 2024 18:29
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.

3 participants