11-21-2019 01:34 AM
11-21-2019 01:34 AM
I previously created some basic Logic Apps that would generate whenever an Azure Monitor (Log Analytics) alert was triggered and would then take the host name and IP address (depending on the use cases it was one or both) and pass those values generated from the alert into a "Create Job" event for Automation Account Logic Apps connector.
I want to move these playbooks into Sentinel leveraging the Sentinel Connector to get the data generated from the alert, grab the specific entities (in the case a HostName, IP or combination of both) and then pass those entities into the runbook parameters. I set up the Logic App as such, however, I'm running into an error (attached screenshot) stating the input value was not a JSON object. Is there something I am missing from the Sentinel connector generating the results and passing that entity on? Does it need to be converted into a JSON object after getting the entities, and if so, how would I go about doing that?
11-21-2019 02:50 AM
@Sean Hecht It may be that you need to load the Incident between the trigger and the Get hosts alert and use the Entites from the Incident
11-21-2019 04:15 AM
Thanks @Gary Bushey, will try that out and let you know the results.
11-21-2019 06:01 AM
@Gary Bushey Thanks again for the suggestion, unfortunately it's still running into the same issue.
11-21-2019 07:46 AM
@Sean Hecht I had a response come back that was throwing a JSON Formatting error and it went away when I completely rebuilt my workbook from scratch. Not sure if that is how you built this one or not. Hope it helps.
11-21-2019 05:03 PM
@Gary Bushey Thanks for the heads up there as well. Went and re-created the entire flow and still hitting those same errors, at this point not entirely sure what the issue is.
11-23-2019 04:12 PM
@Sean Hecht The only other thing I can suggest is writing out the values into a Team message to see if there is something wrong with it.