Add rule ID and CWE reference to the html report

This commit is contained in:
Marc Brugger 2021-08-04 17:39:03 +02:00 committed by GitHub
parent 62db81342e
commit c0c122cdc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ const templateContent = `
<div className="columns">
<div className="column is-three-quarters">
<strong className="break-word">{ this.props.data.file } (line { this.props.data.line })</strong>
<p>{ this.props.data.details }</p>
<p>{this.props.data.rule_id} (CWE-{this.props.data.cwe.id}): { this.props.data.details }</p>
</div>
<div className="column is-one-quarter">
<div className="field is-grouped is-grouped-multiline">