Skip to content

Commit

Permalink
fix(report): add escaping quotes in misconfig Title for asff template (
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen authored Oct 11, 2023
1 parent 91841f5 commit 20ab703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/asff.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"Severity": {
"Label": "{{ $severity }}"
},
"Title": "Trivy found a misconfiguration in {{ $target }}: {{ .Title }}",
"Title": "Trivy found a misconfiguration in {{ $target }}: {{ escapeString .Title }}",
"Description": {{ escapeString $description | printf "%q" }},
"Remediation": {
"Recommendation": {
Expand Down

0 comments on commit 20ab703

Please sign in to comment.