Skip to content

cnquery scan with pack specified: could not scan asset error="all available packs filtered out. nothing to do." #555

Closed Answered by arlimus
misterpantz asked this question in Q&A
Discussion options

You must be logged in to vote

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:

cnquery scan aws -f mondoo-aws-incident-response.mql.yaml --querypack mondoo-incident-response-aws

The first argument …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by misterpantz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants