<@UA2216WRJ> I’ve wondered the same thing myself, ...
# general
e
@Prakhar I’ve wondered the same thing myself, recently. One approach might be to write a custom Augeas lens to parse your file, and access those contents via the
augeas
table in osquery. I’d love to know if other have other ideas on how to query the contents of a file.
p
Thanks for the suggestion, I was hoping if there's an exisiting feature in osquery to achieve this but nevertheless. If we find any other approach apart from writing cutom tables I'll post it here.
I'll try the augeas table though, seems like a good option