Commit 14431a6a authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos
Browse files

Refined mail templates to include protocol statements

parent 7fac6521
......@@ -7,6 +7,9 @@ User {{route.applier.username}} requested the application of the following rule
Match
* Dst Addr:{{route.destination}}
* Src Addr: {{route.source}}
* Protocol:{% for protocol in route.protocol.all %}
{{ protocol }}{% if not forloop.last %}, {% endif %}
{% endfor %}
* Ports:{% for port in route.ports.all %}
{{ port }}{% if not forloop.last %}, {% endif %}
{% endfor %}
......
......@@ -7,9 +7,8 @@ User {{route.applier.username}} requested the removal of the following rule from
Match
* Dst Addr:{{route.destination}}
* Src Addr: {{route.source}}
* Ports:{% for port in route.ports.all %}
{{ port }}{% if not forloop.last %}, {% endif %}
{% endfor %}
* Protocol:{% for protocol in route.protocol.all %}{{ protocol }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Ports:{% for port in route.ports.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
......
......@@ -7,9 +7,8 @@ User {{route.applier.username}} requested the application of the following rule
Match
* Dst Addr:{{route.destination}}
* Src Addr: {{route.source}}
* Ports:{% for port in route.ports.all %}
{{ port }}{% if not forloop.last %}, {% endif %}
{% endfor %}
* Protocol:{% for protocol in route.protocol.all %}{{ protocol }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Ports:{% for port in route.ports.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
......
......@@ -3,9 +3,8 @@ Rule {{route.name}} expires {% ifequal expiration_days 0 %}today{% else%}in {{ex
Match
* Dst Addr:{{route.destination}}
* Src Addr: {{route.source}}
* Ports:{% for port in route.ports.all %}
{{ port }}{% if not forloop.last %}, {% endif %}
{% endfor %}
* Protocol:{% for protocol in route.protocol.all %}{{ protocol }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Ports:{% for port in route.ports.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment