-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from syn-4ck/dev
Update Docs
- Loading branch information
Showing
9 changed files
with
100 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.0.0 | ||
0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
fafnir-sec configuration | ||
======================== | ||
|
||
.. _configuration: | ||
|
||
Set up fafnir-sec with a configuration file | ||
-------------------------------------------- | ||
|
||
Exclude tools | ||
^^^^^^^^^^^^^^ | ||
|
||
.. code-block:: yaml | ||
exclude-tools: # Uncomment the tools you want to exclude from analysis | ||
- semgrep | ||
- bandit | ||
- find-sec-bugs | ||
- osv-scanner | ||
#- trivy-sca | ||
- gitleaks | ||
- checkov | ||
- syft | ||
Tools configuration | ||
^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. code-block:: yaml | ||
tools-config: | ||
semgrep: | ||
api-key: # Semgrep API key | ||
checkov: | ||
api-key: #"Add an api key '--bc-api-key <api-key>' to see more detailed insights via https://bridgecrew.cloud" | ||
Container analysis (local image scan) | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. code-block:: yaml | ||
containers: | ||
image: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,40 @@ | ||
Execution example | ||
================= | ||
Run fafnir-sec | ||
============== | ||
|
||
.. _run: | ||
|
||
First time running fafnir | ||
------------------------- | ||
Run fafnir-sec for first time | ||
------------------------------ | ||
|
||
You can run the tool in a easy way using the following command: | ||
|
||
.. code-block:: console | ||
fafnir $PATH_TO_CODE | ||
.. _options: | ||
|
||
Options | ||
-------- | ||
|
||
+----------------+----------------------+---------------------------------+ | ||
| Option name | Flag | Description | | ||
| | | | | ||
+================+======================+=================================+ | ||
| Verbose | -v, --verbose | Verbose mode (debug mode) | | ||
+----------------+----------------------+---------------------------------+ | ||
| Configuration | -c, --configuration | Set up fafnir-sec configuration | | ||
| | | using the configuration file | | ||
+----------------+----------------------+---------------------------------+ | ||
| Asynchronous | -a, --asynchronous | Asynchronous mode to run | | ||
| | | security tools at the same time | | ||
+----------------+----------------------+---------------------------------+ | ||
| Output type | -t, --output-type | Report type: json, sarif | | ||
| | | | | ||
+----------------+----------------------+---------------------------------+ | ||
| Output path | -t, --output-path | Path to the fafnir-sec report | | ||
| | | | | ||
+----------------+----------------------+---------------------------------+ | ||
| Disable API | -x, --disable-apis | Disable API requests | | ||
| | | | | ||
+----------------+----------------------+---------------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
|
||
from .report.report import generate_report | ||
|
||
VERSION = '1.0.0' | ||
VERSION = '0.1.0' | ||
|
||
|
||
@click.command() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters