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

James/interactive mode #841

Merged
merged 17 commits into from
Jul 20, 2022

Conversation

James-Pickett
Copy link
Contributor

WIP of working launcher interactive mode

Screen.Recording.2022-06-30.at.8.45.45.AM.mov

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.

I like this approach, I think i'll be cleaner than what I was doing in runtime.

Some quick early morning comments.

Do you want to get Augeas in before merge, or update after? (It will need the tmpdir)

@James-Pickett James-Pickett marked this pull request as ready for review July 19, 2022 21:09
directionless
directionless previously approved these changes Jul 20, 2022
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.

Seems like a reasonable first cut. I think there's followup work in:

  • windows
  • augeas
  • ATC configs

Comment on lines +1 to +2
//go:build !windows
// +build !windows
Copy link
Contributor

Choose a reason for hiding this comment

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

I realized that you're using a socket, which won't work on windows. Windows probably needs a named pipe. This is in pkg/osquery/runtime/runtime_helpers_windows.go

I think it would be fine to ship as is, and then add windows support

@James-Pickett James-Pickett merged commit 639257c into kolide:master Jul 20, 2022
@James-Pickett James-Pickett deleted the james/interactive-mode branch July 20, 2022 20:17
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.

2 participants