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

new plugin to get network data from SYSTEM hive #250

Merged
merged 5 commits into from
May 25, 2023

Conversation

ZarKyo
Copy link
Contributor

@ZarKyo ZarKyo commented May 19, 2023

These keys are used to obtain information on the network interfaces

entries = {
"interface_name": interface.name,
'last_modified': convert_wintime(interface.header.last_modified, as_json=self.as_json),
"dhcp": "enable" if interface.get_value("EnableDHCP") == 1 else "disable",
Copy link
Owner

Choose a reason for hiding this comment

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

I would change the variable name to dhcp_enabled and convert the variable to boolean

@ZarKyo
Copy link
Contributor Author

ZarKyo commented May 22, 2023

I'm sorry. I did a lot of errors. I fixed that.

@mkorman90 mkorman90 merged commit b248129 into mkorman90:master May 25, 2023
4 checks passed
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.

None yet

2 participants