@@ -18,7 +18,7 @@ class CheckovSettingsComponent () {
1818
1919 init {
2020 rootPanel.layout = GridLayoutManager (1 , 2 , Insets (0 , 0 , 0 , 0 ), - 1 , - 1 )
21- val settingsPanel = JPanel (GridLayoutManager (4 , 2 , Insets (0 , 0 , 0 , 0 ), - 1 , - 1 ))
21+ val settingsPanel = JPanel (GridLayoutManager (5 , 2 , Insets (0 , 0 , 0 , 0 ), - 1 , - 1 ))
2222
2323 val apiTokenLabel = JLabel (" Token (Required)" )
2424 apiTokenLabel.labelFor = apiTokenField
@@ -35,11 +35,14 @@ class CheckovSettingsComponent () {
3535 settingsPanel.add(certificateLabel, createGridRowCol(2 ,0 ,GridConstraints .ANCHOR_WEST ))
3636 settingsPanel.add(certificateField, createGridRowCol(2 ,1 ,GridConstraints .ANCHOR_WEST , GridConstraints .FILL_HORIZONTAL ))
3737
38- val noCertVerifyLabel = JLabel (" No cert verify - warning: use for testing only " )
38+ val noCertVerifyLabel = JLabel (" Skip SSL cert verification " )
3939 noCertVerifyLabel.labelFor = noCertVerifyField
4040 settingsPanel.add(noCertVerifyLabel, createGridRowCol(3 ,0 ,GridConstraints .ANCHOR_WEST ))
4141 settingsPanel.add(noCertVerifyField, createGridRowCol(3 ,1 ,GridConstraints .ANCHOR_WEST , GridConstraints .FILL_HORIZONTAL ))
4242
43+ val noCertVerifyWarning = JLabel (" Warning: this is risky and prevents detecting invalid certificates - use for testing only" )
44+ settingsPanel.add(noCertVerifyWarning, createGridRowCol(4 ,0 ,GridConstraints .ANCHOR_WEST ))
45+
4346 rootPanel.add(settingsPanel, GridConstraints (
4447 0 ,
4548 0 ,
0 commit comments