Skip to content

Commit 21b7361

Browse files
committed
Add and reference new variables in mainTemplate.json
1 parent 7445099 commit 21b7361

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed
3.27 KB
Binary file not shown.

Solutions/PaloAltoPrismaCloud/Package/mainTemplate.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,17 @@
225225
"playbookId3": "[resourceId('Microsoft.Logic/workflows', variables('playbookContentId3'))]",
226226
"playbookTemplateSpecName3": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat(parameters('workspace'),'-pl-',uniquestring(variables('_playbookContentId3'))))]",
227227
"_playbookcontentProductId3": "[concat(take(variables('_solutionId'),50),'-','pl','-', uniqueString(concat(variables('_solutionId'),'-','Playbook','-',variables('_playbookContentId3'),'-', variables('playbookVersion3'))))]",
228-
"_solutioncontentProductId": "[concat(take(variables('_solutionId'),50),'-','sl','-', uniqueString(concat(variables('_solutionId'),'-','Solution','-',variables('_solutionId'),'-', variables('_solutionVersion'))))]"
228+
"_solutioncontentProductId": "[concat(take(variables('_solutionId'),50),'-','sl','-', uniqueString(concat(variables('_solutionId'),'-','Solution','-',variables('_solutionId'),'-', variables('_solutionVersion'))))]",
229+
"prismaId": "string",
230+
"_prismaId": "[variables('prismaId')]",
231+
"assetId": "94e06523e93b9b0f15ed03da031c95d5",
232+
"_assetId": "[variables('assetId')]",
233+
"accountID": "any",
234+
"_accountID": "[variables('accountID')]",
235+
"resourceID": "string",
236+
"_resourceID": "[variables('resourceID')]",
237+
"imageID": "string",
238+
"_imageID": "[variables('imageID')]"
229239
},
230240
"resources": [
231241
{
@@ -3714,7 +3724,7 @@
37143724
"default": {
37153725
"customerName": "string",
37163726
"password": "string",
3717-
"prismaId": "string",
3727+
"prismaId": "[variables('_prismaId')]",
37183728
"username": "string"
37193729
},
37203730
"required": [
@@ -4199,7 +4209,7 @@
41994209
}
42004210
},
42014211
"default": {
4202-
"assetId": "94e06523e93b9b0f15ed03da031c95d5",
4212+
"assetId": "[variables('_assetId')]",
42034213
"type": "ALERTS"
42044214
},
42054215
"required": [
@@ -4540,13 +4550,13 @@
45404550
"string"
45414551
],
45424552
"trustedListType": "ip, resource, image, tag, service, port, subject, domain, protocol",
4543-
"accountID": "any",
4553+
"accountID": "[variables('_accountID')]",
45444554
"vpc": "any",
45454555
"trustedListEntries": [
45464556
{
45474557
"ipCIDR": "string",
4548-
"resourceID": "string",
4549-
"imageID": "string",
4558+
"resourceID": "[variables('_resourceID')]",
4559+
"imageID": "[variables('_imageID')]",
45504560
"tagKey": "string",
45514561
"tagValue": "string",
45524562
"service": "string",

0 commit comments

Comments
 (0)