945 строки
68 KiB
JSON
945 строки
68 KiB
JSON
{
|
||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
||
"contentVersion": "1.0.0.0",
|
||
"metadata": {
|
||
"author": "Aruba Networks",
|
||
"comments": "Solution template for Aruba ClearPass"
|
||
},
|
||
"parameters": {
|
||
"location": {
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"defaultValue": "[resourceGroup().location]",
|
||
"metadata": {
|
||
"description": "Not used, but needed to pass arm-ttk test `Location-Should-Not-Be-Hardcoded`. We instead use the `workspace-location` which is derived from the LA workspace"
|
||
}
|
||
},
|
||
"workspace-location": {
|
||
"type": "string",
|
||
"defaultValue": "",
|
||
"metadata": {
|
||
"description": "[concat('Region to deploy solution resources -- separate from location selection',parameters('location'))]"
|
||
}
|
||
},
|
||
"workspace": {
|
||
"defaultValue": "",
|
||
"type": "string",
|
||
"metadata": {
|
||
"description": "Workspace name for Log Analytics where Microsoft Sentinel is setup"
|
||
}
|
||
}
|
||
},
|
||
"variables": {
|
||
"_solutionName": "Aruba ClearPass",
|
||
"_solutionVersion": "3.0.1",
|
||
"solutionId": "azuresentinel.azure-sentinel-solution-arubaclearpass",
|
||
"_solutionId": "[variables('solutionId')]",
|
||
"uiConfigId1": "ArubaClearPass",
|
||
"_uiConfigId1": "[variables('uiConfigId1')]",
|
||
"dataConnectorContentId1": "ArubaClearPass",
|
||
"_dataConnectorContentId1": "[variables('dataConnectorContentId1')]",
|
||
"dataConnectorId1": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId1'))]",
|
||
"_dataConnectorId1": "[variables('dataConnectorId1')]",
|
||
"dataConnectorTemplateSpecName1": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat(parameters('workspace'),'-dc-',uniquestring(variables('_dataConnectorContentId1'))))]",
|
||
"dataConnectorVersion1": "1.0.0",
|
||
"_dataConnectorcontentProductId1": "[concat(take(variables('_solutionId'),50),'-','dc','-', uniqueString(concat(variables('_solutionId'),'-','DataConnector','-',variables('_dataConnectorContentId1'),'-', variables('dataConnectorVersion1'))))]",
|
||
"uiConfigId2": "ArubaClearPassAma",
|
||
"_uiConfigId2": "[variables('uiConfigId2')]",
|
||
"dataConnectorContentId2": "ArubaClearPassAma",
|
||
"_dataConnectorContentId2": "[variables('dataConnectorContentId2')]",
|
||
"dataConnectorId2": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId2'))]",
|
||
"_dataConnectorId2": "[variables('dataConnectorId2')]",
|
||
"dataConnectorTemplateSpecName2": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat(parameters('workspace'),'-dc-',uniquestring(variables('_dataConnectorContentId2'))))]",
|
||
"dataConnectorVersion2": "1.0.0",
|
||
"_dataConnectorcontentProductId2": "[concat(take(variables('_solutionId'),50),'-','dc','-', uniqueString(concat(variables('_solutionId'),'-','DataConnector','-',variables('_dataConnectorContentId2'),'-', variables('dataConnectorVersion2'))))]",
|
||
"parserName1": "ArubaClearPass",
|
||
"_parserName1": "[concat(parameters('workspace'),'/',variables('parserName1'))]",
|
||
"parserId1": "[resourceId('Microsoft.OperationalInsights/workspaces/savedSearches', parameters('workspace'), variables('parserName1'))]",
|
||
"_parserId1": "[variables('parserId1')]",
|
||
"parserTemplateSpecName1": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat(parameters('workspace'),'-pr-',uniquestring(variables('_parserContentId1'))))]",
|
||
"parserVersion1": "1.0.0",
|
||
"parserContentId1": "ArubaClearPass-Parser",
|
||
"_parserContentId1": "[variables('parserContentId1')]",
|
||
"_parsercontentProductId1": "[concat(take(variables('_solutionId'),50),'-','pr','-', uniqueString(concat(variables('_solutionId'),'-','Parser','-',variables('_parserContentId1'),'-', variables('parserVersion1'))))]",
|
||
"_solutioncontentProductId": "[concat(take(variables('_solutionId'),50),'-','sl','-', uniqueString(concat(variables('_solutionId'),'-','Solution','-',variables('_solutionId'),'-', variables('_solutionVersion'))))]"
|
||
},
|
||
"resources": [
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/contentTemplates",
|
||
"apiVersion": "2023-04-01-preview",
|
||
"name": "[variables('dataConnectorTemplateSpecName1')]",
|
||
"location": "[parameters('workspace-location')]",
|
||
"dependsOn": [
|
||
"[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]"
|
||
],
|
||
"properties": {
|
||
"description": "Aruba ClearPass data connector with template version 3.0.1",
|
||
"mainTemplate": {
|
||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
||
"contentVersion": "[variables('dataConnectorVersion1')]",
|
||
"parameters": {},
|
||
"variables": {},
|
||
"resources": [
|
||
{
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',variables('_dataConnectorContentId1'))]",
|
||
"apiVersion": "2021-03-01-preview",
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/dataConnectors",
|
||
"location": "[parameters('workspace-location')]",
|
||
"kind": "GenericUI",
|
||
"properties": {
|
||
"connectorUiConfig": {
|
||
"id": "[variables('_uiConfigId1')]",
|
||
"title": "[Deprecated] Aruba ClearPass via Legacy Agent",
|
||
"publisher": "Aruba Networks",
|
||
"descriptionMarkdown": "The [Aruba ClearPass](https://www.arubanetworks.com/products/security/network-access-control/secure-access/) connector allows you to easily connect your Aruba ClearPass with Microsoft Sentinel, to create custom dashboards, alerts, and improve investigation. This gives you more insight into your organization’s network and improves your security operation capabilities.",
|
||
"additionalRequirementBanner": "These queries are dependent on a parser based on a Kusto Function deployed as part of the solution.",
|
||
"graphQueries": [
|
||
{
|
||
"metricName": "Total data received",
|
||
"legend": "ArubaClearPass",
|
||
"baseQuery": "CommonSecurityLog\n| where DeviceVendor == \"Aruba Networks\" and DeviceProduct == \"ClearPass\""
|
||
}
|
||
],
|
||
"sampleQueries": [
|
||
{
|
||
"description": "Top 10 Events by Username",
|
||
"query": "ArubaClearPass \n | summarize count() by UserName \n| top 10 by count_"
|
||
},
|
||
{
|
||
"description": "Top 10 Error Codes",
|
||
"query": "ArubaClearPass \n | summarize count() by ErrorCode \n| top 10 by count_"
|
||
}
|
||
],
|
||
"connectivityCriterias": [
|
||
{
|
||
"type": "IsConnectedQuery",
|
||
"value": [
|
||
"CommonSecurityLog\n| where DeviceVendor == \"Aruba Networks\" and DeviceProduct == \"ClearPass\"\n | summarize LastLogReceived = max(TimeGenerated)\n | project IsConnected = LastLogReceived > ago(30d)"
|
||
]
|
||
}
|
||
],
|
||
"dataTypes": [
|
||
{
|
||
"name": "CommonSecurityLog (ArubaClearPass)",
|
||
"lastDataReceivedQuery": "CommonSecurityLog\n| where DeviceVendor == \"Aruba Networks\" and DeviceProduct == \"ClearPass\"\n | summarize Time = max(TimeGenerated)\n | where isnotempty(Time)"
|
||
}
|
||
],
|
||
"availability": {
|
||
"status": 1,
|
||
"isPreview": false
|
||
},
|
||
"permissions": {
|
||
"resourceProvider": [
|
||
{
|
||
"provider": "Microsoft.OperationalInsights/workspaces",
|
||
"permissionsDisplayText": "read and write permissions are required.",
|
||
"providerDisplayName": "Workspace",
|
||
"scope": "Workspace",
|
||
"requiredPermissions": {
|
||
"read": true,
|
||
"write": 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": "Keys",
|
||
"scope": "Workspace",
|
||
"requiredPermissions": {
|
||
"action": true
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"instructionSteps": [
|
||
{
|
||
"description": "**NOTE:** This data connector depends on a parser based on a Kusto Function to work as expected which is deployed as part of the solution. To view the function code in Log Analytics, open Log Analytics/Microsoft Sentinel Logs blade, click Functions and search for the alias ArubaClearPass and load the function code or click [here](https://aka.ms/sentinel-arubaclearpass-parser).The function usually takes 10-15 minutes to activate after solution installation/update."
|
||
},
|
||
{
|
||
"description": "Install and configure the Linux agent to collect your Common Event Format (CEF) Syslog messages and forward them to Microsoft Sentinel.\n\n> Notice that the data from all regions will be stored in the selected workspace",
|
||
"innerSteps": [
|
||
{
|
||
"title": "1.1 Select or create a Linux machine",
|
||
"description": "Select or create a Linux machine that Microsoft Sentinel will use as the proxy between your security solution and Microsoft Sentinel this machine can be on your on-prem environment, Azure or other clouds."
|
||
},
|
||
{
|
||
"title": "1.2 Install the CEF collector on the Linux machine",
|
||
"description": "Install the Microsoft Monitoring Agent on your Linux machine and configure the machine to listen on the necessary port and forward messages to your Microsoft Sentinel workspace. The CEF collector collects CEF messages on port 514 TCP.\n\n> 1. Make sure that you have Python on your machine using the following command: python -version.\n\n> 2. You must have elevated permissions (sudo) on your machine.",
|
||
"instructions": [
|
||
{
|
||
"parameters": {
|
||
"fillWith": [
|
||
"WorkspaceId",
|
||
"PrimaryKey"
|
||
],
|
||
"label": "Run the following command to install and apply the CEF collector:",
|
||
"value": "sudo wget -O cef_installer.py https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/CEF/cef_installer.py&&sudo python cef_installer.py {0} {1}"
|
||
},
|
||
"type": "CopyableLabel"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"title": "1. Linux Syslog agent configuration"
|
||
},
|
||
{
|
||
"description": "Configure Aruba ClearPass to forward Syslog messages in CEF format to your Microsoft Sentinel workspace via the Syslog agent.\n1. [Follow these instructions](https://www.arubanetworks.com/techdocs/ClearPass/6.7/PolicyManager/Content/CPPM_UserGuide/Admin/syslogExportFilters_add_syslog_filter_general.htm) to configure the Aruba ClearPass to forward syslog.\n2. Use the IP address or hostname for the Linux device with the Linux agent installed as the Destination IP address.",
|
||
"title": "2. Forward Aruba ClearPass logs to a Syslog agent"
|
||
},
|
||
{
|
||
"description": "Follow the instructions to validate your connectivity:\n\nOpen Log Analytics to check if the logs are received using the CommonSecurityLog schema.\n\n>It may take about 20 minutes until the connection streams data to your workspace.\n\nIf the logs are not received, run the following connectivity validation script:\n\n> 1. Make sure that you have Python on your machine using the following command: python -version\n\n>2. You must have elevated permissions (sudo) on your machine",
|
||
"instructions": [
|
||
{
|
||
"parameters": {
|
||
"fillWith": [
|
||
"WorkspaceId"
|
||
],
|
||
"label": "Run the following command to validate your connectivity:",
|
||
"value": "sudo wget -O cef_troubleshoot.py https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/CEF/cef_troubleshoot.py&&sudo python cef_troubleshoot.py {0}"
|
||
},
|
||
"type": "CopyableLabel"
|
||
}
|
||
],
|
||
"title": "3. Validate connection"
|
||
},
|
||
{
|
||
"description": "Make sure to configure the machine's security according to your organization's security policy\n\n\n[Learn more >](https://aka.ms/SecureCEF)",
|
||
"title": "4. Secure your machine "
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/metadata",
|
||
"apiVersion": "2023-04-01-preview",
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat('DataConnector-', last(split(variables('_dataConnectorId1'),'/'))))]",
|
||
"properties": {
|
||
"parentId": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId1'))]",
|
||
"contentId": "[variables('_dataConnectorContentId1')]",
|
||
"kind": "DataConnector",
|
||
"version": "[variables('dataConnectorVersion1')]",
|
||
"source": {
|
||
"kind": "Solution",
|
||
"name": "Aruba ClearPass",
|
||
"sourceId": "[variables('_solutionId')]"
|
||
},
|
||
"author": {
|
||
"name": "Aruba Networks"
|
||
},
|
||
"support": {
|
||
"tier": "Microsoft",
|
||
"name": "Microsoft Corporation",
|
||
"email": "support@microsoft.com",
|
||
"link": "https://support.microsoft.com/"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"packageKind": "Solution",
|
||
"packageVersion": "[variables('_solutionVersion')]",
|
||
"packageName": "[variables('_solutionName')]",
|
||
"packageId": "[variables('_solutionId')]",
|
||
"contentSchemaVersion": "3.0.0",
|
||
"contentId": "[variables('_dataConnectorContentId1')]",
|
||
"contentKind": "DataConnector",
|
||
"displayName": "[Deprecated] Aruba ClearPass via Legacy Agent",
|
||
"contentProductId": "[variables('_dataConnectorcontentProductId1')]",
|
||
"id": "[variables('_dataConnectorcontentProductId1')]",
|
||
"version": "[variables('dataConnectorVersion1')]"
|
||
}
|
||
},
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/metadata",
|
||
"apiVersion": "2023-04-01-preview",
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat('DataConnector-', last(split(variables('_dataConnectorId1'),'/'))))]",
|
||
"dependsOn": [
|
||
"[variables('_dataConnectorId1')]"
|
||
],
|
||
"location": "[parameters('workspace-location')]",
|
||
"properties": {
|
||
"parentId": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId1'))]",
|
||
"contentId": "[variables('_dataConnectorContentId1')]",
|
||
"kind": "DataConnector",
|
||
"version": "[variables('dataConnectorVersion1')]",
|
||
"source": {
|
||
"kind": "Solution",
|
||
"name": "Aruba ClearPass",
|
||
"sourceId": "[variables('_solutionId')]"
|
||
},
|
||
"author": {
|
||
"name": "Aruba Networks"
|
||
},
|
||
"support": {
|
||
"tier": "Microsoft",
|
||
"name": "Microsoft Corporation",
|
||
"email": "support@microsoft.com",
|
||
"link": "https://support.microsoft.com/"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',variables('_dataConnectorContentId1'))]",
|
||
"apiVersion": "2021-03-01-preview",
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/dataConnectors",
|
||
"location": "[parameters('workspace-location')]",
|
||
"kind": "GenericUI",
|
||
"properties": {
|
||
"connectorUiConfig": {
|
||
"title": "[Deprecated] Aruba ClearPass via Legacy Agent",
|
||
"publisher": "Aruba Networks",
|
||
"descriptionMarkdown": "The [Aruba ClearPass](https://www.arubanetworks.com/products/security/network-access-control/secure-access/) connector allows you to easily connect your Aruba ClearPass with Microsoft Sentinel, to create custom dashboards, alerts, and improve investigation. This gives you more insight into your organization’s network and improves your security operation capabilities.",
|
||
"graphQueries": [
|
||
{
|
||
"metricName": "Total data received",
|
||
"legend": "ArubaClearPass",
|
||
"baseQuery": "CommonSecurityLog\n| where DeviceVendor == \"Aruba Networks\" and DeviceProduct == \"ClearPass\""
|
||
}
|
||
],
|
||
"dataTypes": [
|
||
{
|
||
"name": "CommonSecurityLog (ArubaClearPass)",
|
||
"lastDataReceivedQuery": "CommonSecurityLog\n| where DeviceVendor == \"Aruba Networks\" and DeviceProduct == \"ClearPass\"\n | summarize Time = max(TimeGenerated)\n | where isnotempty(Time)"
|
||
}
|
||
],
|
||
"connectivityCriterias": [
|
||
{
|
||
"type": "IsConnectedQuery",
|
||
"value": [
|
||
"CommonSecurityLog\n| where DeviceVendor == \"Aruba Networks\" and DeviceProduct == \"ClearPass\"\n | summarize LastLogReceived = max(TimeGenerated)\n | project IsConnected = LastLogReceived > ago(30d)"
|
||
]
|
||
}
|
||
],
|
||
"sampleQueries": [
|
||
{
|
||
"description": "Top 10 Events by Username",
|
||
"query": "ArubaClearPass \n | summarize count() by UserName \n| top 10 by count_"
|
||
},
|
||
{
|
||
"description": "Top 10 Error Codes",
|
||
"query": "ArubaClearPass \n | summarize count() by ErrorCode \n| top 10 by count_"
|
||
}
|
||
],
|
||
"availability": {
|
||
"status": 1,
|
||
"isPreview": false
|
||
},
|
||
"permissions": {
|
||
"resourceProvider": [
|
||
{
|
||
"provider": "Microsoft.OperationalInsights/workspaces",
|
||
"permissionsDisplayText": "read and write permissions are required.",
|
||
"providerDisplayName": "Workspace",
|
||
"scope": "Workspace",
|
||
"requiredPermissions": {
|
||
"read": true,
|
||
"write": 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": "Keys",
|
||
"scope": "Workspace",
|
||
"requiredPermissions": {
|
||
"action": true
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"instructionSteps": [
|
||
{
|
||
"description": "**NOTE:** This data connector depends on a parser based on a Kusto Function to work as expected which is deployed as part of the solution. To view the function code in Log Analytics, open Log Analytics/Microsoft Sentinel Logs blade, click Functions and search for the alias ArubaClearPass and load the function code or click [here](https://aka.ms/sentinel-arubaclearpass-parser).The function usually takes 10-15 minutes to activate after solution installation/update."
|
||
},
|
||
{
|
||
"description": "Install and configure the Linux agent to collect your Common Event Format (CEF) Syslog messages and forward them to Microsoft Sentinel.\n\n> Notice that the data from all regions will be stored in the selected workspace",
|
||
"innerSteps": [
|
||
{
|
||
"title": "1.1 Select or create a Linux machine",
|
||
"description": "Select or create a Linux machine that Microsoft Sentinel will use as the proxy between your security solution and Microsoft Sentinel this machine can be on your on-prem environment, Azure or other clouds."
|
||
},
|
||
{
|
||
"title": "1.2 Install the CEF collector on the Linux machine",
|
||
"description": "Install the Microsoft Monitoring Agent on your Linux machine and configure the machine to listen on the necessary port and forward messages to your Microsoft Sentinel workspace. The CEF collector collects CEF messages on port 514 TCP.\n\n> 1. Make sure that you have Python on your machine using the following command: python -version.\n\n> 2. You must have elevated permissions (sudo) on your machine.",
|
||
"instructions": [
|
||
{
|
||
"parameters": {
|
||
"fillWith": [
|
||
"WorkspaceId",
|
||
"PrimaryKey"
|
||
],
|
||
"label": "Run the following command to install and apply the CEF collector:",
|
||
"value": "sudo wget -O cef_installer.py https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/CEF/cef_installer.py&&sudo python cef_installer.py {0} {1}"
|
||
},
|
||
"type": "CopyableLabel"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"title": "1. Linux Syslog agent configuration"
|
||
},
|
||
{
|
||
"description": "Configure Aruba ClearPass to forward Syslog messages in CEF format to your Microsoft Sentinel workspace via the Syslog agent.\n1. [Follow these instructions](https://www.arubanetworks.com/techdocs/ClearPass/6.7/PolicyManager/Content/CPPM_UserGuide/Admin/syslogExportFilters_add_syslog_filter_general.htm) to configure the Aruba ClearPass to forward syslog.\n2. Use the IP address or hostname for the Linux device with the Linux agent installed as the Destination IP address.",
|
||
"title": "2. Forward Aruba ClearPass logs to a Syslog agent"
|
||
},
|
||
{
|
||
"description": "Follow the instructions to validate your connectivity:\n\nOpen Log Analytics to check if the logs are received using the CommonSecurityLog schema.\n\n>It may take about 20 minutes until the connection streams data to your workspace.\n\nIf the logs are not received, run the following connectivity validation script:\n\n> 1. Make sure that you have Python on your machine using the following command: python -version\n\n>2. You must have elevated permissions (sudo) on your machine",
|
||
"instructions": [
|
||
{
|
||
"parameters": {
|
||
"fillWith": [
|
||
"WorkspaceId"
|
||
],
|
||
"label": "Run the following command to validate your connectivity:",
|
||
"value": "sudo wget -O cef_troubleshoot.py https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/CEF/cef_troubleshoot.py&&sudo python cef_troubleshoot.py {0}"
|
||
},
|
||
"type": "CopyableLabel"
|
||
}
|
||
],
|
||
"title": "3. Validate connection"
|
||
},
|
||
{
|
||
"description": "Make sure to configure the machine's security according to your organization's security policy\n\n\n[Learn more >](https://aka.ms/SecureCEF)",
|
||
"title": "4. Secure your machine "
|
||
}
|
||
],
|
||
"id": "[variables('_uiConfigId1')]",
|
||
"additionalRequirementBanner": "These queries are dependent on a parser based on a Kusto Function deployed as part of the solution."
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/contentTemplates",
|
||
"apiVersion": "2023-04-01-preview",
|
||
"name": "[variables('dataConnectorTemplateSpecName2')]",
|
||
"location": "[parameters('workspace-location')]",
|
||
"dependsOn": [
|
||
"[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]"
|
||
],
|
||
"properties": {
|
||
"description": "Aruba ClearPass data connector with template version 3.0.1",
|
||
"mainTemplate": {
|
||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
||
"contentVersion": "[variables('dataConnectorVersion2')]",
|
||
"parameters": {},
|
||
"variables": {},
|
||
"resources": [
|
||
{
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',variables('_dataConnectorContentId2'))]",
|
||
"apiVersion": "2021-03-01-preview",
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/dataConnectors",
|
||
"location": "[parameters('workspace-location')]",
|
||
"kind": "GenericUI",
|
||
"properties": {
|
||
"connectorUiConfig": {
|
||
"id": "[variables('_uiConfigId2')]",
|
||
"title": "[Recommended] Aruba ClearPass via AMA",
|
||
"publisher": "Aruba Networks",
|
||
"descriptionMarkdown": "The [Aruba ClearPass](https://www.arubanetworks.com/products/security/network-access-control/secure-access/) connector allows you to easily connect your Aruba ClearPass with Microsoft Sentinel, to create custom dashboards, alerts, and improve investigation. This gives you more insight into your organization’s network and improves your security operation capabilities.",
|
||
"additionalRequirementBanner": "These queries are dependent on a parser based on a Kusto Function deployed as part of the solution.",
|
||
"graphQueries": [
|
||
{
|
||
"metricName": "Total data received",
|
||
"legend": "ArubaClearPass",
|
||
"baseQuery": "CommonSecurityLog\n |where DeviceVendor =~ 'Aruba Networks'\n |where DeviceProduct =~ 'ClearPass'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)"
|
||
}
|
||
],
|
||
"sampleQueries": [
|
||
{
|
||
"description": "Top 10 Events by Username",
|
||
"query": "ArubaClearPass \n | summarize count() by UserName \n| top 10 by count_"
|
||
},
|
||
{
|
||
"description": "Top 10 Error Codes",
|
||
"query": "ArubaClearPass \n | summarize count() by ErrorCode \n| top 10 by count_"
|
||
}
|
||
],
|
||
"connectivityCriterias": [
|
||
{
|
||
"type": "IsConnectedQuery",
|
||
"value": [
|
||
"CommonSecurityLog\n |where DeviceVendor =~ 'Aruba Networks'\n |where DeviceProduct =~ 'ClearPass'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)\n | summarize LastLogReceived = max(TimeGenerated)\n | project IsConnected = LastLogReceived > ago(30d)"
|
||
]
|
||
}
|
||
],
|
||
"dataTypes": [
|
||
{
|
||
"name": "CommonSecurityLog (ArubaClearPass)",
|
||
"lastDataReceivedQuery": "CommonSecurityLog\n |where DeviceVendor =~ 'Aruba Networks'\n |where DeviceProduct =~ 'ClearPass'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)\n | summarize Time = max(TimeGenerated)\n | where isnotempty(Time)"
|
||
}
|
||
],
|
||
"availability": {
|
||
"status": 1,
|
||
"isPreview": false
|
||
},
|
||
"permissions": {
|
||
"resourceProvider": [
|
||
{
|
||
"provider": "Microsoft.OperationalInsights/workspaces",
|
||
"permissionsDisplayText": "read and write permissions are required.",
|
||
"providerDisplayName": "Workspace",
|
||
"scope": "Workspace",
|
||
"requiredPermissions": {
|
||
"read": true,
|
||
"write": 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": "Keys",
|
||
"scope": "Workspace",
|
||
"requiredPermissions": {
|
||
"action": true
|
||
}
|
||
}
|
||
],
|
||
"customs": [
|
||
{
|
||
"description": "To collect data from non-Azure VMs, they must have Azure Arc installed and enabled. [Learn more](https://docs.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-install?tabs=ARMAgentPowerShell,PowerShellWindows,PowerShellWindowsArc,CLIWindows,CLIWindowsArc)"
|
||
},
|
||
{
|
||
"description": "Common Event Format (CEF) via AMA and Syslog via AMA data connectors must be installed [Learn more](https://learn.microsoft.com/azure/sentinel/connect-cef-ama#open-the-connector-page-and-create-the-dcr)"
|
||
}
|
||
]
|
||
},
|
||
"instructionSteps": [
|
||
{
|
||
"description": "**NOTE:** This data connector depends on a parser based on a Kusto Function to work as expected which is deployed as part of the solution. To view the function code in Log Analytics, open Log Analytics/Microsoft Sentinel Logs blade, click Functions and search for the alias ArubaClearPass and load the function code or click [here](https://aka.ms/sentinel-arubaclearpass-parser).The function usually takes 10-15 minutes to activate after solution installation/update.",
|
||
"instructions": [
|
||
{
|
||
"parameters": {
|
||
"title": "1. Kindly follow the steps to configure the data connector",
|
||
"instructionSteps": [
|
||
{
|
||
"title": "Step A. Configure the Common Event Format (CEF) via AMA data connector",
|
||
"description": "_Note:- CEF logs are collected only from Linux Agents_\n\n1. Navigate to Microsoft Sentinel workspace ---> configuration ---> Data connector blade .\n\n2. Search for 'Common Event Format (CEF) via AMA' data connector and open it.\n\n3. Check If there is no existing DCR configured to collect required facility of logs, Create a new DCR (Data Collection Rule)\n\n\t_Note:- It is recommended to install minimum 1.27 version of AMA agent [Learn more](https://learn.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal ) and ensure there is no duplicate DCR as it can cause log duplicacy_\n\n4. Run the command provided in the CEF via AMA data connector page to configure the CEF collector on the machine"
|
||
|
||
},
|
||
{
|
||
"title": "Step B. Forward Aruba ClearPass logs to a Syslog agent",
|
||
"description": "Configure Aruba ClearPass to forward Syslog messages in CEF format to your Microsoft Sentinel workspace via the Syslog agent.\n1. [Follow these instructions](https://www.arubanetworks.com/techdocs/ClearPass/6.7/PolicyManager/Content/CPPM_UserGuide/Admin/syslogExportFilters_add_syslog_filter_general.htm) to configure the Aruba ClearPass to forward syslog.\n2. Use the IP address or hostname for the Linux device with the Linux agent installed as the Destination IP address."
|
||
|
||
},
|
||
{
|
||
"title": "Step C. Validate connection",
|
||
"description": "Follow the instructions to validate your connectivity:\n\nOpen Log Analytics to check if the logs are received using the CommonSecurityLog schema.\n\nIt may take about 20 minutes until the connection streams data to your workspace.\n\nIf the logs are not received, run the following connectivity validation script:\n\n 1. Make sure that you have Python on your machine using the following command: python -version\n\n2. You must have elevated permissions (sudo) on your machine",
|
||
"instructions": [
|
||
{
|
||
"parameters": {
|
||
"label": "Run the following command to validate your connectivity:",
|
||
"value": "sudo wget -O Sentinel_AMA_troubleshoot.py https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/Syslog/Sentinel_AMA_troubleshoot.py&&sudo python Sentinel_AMA_troubleshoot.py --cef"
|
||
},
|
||
"type": "CopyableLabel"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"type": "InstructionStepsGroup"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"description": "Make sure to configure the machine's security according to your organization's security policy\n\n\n[Learn more >](https://aka.ms/SecureCEF)",
|
||
"title": "2. Secure your machine "
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/metadata",
|
||
"apiVersion": "2023-04-01-preview",
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat('DataConnector-', last(split(variables('_dataConnectorId2'),'/'))))]",
|
||
"properties": {
|
||
"parentId": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId2'))]",
|
||
"contentId": "[variables('_dataConnectorContentId2')]",
|
||
"kind": "DataConnector",
|
||
"version": "[variables('dataConnectorVersion2')]",
|
||
"source": {
|
||
"kind": "Solution",
|
||
"name": "Aruba ClearPass",
|
||
"sourceId": "[variables('_solutionId')]"
|
||
},
|
||
"author": {
|
||
"name": "Aruba Networks"
|
||
},
|
||
"support": {
|
||
"tier": "Microsoft",
|
||
"name": "Microsoft Corporation",
|
||
"email": "support@microsoft.com",
|
||
"link": "https://support.microsoft.com/"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"packageKind": "Solution",
|
||
"packageVersion": "[variables('_solutionVersion')]",
|
||
"packageName": "[variables('_solutionName')]",
|
||
"packageId": "[variables('_solutionId')]",
|
||
"contentSchemaVersion": "3.0.0",
|
||
"contentId": "[variables('_dataConnectorContentId2')]",
|
||
"contentKind": "DataConnector",
|
||
"displayName": "[Recommended] Aruba ClearPass via AMA",
|
||
"contentProductId": "[variables('_dataConnectorcontentProductId2')]",
|
||
"id": "[variables('_dataConnectorcontentProductId2')]",
|
||
"version": "[variables('dataConnectorVersion2')]"
|
||
}
|
||
},
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/metadata",
|
||
"apiVersion": "2023-04-01-preview",
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat('DataConnector-', last(split(variables('_dataConnectorId2'),'/'))))]",
|
||
"dependsOn": [
|
||
"[variables('_dataConnectorId2')]"
|
||
],
|
||
"location": "[parameters('workspace-location')]",
|
||
"properties": {
|
||
"parentId": "[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/dataConnectors', variables('_dataConnectorContentId2'))]",
|
||
"contentId": "[variables('_dataConnectorContentId2')]",
|
||
"kind": "DataConnector",
|
||
"version": "[variables('dataConnectorVersion2')]",
|
||
"source": {
|
||
"kind": "Solution",
|
||
"name": "Aruba ClearPass",
|
||
"sourceId": "[variables('_solutionId')]"
|
||
},
|
||
"author": {
|
||
"name": "Aruba Networks"
|
||
},
|
||
"support": {
|
||
"tier": "Microsoft",
|
||
"name": "Microsoft Corporation",
|
||
"email": "support@microsoft.com",
|
||
"link": "https://support.microsoft.com/"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',variables('_dataConnectorContentId2'))]",
|
||
"apiVersion": "2021-03-01-preview",
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/dataConnectors",
|
||
"location": "[parameters('workspace-location')]",
|
||
"kind": "GenericUI",
|
||
"properties": {
|
||
"connectorUiConfig": {
|
||
"title": "[Recommended] Aruba ClearPass via AMA",
|
||
"publisher": "Aruba Networks",
|
||
"descriptionMarkdown": "The [Aruba ClearPass](https://www.arubanetworks.com/products/security/network-access-control/secure-access/) connector allows you to easily connect your Aruba ClearPass with Microsoft Sentinel, to create custom dashboards, alerts, and improve investigation. This gives you more insight into your organization’s network and improves your security operation capabilities.",
|
||
"graphQueries": [
|
||
{
|
||
"metricName": "Total data received",
|
||
"legend": "ArubaClearPass",
|
||
"baseQuery": "CommonSecurityLog\n |where DeviceVendor =~ 'Aruba Networks'\n |where DeviceProduct =~ 'ClearPass'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)"
|
||
}
|
||
],
|
||
"dataTypes": [
|
||
{
|
||
"name": "CommonSecurityLog (ArubaClearPass)",
|
||
"lastDataReceivedQuery": "CommonSecurityLog\n |where DeviceVendor =~ 'Aruba Networks'\n |where DeviceProduct =~ 'ClearPass'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)\n | summarize Time = max(TimeGenerated)\n | where isnotempty(Time)"
|
||
}
|
||
],
|
||
"connectivityCriterias": [
|
||
{
|
||
"type": "IsConnectedQuery",
|
||
"value": [
|
||
"CommonSecurityLog\n |where DeviceVendor =~ 'Aruba Networks'\n |where DeviceProduct =~ 'ClearPass'\n |extend sent_by_ama = column_ifexists('CollectorHostName','')\n |where isnotempty(sent_by_ama)\n | summarize LastLogReceived = max(TimeGenerated)\n | project IsConnected = LastLogReceived > ago(30d)"
|
||
]
|
||
}
|
||
],
|
||
"sampleQueries": [
|
||
{
|
||
"description": "Top 10 Events by Username",
|
||
"query": "ArubaClearPass \n | summarize count() by UserName \n| top 10 by count_"
|
||
},
|
||
{
|
||
"description": "Top 10 Error Codes",
|
||
"query": "ArubaClearPass \n | summarize count() by ErrorCode \n| top 10 by count_"
|
||
}
|
||
],
|
||
"availability": {
|
||
"status": 1,
|
||
"isPreview": false
|
||
},
|
||
"permissions": {
|
||
"resourceProvider": [
|
||
{
|
||
"provider": "Microsoft.OperationalInsights/workspaces",
|
||
"permissionsDisplayText": "read and write permissions are required.",
|
||
"providerDisplayName": "Workspace",
|
||
"scope": "Workspace",
|
||
"requiredPermissions": {
|
||
"read": true,
|
||
"write": 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": "Keys",
|
||
"scope": "Workspace",
|
||
"requiredPermissions": {
|
||
"action": true
|
||
}
|
||
}
|
||
],
|
||
"customs": [
|
||
{
|
||
"description": "To collect data from non-Azure VMs, they must have Azure Arc installed and enabled. [Learn more](https://docs.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-install?tabs=ARMAgentPowerShell,PowerShellWindows,PowerShellWindowsArc,CLIWindows,CLIWindowsArc)"
|
||
},
|
||
{
|
||
"description": "Common Event Format (CEF) via AMA and Syslog via AMA data connectors must be installed [Learn more](https://learn.microsoft.com/azure/sentinel/connect-cef-ama#open-the-connector-page-and-create-the-dcr)"
|
||
}
|
||
]
|
||
},
|
||
"instructionSteps": [
|
||
{
|
||
"description": "**NOTE:** This data connector depends on a parser based on a Kusto Function to work as expected which is deployed as part of the solution. To view the function code in Log Analytics, open Log Analytics/Microsoft Sentinel Logs blade, click Functions and search for the alias ArubaClearPass and load the function code or click [here](https://aka.ms/sentinel-arubaclearpass-parser).The function usually takes 10-15 minutes to activate after solution installation/update.",
|
||
"instructions": [
|
||
{
|
||
"parameters": {
|
||
"title": "1. Kindly follow the steps to configure the data connector",
|
||
"instructionSteps": [
|
||
{
|
||
"title": "Step A. Configure the Common Event Format (CEF) via AMA data connector",
|
||
"description": "_Note:- CEF logs are collected only from Linux Agents_\n\n1. Navigate to Microsoft Sentinel workspace ---> configuration ---> Data connector blade .\n\n2. Search for 'Common Event Format (CEF) via AMA' data connector and open it.\n\n3. Check If there is no existing DCR configured to collect required facility of logs, Create a new DCR (Data Collection Rule)\n\n\t_Note:- It is recommended to install minimum 1.27 version of AMA agent [Learn more](https://learn.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal ) and ensure there is no duplicate DCR as it can cause log duplicacy_\n\n4. Run the command provided in the CEF via AMA data connector page to configure the CEF collector on the machine"
|
||
|
||
},
|
||
{
|
||
"title": "Step B. Forward Aruba ClearPass logs to a Syslog agent",
|
||
"description": "Configure Aruba ClearPass to forward Syslog messages in CEF format to your Microsoft Sentinel workspace via the Syslog agent.\n1. [Follow these instructions](https://www.arubanetworks.com/techdocs/ClearPass/6.7/PolicyManager/Content/CPPM_UserGuide/Admin/syslogExportFilters_add_syslog_filter_general.htm) to configure the Aruba ClearPass to forward syslog.\n2. Use the IP address or hostname for the Linux device with the Linux agent installed as the Destination IP address."
|
||
|
||
},
|
||
{
|
||
"title": "Step C. Validate connection",
|
||
"description": "Follow the instructions to validate your connectivity:\n\nOpen Log Analytics to check if the logs are received using the CommonSecurityLog schema.\n\nIt may take about 20 minutes until the connection streams data to your workspace.\n\nIf the logs are not received, run the following connectivity validation script:\n\n 1. Make sure that you have Python on your machine using the following command: python -version\n\n2. You must have elevated permissions (sudo) on your machine",
|
||
"instructions": [
|
||
{
|
||
"parameters": {
|
||
"label": "Run the following command to validate your connectivity:",
|
||
"value": "sudo wget -O Sentinel_AMA_troubleshoot.py https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/Syslog/Sentinel_AMA_troubleshoot.py&&sudo python Sentinel_AMA_troubleshoot.py --cef"
|
||
},
|
||
"type": "CopyableLabel"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"type": "InstructionStepsGroup"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"description": "Make sure to configure the machine's security according to your organization's security policy\n\n\n[Learn more >](https://aka.ms/SecureCEF)",
|
||
"title": "2. Secure your machine "
|
||
}
|
||
],
|
||
"id": "[variables('_uiConfigId2')]",
|
||
"additionalRequirementBanner": "These queries are dependent on a parser based on a Kusto Function deployed as part of the solution."
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/contentTemplates",
|
||
"apiVersion": "2023-04-01-preview",
|
||
"name": "[variables('parserTemplateSpecName1')]",
|
||
"location": "[parameters('workspace-location')]",
|
||
"dependsOn": [
|
||
"[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]"
|
||
],
|
||
"properties": {
|
||
"description": "ArubaClearPass Data Parser with template version 3.0.1",
|
||
"mainTemplate": {
|
||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
||
"contentVersion": "[variables('parserVersion1')]",
|
||
"parameters": {},
|
||
"variables": {},
|
||
"resources": [
|
||
{
|
||
"name": "[variables('_parserName1')]",
|
||
"apiVersion": "2022-10-01",
|
||
"type": "Microsoft.OperationalInsights/workspaces/savedSearches",
|
||
"location": "[parameters('workspace-location')]",
|
||
"properties": {
|
||
"eTag": "*",
|
||
"displayName": "ArubaClearPass",
|
||
"category": "Microsoft Sentinel Parser",
|
||
"functionAlias": "ArubaClearPass",
|
||
"query": "let LogHeader =\nCommonSecurityLog\n| where DeviceVendor == \"Aruba Networks\" and DeviceProduct == \"ClearPass\"\n| extend Category = coalesce(\n extract(@'cat=([^;]+)(\\;|$)',1, AdditionalExtensions), \n column_ifexists(\"DeviceEventCategory\", \"\")\n ),\n Outcome = coalesce(\n extract(@'outcome=([^;]+)\\;',1, AdditionalExtensions), \n column_ifexists(\"EventOutcome\", \"\")\n )\n| project-rename DvcIpAddr = DeviceAddress,\n DvcVersion = DeviceVersion,\n SrcIpAddr = SourceIP;\nlet InsightLogs = LogHeader\n| where Activity == \"Insight Logs\" or Category == \"Insight Logs\"\n// Version 6.5\n| extend UserName = extract(@'Auth.Username=([^;]+)\\;',1, AdditionalExtensions),\n AuthorizationSources = extract(@'Auth.Authorization-Sources=([^;]+)\\;',1, AdditionalExtensions),\n NetworkProtocol = extract(@'Auth.Protocol=([^;]+)\\;',1, AdditionalExtensions),\n RequestTimestamp = extract(@'Auth.Request-Timestamp=([^;]+)\\;',1, AdditionalExtensions),\n LoginStatus = extract(@'Auth.Login-Status=([^;]+)\\;',1, AdditionalExtensions),\n Source = extract(@'Auth.Source=([^;]+)\\;',1, AdditionalExtensions),\n EnforcementProfiles = extract(@'Auth.Enforcement-Profiles=([^;]+)\\;',1, AdditionalExtensions),\n NasPort = extract(@'Auth.NAS-Port=([^;]+)\\;',1, AdditionalExtensions),\n TimestampFormat = extract(@'TimestampFormat=([^;]+)\\;',1, AdditionalExtensions),\n Ssid = extract(@'Auth.SSID=([^;]+)\\;',1, AdditionalExtensions),\n NasPortType = extract(@'Auth.NAS-Port-Type=([^;]+)\\;',1, AdditionalExtensions),\n ErrorCode = extract(@'Auth.Error-Code=([^;]+)\\;',1, AdditionalExtensions),\n Roles = extract(@'Auth.Roles=([^;]+)\\;',1, AdditionalExtensions),\n Service = extract(@'Auth.Service=([^;]+)\\;',1, AdditionalExtensions),\n SrcMacAddr = extract(@'Auth.Host-MAC-Address=([^;]+)\\;',1, AdditionalExtensions),\n Unhealthy = extract(@'Auth.Unhealthy=([^;]+)\\;',1, AdditionalExtensions),\n NasIpAddr = extract(@'Auth.NAS-IP-Address=([^;]+)\\;',1, AdditionalExtensions),\n CalledStationId = extract(@'Auth.CalledStationId=([^;]+)\\;',1, AdditionalExtensions),\n NasIdentifier = extract(@'Auth.NAS-Identifier=([^;]+)\\;',1, AdditionalExtensions)\n// Version 6.6+\n| extend EndpointStatus = extract(@'ArubaClearpassEndpointStatus=([^;]+)\\;',1, AdditionalExtensions),\n EndpointConflict = extract(@'ArubaClearpassEndpointConflict=([^;]+)\\;',1, AdditionalExtensions),\n EndpointDvcCategory = iif(DeviceCustomString3Label == \"Endpoint.Device-Category\", DeviceCustomString3, \"\"),\n EndpointDvcFamily = iif(DeviceCustomString4Label == \"Endpoint.Device-Family\", DeviceCustomString4, \"\"),\n EndpointDvcName = iif(DeviceCustomString5Label == \"Endpoint.Device-Name\", DeviceCustomString5, \"\"),\n EndpointMacVendor = iif(DeviceCustomString6Label == \"Endpoint.MAC-Vendor\", DeviceCustomString6, \"\"), \n EndpointAddedDate= iif(DeviceCustomDate1Label == \"Endpoint.Added-At\", todatetime(DeviceCustomDate1), todatetime(\"\"))\n| extend Category = iif(isempty(Category), \"Insight Logs\", Category); \nlet AuditRecords = LogHeader\n| where Activity == \"Audit Records\" or Category == \"Audit Records\"\n| extend TimestampFormat = extract(@'timeFormat=([^;]+)\\;',1, AdditionalExtensions),\n UserName = extract(@'usrName=([^;]+)(\\;|$)',1, AdditionalExtensions)\n| extend Category = iif(isempty(Category), \"Audit Records\", Category);\nlet SessionLogs = LogHeader\n| where Activity == \"Session Logs\" or Category == \"Session Logs\"\n| extend Timestamp = extract(@'RADIUS.Acct-Timestamp=([^;]+)\\;',1, AdditionalExtensions),\n CallingStationId = extract(@'RADIUS.Acct-Calling-Station-Id=([^;]+)\\;',1, AdditionalExtensions),\n InputOctets = extract(@'RADIUS.Acct-Input-Octets=([^;]+)\\;',1, AdditionalExtensions),\n TimestampFormat = extract(@'TimestampFormat=([^;]+)\\;',1, AdditionalExtensions),\n SessionTime = extract(@'RADIUS.Acct-Session-Time=([^;]+)\\;',1, AdditionalExtensions),\n FramedIpAddr = extract(@'RADIUS.Acct-Framed-IP-Address=([^;]+)\\;',1, AdditionalExtensions),\n Source = extract(@'RADIUS.Auth-Source=([^;]+)\\;',1, AdditionalExtensions),\n Method = extract(@'RADIUS.Auth-Method=([^;]+)\\;',1, AdditionalExtensions),\n SessionId = extract(@'RADIUS.Acct-Session-Id=([^;]+)\\;',1, AdditionalExtensions),\n ServiceName = extract(@'RADIUS.Acct-Service-Name=([^;]+)\\;',1, AdditionalExtensions),\n NasPortNumber = extract(@'RADIUS.Acct-NAS-Port=([^;]+)\\;',1, AdditionalExtensions),\n NasPortType = extract(@'RADIUS.Acct-NAS-Port-Type=([^;]+)\\;',1, AdditionalExtensions),\n OutputOctets = extract(@'RADIUS.Acct-Output-Octets=([^;]+)\\;',1, AdditionalExtensions),\n UserName = extract(@'RADIUS.Acct-Username=([^;]+)\\;',1, AdditionalExtensions),\n NasIpAddr = extract(@'RADIUS.Acct-NAS-IP-Address=([^;]+)\\;',1, AdditionalExtensions)\n| project-rename DstServiceName = DestinationServiceName,\n DstUserPriviledges = DestinationUserPrivileges,\n DstUserName = DestinationUserName,\n DstMacAddr = DestinationMACAddress\n| extend Category = iif(isempty(Category), \"Sessions Logs\", Category);\nlet SystemLogs = LogHeader\n| where Activity == \"System Logs\" or Category == \"ClearPass System Events\"\n| extend Description = extract(@'description=([^;]+)\\;',1, AdditionalExtensions),\n Action = extract(@'daction=([^;]+)\\;',1, AdditionalExtensions),\n InputOctets = extract(@'RADIUS.Acct-Input-Octets=([^;]+)\\;',1, AdditionalExtensions),\n TimeFormat = extract(@'devTimeFormat=([^;]+)\\;',1, AdditionalExtensions)\n| extend Category = iif(isempty(Category), \"System Logs\", \"System Logs\");\nunion SessionLogs, InsightLogs, AuditRecords, SystemLogs\n",
|
||
"functionParameters": "",
|
||
"version": 2,
|
||
"tags": [
|
||
{
|
||
"name": "description",
|
||
"value": ""
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/metadata",
|
||
"apiVersion": "2022-01-01-preview",
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat('Parser-', last(split(variables('_parserId1'),'/'))))]",
|
||
"dependsOn": [
|
||
"[variables('_parserId1')]"
|
||
],
|
||
"properties": {
|
||
"parentId": "[resourceId('Microsoft.OperationalInsights/workspaces/savedSearches', parameters('workspace'), variables('parserName1'))]",
|
||
"contentId": "[variables('_parserContentId1')]",
|
||
"kind": "Parser",
|
||
"version": "[variables('parserVersion1')]",
|
||
"source": {
|
||
"name": "Aruba ClearPass",
|
||
"kind": "Solution",
|
||
"sourceId": "[variables('_solutionId')]"
|
||
},
|
||
"author": {
|
||
"name": "Aruba Networks"
|
||
},
|
||
"support": {
|
||
"tier": "Microsoft",
|
||
"name": "Microsoft Corporation",
|
||
"email": "support@microsoft.com",
|
||
"link": "https://support.microsoft.com/"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"packageKind": "Solution",
|
||
"packageVersion": "[variables('_solutionVersion')]",
|
||
"packageName": "[variables('_solutionName')]",
|
||
"packageId": "[variables('_solutionId')]",
|
||
"contentSchemaVersion": "3.0.0",
|
||
"contentId": "[variables('_parserContentId1')]",
|
||
"contentKind": "Parser",
|
||
"displayName": "ArubaClearPass",
|
||
"contentProductId": "[variables('_parsercontentProductId1')]",
|
||
"id": "[variables('_parsercontentProductId1')]",
|
||
"version": "[variables('parserVersion1')]"
|
||
}
|
||
},
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/savedSearches",
|
||
"apiVersion": "2022-10-01",
|
||
"name": "[variables('_parserName1')]",
|
||
"location": "[parameters('workspace-location')]",
|
||
"properties": {
|
||
"eTag": "*",
|
||
"displayName": "ArubaClearPass",
|
||
"category": "Microsoft Sentinel Parser",
|
||
"functionAlias": "ArubaClearPass",
|
||
"query": "let LogHeader =\nCommonSecurityLog\n| where DeviceVendor == \"Aruba Networks\" and DeviceProduct == \"ClearPass\"\n| extend Category = coalesce(\n extract(@'cat=([^;]+)(\\;|$)',1, AdditionalExtensions), \n column_ifexists(\"DeviceEventCategory\", \"\")\n ),\n Outcome = coalesce(\n extract(@'outcome=([^;]+)\\;',1, AdditionalExtensions), \n column_ifexists(\"EventOutcome\", \"\")\n )\n| project-rename DvcIpAddr = DeviceAddress,\n DvcVersion = DeviceVersion,\n SrcIpAddr = SourceIP;\nlet InsightLogs = LogHeader\n| where Activity == \"Insight Logs\" or Category == \"Insight Logs\"\n// Version 6.5\n| extend UserName = extract(@'Auth.Username=([^;]+)\\;',1, AdditionalExtensions),\n AuthorizationSources = extract(@'Auth.Authorization-Sources=([^;]+)\\;',1, AdditionalExtensions),\n NetworkProtocol = extract(@'Auth.Protocol=([^;]+)\\;',1, AdditionalExtensions),\n RequestTimestamp = extract(@'Auth.Request-Timestamp=([^;]+)\\;',1, AdditionalExtensions),\n LoginStatus = extract(@'Auth.Login-Status=([^;]+)\\;',1, AdditionalExtensions),\n Source = extract(@'Auth.Source=([^;]+)\\;',1, AdditionalExtensions),\n EnforcementProfiles = extract(@'Auth.Enforcement-Profiles=([^;]+)\\;',1, AdditionalExtensions),\n NasPort = extract(@'Auth.NAS-Port=([^;]+)\\;',1, AdditionalExtensions),\n TimestampFormat = extract(@'TimestampFormat=([^;]+)\\;',1, AdditionalExtensions),\n Ssid = extract(@'Auth.SSID=([^;]+)\\;',1, AdditionalExtensions),\n NasPortType = extract(@'Auth.NAS-Port-Type=([^;]+)\\;',1, AdditionalExtensions),\n ErrorCode = extract(@'Auth.Error-Code=([^;]+)\\;',1, AdditionalExtensions),\n Roles = extract(@'Auth.Roles=([^;]+)\\;',1, AdditionalExtensions),\n Service = extract(@'Auth.Service=([^;]+)\\;',1, AdditionalExtensions),\n SrcMacAddr = extract(@'Auth.Host-MAC-Address=([^;]+)\\;',1, AdditionalExtensions),\n Unhealthy = extract(@'Auth.Unhealthy=([^;]+)\\;',1, AdditionalExtensions),\n NasIpAddr = extract(@'Auth.NAS-IP-Address=([^;]+)\\;',1, AdditionalExtensions),\n CalledStationId = extract(@'Auth.CalledStationId=([^;]+)\\;',1, AdditionalExtensions),\n NasIdentifier = extract(@'Auth.NAS-Identifier=([^;]+)\\;',1, AdditionalExtensions)\n// Version 6.6+\n| extend EndpointStatus = extract(@'ArubaClearpassEndpointStatus=([^;]+)\\;',1, AdditionalExtensions),\n EndpointConflict = extract(@'ArubaClearpassEndpointConflict=([^;]+)\\;',1, AdditionalExtensions),\n EndpointDvcCategory = iif(DeviceCustomString3Label == \"Endpoint.Device-Category\", DeviceCustomString3, \"\"),\n EndpointDvcFamily = iif(DeviceCustomString4Label == \"Endpoint.Device-Family\", DeviceCustomString4, \"\"),\n EndpointDvcName = iif(DeviceCustomString5Label == \"Endpoint.Device-Name\", DeviceCustomString5, \"\"),\n EndpointMacVendor = iif(DeviceCustomString6Label == \"Endpoint.MAC-Vendor\", DeviceCustomString6, \"\"), \n EndpointAddedDate= iif(DeviceCustomDate1Label == \"Endpoint.Added-At\", todatetime(DeviceCustomDate1), todatetime(\"\"))\n| extend Category = iif(isempty(Category), \"Insight Logs\", Category); \nlet AuditRecords = LogHeader\n| where Activity == \"Audit Records\" or Category == \"Audit Records\"\n| extend TimestampFormat = extract(@'timeFormat=([^;]+)\\;',1, AdditionalExtensions),\n UserName = extract(@'usrName=([^;]+)(\\;|$)',1, AdditionalExtensions)\n| extend Category = iif(isempty(Category), \"Audit Records\", Category);\nlet SessionLogs = LogHeader\n| where Activity == \"Session Logs\" or Category == \"Session Logs\"\n| extend Timestamp = extract(@'RADIUS.Acct-Timestamp=([^;]+)\\;',1, AdditionalExtensions),\n CallingStationId = extract(@'RADIUS.Acct-Calling-Station-Id=([^;]+)\\;',1, AdditionalExtensions),\n InputOctets = extract(@'RADIUS.Acct-Input-Octets=([^;]+)\\;',1, AdditionalExtensions),\n TimestampFormat = extract(@'TimestampFormat=([^;]+)\\;',1, AdditionalExtensions),\n SessionTime = extract(@'RADIUS.Acct-Session-Time=([^;]+)\\;',1, AdditionalExtensions),\n FramedIpAddr = extract(@'RADIUS.Acct-Framed-IP-Address=([^;]+)\\;',1, AdditionalExtensions),\n Source = extract(@'RADIUS.Auth-Source=([^;]+)\\;',1, AdditionalExtensions),\n Method = extract(@'RADIUS.Auth-Method=([^;]+)\\;',1, AdditionalExtensions),\n SessionId = extract(@'RADIUS.Acct-Session-Id=([^;]+)\\;',1, AdditionalExtensions),\n ServiceName = extract(@'RADIUS.Acct-Service-Name=([^;]+)\\;',1, AdditionalExtensions),\n NasPortNumber = extract(@'RADIUS.Acct-NAS-Port=([^;]+)\\;',1, AdditionalExtensions),\n NasPortType = extract(@'RADIUS.Acct-NAS-Port-Type=([^;]+)\\;',1, AdditionalExtensions),\n OutputOctets = extract(@'RADIUS.Acct-Output-Octets=([^;]+)\\;',1, AdditionalExtensions),\n UserName = extract(@'RADIUS.Acct-Username=([^;]+)\\;',1, AdditionalExtensions),\n NasIpAddr = extract(@'RADIUS.Acct-NAS-IP-Address=([^;]+)\\;',1, AdditionalExtensions)\n| project-rename DstServiceName = DestinationServiceName,\n DstUserPriviledges = DestinationUserPrivileges,\n DstUserName = DestinationUserName,\n DstMacAddr = DestinationMACAddress\n| extend Category = iif(isempty(Category), \"Sessions Logs\", Category);\nlet SystemLogs = LogHeader\n| where Activity == \"System Logs\" or Category == \"ClearPass System Events\"\n| extend Description = extract(@'description=([^;]+)\\;',1, AdditionalExtensions),\n Action = extract(@'daction=([^;]+)\\;',1, AdditionalExtensions),\n InputOctets = extract(@'RADIUS.Acct-Input-Octets=([^;]+)\\;',1, AdditionalExtensions),\n TimeFormat = extract(@'devTimeFormat=([^;]+)\\;',1, AdditionalExtensions)\n| extend Category = iif(isempty(Category), \"System Logs\", \"System Logs\");\nunion SessionLogs, InsightLogs, AuditRecords, SystemLogs\n",
|
||
"functionParameters": "",
|
||
"version": 2,
|
||
"tags": [
|
||
{
|
||
"name": "description",
|
||
"value": ""
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/metadata",
|
||
"apiVersion": "2022-01-01-preview",
|
||
"location": "[parameters('workspace-location')]",
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',concat('Parser-', last(split(variables('_parserId1'),'/'))))]",
|
||
"dependsOn": [
|
||
"[variables('_parserId1')]"
|
||
],
|
||
"properties": {
|
||
"parentId": "[resourceId('Microsoft.OperationalInsights/workspaces/savedSearches', parameters('workspace'), variables('parserName1'))]",
|
||
"contentId": "[variables('_parserContentId1')]",
|
||
"kind": "Parser",
|
||
"version": "[variables('parserVersion1')]",
|
||
"source": {
|
||
"kind": "Solution",
|
||
"name": "Aruba ClearPass",
|
||
"sourceId": "[variables('_solutionId')]"
|
||
},
|
||
"author": {
|
||
"name": "Aruba Networks"
|
||
},
|
||
"support": {
|
||
"tier": "Microsoft",
|
||
"name": "Microsoft Corporation",
|
||
"email": "support@microsoft.com",
|
||
"link": "https://support.microsoft.com/"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"type": "Microsoft.OperationalInsights/workspaces/providers/contentPackages",
|
||
"apiVersion": "2023-04-01-preview",
|
||
"location": "[parameters('workspace-location')]",
|
||
"properties": {
|
||
"version": "3.0.1",
|
||
"kind": "Solution",
|
||
"contentSchemaVersion": "3.0.0",
|
||
"displayName": "Aruba ClearPass",
|
||
"publisherDisplayName": "Microsoft Sentinel, Microsoft Corporation",
|
||
"descriptionHtml": "<p><strong>Note:</strong> <em>There may be <a href=\"https://aka.ms/sentinelsolutionsknownissues\">known issues</a> pertaining to this Solution, please refer to them before installing.</em></p>\n<p>The <a href=\"https://www.arubanetworks.com/products/security/network-access-control/secure-access/\">Aruba ClearPass</a> solution allows you to easily connect your Aruba ClearPass with Microsoft Sentinel.</p>\n<ol>\n<li><p><strong>Aruba ClearPass via AMA</strong> - This data connector helps in ingesting Aruba ClearPass logs into your Log Analytics Workspace using the new Azure Monitor Agent. Learn more about ingesting using the new Azure Monitor Agent <a href=\"https://learn.microsoft.com/azure/sentinel/connect-cef-ama\">here</a>. <strong>Microsoft recommends using this Data Connector</strong>.</p>\n</li>\n<li><p><strong>Aruba ClearPass via Legacy Agent</strong> - This data connector helps in ingesting Aruba ClearPass logs into your Log Analytics Workspace using the legacy Log Analytics agent.</p>\n</li>\n</ol>\n<p><strong>NOTE:</strong> Microsoft recommends installation of Aruba ClearPass via AMA Connector. Legacy connector uses the Log Analytics agent which is about to be deprecated by <strong>Aug 31, 2024,</strong> and thus should only be installed where AMA is not supported. Using MMA and AMA on same machine can cause log duplication and extra ingestion cost <a href=\"https://learn.microsoft.com/en-us/azure/sentinel/ama-migrate\">more details</a>.</p>\n<p><strong>Data Connectors:</strong> 2, <strong>Parsers:</strong> 1</p>\n<p><a href=\"https://aka.ms/azuresentinel\">Learn more about Microsoft Sentinel</a> | <a href=\"https://aka.ms/azuresentinelsolutionsdoc\">Learn more about Solutions</a></p>\n",
|
||
"contentKind": "Solution",
|
||
"contentProductId": "[variables('_solutioncontentProductId')]",
|
||
"id": "[variables('_solutioncontentProductId')]",
|
||
"icon": "<img src=\"https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Logos/ArubaClearPass.svg\" width=\"75px\" height=\"75px\">",
|
||
"contentId": "[variables('_solutionId')]",
|
||
"parentId": "[variables('_solutionId')]",
|
||
"source": {
|
||
"kind": "Solution",
|
||
"name": "Aruba ClearPass",
|
||
"sourceId": "[variables('_solutionId')]"
|
||
},
|
||
"author": {
|
||
"name": "Aruba Networks"
|
||
},
|
||
"support": {
|
||
"name": "Microsoft Corporation",
|
||
"email": "support@microsoft.com",
|
||
"tier": "Microsoft",
|
||
"link": "https://support.microsoft.com/"
|
||
},
|
||
"dependencies": {
|
||
"operator": "AND",
|
||
"criteria": [
|
||
{
|
||
"kind": "DataConnector",
|
||
"contentId": "[variables('_dataConnectorContentId1')]",
|
||
"version": "[variables('dataConnectorVersion1')]"
|
||
},
|
||
{
|
||
"kind": "DataConnector",
|
||
"contentId": "[variables('_dataConnectorContentId2')]",
|
||
"version": "[variables('dataConnectorVersion2')]"
|
||
},
|
||
{
|
||
"kind": "Parser",
|
||
"contentId": "[variables('_parserContentId1')]",
|
||
"version": "[variables('parserVersion1')]"
|
||
}
|
||
]
|
||
},
|
||
"firstPublishDate": "2022-05-23",
|
||
"providers": [
|
||
"Aruba"
|
||
],
|
||
"categories": {
|
||
"domains": [
|
||
"Security - Threat Protection"
|
||
]
|
||
}
|
||
},
|
||
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/', variables('_solutionId'))]"
|
||
}
|
||
],
|
||
"outputs": {}
|
||
}
|