diff --git a/pkg/cli/server/extensions_test.go b/pkg/cli/server/extensions_test.go index 083eb975..62dbc2b2 100644 --- a/pkg/cli/server/extensions_test.go +++ b/pkg/cli/server/extensions_test.go @@ -968,7 +968,7 @@ func TestServeSearchEnabledDefaultCVEDB(t *testing.T) { // The default config handling logic will convert the 1h interval to a 2h interval substring := "\"Search\":{\"Enable\":true,\"CVE\":{\"UpdateInterval\":7200000000000,\"Trivy\":" + "{\"DBRepository\":\"ghcr.io/aquasecurity/trivy-db\",\"JavaDBRepository\":\"ghcr.io/aquasecurity/trivy-java-db\"," + - "\"VulnSeveritySources\":[\"auto\"]}}}" + "\"VulnSeveritySources\":[\"auto\"],\"SBOM\":null}}}" found, err := ReadLogFileAndSearchString(logPath, substring, readLogFileTimeout)