This commit is contained in:
dicolanl 2020-06-12 14:47:21 +00:00
Родитель 6d915915fe
Коммит 20ac85e47a
1 изменённых файлов: 13 добавлений и 41 удалений

Просмотреть файл

@ -1,7 +1,7 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata":{
"metadata": {
"comments": "This playbook will set the Risky User property in AAD using Graph API using a Beta API. NOTE: You must create an app registration for graph api with appropriate permissions. NOTE: You will need to add the managed identity that is created by the logic app to the Security Administrator role in Azure AD.",
"author": "Nicholas DiCola"
},
@ -26,7 +26,8 @@
"location": "[resourceGroup().location]",
"properties": {
"displayName": "[parameters('UserName')]",
"customParameterValues": {},
"customParameterValues": {
},
"api": {
"id": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Web/locations/', resourceGroup().location, '/managedApis/azuresentinel')]"
}
@ -47,7 +48,8 @@
"contentVersion": "1.0.0.0",
"parameters": {
"$connections": {
"defaultValue": {},
"defaultValue": {
},
"type": "Object"
}
},
@ -87,7 +89,8 @@
}
},
"Alert_-_Get_incident": {
"runAfter": {},
"runAfter": {
},
"type": "ApiConnection",
"inputs": {
"host": {
@ -103,7 +106,8 @@
"foreach": "@body('Alert_-_Get_accounts')?['Accounts']",
"actions": {
"HTTP": {
"runAfter": {},
"runAfter": {
},
"type": "Http",
"inputs": {
"authentication": {
@ -145,45 +149,12 @@
"inputs": {
"content": "@body('HTTP')",
"schema": {
"type": "object",
"properties": {
"businessPhones": {
"items": {
"type": "string"
},
"type": "array"
},
"displayName": {
"type": "string"
},
"givenName": {
"type": "string"
},
"id": {
"type": "string"
},
"jobTitle": {
"type": "string"
},
"mail": {
"type": "string"
},
"mobilePhone": {
"type": "string"
},
"officeLocation": {
"type": "string"
},
"preferredLanguage": {
"type": "string"
},
"surname": {
"type": "string"
},
"userPrincipalName": {
"type": "string"
}
},
"type": "object"
}
}
}
}
@ -196,7 +167,8 @@
"type": "Foreach"
}
},
"outputs": {}
"outputs": {
}
},
"parameters": {
"$connections": {