Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · 📊
This playbook sends messages to Security GraphAPI in batches
| Attribute | Value |
|---|---|
| Type | Playbook |
| Solution | OpenCTI |
| Source | View on GitHub |
📄 Source: OpenCTIPlaybooks/OpenCTI-ImportToSentinel/readme.md
## Summary This playbook sends messages to Security GraphAPI in batches

Deploy the playbook by clicking on "Deploy to Azure" button. This will take you to deplyoing an ARM Template wizard.
Fill in the required paramteres:


NOTE: Only Azure Tenant admins have permissions to perform below activity.
$AzureTenantId = "< Enter your Azure tenant id here >"
$MIGuid = "< Enter your Logic app system assigned managed identity here >"
Connect-AzureAD -TenantId $AzureTenantId
$MI = Get-AzureADServicePrincipal -ObjectId $MIGuid
$GraphApIAppId = "00000003-0000-0000-c000-000000000000"
$PermissionName = "ThreatIndicators.ReadWrite.OwnedBy"
$GrphAPIServicePrincipal = Get-AzureADServicePrincipal -Filter "appId eq '$GraphApIAppId'"
$AppRole = $GrphAPIServicePrincipal.AppRoles | Where-Object {$_.Value -eq $PermissionName -and $_.AllowedMemberTypes -contains "Application"}
New-AzureAdServiceAppRoleAssignment -ObjectId $MI.ObjectId -PrincipalId $MI.ObjectId -ResourceId $GrphAPIServicePrincipal.ObjectId -Id $AppRole.Id
None
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · 📊