Remove emojis from HTML report
This commit is contained in:
12
report.py
12
report.py
@@ -383,7 +383,7 @@ class NinjaOneReporter:
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>🛡️ NinjaOne CVE Report</h1>
|
<h1>NinjaOne CVE Report</h1>
|
||||||
<p class="timestamp">Generated: {timestamp}</p>
|
<p class="timestamp">Generated: {timestamp}</p>
|
||||||
|
|
||||||
<div class="summary-cards">
|
<div class="summary-cards">
|
||||||
@@ -409,7 +409,7 @@ class NinjaOneReporter:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>📊 Patches by Category</h2>
|
<h2>Patches by Category</h2>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<p>Understanding what types of software are causing the most CVE exposure:</p>
|
<p>Understanding what types of software are causing the most CVE exposure:</p>
|
||||||
'''
|
'''
|
||||||
@@ -431,7 +431,7 @@ class NinjaOneReporter:
|
|||||||
html += '''
|
html += '''
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>🏢 Patches by Organization</h2>
|
<h2>Patches by Organization</h2>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
@@ -463,7 +463,7 @@ class NinjaOneReporter:
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>🚨 Critical Items Requiring Immediate Attention</h2>
|
<h2>Critical Items Requiring Immediate Attention</h2>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
'''
|
'''
|
||||||
if critical_by_title:
|
if critical_by_title:
|
||||||
@@ -481,12 +481,12 @@ class NinjaOneReporter:
|
|||||||
</tr>'''
|
</tr>'''
|
||||||
html += '</tbody></table>'
|
html += '</tbody></table>'
|
||||||
else:
|
else:
|
||||||
html += '<p style="color: #276749;">✅ No critical items found!</p>'
|
html += '<p style="color: #276749;">No critical items found.</p>'
|
||||||
|
|
||||||
html += '''
|
html += '''
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>💻 Devices Needing Most Attention</h2>
|
<h2>Devices Needing Most Attention</h2>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
|
|||||||
Reference in New Issue
Block a user