Skip to content

Commit

Permalink
CM-40753 - Add sync flow for Secrets and IaC (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX authored Oct 7, 2024
1 parent a818647 commit 8679635
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

## [Unreleased]

## [1.6.0] - 2024-10-07

- Add sync flow for Secrets and IaC

## [1.5.1] - 2024-09-25

- Fix missed markdown blocks on violation cards
Expand Down Expand Up @@ -61,6 +65,8 @@

The first public release of the extension.

[1.6.0]: https://github.com/cycodehq/visual-studio-extension/releases/tag/v1.6.0

[1.5.1]: https://github.com/cycodehq/visual-studio-extension/releases/tag/v1.5.1

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

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

[Unreleased]: https://github.com/cycodehq/visual-studio-extension/compare/v1.5.1...HEAD
[Unreleased]: https://github.com/cycodehq/visual-studio-extension/compare/v1.6.0...HEAD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<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">
<Metadata>
<Identity Id="Cycode.7e1a0714-9b3b-4e0e-9c0a-d23fb20ab86e" Version="1.5.1" Language="en-US" Publisher="cycodehq" />
<Identity Id="Cycode.7e1a0714-9b3b-4e0e-9c0a-d23fb20ab86e" Version="1.6.0" Language="en-US" Publisher="cycodehq" />
<DisplayName>Cycode</DisplayName>
<Description xml:space="preserve">Cycode for Visual Studio IDE</Description>
<MoreInfo>https://github.com/cycodehq/visual-studio-extension</MoreInfo>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<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">
<Metadata>
<Identity Id="Cycode.f2c5020e-67a2-46f8-a888-609412fd59db" Version="1.5.1" Language="en-US" Publisher="cycodehq" />
<Identity Id="Cycode.f2c5020e-67a2-46f8-a888-609412fd59db" Version="1.6.0" Language="en-US" Publisher="cycodehq" />
<DisplayName>Cycode</DisplayName>
<Description xml:space="preserve">Cycode for Visual Studio IDE</Description>
<MoreInfo>https://github.com/cycodehq/visual-studio-extension</MoreInfo>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Cycode.VisualStudio.Extension.Shared;

public static class Constants {
public const string AppName = "visual_studio_extension";
public const string RequiredCliVersion = "1.10.7";
public const string RequiredCliVersion = "1.11.0";

public const string CycodeDomain = "cycode.com";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,13 @@ private static CliResult<T> ProcessResult<T>(CliResult<T> result) {
private static string[] GetCliScanOptions(CliScanType scanType) {
List<string> options = [];

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

// SCA specific options to performs it faster
options.Add("--sync");
options.Add("--no-restore");
if (scanType == CliScanType.Sca) {
options.Add("--no-restore");
}

return options.ToArray();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ namespace Cycode.VisualStudio.Extension.Shared;
internal sealed class Vsix {
public const string Name = "Cycode";
public const string Description = "Cycode for Visual Studio IDE";
public const string Version = "1.5.1";
public const string Version = "1.6.0";
}

0 comments on commit 8679635

Please sign in to comment.