-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSample CCP Template.json
119 lines (118 loc) · 4.28 KB
/
Sample CCP Template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "string",
"defaultValue": ""
},
"title": {
"type": "string",
"defaultValue": ""
},
"publisher": {
"type": "string",
"defaultValue": ""
},
"description": {
"type": "string",
"defaultValue": ""
},
"graphQueriesTableName": {
"type": "string",
"defaultValue": ""
},
"graphQueries": {
"type": "string",
"defaultValue": ""
},
"sampleQueries": {
"type": "string",
"defaultValue": ""
},
"dataTypes": {
"type": "string",
"defaultValue": ""
},
"instructions": {
"type": "string",
"defaultValue": ""
},
"polling": {
"type": "string",
"defaultValue": ""
},
"request": {
"type": "string",
"defaultValue": ""
},
"paging": {
"type": "string",
"defaultValue": ""
},
"response": {
"type": "string",
"defaultValue": ""
},
"auth": {
"type": "string",
"defaultValue": ""
}
},
"resources": [{
"id": "[concat('/subscriptions/',subscription().subscriptionId,'/resourceGroups/',resourceGroup().name,'/providers/Microsoft.OperationalInsights/workspaces/',parameters('workspace'),'/providers/Microsoft.SecurityInsights/dataConnectors/',guid(subscription().subscriptionId))]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',guid(subscription().subscriptionId))]",
"apiVersion": "2021-03-01-preview",
"type": "Microsoft.OperationalInsights/workspaces/providers/dataConnectors",
"kind": "APIPolling",
"properties": {
"connectorUiConfig": {
"id": "DynamicTemplate",
"title": "[parameters('title')]",
"publisher": "[parameters('publisher')]",
"graphQueriesTableName": "[parameters('graphQueriesTableName')]",
"descriptionMarkdown": "[parameters('description')]",
"graphQueries": [parameters('graphQueries')],
"sampleQueries": [parameters('sampleQueries')],
"dataTypes": [parameters('dataTypes')],
"connectivityCriteria": [{
"type": "SentinelKindsV2",
"value": []
}
],
"availability": {
"status": 1,
"isPreview": true
},
"permissions": {
"resourceProvider": [{
"provider": "Microsoft.OperationalInsights/workspaces",
"permissionsDisplayText": "read and write permissions are required.",
"providerDisplayName": "Workspace",
"scope": "Workspace",
"requiredPermissions": {
"write": true,
"read": true,
"delete": true
}
}
]
},
"instructionSteps": "[parameters('instructions')]"
},
"request": [parameters('request')],
"pollingConfig": {
"owner": "ASI",
"version": "2.0",
"source": "PaaS",
"templateFilePath": "",
"templateFileName": "",
"auth": "[parameters('auth')]",
"request": "[parameters('request')]",
"paging": "[parameters('paging')]",
"response": "[parameters('response')]"
}
}
}
]
}