I have a .json with an alert retrieved using the /get_alerts_v2 endpoint. If I try to unmarshal this json into a DetectsBehavior, I get the following error:
json: cannot unmarshal string into Go struct field DetectsBehavior.rule_instance_version of type int32
This is happening because the rule_instance_version returned by the API is a string, while GoFalcon expects an int32
Can you please update the types or the deserialization?