root / templates / rule_add_mail.txt @ 14431a6a
History | View | Annotate | Download (900 Bytes)
1 |
{% load tofqdn %} |
---|---|
2 |
A new rule creation job has spawned |
3 |
|
4 |
Peer: {{route.applier.get_profile.peer.peer_name}} |
5 |
User {{route.applier.username}} requested the application of the following rule from address {{address}} {% if address|tofqdn %}({{address|tofqdn}}){% endif %}: |
6 |
|
7 |
Match |
8 |
* Dst Addr:{{route.destination}} |
9 |
* Src Addr: {{route.source}} |
10 |
* Protocol:{% for protocol in route.protocol.all %} |
11 |
{{ protocol }}{% if not forloop.last %}, {% endif %} |
12 |
{% endfor %} |
13 |
* Ports:{% for port in route.ports.all %} |
14 |
{{ port }}{% if not forloop.last %}, {% endif %} |
15 |
{% endfor %} |
16 |
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
17 |
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %} |
18 |
|
19 |
*Then:{% for then in route.then.all %}{{ then }}{% if not forloop.last %}, {% endif %}{% endfor %} |