mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
feat(report): update gitlab template to populate operating_system value (#7735)
This commit is contained in:
@@ -323,6 +323,17 @@ func TestClientServerWithFormat(t *testing.T) {
|
||||
},
|
||||
golden: "testdata/alpine-310.gitlab.golden",
|
||||
},
|
||||
{
|
||||
name: "scan package-lock.json with gitlab template (Unknown os and image)",
|
||||
args: csArgs{
|
||||
Command: "fs",
|
||||
Format: "template",
|
||||
TemplatePath: "@../contrib/gitlab.tpl",
|
||||
Target: "testdata/fixtures/repo/npm/",
|
||||
ListAllPackages: true,
|
||||
},
|
||||
golden: "testdata/npm.gitlab.golden",
|
||||
},
|
||||
{
|
||||
name: "alpine 3.10 with gitlab-codequality template",
|
||||
args: csArgs{
|
||||
|
||||
Reference in New Issue
Block a user