mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
Add rule ID and CWE reference to the html report
This commit is contained in:
parent
62db81342e
commit
c0c122cdc7
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue