Mercurial > farol > farolluz
comparison farolluz/renderer.py @ 36:cb8e8416a765
Add HTML export format.
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Tue, 16 Dec 2014 16:20:50 +0100 |
parents | 809db989cac5 |
children |
comparison
equal
deleted
inserted
replaced
35:a94fd33db44a | 36:cb8e8416a765 |
---|---|
49 'Red Hat Enterprise Linux ES version 4' : 'RHENT_4', | 49 'Red Hat Enterprise Linux ES version 4' : 'RHENT_4', |
50 'Red Hat Enterprise Linux WS version 4' : 'RHENT_4', | 50 'Red Hat Enterprise Linux WS version 4' : 'RHENT_4', |
51 'Red Hat Enterprise Linux AS (Advanced Server) version 2.1' : 'RHENT_2.1', | 51 'Red Hat Enterprise Linux AS (Advanced Server) version 2.1' : 'RHENT_2.1', |
52 } | 52 } |
53 | 53 |
54 def calculateRiskFactor(cvss_score, debug=0): | 54 def calculateRiskFactor(cvss_score): |
55 """ | 55 """ |
56 Calculates and Return Risk Factor given CVSS Base Score | 56 Calculates and Return Risk Factor given CVSS Base Score |
57 """ | 57 """ |
58 cvss_score = float(cvss_score) | 58 cvss_score = float(cvss_score) |
59 | 59 |