Skip to content

Commit c8a17f9

Browse files
committed
Cosmetic updates for dashboard
1 parent 929c4b7 commit c8a17f9

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

.github/workflows/security-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ jobs:
275275
emoji = {'CRITICAL': '🚨', 'HIGH': '⚠️', 'MEDIUM': '📋', 'LOW': '📝'}.get(severity, '📄')
276276
print(f' {emoji} {severity}: {count}')
277277
else:
278-
print('🎉 No vulnerabilities found!')
278+
print('🎉 No known vulnerabilities found!')
279279
280280
# Set outputs for GitHub Actions
281281
with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
@@ -491,4 +491,4 @@ jobs:
491491
echo "### 🔗 Links" >> $GITHUB_STEP_SUMMARY
492492
echo "- [🌐 Security Dashboard](https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }})" >> $GITHUB_STEP_SUMMARY
493493
echo "- [📋 Workflow Run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY
494-
echo "- [📁 Repository](https://github.com/${{ github.repository }})" >> $GITHUB_STEP_SUMMARY
494+
echo "- [📁 Repository](https://github.com/${{ github.repository }})" >> $GITHUB_STEP_SUMMARY

index.html

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -681,22 +681,13 @@
681681
<h1>ESP-IDF Security Dashboard</h1>
682682
<p>Vulnerability scanning results for ESP-IDF stable releases</p>
683683
<p style="margin-top: 0.5rem; opacity: 0.9;">
684-
Additional insights into known vulnerabilities can be found in the
684+
Additional known vulnerabilities information can be found in the
685685
<a href="https://docs.espressif.com/projects/esp-idf/en/stable/esp32/security/vulnerabilities.html"
686686
target="_blank"
687687
rel="noopener noreferrer"
688688
style="color: white; text-decoration: underline;">
689-
Vulnerabilities page of the ESP-IDF Programming Guide
690-
</a>.
691-
</p>
692-
<p style="margin-top: 0.5rem; opacity: 0.9;">
693-
View the source code at
694-
<a href="https://github.com/espressif/esp-idf-security-dashboard"
695-
target="_blank"
696-
rel="noopener noreferrer"
697-
style="color: white; text-decoration: underline;">
698-
GitHub Repository
699-
</a>.
689+
ESP-IDF Vulnerabilities Guide
690+
</a>
700691
</p>
701692
</div>
702693
</div>
@@ -1408,7 +1399,7 @@ <h4>Overall Summary</h4>
14081399
</div>
14091400
</div>
14101401
<div class="vulnerability-summary">
1411-
${vulnSummaryHtml || '<span class="vuln-badge" style="background: rgba(40, 167, 69, 0.1); color: var(--success-color);">No vulnerabilities</span>'}
1402+
${vulnSummaryHtml || '<span class="vuln-badge" style="background: rgba(40, 167, 69, 0.1); color: var(--success-color);">No known vulnerabilities</span>'}
14121403
${vulnerabilities.length > 0 ? `<button class="toggle-btn" onclick="toggleDetails('${version}')">Show Details</button>` : ''}
14131404
</div>
14141405
<div class="vulnerability-details" id="details-${version}">
@@ -1814,5 +1805,17 @@ <h5>${cveId}
18141805
// Load data when page loads
18151806
document.addEventListener('DOMContentLoaded', loadDashboardData);
18161807
</script>
1808+
1809+
<footer style="text-align: center; padding: 2rem; background: var(--light-gray); border-top: 1px solid #e9ecef; margin-top: 2rem;">
1810+
<p style="margin: 0; opacity: 0.8;">
1811+
View the source code at
1812+
<a href="https://github.com/espressif/esp-idf-security-dashboard"
1813+
target="_blank"
1814+
rel="noopener noreferrer"
1815+
style="color: var(--primary-color); text-decoration: underline;">
1816+
GitHub Repository
1817+
</a>
1818+
</p>
1819+
</footer>
18171820
</body>
1818-
</html>
1821+
</html>

0 commit comments

Comments
 (0)