Open c8y3 opened 2 hours ago
Accompanying test: def test_get_alert_rule_should_return_correct_field(self): title = 'rule_title' self._api.create_alert_rule_statistics(title, _PERIOD) retrieved_alert_rule = self._graylog.get_alert_rule(title) self.assertEqual('a', retrieved_alert_rule['condition_parameters']['field'])
When doing a GET request on a statistical rule, there seems to be no field in condition_parameters anymore. This also impacts the exported data which relies on the get.
To reproduce: