mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 07:10:41 -08:00
feat(report): add secret scanning to ASFF template (#2860)
Co-authored-by: AMF <work@afdesk.com>
This commit is contained in:
@@ -310,6 +310,17 @@ func TestClientServerWithFormat(t *testing.T) {
|
||||
},
|
||||
golden: "testdata/alpine-310.asff.golden",
|
||||
},
|
||||
{
|
||||
name: "scan secrets with ASFF template",
|
||||
args: csArgs{
|
||||
Command: "fs",
|
||||
RemoteAddrOption: "--server",
|
||||
Format: "template",
|
||||
TemplatePath: "@../contrib/asff.tpl",
|
||||
Target: "testdata/fixtures/fs/secrets/",
|
||||
},
|
||||
golden: "testdata/secrets.asff.golden",
|
||||
},
|
||||
{
|
||||
name: "alpine 3.10 with html template",
|
||||
args: csArgs{
|
||||
|
||||
Reference in New Issue
Block a user