Does osquery support pacman (Arch Linux) package m...
# general
a
Does osquery support pacman (Arch Linux) package manager?
n
Copy code
[~] ❯ pacman -Ss osquery                                                                         [14:24]
community/osquery 4.1.2-1
    SQL powered operating system instrumentation, monitoring, and analytics
a
I mean the other way. Does
osquery
tool able to read pacman packages info? I am looking at
osquery/tables/system/linux
sources and see it has rpm_packages that handles RPM, deb_packages for Debian. But I do not see anything Arch specific here.
n
Ah okay, yeah, I'm not aware of any built-in support for that.
a
I don't think CMake supports arch packages
@nyanshak
pacman -Si osquery | grep Packager
😄
n
😄
disappears
😱 1
a
If you find a way to add support for it, then we can generate them too
we will eventually have signing
with the upstream key
s
He means if osquery has a table to display installed Arch packages
we don't
a
oops, i only read the message in the channel
if there's any library that can be integrated (we can't call command line tools) then it's easy to implement
a
@alessandrogario there is a library that implements the package manager logic. It called usr/lib/libalpm.so it is part of
pacman
package.