Breaking changes
- None
New features
- [Rocket.Chat] Add support for generating Kibana Discover URLs to Rocket.Chat alerter - #260 - @nsano-rururu
- [Jinja] Provide rule key/values as possible Jinja data inputs - #281 - @mrfroggg
- [Kubernetes] Add securityContext and podSecurityContext to Helm chart - #289 - @lepouletsuisse
- [Rocket.Chat] Add options: rocket_chat_ca_certs, rocket_chat_ignore_ssl_errors, rocket_chat_timeout - #302 - @nsano-rururu
- [Jinja] Favor match keys over colliding rule keys when resolving Jinja vars; also add alert_text_jinja unit test - #311 - @mrfroggg
- [Opsgenie] Added possibility to specify source and entity attrs - #315 - @konstantin-kornienko
- [ServiceNow] Add support for
servicenow_impact
andservicenow_urgency
parameters for ServiceNow alerter - #316 - @randolph-esnet - [Jinja] Add Jinja support to alert_subject - #318 - @mrfroggg
@lepouletsuisse - Metrics will now include time_taken, representing the execution duration of the rule - #324 - @JeffAshton
Other changes
- [Prometheus] Continue fix for prometheus wrapper writeback function signature - #256 - @greut
- [Stomp] Improve exception handling in alerter - #261 - @nsano-rururu
- [AWS] Improve exception handling in Amazon SES and SNS alerters - #264 - @nsano-rururu
- [Docs] Clarify documentation for starting ElastAlert 2 - #265 - @ferozsalam
- Add exception handling for unsupported operand type - #266 - @nsano-rururu
- [Docs] Improve documentation for Python build requirements - #267 - @nsano-rururu
- [DataDog] Correct alerter logging - #268 - @nsano-rururu
- [Docs] Correct parameter code documentation for main ElastAlert runner - #269 - @ferozsalam
- [Command] alerter will now fail during init instead of during alert if given invalid command setting - #270 - @nsano-rururu
- [Docs] Consolidate all examples into a new examples/ sub folder - #271 - @ferozsalam
- [TheHive] Add example rule with Kibana Discover URL and query values in alert text - #276 - @markus-nclose
- Upgrade pytest-xdist from 2.2.1 to 2.3.0; clarify HTTPS support in docs; Add additional logging - #283 - @nsano-rururu
- [Tests] Add more alerter test coverage - #284 - @nsano-rururu
- [Tests] Improve structure and placement of test-related files in project tree - #287 - @ferozsalam
- Only attempt to adjust timezone if timezone is set to a non-empty string - #288 - @ferozsalam
- [Kubernetes] Deprecated
podSecurityPolicy
feature in Helm Chart as it's deprecated in Kubernetes 1.21 - #289 - @lepouletsuisse - [Slack] Fix slack_channel_override schema - #291 - @JeffAshton
- [Rocket.Chat] Fix rocket_chat_channel_override schema - #293 - @nsano-rururu
- [Tests] Increase code coverage - #294 - @nsano-rururu
- [Docs] Added Kibana Discover sample - #295 - @nsano-rururu
- [AWS] Remove deprecated boto_profile setting - #299 - @nsano-rururu
- [Slack] Correct slack_alert_fields schema definition - #300 - @nsano-rururu
- [Tests] Correct code coverage to eliminate warnings - #301 - @nsano-rururu
- Eliminate unnecessary calls to Elasticsearch - #303 - @JeffAshton
- [Zabbix] Fix timezone parsing - #304 - @JeffAshton
- Improve logging of scheduler - #305 - @JeffAshton
- [Jinja] Update Jinja from 2.11.3 to 3.0.1; Improve handling of colliding variables - #311 - @mrfroggg
- [TheHive] Force observable artifacts to be strings - #313 - @pandvan
- Upgrade pylint from <2.9 to <2.10 - #314 - @nsano-rururu
- [ChatWork] Enforce character limit - #319 - @nsano-rururu
- [LineNotify] Enforce character limit - #320 - @nsano-rururu
- [Discord] Remove trailing backticks from alert body - #321 - @nsano-rururu
- Redirecting warnings to logging module - #325 - @JeffAshton