mirror of
https://github.com/aquasecurity/trivy.git
synced 2026-01-31 13:53:14 +08:00
Deployed e1beba2f2 to dev with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
2
dev/docs/configuration/cache/index.html
vendored
2
dev/docs/configuration/cache/index.html
vendored
@@ -8117,7 +8117,7 @@ It supports three types of backends for this cache: </p>
|
||||
<p class="admonition-title">Note</p>
|
||||
<p>Internally, this backend uses <a href="https://github.com/etcd-io/bbolt">BoltDB</a>, which has an important limitation: only one process can access the cache at a time.
|
||||
Subsequent processes attempting to access the cache will be locked.
|
||||
For more details on this limitation, refer to the <a href="https://trivy.dev/v0.63.0-12-g5d050ce27/docs/references/troubleshooting/#running-in-parallel-takes-same-time-as-series-run">troubleshooting guide</a>.</p>
|
||||
For more details on this limitation, refer to the <a href="https://trivy.dev/v0.63.0-13-ge1beba2f2/docs/references/troubleshooting/#running-in-parallel-takes-same-time-as-series-run">troubleshooting guide</a>.</p>
|
||||
</div>
|
||||
<h3 id="memory">Memory<a class="headerlink" href="#memory" title="Permanent link">¶</a></h3>
|
||||
<p>The memory backend stores analysis results in memory, which means the cache is discarded when the process ends.
|
||||
|
||||
@@ -8745,8 +8745,8 @@ ignore {
|
||||
<div class="highlight"><pre><span></span><code>trivy<span class="w"> </span>image<span class="w"> </span>--ignore-policy<span class="w"> </span>examples/ignore-policies/basic.rego<span class="w"> </span>centos:7
|
||||
</code></pre></div>
|
||||
<p>For more advanced use cases, there is a built-in Rego library with helper functions that you can import into your policy using: <code>import data.lib.trivy</code>.
|
||||
More info about the helper functions are in the library <a href="https://github.com/aquasecurity/trivy/tree/v0.63.0-12-g5d050ce27/pkg/result/module.go">here</a>.</p>
|
||||
<p>You can create a whitelist of checks using Rego, see the detailed <a href="https://github.com/aquasecurity/trivy/tree/v0.63.0-12-g5d050ce27/examples/ignore-policies/whitelist.rego">example</a>. Additional examples are available <a href="https://github.com/aquasecurity/trivy/tree/v0.63.0-12-g5d050ce27/examples/ignore-policies">here</a>.</p>
|
||||
More info about the helper functions are in the library <a href="https://github.com/aquasecurity/trivy/tree/v0.63.0-13-ge1beba2f2/pkg/result/module.go">here</a>.</p>
|
||||
<p>You can create a whitelist of checks using Rego, see the detailed <a href="https://github.com/aquasecurity/trivy/tree/v0.63.0-13-ge1beba2f2/examples/ignore-policies/whitelist.rego">example</a>. Additional examples are available <a href="https://github.com/aquasecurity/trivy/tree/v0.63.0-13-ge1beba2f2/examples/ignore-policies">here</a>.</p>
|
||||
<h3 id="by-vulnerability-exploitability-exchange-vex">By Vulnerability Exploitability Exchange (VEX)<a class="headerlink" href="#by-vulnerability-exploitability-exchange-vex" title="Permanent link">¶</a></h3>
|
||||
<table>
|
||||
<thead>
|
||||
|
||||
@@ -8081,7 +8081,7 @@ A file pattern configuration takes the following form: <code><analyzer>:&l
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>The list of analyzers can be found <a href="https://github.com/aquasecurity/trivy/tree/5d050ce274dba7679c6aeeefc6134d88975b0fc5/pkg/fanal/analyzer/const.go">here</a>.
|
||||
<p>The list of analyzers can be found <a href="https://github.com/aquasecurity/trivy/tree/e1beba2f2979b3a7ae04919d4c57c8f8fa381844/pkg/fanal/analyzer/const.go">here</a>.
|
||||
Note that this flag is not applicable for parsers that accepts files of different extensions, for example the Terraform file parser which handles .tf and .tf.json files.</p>
|
||||
<p>The file path can use a <a href="https://pkg.go.dev/regexp/syntax">regular expression</a>. For example:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="c1"># interpret any file with .txt extension as a python pip requirements file</span>
|
||||
|
||||
@@ -8320,7 +8320,7 @@ You're not viewing the latest version of the documentation.
|
||||
<h1 id="config-file">Config file<a class="headerlink" href="#config-file" title="Permanent link">¶</a></h1>
|
||||
<p>Trivy can be customized by tweaking a <code>trivy.yaml</code> file.
|
||||
The config path can be overridden by the <code>--config</code> flag.</p>
|
||||
<p>An example is <a href="https://github.com/aquasecurity/trivy/tree/v0.63.0-12-g5d050ce27/examples/trivy-conf/trivy.yaml">here</a>.</p>
|
||||
<p>An example is <a href="https://github.com/aquasecurity/trivy/tree/v0.63.0-13-ge1beba2f2/examples/trivy-conf/trivy.yaml">here</a>.</p>
|
||||
<p>These samples contain default values for flags.</p>
|
||||
<h2 id="global-options">Global options<a class="headerlink" href="#global-options" title="Permanent link">¶</a></h2>
|
||||
<div class="highlight"><pre><span></span><code><span class="nt">cache</span><span class="p">:</span>
|
||||
|
||||
@@ -8219,17 +8219,17 @@ You're not viewing the latest version of the documentation.
|
||||
<p>For scanning container images with Trivy, mount the container engine socket from the host into the Trivy container.</p>
|
||||
</div>
|
||||
<p>Example:</p>
|
||||
<div class="highlight"><pre><span></span><code>docker<span class="w"> </span>run<span class="w"> </span>-v<span class="w"> </span>/var/run/docker.sock:/var/run/docker.sock<span class="w"> </span>-v<span class="w"> </span><span class="nv">$HOME</span>/Library/Caches:/root/.cache/<span class="w"> </span>aquasec/trivy:0.63.0-12-g5d050ce27<span class="w"> </span>image<span class="w"> </span>python:3.4-alpine
|
||||
<div class="highlight"><pre><span></span><code>docker<span class="w"> </span>run<span class="w"> </span>-v<span class="w"> </span>/var/run/docker.sock:/var/run/docker.sock<span class="w"> </span>-v<span class="w"> </span><span class="nv">$HOME</span>/Library/Caches:/root/.cache/<span class="w"> </span>aquasec/trivy:0.63.0-13-ge1beba2f2<span class="w"> </span>image<span class="w"> </span>python:3.4-alpine
|
||||
</code></pre></div>
|
||||
<h2 id="github-release-official">GitHub Release (Official)<a class="headerlink" href="#github-release-official" title="Permanent link">¶</a></h2>
|
||||
<ol>
|
||||
<li>Download the file for your operating system/architecture from <a href="https://github.com/aquasecurity/trivy/releases/tag/v0.63.0-12-g5d050ce27">GitHub Release assets</a>. </li>
|
||||
<li>Download the file for your operating system/architecture from <a href="https://github.com/aquasecurity/trivy/releases/tag/v0.63.0-13-ge1beba2f2">GitHub Release assets</a>. </li>
|
||||
<li>Unpack the downloaded archive (<code>tar -xzf ./trivy.tar.gz</code>).</li>
|
||||
<li>Make sure the binary has execution bit turned on (<code>chmod +x ./trivy</code>).</li>
|
||||
</ol>
|
||||
<h2 id="install-script-official">Install Script (Official)<a class="headerlink" href="#install-script-official" title="Permanent link">¶</a></h2>
|
||||
<p>For convenience, you can use the install script to download and install Trivy from GitHub Release.</p>
|
||||
<div class="highlight"><pre><span></span><code>curl<span class="w"> </span>-sfL<span class="w"> </span>https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh<span class="w"> </span><span class="p">|</span><span class="w"> </span>sudo<span class="w"> </span>sh<span class="w"> </span>-s<span class="w"> </span>--<span class="w"> </span>-b<span class="w"> </span>/usr/local/bin<span class="w"> </span>v0.63.0-12-g5d050ce27
|
||||
<div class="highlight"><pre><span></span><code>curl<span class="w"> </span>-sfL<span class="w"> </span>https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh<span class="w"> </span><span class="p">|</span><span class="w"> </span>sudo<span class="w"> </span>sh<span class="w"> </span>-s<span class="w"> </span>--<span class="w"> </span>-b<span class="w"> </span>/usr/local/bin<span class="w"> </span>v0.63.0-13-ge1beba2f2
|
||||
</code></pre></div>
|
||||
<h2 id="rhelcentos-official">RHEL/CentOS (Official)<a class="headerlink" href="#rhelcentos-official" title="Permanent link">¶</a></h2>
|
||||
<div class="tabbed-set tabbed-alternate" data-tabs="1:2"><input checked="checked" id="__tabbed_1_1" name="__tabbed_1" type="radio" /><input id="__tabbed_1_2" name="__tabbed_1" type="radio" /><div class="tabbed-labels"><label for="__tabbed_1_1">Repository</label><label for="__tabbed_1_2">RPM</label></div>
|
||||
@@ -8249,7 +8249,7 @@ sudo<span class="w"> </span>yum<span class="w"> </span>-y<span class="w"> </span
|
||||
</code></pre></div>
|
||||
</div>
|
||||
<div class="tabbed-block">
|
||||
<div class="highlight"><pre><span></span><code>rpm<span class="w"> </span>-ivh<span class="w"> </span>https://github.com/aquasecurity/trivy/releases/download/v0.63.0-12-g5d050ce27/trivy_0.63.0-12-g5d050ce27_Linux-64bit.rpm
|
||||
<div class="highlight"><pre><span></span><code>rpm<span class="w"> </span>-ivh<span class="w"> </span>https://github.com/aquasecurity/trivy/releases/download/v0.63.0-13-ge1beba2f2/trivy_0.63.0-13-ge1beba2f2_Linux-64bit.rpm
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -8267,8 +8267,8 @@ sudo<span class="w"> </span>apt-get<span class="w"> </span>install<span class="w
|
||||
</code></pre></div>
|
||||
</div>
|
||||
<div class="tabbed-block">
|
||||
<div class="highlight"><pre><span></span><code>wget<span class="w"> </span>https://github.com/aquasecurity/trivy/releases/download/v0.63.0-12-g5d050ce27/trivy_0.63.0-12-g5d050ce27_Linux-64bit.deb
|
||||
sudo<span class="w"> </span>dpkg<span class="w"> </span>-i<span class="w"> </span>trivy_0.63.0-12-g5d050ce27_Linux-64bit.deb
|
||||
<div class="highlight"><pre><span></span><code>wget<span class="w"> </span>https://github.com/aquasecurity/trivy/releases/download/v0.63.0-13-ge1beba2f2/trivy_0.63.0-13-ge1beba2f2_Linux-64bit.deb
|
||||
sudo<span class="w"> </span>dpkg<span class="w"> </span>-i<span class="w"> </span>trivy_0.63.0-13-ge1beba2f2_Linux-64bit.deb
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -369,8 +369,8 @@ You're not viewing the latest version of the documentation.
|
||||
|
||||
<div class="md-container" data-md-component="container">
|
||||
|
||||
<link rel='stylesheet' id='main-style-css' href='/assets/css/trivy_v1_styles.min.css' type='text/css' media='all' />
|
||||
<script type='text/javascript' src='/assets/javascripts/trivy_v1_homepage.js' id='trivy_v1_homepage-js'></script>
|
||||
<link rel='stylesheet' id='main-style-css' href='./assets/css/trivy_v1_styles.min.css' type='text/css' media='all' />
|
||||
<script type='text/javascript' src='./assets/javascripts/trivy_v1_homepage.js' id='trivy_v1_homepage-js'></script>
|
||||
|
||||
<div class="trivy_v1_homepage_wrap">
|
||||
|
||||
@@ -382,7 +382,7 @@ You're not viewing the latest version of the documentation.
|
||||
<div class="header_title_wrap">
|
||||
<div class="header_title_content_wrap">
|
||||
<div class="page_logo">
|
||||
<img src="/assets/images/trivy_logo_horizontal_white.svg" height="100" alt="Trivy Logo">
|
||||
<img src="./assets/images/trivy_logo_horizontal_white.svg" height="100" alt="Trivy Logo">
|
||||
</div>
|
||||
<h1 class="title page_title is-spaced fadeInUp">
|
||||
The all-in-one open source security scanner
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block hero %}
|
||||
<link rel='stylesheet' id='main-style-css' href='/assets/css/trivy_v1_styles.min.css' type='text/css' media='all' />
|
||||
<script type='text/javascript' src='/assets/javascripts/trivy_v1_homepage.js' id='trivy_v1_homepage-js'></script>
|
||||
<link rel='stylesheet' id='main-style-css' href='{{ base_url }}/assets/css/trivy_v1_styles.min.css' type='text/css' media='all' />
|
||||
<script type='text/javascript' src='{{ base_url }}/assets/javascripts/trivy_v1_homepage.js' id='trivy_v1_homepage-js'></script>
|
||||
|
||||
<div class="trivy_v1_homepage_wrap">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="header_title_wrap">
|
||||
<div class="header_title_content_wrap">
|
||||
<div class="page_logo">
|
||||
<img src="/assets/images/trivy_logo_horizontal_white.svg" height="100" alt="Trivy Logo">
|
||||
<img src="{{ base_url }}/assets/images/trivy_logo_horizontal_white.svg" height="100" alt="Trivy Logo">
|
||||
</div>
|
||||
<h1 class="title page_title is-spaced fadeInUp">
|
||||
The all-in-one open source security scanner
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block hero %}
|
||||
<link rel='stylesheet' id='main-style-css' href='/assets/css/trivy_v1_styles.min.css' type='text/css' media='all' />
|
||||
<script type='text/javascript' src='/assets/javascripts/trivy_v1_homepage.js' id='trivy_v1_homepage-js'></script>
|
||||
<link rel='stylesheet' id='main-style-css' href='{{ base_url }}/assets/css/trivy_v1_styles.min.css' type='text/css' media='all' />
|
||||
<script type='text/javascript' src='{{ base_url }}/assets/javascripts/trivy_v1_homepage.js' id='trivy_v1_homepage-js'></script>
|
||||
|
||||
<div class="trivy_v1_homepage_wrap partners_wrap">
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
Trivy Partners Program
|
||||
</h1>
|
||||
<h2 class="subtitle page_subtitle fadeInUp animationDelay_1">
|
||||
Align with the world’s most trusted open-source scanner. This premium program gives you priority support, co-branding rights, and access to millions of users who rely on Trivy to secure their cloud-native environments. Don’t just integrate; Lead.
|
||||
Align with the world's most trusted open-source scanner. This premium program gives you priority support, co-branding rights, and access to millions of users who rely on Trivy to secure their cloud-native environments. Don't just integrate; Lead.
|
||||
</h2>
|
||||
</div><!-- header_title_content_wrap -->
|
||||
|
||||
<div class="header_title_content_wrap partners_hero_stage_image"><img src="/assets/images/partners_hero_stage_full.svg" alt="" loading="lazy"></div>
|
||||
<div class="header_title_content_wrap partners_hero_stage_image"><img src="{{ base_url }}/assets/images/partners_hero_stage_full.svg" alt="" loading="lazy"></div>
|
||||
|
||||
</div><!-- header_title_wrap -->
|
||||
|
||||
@@ -52,9 +52,9 @@
|
||||
|
||||
<h3 class="title generic_title partners_logos_title">Join the Trivy Partners Community</h3>
|
||||
<div class="partners_logos">
|
||||
<div class="logo_item"><a href="https://minimus.io" target="_blank"><img src="/assets/images/partner_logo_minimus.svg" width="100" height="100" alt="Minimus Logo" loading="lazy"></a></div>
|
||||
<div class="logo_item"><a href="https://root.io" target="_blank"><img src="/assets/images/partner_logo_root.svg" width="100" height="100" alt="Root Logo" loading="lazy"></a></div>
|
||||
<div class="logo_item"><a href="https://echohq.com" target="_blank"><img src="/assets/images/partner_logo_echo.svg" width="100" height="100" alt="Echo Logo" loading="lazy"></a></div>
|
||||
<div class="logo_item"><a href="https://minimus.io" target="_blank"><img src="{{ base_url }}/assets/images/partner_logo_minimus.svg" width="100" height="100" alt="Minimus Logo" loading="lazy"></a></div>
|
||||
<div class="logo_item"><a href="https://root.io" target="_blank"><img src="{{ base_url }}/assets/images/partner_logo_root.svg" width="100" height="100" alt="Root Logo" loading="lazy"></a></div>
|
||||
<div class="logo_item"><a href="https://echohq.com" target="_blank"><img src="{{ base_url }}/assets/images/partner_logo_echo.svg" width="100" height="100" alt="Echo Logo" loading="lazy"></a></div>
|
||||
</div>
|
||||
</div><!-- partners_logos_wrap -->
|
||||
<!-- logos ends -->
|
||||
|
||||
@@ -371,8 +371,8 @@ You're not viewing the latest version of the documentation.
|
||||
|
||||
<div class="md-container" data-md-component="container">
|
||||
|
||||
<link rel='stylesheet' id='main-style-css' href='/assets/css/trivy_v1_styles.min.css' type='text/css' media='all' />
|
||||
<script type='text/javascript' src='/assets/javascripts/trivy_v1_homepage.js' id='trivy_v1_homepage-js'></script>
|
||||
<link rel='stylesheet' id='main-style-css' href='../assets/css/trivy_v1_styles.min.css' type='text/css' media='all' />
|
||||
<script type='text/javascript' src='../assets/javascripts/trivy_v1_homepage.js' id='trivy_v1_homepage-js'></script>
|
||||
|
||||
<div class="trivy_v1_homepage_wrap partners_wrap">
|
||||
|
||||
@@ -389,11 +389,11 @@ You're not viewing the latest version of the documentation.
|
||||
Trivy Partners Program
|
||||
</h1>
|
||||
<h2 class="subtitle page_subtitle fadeInUp animationDelay_1">
|
||||
Align with the world’s most trusted open-source scanner. This premium program gives you priority support, co-branding rights, and access to millions of users who rely on Trivy to secure their cloud-native environments. Don’t just integrate; Lead.
|
||||
Align with the world's most trusted open-source scanner. This premium program gives you priority support, co-branding rights, and access to millions of users who rely on Trivy to secure their cloud-native environments. Don't just integrate; Lead.
|
||||
</h2>
|
||||
</div><!-- header_title_content_wrap -->
|
||||
|
||||
<div class="header_title_content_wrap partners_hero_stage_image"><img src="/assets/images/partners_hero_stage_full.svg" alt="" loading="lazy"></div>
|
||||
<div class="header_title_content_wrap partners_hero_stage_image"><img src="../assets/images/partners_hero_stage_full.svg" alt="" loading="lazy"></div>
|
||||
|
||||
</div><!-- header_title_wrap -->
|
||||
|
||||
@@ -418,9 +418,9 @@ You're not viewing the latest version of the documentation.
|
||||
|
||||
<h3 class="title generic_title partners_logos_title">Join the Trivy Partners Community</h3>
|
||||
<div class="partners_logos">
|
||||
<div class="logo_item"><a href="https://minimus.io" target="_blank"><img src="/assets/images/partner_logo_minimus.svg" width="100" height="100" alt="Minimus Logo" loading="lazy"></a></div>
|
||||
<div class="logo_item"><a href="https://root.io" target="_blank"><img src="/assets/images/partner_logo_root.svg" width="100" height="100" alt="Root Logo" loading="lazy"></a></div>
|
||||
<div class="logo_item"><a href="https://echohq.com" target="_blank"><img src="/assets/images/partner_logo_echo.svg" width="100" height="100" alt="Echo Logo" loading="lazy"></a></div>
|
||||
<div class="logo_item"><a href="https://minimus.io" target="_blank"><img src="../assets/images/partner_logo_minimus.svg" width="100" height="100" alt="Minimus Logo" loading="lazy"></a></div>
|
||||
<div class="logo_item"><a href="https://root.io" target="_blank"><img src="../assets/images/partner_logo_root.svg" width="100" height="100" alt="Root Logo" loading="lazy"></a></div>
|
||||
<div class="logo_item"><a href="https://echohq.com" target="_blank"><img src="../assets/images/partner_logo_echo.svg" width="100" height="100" alt="Echo Logo" loading="lazy"></a></div>
|
||||
</div>
|
||||
</div><!-- partners_logos_wrap -->
|
||||
<!-- logos ends -->
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -180,17 +180,17 @@
|
||||
"title": "v0.30",
|
||||
"aliases": [
|
||||
"v0.30.0",
|
||||
"v0.30.2",
|
||||
"v0.30.3",
|
||||
"v0.30.1"
|
||||
"v0.30.1",
|
||||
"v0.30.2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "v0.29.2",
|
||||
"title": "v0.29",
|
||||
"aliases": [
|
||||
"v0.29.0",
|
||||
"v0.29.1"
|
||||
"v0.29.1",
|
||||
"v0.29.0"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -217,18 +217,18 @@
|
||||
"title": "v0.25",
|
||||
"aliases": [
|
||||
"v0.25.2",
|
||||
"v0.25.0",
|
||||
"v0.25.3",
|
||||
"v0.25.1"
|
||||
"v0.25.1",
|
||||
"v0.25.0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "v0.24.4",
|
||||
"title": "v0.24",
|
||||
"aliases": [
|
||||
"v0.24.2",
|
||||
"v0.24.0",
|
||||
"v0.24.3",
|
||||
"v0.24.2",
|
||||
"v0.24.1"
|
||||
]
|
||||
},
|
||||
@@ -246,17 +246,17 @@
|
||||
"version": "v0.21.3",
|
||||
"title": "v0.21",
|
||||
"aliases": [
|
||||
"v0.21.2",
|
||||
"v0.21.0",
|
||||
"v0.21.1",
|
||||
"v0.21.0"
|
||||
"v0.21.2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "v0.20.2",
|
||||
"title": "v0.20",
|
||||
"aliases": [
|
||||
"v0.20.1",
|
||||
"v0.20.0"
|
||||
"v0.20.0",
|
||||
"v0.20.1"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -272,16 +272,16 @@
|
||||
"title": "v0.18",
|
||||
"aliases": [
|
||||
"v0.18.0",
|
||||
"v0.18.2",
|
||||
"v0.18.1"
|
||||
"v0.18.1",
|
||||
"v0.18.2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "v0.17.2",
|
||||
"title": "v0.17",
|
||||
"aliases": [
|
||||
"v0.17.0",
|
||||
"v0.17.1"
|
||||
"v0.17.1",
|
||||
"v0.17.0"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user