fix(report): add escaping quotes in misconfig Title for asff template (#5351)

This commit is contained in:
DmitriyLewen
2023-10-11 13:38:07 +06:00
committed by GitHub
parent 91841f59ba
commit 20ab7033b8

View File

@@ -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": {