Skip to content

Commit 8679635

Browse files
authored
CM-40753 - Add sync flow for Secrets and IaC (#29)
1 parent a818647 commit 8679635

File tree

6 files changed

+17
-9
lines changed

6 files changed

+17
-9
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
## [Unreleased]
66

7+
## [1.6.0] - 2024-10-07
8+
9+
- Add sync flow for Secrets and IaC
10+
711
## [1.5.1] - 2024-09-25
812

913
- Fix missed markdown blocks on violation cards
@@ -61,6 +65,8 @@
6165

6266
The first public release of the extension.
6367

68+
[1.6.0]: https://github.com/cycodehq/visual-studio-extension/releases/tag/v1.6.0
69+
6470
[1.5.1]: https://github.com/cycodehq/visual-studio-extension/releases/tag/v1.5.1
6571

6672
[1.5.0]: https://github.com/cycodehq/visual-studio-extension/releases/tag/v1.5.0
@@ -85,4 +91,4 @@ The first public release of the extension.
8591

8692
[1.0.0]: https://github.com/cycodehq/visual-studio-extension/releases/tag/v1.0.0
8793

88-
[Unreleased]: https://github.com/cycodehq/visual-studio-extension/compare/v1.5.1...HEAD
94+
[Unreleased]: https://github.com/cycodehq/visual-studio-extension/compare/v1.6.0...HEAD

src/extension/Cycode.VisualStudio.Extension.14.0-16.0/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="Cycode.7e1a0714-9b3b-4e0e-9c0a-d23fb20ab86e" Version="1.5.1" Language="en-US" Publisher="cycodehq" />
4+
<Identity Id="Cycode.7e1a0714-9b3b-4e0e-9c0a-d23fb20ab86e" Version="1.6.0" Language="en-US" Publisher="cycodehq" />
55
<DisplayName>Cycode</DisplayName>
66
<Description xml:space="preserve">Cycode for Visual Studio IDE</Description>
77
<MoreInfo>https://github.com/cycodehq/visual-studio-extension</MoreInfo>

src/extension/Cycode.VisualStudio.Extension.17.0/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="Cycode.f2c5020e-67a2-46f8-a888-609412fd59db" Version="1.5.1" Language="en-US" Publisher="cycodehq" />
4+
<Identity Id="Cycode.f2c5020e-67a2-46f8-a888-609412fd59db" Version="1.6.0" Language="en-US" Publisher="cycodehq" />
55
<DisplayName>Cycode</DisplayName>
66
<Description xml:space="preserve">Cycode for Visual Studio IDE</Description>
77
<MoreInfo>https://github.com/cycodehq/visual-studio-extension</MoreInfo>

src/extension/Cycode.VisualStudio.Extension.Shared/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Cycode.VisualStudio.Extension.Shared;
44

55
public static class Constants {
66
public const string AppName = "visual_studio_extension";
7-
public const string RequiredCliVersion = "1.10.7";
7+
public const string RequiredCliVersion = "1.11.0";
88

99
public const string CycodeDomain = "cycode.com";
1010

src/extension/Cycode.VisualStudio.Extension.Shared/Services/CliService.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,13 @@ private static CliResult<T> ProcessResult<T>(CliResult<T> result) {
270270
private static string[] GetCliScanOptions(CliScanType scanType) {
271271
List<string> options = [];
272272

273-
if (scanType != CliScanType.Sca) return options.ToArray();
273+
if (scanType != CliScanType.Sast) {
274+
options.Add("--sync");
275+
}
274276

275-
// SCA specific options to performs it faster
276-
options.Add("--sync");
277-
options.Add("--no-restore");
277+
if (scanType == CliScanType.Sca) {
278+
options.Add("--no-restore");
279+
}
278280

279281
return options.ToArray();
280282
}

src/extension/Cycode.VisualStudio.Extension.Shared/source.extension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ namespace Cycode.VisualStudio.Extension.Shared;
33
internal sealed class Vsix {
44
public const string Name = "Cycode";
55
public const string Description = "Cycode for Visual Studio IDE";
6-
public const string Version = "1.5.1";
6+
public const string Version = "1.6.0";
77
}

0 commit comments

Comments
 (0)