Skip to content

Commit

Permalink
Azure Templates | Revert SIC configuration for Smart-1 Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-natanelm committed Feb 5, 2025
1 parent e37a3bb commit 20a4140
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 64 deletions.
62 changes: 31 additions & 31 deletions azure/templates/marketplace-ha/createUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -1143,28 +1143,46 @@
"count": 2
},
{
"name": "ManagementConnection",
"type": "Microsoft.Common.OptionsGroup",
"label": "Choose Management Option",
"defaultValue": "Connect the security GW to my SaaS management (Smart1-Cloud)",
"toolTip": "Automatically connect this single gateway to Smart-1 Cloud - Check Point's Security Management as a Service",
"name": "sicKeyUi",
"type": "Microsoft.Common.PasswordBox",
"label": {
"password": "SIC key",
"confirmPassword": "Confirm SIC key"
},
"toolTip": "Set the Secure Internal Communication one time secret used to set up trust between the cluster object and the management server.",
"constraints": {
"required": true,
"regex": "^[a-z0-9A-Z]{12,30}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 12-30 characters long."
},
"options": {
"hideConfirmation": false
}
},
{
"name": "allowSmart1CloudConnection",
"type": "Microsoft.Common.OptionsGroup",
"label": "Quick connect to Smart-1 Cloud",
"defaultValue": "Yes",
"toolTip": "Automatically connect this Cluster to Smart-1 Cloud - Check Point's Security Management as a Service",
"constraints": {
"allowedValues": [
{
"label": "Connect the security GW to my SaaS management (Smart1-Cloud)",
"value": "Connect the security GW to my SaaS management (Smart1-Cloud)"
"label": "Yes",
"value": "yes"
},
{
"label": "Connect the security GW to my IaaS management",
"value": "Connect the security GW to my IaaS management"
"label": "No",
"value": "no"
}
]
}
},
"visible": true
},
{
"name": "InfoS1C",
"type": "Microsoft.Common.InfoBox",
"visible": "[equals(steps('chkp').ManagementConnection, 'Connect the security GW to my SaaS management (Smart1-Cloud)')]",
"visible": "[equals(steps('chkp').allowSmart1CloudConnection, 'yes')]",
"options": {
"icon": "Info",
"text": "Follow these instructions to quickly connect this Cluster to Smart-1 Cloud <br><a href='https://support.checkpoint.com/results/sk/sk180501' target='_blank'>sk180501-Connecting CloudGuard Network Security Public Cloud Gateway to Smart-1 Cloud</a>."
Expand All @@ -1180,7 +1198,7 @@
"regex": "[\\S\\s]{5,}",
"validationMessage": "Smart1Cloud Token Should contain at lease 5 characters"
},
"visible": "[equals(steps('chkp').ManagementConnection, 'Connect the security GW to my SaaS management (Smart1-Cloud)')]"
"visible": "[equals(steps('chkp').allowSmart1CloudConnection, 'yes')]"
},
{
"name": "Smart1CloudTokenB",
Expand All @@ -1192,25 +1210,7 @@
"regex": "[\\S\\s]{5,}",
"validationMessage": "Smart1Cloud Token Should contain at lease 5 characters"
},
"visible": "[equals(steps('chkp').ManagementConnection, 'Connect the security GW to my SaaS management (Smart1-Cloud)')]"
},
{
"name": "sicKeyUi",
"type": "Microsoft.Common.PasswordBox",
"label": {
"password": "SIC key",
"confirmPassword": "Confirm SIC key"
},
"toolTip": "Set the Secure Internal Communication one time secret used to set up trust between the cluster object and the management server.",
"constraints": {
"required": true,
"regex": "^[a-z0-9A-Z]{12,30}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 12-30 characters long."
},
"options": {
"hideConfirmation": false
},
"visible": "[equals(steps('chkp').ManagementConnection, 'Connect the security GW to my IaaS management')]"
"visible": "[equals(steps('chkp').allowSmart1CloudConnection, 'yes')]"
}
]
},
Expand Down
1 change: 0 additions & 1 deletion azure/templates/marketplace-ha/mainTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
},
"sicKey": {
"type": "securestring",
"defaultValue": "",
"metadata": {
"description": "One time key for Secure Internal Communication"
}
Expand Down
61 changes: 30 additions & 31 deletions azure/templates/marketplace-single/createUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -1143,32 +1143,49 @@
"count": 1
},
{
"name": "ManagementConnection",
"type": "Microsoft.Common.OptionsGroup",
"label": "Choose Management Option",
"defaultValue": "Connect the security GW to my SaaS management (Smart1-Cloud)",
"toolTip": "Automatically connect this single gateway to Smart-1 Cloud - Check Point's Security Management as a Service",
"name": "sicKeyUi",
"type": "Microsoft.Common.PasswordBox",
"label": {
"password": "SIC key",
"confirmPassword": "Confirm SIC key"
},
"toolTip": "Set the Secure Internal Communication one time secret used to set up trust between the cluster object and the management server.",
"constraints": {
"required": true,
"regex": "^[a-z0-9A-Z]{12,30}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 12-30 characters long."
},
"options": {
"hideConfirmation": false
}
},
{
"name": "allowSmart1CloudConnection",
"type": "Microsoft.Common.OptionsGroup",
"label": "Quick connect to Smart-1 Cloud",
"defaultValue": "Yes",
"toolTip": "Automatically connect this Cluster to Smart-1 Cloud - Check Point's Security Management as a Service",
"constraints": {
"allowedValues": [
{
"label": "Connect the security GW to my SaaS management (Smart1-Cloud)",
"value": "Connect the security GW to my SaaS management (Smart1-Cloud)"
"label": "Yes",
"value": "yes"
},
{
"label": "Connect the security GW to my IaaS management",
"value": "Connect the security GW to my IaaS management"
"label": "No",
"value": "no"
}
]
},
"visible": "[equals(steps('chkp-advanced').installationType, 'gateway')]"
"visible": true
},
{
"name": "InfoS1C",
"type": "Microsoft.Common.InfoBox",
"visible": "[equals(steps('chkp').ManagementConnection, 'Connect the security GW to my SaaS management (Smart1-Cloud)')]",
"visible": "[equals(steps('chkp').allowSmart1CloudConnection, 'yes')]",
"options": {
"icon": "Info",
"text": "Connect the security GW to my SaaS management (Smart1-Cloud)<br><a href='https://support.checkpoint.com/results/sk/sk180501' target='_blank'>sk180501-Connecting CloudGuard Network Security Public Cloud Gateway to Smart-1 Cloud</a>."
"text": "Follow these instructions to quickly connect this Cluster to Smart-1 Cloud <br><a href='https://support.checkpoint.com/results/sk/sk180501' target='_blank'>sk180501-Connecting CloudGuard Network Security Public Cloud Gateway to Smart-1 Cloud</a>."
}
},
{
Expand All @@ -1181,25 +1198,7 @@
"regex": "[\\S\\s]{5,}",
"validationMessage": "Smart1Cloud Token Should contain at lease 5 characters"
},
"visible": "[equals(steps('chkp').ManagementConnection, 'Connect the security GW to my SaaS management (Smart1-Cloud)')]"
},
{
"name": "sicKeyUi",
"type": "Microsoft.Common.PasswordBox",
"label": {
"password": "SIC key",
"confirmPassword": "Confirm SIC key"
},
"toolTip": "Set the Secure Internal Communication one time secret used to set up trust between the gateway and the management server.",
"constraints": {
"required": true,
"regex": "^[a-z0-9A-Z]{12,30}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 12-30 characters long."
},
"options": {
"hideConfirmation": false
},
"visible": "[and(not(equals(steps('chkp-advanced').installationType, 'standalone')),equals(steps('chkp').ManagementConnection, 'Connect the security GW to my IaaS management'))]"
"visible": "[equals(steps('chkp').allowSmart1CloudConnection, 'yes')]"
}
]
},
Expand Down
1 change: 0 additions & 1 deletion azure/templates/marketplace-single/mainTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
},
"sicKey": {
"type": "securestring",
"defaultValue": "",
"metadata": {
"description": "One time key for Secure Internal Communication"
}
Expand Down

0 comments on commit 20a4140

Please sign in to comment.