Skip to content

Commit

Permalink
feat: configure new header for all summary
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Eulalio <[email protected]>
  • Loading branch information
IgorEulalio committed Dec 11, 2024
1 parent 512486d commit 6989cb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/summary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ function addVulnsByLayerTableToSummary(data: Report) {
{ data: '🟠 Medium', header: true },
{ data: '🟡 Low', header: true },
{ data: '⚪ Negligible', header: true },
{ data: 'In use', header: true },
{ data: 'Exploit', header: true },
],
...orderedPackagesBySeverity.map(layerPackage => {
Expand All @@ -109,6 +110,7 @@ function addVulnsByLayerTableToSummary(data: Report) {
{ data: mediumVulns.toString() },
{ data: lowVulns.toString() },
{ data: negligibleVulns.toString() },
{ data: layerPackage.running ? '✅' : '❌' },
{ data: exploits.toString() },
]
})
Expand Down

0 comments on commit 6989cb7

Please sign in to comment.