feat(report): add secret scanning to ASFF template (#2860)

Co-authored-by: AMF <work@afdesk.com>
This commit is contained in:
AndrewCharlesHay
2022-10-28 00:27:10 -05:00
committed by GitHub
parent b6cef12534
commit 5b975de234
3 changed files with 110 additions and 0 deletions

View File

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