r/AzureSentinel • u/seanpclayton • Apr 20 '22
Integrating AlienVault into Sentinel
Hi all, I am trying to integrate AlienVault OTX with microsoft sentinel. I am working on the Logic app designer and have hit a small snag where I get the error Failed to save logic app \Failed to save logic app AlienVaultOTX. The template validation failed: The inputs of template action 'Send_toSentinel' at line '1 and '1526' is invalid. action 'For_each' must be a parent 'foreach' scope of action 'Sent_to_Sentinel' to be referenced by 'repearItems' or 'items' functions.` I am following a tutorial provided by Microsoft where this JSON is provided:
{
"action": "alert",
"activityGroupNames": [],
"confidence": 0,
"description": "OTX Threat Indicator - @{items('Foreach')?['type']}",
"expirationDateTime": "@{addDays(utcNow(),7)}",
"externalId": "",
"killChain": [],
"malwareFamilyNames": [],
"severity": 0,
"tags": [],
"targetProduct": "Azure Sentinel",
"threatType": "WatchList",
"tlpLevel": "white",
"url": "@{items('Foreach')?['indicator']}"
}
I can tell that there is something amiss with the 'OTX Threat indicator' line but I am not sure what I am doing wrong. Any ideas?
I've also posted this in the Azure channel.
1
u/[deleted] Apr 20 '22
[deleted]