mirror of
https://github.com/securego/gosec.git
synced 2025-03-17 20:57:54 +02:00
Add rule ID and CWE reference to the html report
This commit is contained in:
parent
62db81342e
commit
c0c122cdc7
@ -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…
x
Reference in New Issue
Block a user