From c0c122cdc773dbc703376600131441285d79e5c0 Mon Sep 17 00:00:00 2001 From: Marc Brugger Date: Wed, 4 Aug 2021 17:39:03 +0200 Subject: [PATCH] Add rule ID and CWE reference to the html report --- report/html/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report/html/template.go b/report/html/template.go index c17fad0..8996ebb 100644 --- a/report/html/template.go +++ b/report/html/template.go @@ -92,7 +92,7 @@ const templateContent = `
{ this.props.data.file } (line { this.props.data.line }) -

{ this.props.data.details }

+

{this.props.data.rule_id} (CWE-{this.props.data.cwe.id}): { this.props.data.details }