|
14 | 14 |
|
15 | 15 | Security Notes allows the creation of notes within source files, which can be replied to, reacted to using emojis, and assigned statuses such as "TODO", "Vulnerable" and "Not Vulnerable". |
16 | 16 |
|
17 | | -Also, it allows importing the output from SAST tools (currently only [Semgrep](https://semgrep.dev/)) into notes, making the processing of the findings much easier. |
| 17 | +Also, it allows importing the output from SAST tools (such as semgrep, bandit and brakeman), into notes, making the processing of the findings much easier. |
18 | 18 |
|
19 | 19 | Finally, collaborate with others by using a centralized database for notes that will be automatically synced in **real-time**! Create a note locally, and it will be automatically pushed to whoever is working with you on the project. |
20 | 20 |
|
@@ -64,13 +64,36 @@ Naturally, you will want to collaborate with remote peers. To do so in a secure |
64 | 64 |
|
65 | 65 | ## Importing SAST results |
66 | 66 |
|
67 | | -The extension allows you to import the output from SAST tools (currently only [Semgrep](https://semgrep.dev/)) into notes, making the processing of the findings much easier: |
| 67 | +The extension allows you to import the output from SAST tools into notes, making the processing of the findings much easier: |
68 | 68 |
|
69 | 69 |  |
70 | 70 |
|
| 71 | +Currently supported tools include: |
| 72 | + |
| 73 | +- bandit (https://bandit.readthedocs.io/en/latest/) |
| 74 | +- brakeman (https://brakemanscanner.org/) |
| 75 | +- checkov (https://www.checkov.io/) |
| 76 | +- gosec (https://github.com/securego/gosec) |
| 77 | +- semgrep (https://semgrep.dev/) |
| 78 | + |
| 79 | +For imports to be successful, we recommend running commands as follows (exporting results as JSON), and making sure to run these tools from the project's folder (so that all relative paths can be processed correctly): |
| 80 | + |
| 81 | +```bash |
| 82 | +# bandit |
| 83 | +bandit -f json -o bandit-results.json -r . |
| 84 | +# brakeman |
| 85 | +brakeman -f json -o brakeman-results.json . |
| 86 | +# checkov |
| 87 | +checkov -d . -o json --output-file-path checkov-results.json |
| 88 | +# gosec |
| 89 | +gosec -fmt=json -out=gosec-results.json ./... |
| 90 | +# semgrep |
| 91 | +semgrep scan --json -o semgrep-results.json --config=auto . |
| 92 | +``` |
| 93 | + |
71 | 94 | ## Extension Settings |
72 | 95 |
|
73 | | -Various settings for the extension can be configured in VSCode's User Settings page (`CMD+Shift+P` / `Ctrl + Shift + P` -> *Preferences: Open Settings (UI)*): |
| 96 | +Various settings for the extension can be configured in VSCode's User Settings page (`CMD+Shift+P` / `Ctrl + Shift + P` -> _Preferences: Open Settings (UI)_): |
74 | 97 |
|
75 | 98 |  |
76 | 99 |
|
|
0 commit comments