diff farolluz/templates/cvrf.j2 @ 1:d47e1164740f

Add support for AggregateSeverity
author Benoît Allard <benoit.allard@greenbone.net>
date Wed, 24 Sep 2014 08:26:56 +0200
parents e18b61a73a68
children c5cf387b5785
line wrap: on
line diff
--- a/farolluz/templates/cvrf.j2	Tue Sep 23 15:19:14 2014 +0200
+++ b/farolluz/templates/cvrf.j2	Wed Sep 24 08:26:56 2014 +0200
@@ -99,7 +99,11 @@
   {%- if cvrf._distribution %}
   <DocumentDistribution>{{ cvrf._distribution }}</DocumentDistribution>
   {%- endif %}
-  {#- AggregateSeverity is missing #}
+  {%- if cvrf._aggregateseverity %}
+  <AggregateSeverity{{ {'Namespace': cvrf._aggregateseverity._namespace} | xmlattr }}>
+    {{- cvrf._aggregateseverity._severity -}}
+  </AggregateSeverity>
+  {%- endif %}
   {%- if cvrf._references %}
   <DocumentReferences>
     {%- for reference in cvrf._references %}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)