-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAzure_Sentinel_Codeless_Connector.json
156 lines (156 loc) · 6.13 KB
/
Azure_Sentinel_Codeless_Connector.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"logAnalyticsWorkspaceName": {
"defaultValue": "",
"type": "string",
"metadata": {
"description": "Workspace name for Log Analytics where Microsoft Sentinel is setup"
}
},
"connectorResourceName": {
"type": "string",
"defaultValue": "AirtableAuditLogsCCP",
"metadata": {
"description": "Resource name for connector"
}
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.OperationalInsights/workspaces/providers/dataConnectors",
"name": "[concat(parameters('logAnalyticsWorkspaceName'),'/Microsoft.SecurityInsights/', parameters('connectorResourceName'))]",
"apiVersion": "2021-03-01-preview",
"location": "[resourceGroup().location]",
"dependsOn": [],
"kind": "APIPolling",
"properties": {
"connectorUiConfig": {
"id": "AirtableAuditLogsCCP",
"title": "Airtable Audit Logs",
"publisher": "Airtable Labs",
"descriptionMarkdown": "This [Airtable](https://airtable.com) data connector provides the capability to ingest [Airtable Audit Logs](https://airtable.com/developers/web/api/audit-logs-overview) events into Microsoft Sentinel. \n\nThis data connector is not supported by Formagrid Inc (Airtable) or part of the Airtable Service. It is made available on an 'as is' basis and provided without express or implied warranties of any kind.",
"graphQueriesTableName": "AirtableAuditLogs_CL",
"graphQueries": [
{
"metricName": "Total data received",
"legend": "Airtable Audit Log events",
"baseQuery": "{{graphQueriesTableName}}"
}
],
"sampleQueries": [
{
"description": "All Airtable Audit Log events",
"query": "{{graphQueriesTableName}}\n| sort by TimeGenerated desc"
}
],
"dataTypes": [
{
"name": "{{graphQueriesTableName}}",
"lastDataReceivedQuery": "{{graphQueriesTableName}}\n | summarize Time = max(TimeGenerated)\n | where isnotempty(Time)"
}
],
"connectivityCriteria": [
{
"type": "SentinelKindsV2",
"value": []
}
],
"availability": {
"status": 1,
"isPreview": true
},
"permissions": {
"resourceProvider": [
{
"provider": "Microsoft.OperationalInsights/workspaces",
"permissionsDisplayText": "read and write permissions are required.",
"providerDisplayName": "Azure Workspace",
"scope": "Workspace",
"requiredPermissions": {
"write": true,
"read": true,
"delete": true
}
},
{
"provider": "Microsoft.OperationalInsights/workspaces/sharedKeys",
"permissionsDisplayText": "read permissions to shared keys for the workspace are required. [See the documentation to learn more about workspace keys](https://docs.microsoft.com/azure/azure-monitor/platform/agent-windows#obtain-workspace-id-and-key)",
"providerDisplayName": "Azure Keys",
"scope": "Workspace",
"requiredPermissions": {
"action": true
}
}
],
"customs": [
{
"name": "Airtable Audit Logs",
"description": "A [personal access token](https://support.airtable.com/docs/creating-and-using-api-keys-and-access-tokens) (from a user or [service account](https://support.airtable.com/docs/en/service-accounts-overview) with admin privileges) with the [enterprise.auditLogs:read](https://airtable.com/developers/web/api/scopes#enterprise-audit-logs-read) scope (entered as 'API key' below)"
}
]
},
"instructionSteps": [
{
"title": "Connect your Airtable Enterprise Audit Logs to Microsoft Sentinel",
"description": "Provide the following information to connect your Airtable Enterprise Audit Logs to Microsoft Sentinel.",
"instructions": [
{
"parameters": {
"enable": "true",
"userRequestPlaceHoldersInput": [
{
"displayText": "Airtable Enterprise Account ID",
"requestObjectKey": "apiEndpoint",
"placeHolderName": "{{enterpriseAccountId}}",
"placeHolderValue": ""
}
]
},
"type": "APIKey"
}
]
}
]
},
"pollingConfig": {
"auth": {
"authType": "APIKey",
"APIKeyName": "Authorization",
"APIKeyIdentifier": "Bearer"
},
"request": {
"apiEndpoint": "https://api.airtable.com/v0/meta/enterpriseAccounts/{{enterpriseAccountId}}/auditLogEvents",
"httpMethod": "Get",
"rateLimitQPS": 5,
"queryTimeFormat": "yyyy-MM-ddTHH:mm:ssZ",
"startTimeAttributeName": "startTime",
"endTimeAttributeName": "endTime",
"queryWindowInMin": 5,
"headers": {
"User-Agent": "Azure-Sentinel CCP by Airtable Labs/1.0.0"
},
"queryParameters": {
"pageSize": 100,
"sortOrder": "ascending"
}
},
"paging": {
"pagingType": "NextPageToken",
"nextPageParaName": "next",
"nextPageTokenJsonPath": "$..pagination.next"
},
"response": {
"eventsJsonPaths": [
"$..events"
]
}
}
}
}
],
"outputs": {}
}