You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From TheHive 3.4.0, scripting language used for metrics has changed (from groovy to painless TheHive-Project/elastic4play#92). Some computed metrics are not compatible. The use of Alert.observableCount make the search query fail. The definition should be replaced by:if (params._source.containsKey('artifacts')) { params._source['artifacts'].size() } else 0
The text was updated successfully, but these errors were encountered:
Request Type
Bug
Work Environment
TheHive 3.4.0
Problem Description
From TheHive 3.4.0, scripting language used for metrics has changed (from groovy to painless TheHive-Project/elastic4play#92). Some computed metrics are not compatible. The use of Alert.observableCount make the search query fail. The definition should be replaced by:
if (params._source.containsKey('artifacts')) { params._source['artifacts'].size() } else 0
The text was updated successfully, but these errors were encountered: