Skip to content

Instantly share code, notes, and snippets.

@zwass
Last active August 7, 2018 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zwass/4627d23dfe1d80de5d1ce4a10c7fbc92 to your computer and use it in GitHub Desktop.
Save zwass/4627d23dfe1d80de5d1ce4a10c7fbc92 to your computer and use it in GitHub Desktop.
osquery etc_hosts table schema
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