briandelmsft / STAT-Function

Azure Function for the Microsoft Sentinel Triage AssistanT (STAT)
https://aka.ms/mstat
MIT License
9 stars 1 forks source link

[BUG] Scoring Module - unsupported operand type(s) for +=: 'int' and 'str' #104

Closed briandelmsft closed 2 weeks ago

briandelmsft commented 3 weeks ago

This is a Logic apps bug that was introduced in the new designer that is now GA but we can work around it.

Despite the Logic app custom connector specifying the ScoreMultiplier as a float, the new designer sends it as a string. resulting in a failure to score due to the attempt to add the resulting string to an existing int. Before we attempt the op we can simply do a type conversion