GitHub
02/07/2023, 11:39 PMexport OSQUERY_KEY=1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B
sudo gpg --no-default-keyring --keyring /etc/apt/keyrings/osquery.gpg --keyserver <hkp://keyserver.ubuntu.com> $OSQUERY_KEY
sudo add-apt-repository 'deb [arch=amd64 signed-by=/etc/apt/keyrings/osquery.gpg] <https://pkg.osquery.io/deb> deb main'
sudo apt install osquery
Other changes to this block:
1. Removed apt-get update
step, since add-apt-repository
does this automatically
2. Changed apt-get
to the newer apt
command.
osquery/osquery-site