Newline in custom report template #2294
-
Hello all, I'm trying to export Trivy container vulnerability data back to GitLab (We don't use GitLab CI). Now I'm trying to create a smaller template by defining only the required field I want. It probably is something very easy..... Is there someone who can help me with this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @wouter2397, you should be able to use a literal new line character, no need for |
Beta Was this translation helpful? Give feedback.
Hi @wouter2397, you should be able to use a literal new line character, no need for
\n
or anything special. You can see some template examples here: https://github.com/aquasecurity/trivy/tree/main/contrib