KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/osquery/share/osquery/lenses/avahi.aug
(*
Module: Avahi
 Avahi module for Augeas

 Author: Athir Nuaimi <athir@nuaimi.com>

 avahi-daemon.conf is a standard INI File.
*)

module Avahi =
  autoload xfm

(************************************************************************
 * Group: INI File settings
 * avahi-daemon.conf only supports "# as commentary and "=" as separator
 *************************************************************************)
(* View: comment *)
let comment    = IniFile.comment "#" "#"
(* View: sep *)
let sep        = IniFile.sep "=" "="

(************************************************************************
 * Group: Entry
 *************************************************************************)
(* View: entry *)
let entry   = IniFile.indented_entry IniFile.entry_re sep comment

(************************************************************************
 * Group: Record
 *************************************************************************)
(* View: title *)
let title   = IniFile.indented_title IniFile.record_re
(* View: record *)
let record  = IniFile.record title entry

(************************************************************************
 * Group: Lens and filter
 *************************************************************************)
(* View: lns *)
let lns     = IniFile.lns record comment

(* View: filter *)
let filter = (incl "/etc/avahi/avahi-daemon.conf")

let xfm = transform lns filter

Anon7 - 2021