-
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.
feat: improve snyk source test display
Add color and improve how test results are displayed when running 'snyk source test' for C/C++ projects. Add spinner test to give more feedback to user as we test dependencies. Remove type from ScanResult interface.
- Loading branch information
Showing
5 changed files
with
42 additions
and
50 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
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,15 +1,15 @@ | ||
Dependency Fingerprints | ||
----------------------- | ||
[97mFingerprints[39m | ||
52d1b046047db9ea0c581cafd4c68fe5 add.cpp | ||
aeca71a6e39f99a24ecf4c088eee9cb8 add.h | ||
ad3365b3370ef6b1c3e778f875055f19 main.cpp | ||
|
||
Dependencies | ||
------------ | ||
[97mDependencies[39m | ||
add@1.2.3 | ||
|
||
Issues | ||
------ | ||
Tested 1 dependency for known issues, found 1 issue. | ||
[97mIssues[39m | ||
[93m✗ Cross-site Scripting (XSS) [medium][39m | ||
https://snyk.io/vuln/cpp:add:20161130 | ||
in add@1.2.3 | ||
fix version 1.2.4 | ||
|
||
✗ Cross-site Scripting (XSS) [medium severity][https://snyk.io/vuln/cpp:add:20161130] in add@1.2.3 | ||
Tested 1 dependency for known issues, found [91m1 issue[39m. |
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,10 +1,7 @@ | ||
Dependency Fingerprints | ||
----------------------- | ||
[97mFingerprints[39m | ||
52d1b046047db9ea0c581cafd4c68fe5 add.cpp | ||
aeca71a6e39f99a24ecf4c088eee9cb8 add.h | ||
ad3365b3370ef6b1c3e778f875055f19 main.cpp | ||
|
||
|
||
Errors | ||
------ | ||
[91mErrors[39m | ||
Could not test dependencies in . |
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