mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 23:26:39 -08:00
feat: support scan remote repository (#3131)
Co-authored-by: AMF <work@afdesk.com> Co-authored-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
@@ -248,6 +248,15 @@ func TestClientServer(t *testing.T) {
|
||||
},
|
||||
golden: "testdata/secrets.json.golden",
|
||||
},
|
||||
{
|
||||
name: "scan remote repository with repo command in client/server mode",
|
||||
args: csArgs{
|
||||
Command: "repo",
|
||||
RemoteAddrOption: "--server",
|
||||
Target: "https://github.com/knqyf263/trivy-ci-test",
|
||||
},
|
||||
golden: "testdata/test-repo.json.golden",
|
||||
},
|
||||
}
|
||||
|
||||
addr, cacheDir := setup(t, setupOptions{})
|
||||
|
||||
Reference in New Issue
Block a user