Open czunker opened 1 year ago
The panic looks quite similar to this one: https://github.com/mondoohq/cnspec/issues/755
This works:
C:\Users\christian>cnquery.exe run local --sudo -c "asset"
→ no Mondoo configuration file provided, using defaults
asset: asset name="" platform="windows" version="20348"
--sudo
in v8 does also not work, but fails differently:
C:\Users\christian>cnspecv8.exe scan local --sudo -f bsi-sys12-windows-server.mql.yaml
→ no Mondoo configuration file provided. using defaults
→ discover related assets for 1 asset(s)
→ resolved assets resolved-assets=0
x could not resolve asset error="could not determine a platform identifier" asset=
FTL failed to run scan error="failed to resolve multiple assets"
Describe the bug
To Reproduce Steps to reproduce the behavior:
--sudo
on windowsExpected behavior Should work.
Desktop (please complete the following information):
Additional context w/o
--sudo
works.