Skip to content

Commit b45c85c

Browse files
committed
Add variables for sender and integration instance IDs
Introduced new variables 'xSenderId' and 'xIntegrationInstanceId' in mainTemplate.json and updated HTTP headers to use these variables instead of hardcoded values. Also updated the package zip file to reflect these changes.
1 parent b9b1056 commit b45c85c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
230 Bytes
Binary file not shown.

Solutions/Check Point Cyberint IOC/Package/mainTemplate.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@
5959
"dataCollectionEndpointId1": "[concat('/subscriptions/',parameters('subscription'),'/resourceGroups/',parameters('resourceGroupName'),'/providers/Microsoft.Insights/dataCollectionEndpoints/',parameters('workspace'))]",
6060
"blanks": "[replace('b', 'b', '')]",
6161
"TemplateEmptyObject": "[json('{}')]",
62-
"_solutioncontentProductId": "[concat(take(variables('_solutionId'),50),'-','sl','-', uniqueString(concat(variables('_solutionId'),'-','Solution','-',variables('_solutionId'),'-', variables('_solutionVersion'))))]"
62+
"_solutioncontentProductId": "[concat(take(variables('_solutionId'),50),'-','sl','-', uniqueString(concat(variables('_solutionId'),'-','Solution','-',variables('_solutionId'),'-', variables('_solutionVersion'))))]",
63+
"xSenderId": "0",
64+
"_xSenderId": "[variables('xSenderId')]",
65+
"xIntegrationInstanceId": "0",
66+
"_xIntegrationInstanceId": "[variables('xIntegrationInstanceId')]"
6367
},
6468
"resources": [
6569
{
@@ -591,10 +595,10 @@
591595
"headers": {
592596
"Accept": "application/json",
593597
"User-Agent": "Scuba",
594-
"X-Sender-Id": "0",
598+
"X-Sender-Id": "[variables('_xSenderId')]",
595599
"X-Integration-Type": "Azure Sentinel IOC",
596600
"X-Integration-Instance-Name": "Default",
597-
"X-Integration-Instance-Id": "0",
601+
"X-Integration-Instance-Id": "[variables('_xIntegrationInstanceId')]",
598602
"X-Integration-Customer-Name": "Integration",
599603
"X-Integration-Version": "1.0"
600604
},

0 commit comments

Comments
 (0)