mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
296 lines
10 KiB
HTML
296 lines
10 KiB
HTML
---
|
|
layout: default
|
|
title: Downloads
|
|
permalink: /downloads/
|
|
---
|
|
|
|
{% assign versions = site.data.versions %}
|
|
|
|
<section class="features">
|
|
<div class="grid">
|
|
<div class="unit whole">
|
|
<h2>Packages and tarballs</h2>
|
|
<p>These packages are built and signed by the osquery development team. They are mostly universal and use a minimal number of run-time library dependencies. This means the binaries are abnormally big (~20MB).</p>
|
|
<small>For release notes please visit <a href="https://github.com/facebook/osquery/releases">https://github.com/facebook/osquery/releases</a>.</small>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section class="quickstart">
|
|
<div class="grid">
|
|
<div class="unit code">
|
|
<p class="title">Downloads</p>
|
|
<div class="shell">
|
|
<p class="line">
|
|
<span class="path">~</span>
|
|
<span class="prompt">$</span>
|
|
<span class="command">ls osquery-latest/ | ./hashthem.sh</span>
|
|
</p>
|
|
{% assign current_version = versions.first %}
|
|
{% assign version_number = current_version.version %}
|
|
{% for key in current_version %}
|
|
{% if key[0] != 'version' and key[0] != 'debug' %}
|
|
{% assign os = key[0] %}
|
|
{% assign prefix = site.prefixes[os] %}
|
|
{% assign sep = site.separators[os] %}
|
|
{% assign hash = key[1] %}
|
|
<p class="line" style="margin-top: 10px">
|
|
<span class="output">
|
|
<a href="https://pkg.osquery.io/{{os}}/osquery{{sep}}{{version_number}}{{prefix}}">
|
|
https://pkg.osquery.io/{{os}}/osquery{{sep}}{{version_number}}{{prefix}}
|
|
</a>
|
|
</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="output">
|
|
{{hash}}
|
|
</span>
|
|
</p>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="features">
|
|
<div class="grid">
|
|
<div class="unit whole">
|
|
<h2><span class="fa fa-terminal"></span> Build osquery</h2>
|
|
<p>To take advantage of the most current features and join the osquery development community we like to suggest building from source! Head to GitHub clone and compile.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section class="quickstart quickstart-second">
|
|
<div class="grid">
|
|
<div class="unit code">
|
|
<p class="title">Build Instructions</p>
|
|
<div class="shell">
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">git clone http://github.com/facebook/osquery.git</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">cd osquery</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">make deps</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">make -j 8</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">./build/<platform>/osquery/osqueryi</span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="features">
|
|
<div class="grid">
|
|
<div class="unit whole">
|
|
<h2><span class="ci-centos"></span> Install yum repository</h2>
|
|
<p>We publish osquery to a yum repository.
|
|
The RPMs have extremely few dependencies and should work on *most* x86_64 Linux operating systems.
|
|
You may install the "auto-repo-add" RPM or add the repository target.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section class="quickstart quickstart-second">
|
|
<div class="grid">
|
|
<div class="unit code">
|
|
<p class="title">yum Install</p>
|
|
<div class="shell">
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">curl -L https://pkg.osquery.io/rpm/GPG | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-osquery</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">sudo yum-config-manager --add-repo https://pkg.osquery.io/rpm/osquery-s3-rpm.repo</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">sudo yum-config-manager --enable osquery-s3-rpm</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">sudo yum install osquery</span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="features">
|
|
<div class="grid">
|
|
<div class="unit whole">
|
|
<h2><span class="ci-ubuntu"></span> Install apt repository</h2>
|
|
<p>We publish osquery to an apt repository. The DEBs have extremely few dependencies and should work on *most* x86_64 Linux operating systems.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section class="quickstart quickstart-second">
|
|
<div class="grid">
|
|
<div class="unit code">
|
|
<p class="title">apt Install</p>
|
|
<div class="shell">
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">export OSQUERY_KEY=1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $OSQUERY_KEY</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">sudo add-apt-repository "deb [arch=amd64] https://pkg.osquery.io/deb deb main"</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">sudo apt-get update</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="prompt">$</span>
|
|
<span class="command">sudo apt-get install osquery</span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="features">
|
|
<div class="grid">
|
|
<div class="unit whole">
|
|
<h2><span class="ci-windows"></span> Windows Choco Package</h2>
|
|
<p>We recommend installing and deploying Windows support using <b>chocolatey</b>.
|
|
Please let us know if your enterprise could make use of other package formats.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section class="quickstart quickstart-second">
|
|
<div class="grid">
|
|
<div class="unit code">
|
|
<p class="title">Windows Install</p>
|
|
<div class="shell">
|
|
<p class="line">
|
|
<span class="prompt">C:\></span>
|
|
<span class="command">choco install osquery</span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="features">
|
|
<div class="grid">
|
|
<div class="unit whole">
|
|
<h2><span class="fa fa-download"></span> Debug packages (also in package repos)</h2>
|
|
<p>These packages contain debug binaries or the debuginfo symbols.
|
|
The packages are available in yum/apt using the respective debug name.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section class="quickstart quickstart-second">
|
|
<div class="grid">
|
|
<div class="unit code">
|
|
<p class="title">Debug Downloads</p>
|
|
<div class="shell">
|
|
<p class="line">
|
|
<span class="path">~</span>
|
|
<span class="prompt">$</span>
|
|
<span class="command">ls osquery-debug-latest/ | ./hashthem.sh</span>
|
|
</p>
|
|
{% assign current_version = versions.first %}
|
|
{% assign version_number = current_version.version %}
|
|
{% for key in current_version.debug %}
|
|
{% assign os = key[0] %}
|
|
{% assign prefix = site.prefixes[os] %}
|
|
{% assign sep = site.separators[os] %}
|
|
{% assign hash = key[1] %}
|
|
{% assign dbg = site.debug_prefixes[os] %}
|
|
<p class="line" style="margin-top: 10px">
|
|
<span class="output">
|
|
<a href="https://pkg.osquery.io/{{os}}/osquery-{{dbg}}{{sep}}{{version_number}}{{prefix}}">
|
|
https://pkg.osquery.io/{{os}}/osquery-{{dbg}}{{sep}}{{version_number}}{{prefix}}
|
|
</a>
|
|
</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="output">
|
|
{{hash}}
|
|
</span>
|
|
</p>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="previous">
|
|
<div class="grid">
|
|
<div class="unit whole">
|
|
<h2><span class="fa fa-backward"></span> Previous Releases</h2>
|
|
<p>We continue to host previous releases of osquery and make them available for download. These are our last three releases for Linux and Darwin.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section class="quickstart quickstart-second">
|
|
<div class="grid">
|
|
<div class="unit code">
|
|
<p class="title">Previous Releases</p>
|
|
<div class="shell">
|
|
{% assign previous_version_operating_systems = 'linux darwin' | split: ' ' %}
|
|
{% for previous_os in previous_version_operating_systems %}
|
|
<p class="line">
|
|
<span class="path">~</span>
|
|
<span class="prompt">$</span>
|
|
<span class="command">ls osquery-previous-{{previous_os}}/ | ./hashthem.sh</span>
|
|
</p>
|
|
{% for previous_version in versions offset:1 limit:3 %}
|
|
{% assign version_number = previous_version.version %}
|
|
{% for key in previous_version %}
|
|
{% if key[0] == previous_os %}
|
|
{% assign prefix = site.prefixes[previous_os] %}
|
|
{% assign sep = site.separators[previous_os] %}
|
|
{% assign hash = key[1] %}
|
|
<p class="line" style="margin-top: 10px">
|
|
<span class="output">
|
|
<a href="https://pkg.osquery.io/{{previous_os}}/osquery{{sep}}{{version_number}}{{prefix}}">
|
|
https://pkg.osquery.io/{{previous_os}}/osquery{{sep}}{{version_number}}{{prefix}}
|
|
</a>
|
|
</span>
|
|
</p>
|
|
<p class="line">
|
|
<span class="output">
|
|
{{hash}}
|
|
</span>
|
|
</p>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
<p class="line"> </p>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</section>
|