Skip to content

Commit

Permalink
Deployed c4a4a5f to dev with MkDocs 1.6.1 and mike 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
knqyf263 committed Dec 19, 2024
1 parent d9096e9 commit 0c80e65
Show file tree
Hide file tree
Showing 11 changed files with 255 additions and 203 deletions.
4 changes: 2 additions & 2 deletions dev/docs/configuration/filtering/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8513,8 +8513,8 @@ <h3 id="by-rego">By Rego<a class="headerlink" href="#by-rego" title="Permanent l
<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.58.0-15-g2c41ac83a/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.58.0-15-g2c41ac83a/examples/ignore-policies/whitelist.rego">example</a>. Additional examples are available <a href="https://github.com/aquasecurity/trivy/tree/v0.58.0-15-g2c41ac83a/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.58.0-31-gc4a4a5fa9/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.58.0-31-gc4a4a5fa9/examples/ignore-policies/whitelist.rego">example</a>. Additional examples are available <a href="https://github.com/aquasecurity/trivy/tree/v0.58.0-31-gc4a4a5fa9/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">&para;</a></h3>
<table>
<thead>
Expand Down
4 changes: 4 additions & 0 deletions dev/docs/configuration/reporting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8268,6 +8268,10 @@ <h4 id="show-origins-of-vulnerable-dependencies">Show origins of vulnerable depe
<td><a href="../../coverage/language/python/#poetry">poetry.lock</a></td>
</tr>
<tr>
<td></td>
<td><a href="../../coverage/language/python/#uv">uv.lock</a></td>
</tr>
<tr>
<td>Ruby</td>
<td><a href="../../coverage/language/ruby/#bundler">Gemfile.lock</a></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion dev/docs/configuration/skipping/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7924,7 +7924,7 @@ <h2 id="file-patterns">File patterns<a class="headerlink" href="#file-patterns"
<p>A file pattern contains the analyzer it is used for, and the pattern itself, joined by a semicolon. For example:
<div class="highlight"><pre><span></span><code>--file-patterns &quot;dockerfile:.*.docker&quot; --file-patterns &quot;kubernetes:*.tpl&quot; --file-patterns &quot;pip:requirements-.*\.txt&quot;
</code></pre></div></p>
<p>The prefixes are listed <a href="https://github.com/aquasecurity/trivy/tree/2c41ac83a95e9347605d36f483171a60ffce0fa2/pkg/fanal/analyzer/const.go">here</a></p>
<p>The prefixes are listed <a href="https://github.com/aquasecurity/trivy/tree/c4a4a5fa971d73ae924afcf2259631f15e96e520/pkg/fanal/analyzer/const.go">here</a></p>
<div class="footnote">
<hr />
<ol>
Expand Down
8 changes: 8 additions & 0 deletions dev/docs/coverage/language/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7773,6 +7773,14 @@ <h2 id="supported-languages">Supported languages<a class="headerlink" href="#sup
</tr>
<tr>
<td></td>
<td>uv.lock</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;"></td>
<td style="text-align: center;"></td>
</tr>
<tr>
<td></td>
<td>requirements.txt</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">-</td>
Expand Down
40 changes: 40 additions & 0 deletions dev/docs/coverage/language/python/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3458,6 +3458,17 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#uv" class="md-nav__link">
<span class="md-ellipsis">

uv

</span>
</a>

</li>

</ul>
Expand Down Expand Up @@ -7852,6 +7863,17 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#uv" class="md-nav__link">
<span class="md-ellipsis">

uv

</span>
</a>

</li>

</ul>
Expand Down Expand Up @@ -7954,6 +7976,12 @@ <h1 id="python">Python<a class="headerlink" href="#python" title="Permanent link
<td style="text-align: center;"></td>
<td style="text-align: center;">-</td>
</tr>
<tr>
<td>uv</td>
<td style="text-align: center;"></td>
<td style="text-align: center;"></td>
<td style="text-align: center;">-</td>
</tr>
</tbody>
</table>
<p>In addition, Trivy supports three formats of Python packages: <code>egg</code>, <code>wheel</code> and <code>conda</code>.
Expand Down Expand Up @@ -8029,6 +8057,15 @@ <h1 id="python">Python<a class="headerlink" href="#python" title="Permanent link
<td style="text-align: center;">-</td>
<td style="text-align: center;">Not needed</td>
</tr>
<tr>
<td>uv</td>
<td>uv.lock</td>
<td style="text-align: center;"></td>
<td style="text-align: center;">Exclude</td>
<td style="text-align: center;"></td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">Not needed</td>
</tr>
</tbody>
</table>
<table>
Expand Down Expand Up @@ -8121,6 +8158,9 @@ <h3 id="poetry">Poetry<a class="headerlink" href="#poetry" title="Permanent link
<p>Trivy uses <code>poetry.lock</code> to identify dependencies and find vulnerabilities.
To build the correct dependency graph, <code>pyproject.toml</code> also needs to be present next to <code>poetry.lock</code>.</p>
<p>License detection is not supported for <code>Poetry</code>.</p>
<h3 id="uv">uv<a class="headerlink" href="#uv" title="Permanent link">&para;</a></h3>
<p>Trivy uses <code>uv.lock</code> to identify dependencies and find vulnerabilities.</p>
<p>License detection is not supported for <code>uv</code>.</p>
<h2 id="packaging">Packaging<a class="headerlink" href="#packaging" title="Permanent link">&para;</a></h2>
<p>Trivy parses the manifest files of installed packages in container image scanning and so on.
See <a href="https://packaging.python.org/en/latest/discussions/package-formats/">here</a> for the detail.</p>
Expand Down
2 changes: 1 addition & 1 deletion dev/docs/references/configuration/config-file/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8088,7 +8088,7 @@
<h1 id="config-file">Config file<a class="headerlink" href="#config-file" title="Permanent link">&para;</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.58.0-15-g2c41ac83a/examples/trivy-conf/trivy.yaml">here</a>.</p>
<p>An example is <a href="https://github.com/aquasecurity/trivy/tree/v0.58.0-31-gc4a4a5fa9/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">&para;</a></h2>
<div class="highlight"><pre><span></span><code><span class="nt">cache</span><span class="p">:</span>
Expand Down
12 changes: 6 additions & 6 deletions dev/getting-started/installation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7965,17 +7965,17 @@ <h2 id="container-image-official">Container image (Official)<a class="headerlink
<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.58.0-15-g2c41ac83a<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.58.0-31-gc4a4a5fa9<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">&para;</a></h2>
<ol>
<li>Download the file for your operating system/architecture from <a href="https://github.com/aquasecurity/trivy/releases/tag/v0.58.0-15-g2c41ac83a">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.58.0-31-gc4a4a5fa9">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">&para;</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.58.0-15-g2c41ac83a
<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.58.0-31-gc4a4a5fa9
</code></pre></div>
<h2 id="rhelcentos-official">RHEL/CentOS (Official)<a class="headerlink" href="#rhelcentos-official" title="Permanent link">&para;</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>
Expand All @@ -7995,7 +7995,7 @@ <h2 id="rhelcentos-official">RHEL/CentOS (Official)<a class="headerlink" href="#
</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.58.0-15-g2c41ac83a/trivy_0.58.0-15-g2c41ac83a_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.58.0-31-gc4a4a5fa9/trivy_0.58.0-31-gc4a4a5fa9_Linux-64bit.rpm
</code></pre></div>
</div>
</div>
Expand All @@ -8013,8 +8013,8 @@ <h2 id="debianubuntu-official">Debian/Ubuntu (Official)<a class="headerlink" hre
</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.58.0-15-g2c41ac83a/trivy_0.58.0-15-g2c41ac83a_Linux-64bit.deb
sudo<span class="w"> </span>dpkg<span class="w"> </span>-i<span class="w"> </span>trivy_0.58.0-15-g2c41ac83a_Linux-64bit.deb
<div class="highlight"><pre><span></span><code>wget<span class="w"> </span>https://github.com/aquasecurity/trivy/releases/download/v0.58.0-31-gc4a4a5fa9/trivy_0.58.0-31-gc4a4a5fa9_Linux-64bit.deb
sudo<span class="w"> </span>dpkg<span class="w"> </span>-i<span class="w"> </span>trivy_0.58.0-31-gc4a4a5fa9_Linux-64bit.deb
</code></pre></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion dev/search/search_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit 0c80e65

Please sign in to comment.