diff --git a/apps/cnspec/cmd/vuln.go b/apps/cnspec/cmd/vuln.go index abc92ad1..5a5a07ea 100644 --- a/apps/cnspec/cmd/vuln.go +++ b/apps/cnspec/cmd/vuln.go @@ -89,7 +89,7 @@ var vulnCmdRun = func(cmd *cobra.Command, runtime *providers.Runtime, cliRes *pl log.Error().Err(err).Msg("failed to initialize cnspec shell") } - packagesQuery := "packages{ name version origin }" + packagesQuery := "packages { name version origin format }" packagesDatapointChecksum := executor.MustGetOneDatapoint(executor.MustCompile(packagesQuery)) codeBundle, results, err := sh.RunOnce(packagesQuery) if err != nil {