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 4
4
5
5
## [ Unreleased]
6
6
7
+ ## [ 2.1.0] - 2024-10-07
8
+
9
+ - Add sync flow for Secrets and IaC
10
+
7
11
## [ 2.0.1] - 2024-09-25
8
12
9
13
- Fix empty IaC scan results on Windows
121
125
122
126
The first public release of the plugin.
123
127
128
+ [ 2.1.0 ] : https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v2.1.0
129
+
124
130
[ 2.0.1] : https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v2.0.1
125
131
126
132
[ 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.
169
175
170
176
[ 1.0.0 ] : https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v1.0.0
171
177
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
4
4
pluginName = Cycode
5
5
pluginRepositoryUrl = https://github.com/cycodehq/intellij-platform-plugin
6
6
# SemVer format -> https://semver.org
7
- pluginVersion = 2.0.1
7
+ pluginVersion = 2.1.0
8
8
9
9
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
10
10
pluginSinceBuild = 231
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class Consts {
27
27
companion object {
28
28
val PLUGIN_PATH = PathManager .getPluginsPath() + " /cycode-intellij-platform-plugin"
29
29
val DEFAULT_CLI_PATH = getDefaultCliPath()
30
- const val REQUIRED_CLI_VERSION = " 1.10.7 "
30
+ const val REQUIRED_CLI_VERSION = " 1.11.0 "
31
31
32
32
const val CYCODE_DOMAIN = " cycode.com"
33
33
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ class SettingsWindow {
20
20
21
21
private var scanOnSaveCheckbox = JBCheckBox (null , pluginSettings.scanOnSave)
22
22
23
- private var scaSyncFlowCheckbox = JBCheckBox (null , pluginSettings.scaSyncFlow)
24
-
25
23
fun getComponent (): DialogPanel {
26
24
val contentPanel = panel {
27
25
group(CycodeBundle .message(" settingsCliSectionTitle" )) {
@@ -48,11 +46,6 @@ class SettingsWindow {
48
46
cell(scanOnSaveCheckbox)
49
47
}
50
48
}
51
- group(CycodeBundle .message(" settingsExperimentalSectionTitle" )) {
52
- row(CycodeBundle .message(" settingsScaSyncFlowCheckbox" )) {
53
- cell(scaSyncFlowCheckbox)
54
- }
55
- }
56
49
}
57
50
58
51
return contentPanel
@@ -66,7 +59,6 @@ class SettingsWindow {
66
59
cliAppUrlTextField.text,
67
60
cliAdditionalParamsTextField.text,
68
61
scanOnSaveCheckbox.isSelected,
69
- scaSyncFlowCheckbox.isSelected,
70
62
)
71
63
}
72
64
Original file line number Diff line number Diff line change @@ -190,10 +190,15 @@ class CliService(private val project: Project) {
190
190
191
191
private fun getCliScanOptions (scanType : CliScanType ): Array <String > {
192
192
val options = mutableListOf<String >()
193
- if (scanType == CliScanType .Sca && pluginSettings.scaSyncFlow) {
193
+
194
+ if (scanType != CliScanType .Sast ) {
194
195
options.add(" --sync" )
196
+ }
197
+
198
+ if (scanType == CliScanType .Sca ) {
195
199
options.add(" --no-restore" )
196
200
}
201
+
197
202
return options.toTypedArray()
198
203
}
199
204
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ class CycodePersistentSettingsService : PersistentStateComponent<CycodePersisten
20
20
21
21
var scanOnSave: Boolean = true
22
22
23
- var scaSyncFlow: Boolean = true
24
-
25
23
override fun getState (): CycodePersistentSettingsService {
26
24
return this
27
25
}
@@ -38,7 +36,6 @@ class CycodePersistentSettingsService : PersistentStateComponent<CycodePersisten
38
36
cliAppUrl,
39
37
cliAdditionalParams,
40
38
scanOnSave,
41
- scaSyncFlow,
42
39
)
43
40
}
44
41
}
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ class ApplicationSettingsConfigurable(val project: Project) : SearchableConfigur
57
57
pluginSettings.cliAutoManaged = newSettings.cliAutoManaged
58
58
pluginSettings.cliAdditionalParams = newSettings.cliAdditionalParams
59
59
pluginSettings.scanOnSave = newSettings.scanOnSave
60
- pluginSettings.scaSyncFlow = newSettings.scaSyncFlow
61
60
62
61
if (isValidCliPath(newSettings.cliPath)) {
63
62
pluginSettings.cliPath = newSettings.cliPath
Original file line number Diff line number Diff line change @@ -7,5 +7,4 @@ data class Settings(
7
7
val cliAppUrl : String ,
8
8
val cliAdditionalParams : String ,
9
9
val scanOnSave : Boolean ,
10
- val scaSyncFlow : Boolean ,
11
10
)
Original file line number Diff line number Diff line change @@ -75,10 +75,8 @@ sentryReporting=Cycode is reporting the problem...
75
75
settingsCliSectionTitle =Cycode CLI settings
76
76
settingsOnPremiseSectionTitle =On-premise settings
77
77
settingsIdeSectionTitle =IDE settings
78
- settingsExperimentalSectionTitle =Experimental settings
79
78
settingsCliAutoManagedCheckbox =Enable executable auto-management
80
79
settingsScanOnSaveCheckbox =Enable Scan on Save
81
- settingsScaSyncFlowCheckbox =Enable SCA sync flow
82
80
settingsCliPathLabel =Path to executable:
83
81
settingsCliApiUrlLabel =API URL:
84
82
settingsCliAppUrlLabel =APP URL:
You can’t perform that action at this time.
0 commit comments