File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ def send_inventory_views(
321321 rh_account_id ,
322322 total_cves ,
323323 critical_cves ,
324- high_severity_cves ,
324+ important_cves ,
325325 cves_with_security_rules ,
326326 cves_with_known_exploits ,
327327):
@@ -343,7 +343,7 @@ def send_inventory_views(
343343 "data" : {
344344 "total_cves" : total_cves ,
345345 "critical_cves" : critical_cves ,
346- "high_severity_cves " : high_severity_cves ,
346+ "important_cves " : important_cves ,
347347 "cves_with_security_rules" : cves_with_security_rules ,
348348 "cves_with_known_exploits" : cves_with_known_exploits ,
349349 },
Original file line number Diff line number Diff line change @@ -359,7 +359,7 @@ async def _evaluate_system(
359359 fixable_sys_vuln_rows = {}
360360 total_cves = 0
361361 critical_cves = 0
362- high_severity_cves = 0
362+ important_cves = 0
363363 cves_with_security_rules = 0
364364 cves_with_known_exploits = 0
365365 for cve , row in sys_vuln_rows .items ():
@@ -371,8 +371,8 @@ async def _evaluate_system(
371371 cve_data = self .evaluator_logic .cve_cache .get (cve )
372372 if cve_data .impact_id == 7 :
373373 critical_cves += 1
374- if cve_data .impact_id == 6 :
375- high_severity_cves += 1
374+ if cve_data .impact_id == 5 :
375+ important_cves += 1
376376 if cve_data .exploitable :
377377 cves_with_known_exploits += 1
378378 await self ._mark_system_evaluated (total_cves , system_platform , conn )
@@ -387,7 +387,7 @@ async def _evaluate_system(
387387 system_platform .rh_account_id ,
388388 total_cves ,
389389 critical_cves ,
390- high_severity_cves ,
390+ important_cves ,
391391 cves_with_security_rules ,
392392 cves_with_known_exploits ,
393393 )
You can’t perform that action at this time.
0 commit comments