diff --git a/CHANGELOG.md b/CHANGELOG.md index 13aa0559c..0987d850a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Snyk Security Changelog +## [1.1.57] + +### Fixed +- Change analytics scan status from "Succeeded" to "Success". + ## [1.1.56] ### Fixed diff --git a/Snyk.VisualStudio.Extension.Shared/analytics/ScanDoneEvent.cs b/Snyk.VisualStudio.Extension.Shared/analytics/ScanDoneEvent.cs index 41b986c43..418526639 100644 --- a/Snyk.VisualStudio.Extension.Shared/analytics/ScanDoneEvent.cs +++ b/Snyk.VisualStudio.Extension.Shared/analytics/ScanDoneEvent.cs @@ -75,7 +75,7 @@ string GetArch() public string EventType => "Scan done"; - public string Status => "Succeeded"; + public string Status => "Success"; public string ScanType { get; set; } @@ -103,4 +103,4 @@ public class ScanDoneEvent { public Data Data { get; set; } } -} \ No newline at end of file +} diff --git a/Snyk.VisualStudio.Extension.Tests/analytics/SnykIDEAnalyticsServiceTest.cs b/Snyk.VisualStudio.Extension.Tests/analytics/SnykIDEAnalyticsServiceTest.cs index 45b174d01..141e3707b 100644 --- a/Snyk.VisualStudio.Extension.Tests/analytics/SnykIDEAnalyticsServiceTest.cs +++ b/Snyk.VisualStudio.Extension.Tests/analytics/SnykIDEAnalyticsServiceTest.cs @@ -55,7 +55,7 @@ public void SnykIdeAnalyticsServiceTest_shouldCreateTheCorrectPayloadString() Assert.Contains("\"integration_environment\":\"integrationEnvironment\"", payload); Assert.Contains("\"integration_environment_version\":\"1.0.0\"", payload); Assert.Contains("\"event_type\":\"Scan done\"", payload); - Assert.Contains("\"status\":\"Succeeded\"", payload); + Assert.Contains("\"status\":\"Success\"", payload); Assert.Contains("\"scan_type\":\"product\"", payload); Assert.Contains("\"unique_issue_count\":{\"critical\":1,\"high\":2,\"medium\":3,\"low\":4}", payload); Assert.Contains("\"duration_ms\":\"100\"", payload);