comparison 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
comparison
equal deleted inserted replaced
0:e18b61a73a68 1:d47e1164740f
97 </DocumentNotes> 97 </DocumentNotes>
98 {%- endif %} 98 {%- endif %}
99 {%- if cvrf._distribution %} 99 {%- if cvrf._distribution %}
100 <DocumentDistribution>{{ cvrf._distribution }}</DocumentDistribution> 100 <DocumentDistribution>{{ cvrf._distribution }}</DocumentDistribution>
101 {%- endif %} 101 {%- endif %}
102 {#- AggregateSeverity is missing #} 102 {%- if cvrf._aggregateseverity %}
103 <AggregateSeverity{{ {'Namespace': cvrf._aggregateseverity._namespace} | xmlattr }}>
104 {{- cvrf._aggregateseverity._severity -}}
105 </AggregateSeverity>
106 {%- endif %}
103 {%- if cvrf._references %} 107 {%- if cvrf._references %}
104 <DocumentReferences> 108 <DocumentReferences>
105 {%- for reference in cvrf._references %} 109 {%- for reference in cvrf._references %}
106 <Reference{{ {'Type': reference._type} | xmlattr }}> 110 <Reference{{ {'Type': reference._type} | xmlattr }}>
107 <URL>{{ reference._url }}</URL> 111 <URL>{{ reference._url }}</URL>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)