-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
(Windows) New table: default_environment #5441
Conversation
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.
Thank you @woodruffw for this contribution!
Just one small question about code changes. Also let me run more tests on it and we good to merge it.
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.
@akindyakov has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@woodruffw has updated the pull request. Re-import the pull request |
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.
@akindyakov has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
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.
@akindyakov has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This has also been rebased and is good for another review (cc @alessandrogario / @theopolis / @Smjert). |
We've addressed the CI failure. If you don't mind rebasing onto master, this should fix the issue. |
|
||
namespace osquery { | ||
namespace tables { | ||
static std::string kEnvironmentKey = |
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.
const
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.
doh
Adds the
default_environment
table, which contains rows of default environment variables added to each process on initialization by Windows.This table proxies and extrapolates its contents from the
registry
table.