feat(report): update gitlab template to populate operating_system value (#7735)

This commit is contained in:
Aaron Goldenthal
2024-10-24 02:24:02 -05:00
committed by GitHub
parent f75c0d1f00
commit c0d79fa09e
4 changed files with 239 additions and 7 deletions

View File

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