Skip to content

Commit 1a9aa14

Browse files
shubhamcybleprince30121
authored andcommitted
added workspace parameter and modified package zip
1 parent 972aeae commit 1a9aa14

File tree

3 files changed

+38
-11
lines changed

3 files changed

+38
-11
lines changed
98 Bytes
Binary file not shown.

Solutions/Cyble Vision/Package/createUiDefinition.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
"version": "0.1.2-preview",
55
"parameters": {
66
"basics": [
7+
{
8+
"name": "workspace",
9+
"type": "Microsoft.OperationalInsights/workspaces",
10+
"label": "Select Log Analytics workspace",
11+
"toolTip": "Choose your Azure Sentinel workspace",
12+
"required": true
13+
},
714
{
815
"name": "cybleApiKey",
916
"type": "Microsoft.Common.TextBox",
@@ -38,7 +45,9 @@
3845
}
3946
],
4047
"outputs": {
41-
"cyble_api_key": "[steps('cybleSettings').cybleApiKey]"
48+
"workspace": "[basics('workspace')]",
49+
"cyble_api_key": "[basics('cybleApiKey')]",
50+
"location": "[location()]"
4251
}
4352
}
4453
}

Solutions/Cyble Vision/Package/mainTemplate.json

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,47 @@
3838
},
3939
"resources": [
4040
{
41-
"type": "Microsoft.Logic/workflows",
42-
"apiVersion": "2019-05-01",
43-
"name": "Cyble-IOC-Enrichment-Playbook",
44-
"location": "[parameters('location')]",
41+
"type": "Microsoft.Resources/deployments",
42+
"apiVersion": "2023-07-01",
43+
"name": "CybleIOCEnrichmentDeployment",
4544
"properties": {
46-
"definition": "[parameters('iocEnrichmentDefinition')]",
45+
"mode": "Incremental",
46+
"templateLink": {
47+
"uri": "[uri(deployment().properties.templateLink.uri, 'Playbooks/IoC-Enrichment/Cyble_IOC_Enrichment.json')]",
48+
"contentVersion": "1.0.0.0"
49+
},
4750
"parameters": {
4851
"cyble_api_key": {
4952
"value": "[parameters('cyble_api_key')]"
53+
},
54+
"location": {
55+
"value": "[parameters('location')]"
56+
},
57+
"workspace": {
58+
"value": "[parameters('workspace')]"
5059
}
5160
}
5261
}
5362
},
5463
{
55-
"type": "Microsoft.Logic/workflows",
56-
"apiVersion": "2019-05-01",
57-
"name": "Cyble-Threat-Intel-Ingestion-Playbook",
58-
"location": "[parameters('location')]",
64+
"type": "Microsoft.Resources/deployments",
65+
"apiVersion": "2023-07-01",
66+
"name": "CybleTIIngestDeployment",
5967
"properties": {
60-
"definition": "[parameters('threatIntelDefinition')]",
68+
"mode": "Incremental",
69+
"templateLink": {
70+
"uri": "[uri(deployment().properties.templateLink.uri, 'Playbooks/TI-Ingest/Cyble_TI_Ingest.json')]",
71+
"contentVersion": "1.0.0.0"
72+
},
6173
"parameters": {
6274
"cyble_api_key": {
6375
"value": "[parameters('cyble_api_key')]"
76+
},
77+
"location": {
78+
"value": "[parameters('location')]"
79+
},
80+
"workspace": {
81+
"value": "[parameters('workspace')]"
6482
}
6583
}
6684
}

0 commit comments

Comments
 (0)