mondoohq / cnquery

open source, cloud-native, graph-based asset inventory
https://cnquery.io
Other
301 stars 20 forks source link

`cnquery scan mock` not able to resolve services #4330

Open mm-weber opened 2 months ago

mm-weber commented 2 months ago

When running

cnspec scan mock --discover all --use-recording ./fail-rec.json -o full -f ./redhat-test-7.mql.yaml

all check that use the

! Error: Ensure dhcp server services are not in use Message: 1 error occurred:

! Error: Ensure ip6tables is enabled and active Message: 1 error occurred:

mm-weber commented 2 months ago

Also, all checks using some sort of package("sudo").installed-type checks will all return fail, even if the recording.

image

image