-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: send analytics after scans by calling the CLI (#252)
* feat: send analytics after scans by calling the CLI * feat: add tests * fix: tests and injection * fix: stupid error * docs: add CHANGELOG.md entry * refactor: use collection initializer * chore: remove old comment * fix: implement PR suggestions - convert JSON correctly into snake_case - use architecture from operating system - log output of CLI command - escape the payload for the command line * refactor: change called analytics command - use `--experimental` - use `analytics report` as command This needs an update from Go Application Framework to actually report
- Loading branch information
1 parent
029b164
commit a7b79c6
Showing
15 changed files
with
671 additions
and
95 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# Snyk Changelog | ||
|
||
## [1.1.44] | ||
- Support for IDE analytics | ||
|
||
## [1.1.43] | ||
|
||
### Added | ||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Snyk.VisualStudio.Extension.Shared.CLI | ||
{ | ||
public interface ICliProvider | ||
{ | ||
public ICli Cli { get; } | ||
} | ||
} |
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
Oops, something went wrong.