Last active
August 7, 2018 23:24
-
-
Save zwass/4627d23dfe1d80de5d1ce4a10c7fbc92 to your computer and use it in GitHub Desktop.
osquery etc_hosts table schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table_name("etc_hosts", aliases=["hosts"]) | |
description("Line-parsed /etc/hosts.") | |
schema([ | |
Column("address", TEXT, "IP address mapping"), | |
Column("hostnames", TEXT, "Raw hosts mapping"), | |
]) | |
attributes(cacheable=True) | |
implementation("etc_hosts@genEtcHosts") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment