Trivy uses golang templates. Thus, whenever opening a tag {{an_opening_tag}}
, most likely it needs to be closed with {{end}}
.
For example:
The tag
range
works similarly to a for-each loop, where.
represents an initial object
{{range . as $myObj}}--- This a text concatenating {{$myObj.Target}} ---{{end}}