File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33Upgrade Notes
44=============
55
6+ |st2 | in development
7+ --------------------
8+
9+ * Additional validation has been introduced for triggers.
10+
11+ 1. Trigger payload is now validated against the trigger ``payload_schema `` schema when
12+ dispatching a trigger inside the sensor.
13+
14+ Validation is only performed if ``system.validate_trigger_parameters `` config option is
15+ enabled (it's disabled by default) and if trigger object defines ``parameters_schema ``
16+ attribute.
17+
18+ 2. Trigger parameters are now validated for non-system (user-defined) triggers when creating
19+ a rule.
20+
21+ Validation is only performed if ``system.validate_trigger_parameters `` config option is
22+ enabled (it's disabled by default) and if trigger object defines ``parameters_schema ``
23+ attribute.
24+
25+ Both of those configuration options are disabled by default for now, but they will be enabled
26+ by default (with an option to opt-out) in a future major |st2 | release.
27+
628|st2 | v2.1
729----------
830
You can’t perform that action at this time.
0 commit comments