Skip to content

Commit

Permalink
Deployed 5dd9bd4 to dev with MkDocs 1.3.0 and mike 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
knqyf263 committed Apr 24, 2024
1 parent 20680bc commit 7a3c324
Show file tree
Hide file tree
Showing 7 changed files with 188 additions and 155 deletions.
2 changes: 1 addition & 1 deletion dev/docs/configuration/skipping/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3779,7 +3779,7 @@ <h2 id="file-patterns">File patterns</h2>
<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/e32215c99d4ccda754adf46dffb5ae062a4a142b/pkg/fanal/analyzer/const.go">here</a></p>
<p>The prefixes are listed <a href="https://github.com/aquasecurity/trivy/tree/5dd9bd47010366d2665ba70a81c2cd61c6ff6c41/pkg/fanal/analyzer/const.go">here</a></p>
<div class="footnote">
<hr />
<ol>
Expand Down
39 changes: 36 additions & 3 deletions dev/docs/coverage/language/c/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1830,6 +1830,19 @@
Conan
</a>

<nav class="md-nav" aria-label="Conan">
<ul class="md-nav__list">

<li class="md-nav__item">
<a href="#licenses" class="md-nav__link">
Licenses
</a>

</li>

</ul>
</nav>

</li>

</ul>
Expand Down Expand Up @@ -3570,6 +3583,19 @@
Conan
</a>

<nav class="md-nav" aria-label="Conan">
<ul class="md-nav__list">

<li class="md-nav__item">
<a href="#licenses" class="md-nav__link">
Licenses
</a>

</li>

</ul>
</nav>

</li>

</ul>
Expand Down Expand Up @@ -3607,7 +3633,7 @@ <h1 id="cc">C/C++</h1>
<td>Conan</td>
<td align="center"></td>
<td align="center"></td>
<td align="center">-</td>
<td align="center"><sup id="fnref2:1"><a class="footnote-ref" href="#fn:1">1</a></sup></td>
</tr>
</tbody>
</table>
Expand All @@ -3626,7 +3652,7 @@ <h1 id="cc">C/C++</h1>
<tbody>
<tr>
<td>Conan</td>
<td>conan.lock<sup id="fnref2:1"><a class="footnote-ref" href="#fn:1">1</a></sup></td>
<td>conan.lock<sup id="fnref:2"><a class="footnote-ref" href="#fn:2">2</a></sup></td>
<td align="center"></td>
<td align="center">Excluded</td>
<td align="center"></td>
Expand All @@ -3636,11 +3662,18 @@ <h1 id="cc">C/C++</h1>
</table>
<h2 id="conan">Conan</h2>
<p>In order to detect dependencies, Trivy searches for <code>conan.lock</code><sup id="fnref:1"><a class="footnote-ref" href="#fn:1">1</a></sup>.</p>
<h3 id="licenses">Licenses</h3>
<p>The Conan lock file doesn't contain any license information.
To obtain licenses we parse the <code>conanfile.py</code> files from the <a href="https://docs.conan.io/1/mastering/custom_cache.html">conan cache directory</a>.
To correctly detection licenses, ensure that the cache directory contains all dependencies used.</p>
<div class="footnote">
<hr />
<ol>
<li id="fn:1">
<p><code>conan.lock</code> is default name. To scan a custom filename use <a href="../../../configuration/skipping/#file-patterns">file-patterns</a>&#160;<a class="footnote-backref" href="#fnref:1" title="Jump back to footnote 1 in the text">&#8617;</a><a class="footnote-backref" href="#fnref2:1" title="Jump back to footnote 1 in the text">&#8617;</a></p>
<p>The local cache should contain the dependencies used. See <a href="#licenses">licenses</a>.&#160;<a class="footnote-backref" href="#fnref:1" title="Jump back to footnote 1 in the text">&#8617;</a><a class="footnote-backref" href="#fnref2:1" title="Jump back to footnote 1 in the text">&#8617;</a></p>
</li>
<li id="fn:2">
<p><code>conan.lock</code> is default name. To scan a custom filename use <a href="../../../configuration/skipping/#file-patterns">file-patterns</a>.&#160;<a class="footnote-backref" href="#fnref:2" title="Jump back to footnote 2 in the text">&#8617;</a></p>
</li>
</ol>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3632,7 +3632,7 @@ <h2 id="namespace-based-exceptions">Namespace-based exceptions</h2>
</code></pre></div>
</div>
<p>This example exempts all built-in policies for Kubernetes.</p>
<p>For more details, see <a href="https://github.com/aquasecurity/trivy/tree/e32215c99d4ccda754adf46dffb5ae062a4a142b/examples/misconf/namespace-exception">an example</a>.</p>
<p>For more details, see <a href="https://github.com/aquasecurity/trivy/tree/5dd9bd47010366d2665ba70a81c2cd61c6ff6c41/examples/misconf/namespace-exception">an example</a>.</p>
<h2 id="rule-based-exceptions">Rule-based exceptions</h2>
<p>There are some cases where you need more flexibility and granularity in defining which cases to exempt.
Rule-based exceptions lets you granularly choose which individual rules to exempt, while also declaring under which conditions to exempt them.</p>
Expand Down Expand Up @@ -3684,7 +3684,7 @@ <h2 id="rule-based-exceptions">Rule-based exceptions</h2>
</div>
<p>This exception is applied to <a href="https://github.com/aquasecurity/trivy-policies/blob/main/rules/kubernetes/policies/pss/restricted/3_runs_as_root.rego">KSV012</a> in trivy-policies.
You can get the package names in the <a href="https://github.com/aquasecurity/trivy-policies/">trivy-policies repository</a> or the JSON output from Trivy.</p>
<p>For more details, see <a href="https://github.com/aquasecurity/trivy/tree/e32215c99d4ccda754adf46dffb5ae062a4a142b/examples/misconf/rule-exception">an example</a>.</p>
<p>For more details, see <a href="https://github.com/aquasecurity/trivy/tree/5dd9bd47010366d2665ba70a81c2cd61c6ff6c41/examples/misconf/rule-exception">an example</a>.</p>


</article>
Expand Down
2 changes: 1 addition & 1 deletion dev/search/search_index.json

Large diffs are not rendered by default.

0 comments on commit 7a3c324

Please sign in to comment.