How to Export Keytos Shield Audit Logs to Microsoft Sentinel
Overview - How to Send Keytos Shield Logs to Microsoft Sentinel
Keytos Shield can stream its audit logs straight into a Log Analytics workspace, so your security team can query, alert on, and retain them in Microsoft Sentinel alongside the rest of your security data.
This guide applies to both Azure Log Analytics and Microsoft Sentinel, since Sentinel is built on top of Log Analytics. Sentinel is not required if you only want to collect and query logs, but it adds analytics rules, incidents, and other security features if you choose to use it.
Prerequisites
- An active Keytos Shield subscription.
- A Log Analytics workspace (with or without Microsoft Sentinel) in an Azure subscription in your tenant.
- Permission to assign Azure roles on the Resource Group that contains the workspace, such as Owner or User Access Administrator.
How to Grant Keytos Shield Access to Your Log Analytics Workspace
Keytos Shield doesn’t send all of its logs as one application. Each type of log comes from the Keytos Entra ID application that produces it, so all three of the following Enterprise Applications need the same roles on your workspace. If you skip one, the logs from that application never reach Sentinel.
| Enterprise application | Application (client) ID | Logs it sends |
|---|---|---|
| Keytos Shield | 04ba5b42-89b9-441e-b6d6-4d04a4638418e18252d1-c212-4da2-a659-977161df66e5 (Azure Gov) |
Control plane and identity logs |
| Keytos | 68554b48-233f-42b4-9aa7-2eadca4d7727672a56cc-ebe0-4faa-b7be-401b6d894414 (Azure Gov) |
Certificate logs |
| EZRADIUS | 5c0e7b30-d0aa-456a-befb-df8c75e8467b377a449a-da81-49a0-9490-152a7dcea8e5 (Azure Gov) |
Network (RADIUS) logs |
If your tenant is in Azure Government, use the (Azure Gov) IDs. In the Azure CLI script below, replace the IDs in $appIds with the three Azure Gov IDs.
To allow Keytos Shield to send logs to your Log Analytics and Azure Sentinel workspace, you need to grant every application in the table above the following roles on the Resource Group containing your Log Analytics workspace:
This can be done manually in the Azure Portal or using the Azure CLI.
How to Grant Permissions using the Azure Portal
It’s easy to enable the required permissions using the Azure Portal:
-
Navigate to the Azure Portal.
-
Open the Log Analytics Workspace you want to connect to Keytos Shield. If you are using Azure Sentinel, open the Log Analytics workspace connected to your Sentinel instance.
-
Click on Resource group to open the Resource Group containing your Log Analytics workspace.
-
Click Access control (IAM) in the left menu.
-
Click + Add and Add role assignment.
-
Search for Monitoring Contributor in the list of Azure roles. Select the role and click Next.
-
Click + Select members and search for the first application in the table above (for example, Keytos Shield). Select the application.

-
Click Review + assign twice to grant the role to the application.

-
Repeat steps 1-8 for the Monitoring Metrics Publisher and Log Analytics Contributor roles.
How to Grant Permissions using the Azure CLI
The Azure CLI can also be used to enable the required permissions. Follow these steps:
-
Open a PowerShell window on your device with the Azure CLI installed, or navigate to the Azure Portal and open Azure Cloud Shell in PowerShell mode.
-
Copy the Resource ID of the Resource Group containing your Log Analytics workspace. This can be found by going to the Resource Group in Azure, selecting Properties, and copying the Resource ID.
-
Replace the Resource ID placeholder below with your own, then run the script. It looks up each application from the table above in your tenant and grants it all three roles:
$resourceGroupId = "/subscriptions/<YOUR-SUBSCRIPTION-ID>/resourceGroups/<YOUR-RESOURCE-GROUP-NAME>" $appIds = @('04ba5b42-89b9-441e-b6d6-4d04a4638418', '68554b48-233f-42b4-9aa7-2eadca4d7727', '5c0e7b30-d0aa-456a-befb-df8c75e8467b') $roles = @("Monitoring Contributor", "Monitoring Metrics Publisher", "Log Analytics Contributor") foreach ($appId in $appIds) { $objectId = az ad sp list --filter "appId eq '$appId'" --query "[].id" --output tsv foreach ($role in $roles) { az role assignment create --scope "$resourceGroupId" --role "$role" --assignee $objectId } }
How to Export Keytos Shield Audit Logs to Microsoft Sentinel
Once all three applications have their roles, turn on log export in Keytos Shield and connect it to your Log Analytics workspace.
How to Enable Log Export in Keytos Shield
-
Open the Keytos Shield global portal in your browser (US Government Portal) and sign in.
-
Click Settings in the left menu.
-
Scroll down to SIEM Settings and enable Send Audit Logs to SIEM.
How to Configure the Microsoft Sentinel Exporter in Keytos Shield
-
Under SIEM Provider, select Sentinel.
-
In another tab, navigate to the Azure Portal.
-
Select the Log Analytics workspace connected to your Sentinel instance (or any Log Analytics workspace you want to use if you are not using Sentinel).
-
Click on Properties.
-
Copy the Resource ID.
-
Go back to the Keytos Shield tab and paste the Resource ID into the Workspace Resource ID field.
-
Back in the Azure tab, note the Location of the Log Analytics workspace.
-
In Keytos Shield, select the same location in the Location dropdown.
-
Click the Create Connection button. This will create the necessary connection in your Resource Group to communicate with Log Analytics, and send a test message to ensure proper connection.
-
Once the test succeeds, make sure to click Save Changes to save your SIEM settings.
-
Done! Keytos Shield will now send your security logs to your SIEM.
Other Supported SIEM Platforms
Using a different SIEM? See all SIEM platforms supported by Keytos Shield.