diff --git a/src/report.ts b/src/report.ts index 3e6b07d..16618c6 100644 --- a/src/report.ts +++ b/src/report.ts @@ -65,6 +65,7 @@ export interface Package { path: string layerDigest?: string suggestedFix?: string + running?: boolean vulns?: Vuln[] } diff --git a/src/summary.ts b/src/summary.ts index 6852086..e9ef863 100644 --- a/src/summary.ts +++ b/src/summary.ts @@ -154,6 +154,7 @@ function getRulePkgMessage(rule: Rule, packages: Package[]) { { data: 'CVSS Version', header: true }, { data: 'CVSS Vector', header: true }, { data: 'Fixed Version', header: true }, + { data: 'InUse', header: true }, { data: 'Exploitable', header: true }]]; rule.failures?.forEach(failure => { @@ -171,6 +172,7 @@ function getRulePkgMessage(rule: Rule, packages: Package[]) { { data: `${vuln.cvssScore.value.version}` }, { data: `${vuln.cvssScore.value.vector}` }, { data: `${pkg.suggestedFix || "No fix available"}` }, + { data: `${pkg.running}` }, { data: `${vuln.exploitable}` }, ]); }