Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /opt/osquery/share/osquery/lenses/ |
Upload File : |
(* Module Sssd Lens for parsing sssd.conf Author: Erinn Looney-Triggs <erinn.looneytriggs@gmail.com> About: License This file is licensed under the LGPL v2+, like the rest of Augeas. About: Configuration files This lens applies to /etc/sssd/sssd.conf. See <filter>. *) module Sssd = autoload xfm let comment = IniFile.comment /[#;]/ "#" let sep = IniFile.sep "=" "=" let entry = IniFile.indented_entry IniFile.entry_re sep comment (* View: title An sssd.conf section title *) let title = IniFile.indented_title_label "target" IniFile.record_label_re (* View: record An sssd.conf record *) let record = IniFile.record title entry (* View: lns The sssd.conf lens *) let lns = ( comment | IniFile.empty )* . (record)* (* View: filter *) let filter = (incl "/etc/sssd/sssd.conf") let xfm = transform lns filter