cnquery scan with pack specified: could not scan asset error="all available packs filtered out. nothing to do." #555
-
Hiya! What does a
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This error tells us that it tried to run a bundle of query packs on the target, but for some reason threw everything out and we ended up with nothing being scanned. In this particular case, I see you want to use the I tested this using the default incident response pack for AWS, found in its latest version here: Once downloaded you can run this: cnquery scan aws -f mondoo-aws-incident-response.mql.yaml --querypack mondoo-incident-response-aws The first argument is the bundle file that we just downloaded. The second is an example of using querypack to only pick one of the querypacks in that bundle, in this case We are going to support querypack-uids without bundle files in the future as well. If you are from the future and time-traveled to this issue, check if that features has been added. At the time of writing the help menu states that |
Beta Was this translation helpful? Give feedback.
-
That worked perfectly. Thank you! |
Beta Was this translation helpful? Give feedback.
This error tells us that it tried to run a bundle of query packs on the target, but for some reason threw everything out and we ended up with nothing being scanned.
In this particular case, I see you want to use the
incident-response
pack for aws. At the moment the--querypack
option only works if you provide a local querypack bundle file.I tested this using the default incident response pack for AWS, found in its latest version here:
https://raw.githubusercontent.com/mondoohq/cnquery-packs/main/core/mondoo-aws-incident-response.mql.yaml
Once downloaded you can run this:
The first argument …