File tree Expand file tree Collapse file tree 9 files changed +15
-19
lines changed 
components/settingsWindow Expand file tree Collapse file tree 9 files changed +15
-19
lines changed Original file line number Diff line number Diff line change 44
55## [ Unreleased]  
66
7+ ## [ 2.1.0]  - 2024-10-07 
8+ 
9+ -  Add sync flow for Secrets and IaC
10+ 
711## [ 2.0.1]  - 2024-09-25 
812
913-  Fix empty IaC scan results on Windows
121125
122126The first public release of the plugin.
123127
128+ [ 2.1.0 ] : https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v2.1.0 
129+ 
124130[ 2.0.1] : https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v2.0.1  
125131
126132[ 2.0.0 ] : https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v2.0.0 
@@ -169,4 +175,4 @@ The first public release of the plugin.
169175
170176[ 1.0.0 ] : https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v1.0.0 
171177
172- [ Unreleased ] : https://github.com/cycodehq/intellij-platform-plugin/compare/v2.0.1 ...HEAD 
178+ [ Unreleased ] : https://github.com/cycodehq/intellij-platform-plugin/compare/v2.1.0 ...HEAD 
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pluginGroup = com.cycode.plugin
44pluginName  = Cycode 
55pluginRepositoryUrl  = https://github.com/cycodehq/intellij-platform-plugin 
66#  SemVer format -> https://semver.org
7- pluginVersion  = 2.0.1  
7+ pluginVersion  = 2.1.0  
88
99#  Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010pluginSinceBuild  = 231 
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class Consts {
2727    companion  object  {
2828        val  PLUGIN_PATH  =  PathManager .getPluginsPath() +  " /cycode-intellij-platform-plugin" 
2929        val  DEFAULT_CLI_PATH  =  getDefaultCliPath()
30-         const  val  REQUIRED_CLI_VERSION  =  " 1.10.7 " 
30+         const  val  REQUIRED_CLI_VERSION  =  " 1.11.0 " 
3131
3232        const  val  CYCODE_DOMAIN  =  " cycode.com" 
3333
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ class SettingsWindow {
2020
2121    private  var  scanOnSaveCheckbox =  JBCheckBox (null , pluginSettings.scanOnSave)
2222
23-     private  var  scaSyncFlowCheckbox =  JBCheckBox (null , pluginSettings.scaSyncFlow)
24- 
2523    fun  getComponent (): DialogPanel  {
2624        val  contentPanel =  panel {
2725            group(CycodeBundle .message(" settingsCliSectionTitle" 
@@ -48,11 +46,6 @@ class SettingsWindow {
4846                    cell(scanOnSaveCheckbox)
4947                }
5048            }
51-             group(CycodeBundle .message(" settingsExperimentalSectionTitle" 
52-                 row(CycodeBundle .message(" settingsScaSyncFlowCheckbox" 
53-                     cell(scaSyncFlowCheckbox)
54-                 }
55-             }
5649        }
5750
5851        return  contentPanel
@@ -66,7 +59,6 @@ class SettingsWindow {
6659            cliAppUrlTextField.text,
6760            cliAdditionalParamsTextField.text,
6861            scanOnSaveCheckbox.isSelected,
69-             scaSyncFlowCheckbox.isSelected,
7062        )
7163    }
7264
Original file line number Diff line number Diff line change @@ -190,10 +190,15 @@ class CliService(private val project: Project) {
190190
191191    private  fun  getCliScanOptions (scanType :  CliScanType ): Array <String > {
192192        val  options =  mutableListOf<String >()
193-         if  (scanType ==  CliScanType .Sca  &&  pluginSettings.scaSyncFlow) {
193+ 
194+         if  (scanType !=  CliScanType .Sast ) {
194195            options.add(" --sync" 
196+         }
197+ 
198+         if  (scanType ==  CliScanType .Sca ) {
195199            options.add(" --no-restore" 
196200        }
201+ 
197202        return  options.toTypedArray()
198203    }
199204
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ class CycodePersistentSettingsService : PersistentStateComponent<CycodePersisten
2020
2121    var  scanOnSave:  Boolean  =  true 
2222
23-     var  scaSyncFlow:  Boolean  =  true 
24- 
2523    override  fun  getState (): CycodePersistentSettingsService  {
2624        return  this 
2725    }
@@ -38,7 +36,6 @@ class CycodePersistentSettingsService : PersistentStateComponent<CycodePersisten
3836            cliAppUrl,
3937            cliAdditionalParams,
4038            scanOnSave,
41-             scaSyncFlow,
4239        )
4340    }
4441}
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ class ApplicationSettingsConfigurable(val project: Project) : SearchableConfigur
5757        pluginSettings.cliAutoManaged =  newSettings.cliAutoManaged
5858        pluginSettings.cliAdditionalParams =  newSettings.cliAdditionalParams
5959        pluginSettings.scanOnSave =  newSettings.scanOnSave
60-         pluginSettings.scaSyncFlow =  newSettings.scaSyncFlow
6160
6261        if  (isValidCliPath(newSettings.cliPath)) {
6362            pluginSettings.cliPath =  newSettings.cliPath
Original file line number Diff line number Diff line change @@ -7,5 +7,4 @@ data class Settings(
77    val  cliAppUrl :  String ,
88    val  cliAdditionalParams :  String ,
99    val  scanOnSave :  Boolean ,
10-     val  scaSyncFlow :  Boolean ,
1110)
Original file line number Diff line number Diff line change @@ -75,10 +75,8 @@ sentryReporting=Cycode is reporting the problem...
7575settingsCliSectionTitle =Cycode CLI settings 
7676settingsOnPremiseSectionTitle =On-premise settings 
7777settingsIdeSectionTitle =IDE settings 
78- settingsExperimentalSectionTitle =Experimental settings 
7978settingsCliAutoManagedCheckbox =Enable executable auto-management 
8079settingsScanOnSaveCheckbox =Enable Scan on Save 
81- settingsScaSyncFlowCheckbox =Enable SCA sync flow 
8280settingsCliPathLabel =Path to executable: 
8381settingsCliApiUrlLabel =API URL: 
8482settingsCliAppUrlLabel =APP URL: 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments