mirror of
https://github.com/securego/gosec.git
synced 2025-11-27 22:28:20 +02:00
Add rule ID and CWE reference to the html report
This commit is contained in:
@@ -92,7 +92,7 @@ const templateContent = `
|
|||||||
<div className="columns">
|
<div className="columns">
|
||||||
<div className="column is-three-quarters">
|
<div className="column is-three-quarters">
|
||||||
<strong className="break-word">{ this.props.data.file } (line { this.props.data.line })</strong>
|
<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>
|
||||||
<div className="column is-one-quarter">
|
<div className="column is-one-quarter">
|
||||||
<div className="field is-grouped is-grouped-multiline">
|
<div className="field is-grouped is-grouped-multiline">
|
||||||
|
|||||||
Reference in New Issue
Block a user