Exemplo n.º 1
0
 def columns(self):
     return [
             osquery.TableColumn(name="Config File", type=osquery.STRING),
             osquery.TableColumn(name="Plugin Manager", type=osquery.STRING),
             osquery.TableColumn(name="Plugins Count", type=osquery.STRING),
             osquery.TableColumn(name="Extension Socket", type=osquery.STRING),
     ]
 def columns(self):
     return [
         osquery.TableColumn(name="host", type=osquery.STRING),
         osquery.TableColumn(name="topic", type=osquery.STRING),
         osquery.TableColumn(name="metric", type=osquery.STRING),
         osquery.TableColumn(name="value", type=osquery.STRING),
     ]
Exemplo n.º 3
0
 def columns(self):
     return [
         osquery.TableColumn(name="ssdp_ip", type=osquery.STRING),
         osquery.TableColumn(name="location", type=osquery.STRING),
         osquery.TableColumn(name="st", type=osquery.STRING),
         osquery.TableColumn(name="usn", type=osquery.STRING)
     ]
Exemplo n.º 4
0
 def columns(self):
     return [
         osquery.TableColumn(name="name", type=osquery.STRING),
         osquery.TableColumn(name="ready", type=osquery.STRING),
         osquery.TableColumn(name="status", type=osquery.STRING),
         osquery.TableColumn(name="restarts", type=osquery.STRING),
         osquery.TableColumn(name="age", type=osquery.STRING),
     ]
Exemplo n.º 5
0
 def columns(self):
     return [
         osquery.TableColumn(name="Plugin Name", type=osquery.STRING),
         osquery.TableColumn(name="Github Stars", type=osquery.STRING),
         osquery.TableColumn(name="VimAwesome Category", type=osquery.STRING),
         osquery.TableColumn(name="Open Issues", type=osquery.STRING),
         osquery.TableColumn(name="Closed Issues", type=osquery.STRING),
     ]
Exemplo n.º 6
0
 def columns(self):
     return [
         osquery.TableColumn(name="Time", type=osquery.STRING),
         osquery.TableColumn(name="File's path", type=osquery.STRING),
         osquery.TableColumn(name="Filename", type=osquery.STRING),
         osquery.TableColumn(name="Position row", type=osquery.STRING),
         osquery.TableColumn(name="Position column", type=osquery.STRING)
     ]
Exemplo n.º 7
0
 def columns(self):
     """
     :return:
     stdout will return stdout message.
     stderr will return stderr message
     action can be "iptable_rule" or "process_kill"
     arguments are the command line arguments passed from clients.
     """
     return [
         osquery.TableColumn(name="action", type=osquery.STRING),
         osquery.TableColumn(name="arguments", type=osquery.STRING),
         osquery.TableColumn(name="stdout", type=osquery.STRING),
         osquery.TableColumn(name="stderr", type=osquery.STRING),
     ]
Exemplo n.º 8
0
 def columns(self):
     return [
         osquery.TableColumn(name="name", type=osquery.STRING),
         osquery.TableColumn(name="type", type=osquery.STRING),
         osquery.TableColumn(name="cluster-ip", type=osquery.STRING),
         osquery.TableColumn(name="external-ip", type=osquery.STRING),
         osquery.TableColumn(name="port", type=osquery.STRING),
         osquery.TableColumn(name="age", type=osquery.STRING),
     ]
Exemplo n.º 9
0
 def columns(self):
     """
     Input: self
     Output: List of columns for the table and there type
     """
     return [
         osquery.TableColumn(name="src_ip", type=osquery.STRING),
         osquery.TableColumn(name="src_port", type=osquery.INTEGER),
         osquery.TableColumn(name="dst_ip", type=osquery.STRING),
         osquery.TableColumn(name="dst_port", type=osquery.INTEGER),
         osquery.TableColumn(name="protocol", type=osquery.INTEGER),
         osquery.TableColumn(name="community_id", type=osquery.STRING)
     ]
Exemplo n.º 10
0
 def columns(self):
     return [
             osquery.TableColumn(name="RunTime in Sec", type=osquery.STRING),
             osquery.TableColumn(name="RunTime in MS", type=osquery.STRING),
     ]
 def columns(self):
     return [
         osquery.TableColumn(name="foo", type=osquery.STRING),
         osquery.TableColumn(name="baz", type=osquery.STRING),
     ]
Exemplo n.º 12
0
 def columns(self):
     return [
         osquery.TableColumn(name="Time", type=osquery.STRING),
         osquery.TableColumn(name="Command", type=osquery.STRING),
     ]
Exemplo n.º 13
0
 def columns(self):
     return [
         osquery.TableColumn(name="Time", type=osquery.STRING),
         osquery.TableColumn(name="Path", type=osquery.STRING),
         osquery.TableColumn(name="Filename", type=osquery.STRING),
     ]