File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,11 @@ async function audit(
133
133
console . log ( ` No EPSS score found for CVE ${ cveID } \n` ) ;
134
134
} else {
135
135
const { epss, percentile } = epssScores [ cveID ] ;
136
- console . log ( `\n EPSS score is : ${ epss } (${ percentile } %)\n` ) ;
136
+ console . log (
137
+ `\n EPSS score (probability of exploitation) : ${ + Number (
138
+ epss * 100.0
139
+ ) . toFixed ( 3 ) } % \n`
140
+ ) ;
137
141
138
142
// If EPSS score is above threshold, fail the audit
139
143
if ( Number ( threshold ) > 0.0 && parseFloat ( epss ) > threshold ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " cve-risk-scores" ,
3
- "version" : " 0.0.2 " ,
3
+ "version" : " 0.0.3 " ,
4
4
"description" : " Check risk scores for CVEs" ,
5
5
"main" : " bin/index.js" ,
6
6
"bin" : {
You can’t perform that action at this time.
0 commit comments