mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
---
|
|
Title: Audit info, <%= projName %> <%= projVersion %>
|
|
---
|
|
|
|
# Audit information for <%= projName %> <%= projVersion %>
|
|
|
|
This page lists the npm audit of the project in the version <%= projVersion %>
|
|
|
|
## Risks
|
|
|
|
- Critical risk dependencies <%= jsonAudit.metadata.vulnerabilities.critical %>
|
|
- High risk dependencies <%= jsonAudit.metadata.vulnerabilities.high %>
|
|
- Moderate risk dependencies <%= jsonAudit.metadata.vulnerabilities.moderate %>
|
|
- Low risk dependencies <%= jsonAudit.metadata.vulnerabilities.low %>
|
|
|
|
Dependencies analyzed <%= jsonAudit.metadata.totalDependencies %>
|
|
|
|
## Libraries
|
|
|
|
|
|
| Severity | Vulnerable versions | Module |
|
|
| --- | --- | --- |
|
|
<%
|
|
for(var currentAdvisories in jsonAudit.advisories) {
|
|
|
|
severity = jsonAudit.advisories[currentAdvisories].severity;
|
|
vulnerable_versions = JSON.stringify(jsonAudit.advisories[currentAdvisories].vulnerable_versions);
|
|
module = jsonAudit.advisories[currentAdvisories].module_name;
|
|
-%>
|
|
|<%= severity %> | <%= vulnerable_versions %> | <%= module %> |
|
|
<% } %>
|