| Server IP : 108.167.183.253 / Your IP : 216.73.216.79 Web Server : Apache System : Linux gator4209.hostgator.com 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 18 06:09:16 EDT 2026 x86_64 User : raghunath ( 2558) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /opt/osquery/share/osquery/lenses/ |
Upload File : |
(*
ODBC lens for Augeas
Author: Marc Fournier <marc.fournier@camptocamp.com>
odbc.ini and odbcinst.ini are standard INI files.
*)
module Odbc =
autoload xfm
(************************************************************************
* INI File settings
* odbc.ini only supports "# as commentary and "=" as separator
************************************************************************)
let comment = IniFile.comment "#" "#"
let sep = IniFile.sep "=" "="
(************************************************************************
* ENTRY
* odbc.ini uses standard INI File entries
************************************************************************)
let entry = IniFile.indented_entry IniFile.entry_re sep comment
(************************************************************************
* RECORD
* odbc.ini uses standard INI File records
************************************************************************)
let title = IniFile.indented_title IniFile.record_re
let record = IniFile.record title entry
(************************************************************************
* LENS & FILTER
************************************************************************)
let lns = IniFile.lns record comment
let filter = incl "/etc/odbc.ini"
. incl "/etc/odbcinst.ini"
let xfm = transform lns filter