Mercurial > farol > farol
annotate farol/templates/vulnerability/edit_cwe.j2 @ 51:718e6b555075
Add Description in edit_cwe
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Tue, 07 Oct 2014 16:34:56 +0200 |
parents | 4a9f23230eba |
children |
rev | line source |
---|---|
0 | 1 {# |
2 # Description: | |
3 # Web Template used in Farol Design | |
4 # | |
5 # Authors: | |
6 # BenoƮt Allard <benoit.allard@greenbone.net> | |
7 # | |
8 # Copyright: | |
9 # Copyright (C) 2014 Greenbone Networks GmbH | |
10 # | |
11 # This program is free software; you can redistribute it and/or | |
12 # modify it under the terms of the GNU General Public License | |
13 # as published by the Free Software Foundation; either version 2 | |
14 # of the License, or (at your option) any later version. | |
15 # | |
16 # This program is distributed in the hope that it will be useful, | |
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 # GNU General Public License for more details. | |
20 # | |
21 # You should have received a copy of the GNU General Public License | |
22 # along with this program; if not, write to the Free Software | |
23 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
24 -#} | |
25 | |
26 {% extends "base.j2" %} | |
27 {% from "macros.j2" import textinput, selectinput %} | |
28 {% block title %}Edit CWE{% endblock %} | |
29 | |
30 {% set active = 'vulnerability' %} | |
31 | |
32 {% block content %} | |
51
718e6b555075
Add Description in edit_cwe
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
33 <p><strong>CWE</strong> contains the MITRE standard Common Weakness Enumeration (CWE). MITRE describes CWE in this way:</p> |
718e6b555075
Add Description in edit_cwe
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
34 <blockquote><p>[CWE] is a formal list of software weakness types created to:</p> |
718e6b555075
Add Description in edit_cwe
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
35 <ul> |
718e6b555075
Add Description in edit_cwe
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
36 <li>Serve as a common language for describing software security weaknesses in architecture, design, or code.</li> |
718e6b555075
Add Description in edit_cwe
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
37 <li>Serve as a standard measuring stick for software security tools targeting these weaknesses.</li> |
718e6b555075
Add Description in edit_cwe
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
38 <li>Provide a common baseline standard for weakness identification, mitigation, and prevention efforts.</li> |
718e6b555075
Add Description in edit_cwe
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
39 </ul> |
718e6b555075
Add Description in edit_cwe
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
40 </blockquote> |
718e6b555075
Add Description in edit_cwe
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
41 <p>More information about CWE is available at {{ 'http://cwe.mitre.org/' | urlize }}.</p> |
0 | 42 <form role="form" method="POST"> |
43 | |
44 {{ textinput("id", "CWE ID", "CWE-xxx", _id, required=True) }} | |
45 {{ textinput("description", "Description", "", description, required=True) }} | |
46 | |
47 <button class="btn btn-primary" type="submit">{{ action or 'Update' }}</button> | |
48 <a class="btn btn-danger" href="{{ url_for('.view', ordinal=ordinal) }}">Cancel</a> | |
49 </form> | |
50 {% endblock %} |