Open rnv812 opened 1 month ago
Final model of feature implementation
mode: fsm
templates:
- normal:
template_group:
- "event_1.json.jinja"
- "event_2.json.jinja"
transition:
to: suspicious
when:
in:
locals.logged_on_users: "Hacker"
- suspicious:
template: "suspicious_event.json.jinja"
transition:
to: normal
when:
in:
locals.logged_out_users: "Hacker"
when
option is intended to be used for filtering which templates are rendered after picking them using specified mode.Suboptions to implement:
Logic:
or
and
not
Checks:
in
eq
gt
lt
gte
lte
Examples usage: